[SMF] Custom Icons and Config file usage

Discussion in 'Hacks and Advanced Features' started by Jayeley, Oct 15, 2010.

Thread Status:
Not open for further replies.
  1. Jayeley Plugin Developer

    Config file content and usage:

    PHP:

    version 
    sm20_1.0.0
    api_level 
    3
    is_open 
    1
    guest_okay 
    1


    /* 
    Tapatalk does not support new user register , when user tap 'Register' in side 
    the app, it will jump out and open browser with forum url joined with below 
    string. If your forum register url is not the default, you can edit it here 
    */
    reg_url ucp.php?mode=register


    /*
    You can hide some boards which you don't want it to be displayed on tapatalk, 
    seperated board id with comma
    */
    hide_forum_id =


    /*
    You can hide search, latest and pm tab on tapatalk app if you don't need it 
    there. As default, these features are on
    */
    disable_search 0
    disable_latest 
    0
    disable_pm 
    0

    Board icon setting:

    In app side, before each category or board name, it will display an icon for it, for example, the default one on iPhone side is that cool microphone :D
    Now you can config it by yourself by adding the icon picture under path 'mobiquo/forum_icons/'. Currently, it support 'jpg' and 'png' format only. Square with size 60*60 is recommended.
    An sample here, when you want config borad with id 5 with new icon, here is the order how icon file will be located:
    1. mobiquo/forum_icons/5.png
    2. mobiquo/forum_icons/5.jpg
    3. mobiquo/forum_icons/default.png
    4. mobiquo/forum_icons/default.jpg
    5. default cool microphone on iPhone or android default icon

    If you want config category with id 5, just change it to 'c5' and everything is the same as above. Take care, please use lowercase 'c', 'jpg' and 'png'.
Thread Status:
Not open for further replies.

Share This Page