Announcement

Collapse
No announcement yet.

forum closed template ?

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

  • forum closed template ?

    i can't seem to find the template which controls what is displayed when you closed off the forum to the rest of the online world ?

    i am trying to get rid of the bbtitle image which is set in it, and replace it with one in my header..
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

  • #2
    There is no template as you will find this at the end of global.php

    if ($bbactive==0) {
    $permissions=getpermissions($bbuserid,$bbusergroupid);
    if ($permissions[cancontrolpanel]==0) {
    echo standarderror($bbtitle,$bbclosedreason);
    exit;
    }

    }

    You could make a "forumclosed" template and replace that with this:

    if ($bbactive==0) {
    $permissions=getpermissions($bbuserid,$bbusergroupid);
    if ($permissions[cancontrolpanel]==0) {
    eval("echo dovars(\"".gettemplate("forumclosed")."\");");
    exit;
    }

    }

    Comment


    • #3
      thanks.. i'll leave that out for now
      :: Always Back Up Forum Database + Attachments BEFORE upgrading !
      :: Nginx SPDY SSL - World Flags Demo [video results]
      :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

      Comment


      • #4
        Eva actually the message appears in "standarderror" template which is used by all errors. So if you want a different header displayed just for the Forum is off screen then you would need to change the code, otherwise edit "standarderror"

        Comment


        • #5
          hehe i found an easy solution - really all i wanted was to remove the inbuilt link to bbtitle image and the home url, so in control panel i pointed to a transparent 2x2 image and it disappeared from the visible eye of all the pages i missed or couldn't get to through the templates
          :: Always Back Up Forum Database + Attachments BEFORE upgrading !
          :: Nginx SPDY SSL - World Flags Demo [video results]
          :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

          Comment

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