Announcement

Collapse
No announcement yet.

Get CMS Section via Plugin

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

  • [vB4] 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!

  • #2
    vBulletin.org is the place to ask for customization support.

    Comment


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

      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

      Comment

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