Announcement

Collapse
No announcement yet.

Get CMS Section via Plugin

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

  • Lynne
    replied
    And when you post over on vbulletin.org for help, make sure you post what hook location you are using.

    Leave a comment:


  • Zachery
    replied
    vBulletin.org is the place to ask for customization support.

    Leave a comment:


  • Scolpy
    started a topic [vB4] Get CMS Section via Plugin

    Get CMS Section via Plugin

    Hello!

    I had some issue at version 4.0.3 that I can't get the section ID.
    It's been diccused already:
    http://www.vbulletin.com/forum/showt...in-plugin-code
    http://www.vbulletin.org/forum/showp...&postcount=238
    (and the next replies..)

    and vBulletin developers also said that they will provide an fix in 4.0.4+ version:
    http://www.vbulletin.com/forum/showt...=1#post1967245

    But now I'm using in version 4.1.0 PL2 in the code:
    PHP Code:
    global $sectionid;
    $sectionid $this->content->getParentId();

    if (
    $sectionid == 3)  
    {
        
    $vbulletin->options['selectednavtab']='content.php?r=3';
        
    $tabselected ' class="selected"';
        
    $tablinks '';


    and it's not working!

    Anyone have some solution to that issue?

    Thanks!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X