vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Highlight private forum name in access mask list (https://vborg.vbsupport.ru/showthread.php?t=45446)

SWFans.net 11-05-2002 10:00 PM

Highlight private forum name in access mask list
 
Here is a quick and easy hack for those of you like me. I have too many private forums to try and memorize all of their names. It will help when editing user?s access masks by making the forum names, that you set to display as highlighted in your forum options in the admin CP, show up in a different color (the same color that edited templates show up in).

This hack should take less than 5 minutes to install and on a large forum can save a great deal of headaches, or at least it does for me. :p

SWFans.net 11-06-2002 05:38 AM

Screenshot

SWFans.net 11-06-2002 05:58 AM

Screenshot #2

Night Owl 11-19-2002 01:03 PM

I am attempting to install this hack on a fresh copy of 2.2.8.

I cannot find this code in admin/user.php:

PHP Code:

  $subject=censortext($subject);
  
$message=censortext($message); 


SWFans.net 11-19-2002 10:22 PM

Ack, my mistake. That portion of the instructions is for another hack I released. (notice the censor hack comments) I am editing the attachment now. Just ignore that step.

EDIT: The original attachment has beem edited. Sorry about that.

Cyberhouse 12-01-2002 07:02 PM

Quote:

Originally posted by SWFans.net
show up in a different color (the same color that edited templates show up in).


Great hack :)

But is there a way to change the highlighted color ?

SWFans.net 12-01-2002 09:40 PM

Edit the cp.css file to change the highlight color for edited templates and private forums. You could also change the span tag in my code to make it any color you like and be seperate from cp.css if you like.

Cyberhouse 12-02-2002 03:47 AM

Thanks, I?ll try that :)

Conundrum9 02-24-2003 05:30 PM

I've tried to install this hack on 2.2.9 several times, and I keep getting a SQL error

PHP Code:

Invalid SQLUPDATE forum
                   SET
                     styleid
='1'title='Hidden Archives'description='',
                     
active='1'displayorder='5'parentid='20'parentlist='27,20,-1',
                     
allowposting='1'cancontainthreads='1'daysprune='30',
                     
newpostemail=''newthreademail='',
                     
moderatenew='0'allowhtml='0'allowbbcode='1',
                     
allowimages='0'allowsmilies='1'allowicons='1',
                     
styleoverride='0'allowratings='1'countposts='1',
                     
moderateattach='0',,privateforum='1 '
                   
WHERE forumid='27'
mysql errorYou have an error in your SQL syntax near 'privateforum=''
                   WHERE forumid='
27'' at line 10 

Any help would be appreciated.

SWFans.net 02-24-2003 07:35 PM

You have a syntax error here:
Quote:

moderateattach='0',,privateforum='1 '
There should only be a single comma, not two in succession before the word "privateforum". The space after the 1 in that same area may be causing problems too.

Conundrum9 02-25-2003 03:57 AM

Thanks. That solved it.

Not sure if you checked it or not, but it's that way in your txt file.

SWFans.net 02-25-2003 05:49 AM

Thanks for pointing out the error. It should be fixed now that I edited the attachment. :)


All times are GMT. The time now is 04:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01175 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete