Back to vBulletin 3.0 Add-Ons

Selected Files Not Closed v1.0.0
Mod Version: 1.00, by AN-net

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 5
Released: 11 Oct 2004 Last Update: 11 Oct 2004 Downloads: 2
Not Supported DB Changes  

Selected Files Not Closed(SFNC) v1.0.0
by AN-net/Antonbomb22(Anthony Scudese)


Description:
This will add a new option to the Turn Your vBulletin On and Off options. This new option allows you to choose which files will not display the Forum Closed/Inactive reason. To define which files will not display it I used the THIS_SCRIPT definition which is most commonly defined in all vb files following standard coding. Some instances this may be useful is for portals,galleries,articles, and other sections of your site intergrated with vb but yet you dont want it to be closed when the forums are.

Compatiability:
Tested on vB 3.0.3

Where to Get Support:
-AIM(Antonbomb22)
-email(email)
-this thread

Included Files:
-sfncinstall.php

File Edit(s):
1.Open /forumroot/global.php
2.Find:
PHP Code:
    if (!($permissions['adminpermissions'] & CANCONTROLPANEL))
    {
        
$show['enableforumjump'] = true;
        eval(
'standard_error("' str_replace("\'""'"addslashes($vboptions['bbclosedreason'])) . '");');
        unset(
$shutdownqueries['lastvisit']);
    } 
3.Replace above with:
PHP Code:
    $vboptions['bbfilesnotclosed']= explode(' '$vboptions['bbfilesnotclosed']);
    if (!(
$permissions['adminpermissions'] & CANCONTROLPANEL) AND !in_array(THIS_SCRIPT$vboptions['bbfilesnotclosed']))
    {
        
$show['enableforumjump'] = true;
        eval(
'standard_error("' str_replace("\'""'"addslashes($vboptions['bbclosedreason'])) . '");');
        unset(
$shutdownqueries['lastvisit']);
    } 
Now just run the attached installer

Updates/Fixes:
-fixed some typos in the sfncinstall.php file; file updated(10/11/04)

Please click install

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • AN-net

Screenshots

     


vblts.ru supports vBulletin®, 2022-2024