Announcement

Collapse
No announcement yet.

[Facebook App] Make Forums tab the default

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Facebook App] Make Forums tab the default

    Here's a quick list of what you need to do to make the Forums tab the default on the Facebook App. (There is a Feature Request here that you may vote for to make this an option.)

    The files I am asking you to modify are the ones you downloaded from your Facebook Publisher and then uploaded to the https directory for your app.

    Open index.php.

    Find:
    PHP Code:
    include('category_list.php'); 
    Change to:
    PHP Code:
    include('forums.php'); 

    Open utilities.php.

    Find:
    PHP Code:
        $discover_selected = ($script_name == 'category_list.php' || $script_name == 'index.php') ? ' selected' '';
        
    $explore_selected = ($script_name == 'category_stream.php' || $script_name == 'category_item.php') ? ' selected' '';
        
    $forums_selected = ($script_name == 'forums.php') ? ' selected' ''
    Change to:
    PHP Code:
        $discover_selected = ($script_name == 'category_list.php') ? ' selected' '';
        
    $explore_selected = ($script_name == 'category_stream.php' || $script_name == 'category_item.php') ? ' selected' '';
        
    $forums_selected = ($script_name == 'forums.php' || $script_name == 'index.php') ? ' selected' ''
    Save and reupload.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

Related Topics

Collapse

Working...
X