Announcement

Collapse
No announcement yet.

Facebook connect exclude forums

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

  • vauge
    replied
    The actual solution is further down the SHOWTHREAD template.

    Change this:
    Code:
    <vb:if condition="$show['fb_likebutton']">
    to this:
    Code:
    <vb:if condition="$show['fb_likebutton'] && !in_array($GLOBALS['forumid'], array(1,5,7))">
    The numbers in the array represent the forums you wish to exclude from FB.

    Leave a comment:


  • vauge
    started a topic [Forum] Facebook connect exclude forums

    Facebook connect exclude forums

    Why does the following *not* work to exclude specific forums for FB connect?

    Code:
    <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect'] && !in_array($GLOBALS['forumid'], array(1,2))"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
    Thank you for your time.

Related Topics

Collapse

  • SiFor
    Nodeid conditional code
    by SiFor
    Im trying to add a conditional statement to the "display_Forums_item" template to display an icon next to one specific forum / node.

    I have tried

    Code:
    <vb:if condition="$channel['nodeid']
    ...
    Fri 27 Dec '13, 4:30pm
Working...
X