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)
-   -   Canned Text (https://vborg.vbsupport.ru/showthread.php?t=50513)

filburt1 03-20-2003 10:02 PM

Well by editing the PHP file yes:
PHP Code:

if (!in_array($bbuserinfo['usergroupid'], array([i]list of bad usergroupids[/i])))
{
...



Link14716 03-20-2003 10:42 PM

Or...
PHP Code:

if (in_array($bbuserinfo['usergroupid'], array([i]list of bad usergroupids[/i]))) {
exit;


Nice hack. :)

[high]* Link14716 (c)licks install. :)[/high]

Chris Gwynne 03-20-2003 11:14 PM

Well, only YOU know about cannedtext.php in the first place. So, I don't think it's a problem. :)

Boofo 03-20-2003 11:16 PM

So, if we replace both instances of this:

PHP Code:

if ($bbuserinfo['userid'] == or $ctmax == 0show_nopermission(); 

with this:

PHP Code:

if (!in_array($bbuserinfo['usergroupid'], array(567)) or $ctmax == 0) {
show_nopermission();


in the cannedtext.php file, then we should be all set? ;)

filburt1 03-20-2003 11:26 PM

Yup, looks right.

Schorsch 03-21-2003 12:28 AM

Quote:

Yesterday at 06:30 PM filburt1 said this in Post #14
It can if you write it yourself :p
yeah man i'm not a hacker! great support here :(

filburt1 03-21-2003 12:33 AM

As the title clearly states:
Quote:

The hacker cannot guarantee to provide support for this hack.
So I don't think the one star rating was really necessary, now was it? I'm a busy man, I can't customize every hack I write for every user who asks.

Schorsch 03-21-2003 12:35 AM

1 star ? I gave u 5!

!!BUSH SUCKS!!

filburt1 03-21-2003 12:36 AM

Well somebody did, circumstances just seemed to point to you.

That Bush thing was sure out of nowhere...

Boofo 03-21-2003 12:50 AM

He's busy working on his math. ;)


All times are GMT. The time now is 09:30 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.01338 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete