Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Konqueror Konqueror is offline
Developer Last Online: Dec 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-20-2001 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

"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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-22-2001, 12:42 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Konqueror try 2 fix that in version 1.0 final
Reply With Quote
  #33  
Old 12-22-2001, 01:31 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this:

Code:
  $uignore = $DB_site->query_first("SELECT uignore FROM user WHERE username='$post[username]'");
should be this:

Code:
  $uignore = $DB_site->query_first("SELECT uignore FROM user WHERE userid='$post[userid]'");
Or you will get lots of mysql errors for users whose username includes '

I'm also unsure why you would need to run this query to begin with. You need to find a way to get the global ignored users and cache them, rather than running this extra query for every thread
Reply With Quote
  #34  
Old 12-22-2001, 03:15 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maketableheader("Options");
and
receivepm='$receivepm',emailonpm='$emailonpm'

show twice.

Should this be replaced in both instances? (I did after I placed it in the first instance and it did not show in CP)

Also, I tried to use it. It does what i says but the last 10 posts did not reflect that. It is showing the link to the thread. When you click on it, there was no thread as it was meant. Is there a way to also ignore the last post?
Reply With Quote
  #35  
Old 12-22-2001, 08:14 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If u read the whole thread then you receive your answers

Here is one of them:
https://vborg.vbsupport.ru/showthrea...459#post208459
Reply With Quote
  #36  
Old 12-22-2001, 09:02 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a VERY resource thirsty hack. It adds an sql query to EVERY post!

What you want to do is forget about adding 'uignore' to the user table.

Instead, add it to the 'setting' table:

varname=uignore
vale = list of space-delimited userids

Same as IP banning.

This way, it won't add ANY queries AT ALL (because all the settings are loaded).

Instead, you'll need to add a 'checkuignore' function that explodes $uignore, and the bb admin will add the users via the Admin CP Options page -- again, exactly like ipban or emailban.

The other alternative is creating a usergroup "global ignore" and then usering the $userinfo[usergroupid] -- again, this is globally loaded so there won't be a need for additional queries.

Either way, your current method is highly unrecommended. On a thread with, say 40 or more posts, you are looking at adding 40 or more SQL queries!!! :stupid:
Reply With Quote
  #37  
Old 12-22-2001, 09:51 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just uninstalled... that hack disappeared all threads. As soon as I uninstalled, they all came back.
Reply With Quote
  #38  
Old 12-24-2001, 08:40 PM
black black is offline
 
Join Date: Nov 2001
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Guess Konqueror Wont Bother To Help Out On His Own Hack
Reply With Quote
  #39  
Old 12-24-2001, 09:31 PM
Konqueror Konqueror is offline
 
Join Date: Dec 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, had some problems with my server that needed urgent attention. (that is, Apache wasn't working)
I got it up again now, so I'll be able to fix all those problems with the hack.
Quote:
Either way, your current method is highly unrecommended. On a thread with, say 40 or more posts, you are looking at adding 40 or more SQL queries!!!
Well, what can I say... You got a point there! Guess that's one of the reasons I put it in beta hacks.
Reply With Quote
  #40  
Old 12-25-2001, 04:45 PM
Konqueror Konqueror is offline
 
Join Date: Dec 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've edited the hack to be more efficient, but I'll add some new things to it as well now, so it will be another day till the next version.
But I think you'll like the changes.
Reply With Quote
  #41  
Old 12-25-2001, 09:06 PM
heretic's Avatar
heretic heretic is offline
 
Join Date: Nov 2001
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll give it another shot
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:36 AM.


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.06633 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete