Announcement

Collapse
No announcement yet.

Get CMS Section

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

  • [vB4] Get CMS Section

    I had some issue at version 4.0.3 that I can't get the section ID.
    It's been discussed 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 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(and not the $_GET solution)?

    P.S.
    This is copy of this thread(I posted here also because at vBulletin.org no one has replied to me)

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