vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Ultimate Ignore (https://vborg.vbsupport.ru/showthread.php?t=33394)

Konqueror 12-20-2001 10:00 PM

"Ultimate Ignore" v0.91 Beta

This hack was requested at https://vborg.vbsupport.ru/showthrea...threadid=33294
This hack allows admins to set a user to "ultimative ignore" mode. This means that no-one except
admins and the user himself can see any posts or threads posted by that user.

I lost the instructions, so if anyone still got them let me know please. ;)

Radon3k 12-21-2001 12:23 PM

Hey, thanks a lot! Didn't think this was coming for a bit, but glad it's here, thx! :)

heretic 12-21-2001 01:22 PM

wow!

going to install it now, one thing I was thinking of, talking about the logout option, does this use usergroups, to where you can have all but guests and the user ignored, so that way if the person logs out, they won't notice the ignore?

I think this was mentioned in the other thread, just wanted to repeat it here :)

Konqueror 12-21-2001 01:35 PM

Yep, just add/remove the usergroups from the following lines:
PHP Code:

if ($uignore[uignore] == '0' || ($uignore[uignore] == '1' && ($bbuserinfo['usergroupid'] == || $bbuserinfo['username'] == $post['username']))) { 

PHP Code:

if ($uignore[uignore] == '0' || ($uignore[uignore] == '1' && ($bbuserinfo['usergroupid'] == || $bbuserinfo['username'] == $thread['postusername']))) { 

So if you want the ignored user to be shown to guests just change the previous 2 lines to:
PHP Code:

if ($uignore[uignore] == '0' || ($uignore[uignore] == '1' && ($bbuserinfo['usergroupid'] == || $bbuserinfo['usergroupid'] == || $bbuserinfo['username'] == $post['username']))) { 

PHP Code:

if ($uignore[uignore] == '0' || ($uignore[uignore] == '1' && ($bbuserinfo['usergroupid'] == || $bbuserinfo['usergroupid'] == || $bbuserinfo['username'] == $thread['postusername']))) { 


:)

heretic 12-21-2001 01:44 PM

getting a parse error for functions.php:

Parse error: parse error in /home/hosted/warpstorm/public_html/forum/admin/functions.php on line 2271

Fatal error: Call to undefined function: getuserinfo() in /home/hosted/warpstorm/public_html/forum/admin/sessions.php on line 327

I'll try to reinstall.. brb

heretic 12-21-2001 02:00 PM

here's my line 327 in sessions, but this just calls the userid

PHP Code:

// get pertinient user info
  
if (!isset($bbuserinfo) or $bbuserinfo['userid']!=$session['userid']) {
   
$bbuserinfo=getuserinfo($session['userid']);                           //this is line 327
    
$bbuserinfo['realstyleid'] = $bbuserinfo['styleid'];
  } 


Konqueror 12-21-2001 02:25 PM

The problem is the "Parse error: parse error in /home/hosted/warpstorm/public_html/forum/admin/functions.php on line 2271"
As soon as that one is fixed, everything else will be fine again as well. My admin/functions.php doesn't even have that many lines... Sounds like there is a } missing somewhere... What have you got at that line?

Reeve of shinra 12-21-2001 02:32 PM

I am rubbing my hands in aniticipation ... I plan to try this out as soon as I get home tonight. =)

Lesane 12-21-2001 03:52 PM

Wow, sounds great. I gonna test it 2night. Thanks.

heretic 12-21-2001 04:05 PM

[QUOTE]Originally posted by Konqueror
The problem is the "Parse error: parse error in /home/hosted/warpstorm/public_html/forum/admin/functions.php on line 2271"
As soon as that one is fixed, everything else will be fine again as well. My admin/functions.php doesn't even have that many lines... Sounds like there is a } missing somewhere... What have you got at that line?


All times are GMT. The time now is 03:26 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.01082 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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