vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Erease all ignored users? (https://vborg.vbsupport.ru/showthread.php?t=44111)

410 09-30-2002 01:00 AM

Erease all ignored users?
 
Somehow while hacking my board, some random people were added to peoples ignore lists....is there any possible way I can run a query that will erase all ignored users, and put it back to default...I don't know how to create the query so can someone pleaes help or show me how? :)

thanks

g-force2k2 09-30-2002 01:20 AM

410 try this query:

PHP Code:

UPDATE user SET ignorelist='' WHERE userid != 

regards...

g-force2k2

410 09-30-2002 02:26 AM

nope...the users are still on ignore... :( ... anything I can look for?

g-force2k2 09-30-2002 02:36 AM

1 Attachment(s)
410 upload this file to your forum directory and then call it accordingly (ignore.php)

it should display all of the users and who they have ignored... just want to see what it produces (maybe not an ignore problem?)

regards...

g-force2k2

410 09-30-2002 03:37 AM

comes up as a blank page....??? I tried chmodd to 777..still nothing? ....

410 09-30-2002 03:42 AM

yeah, but then i added someone to my real ignore list, and it showed my name and everything, but then I deleted that name..and it was blank again...yet, there are some users that are still on ignore for some reason...i do remember doing a hack that like didn't allow people to edit admins profiles...would that have anything to do with this...

Xenon 09-30-2002 09:58 AM

g-force i think != didn't work in mysqlqueries

410 try just this query:
[sql]UPDATE user SET ignorelist=''[/sql]

g-force2k2 09-30-2002 10:44 AM

hmm... not sure Xenon...

about the '!=' i didn't know it didn't work :p i use it alot when seleting from the database and such... should i not be using it? or is it a strict mysql aspect?

but i think i suspected right that its something other then the ignore list because the file i gave him would 'echo' each user name and who he/she had on ignore... and it came up with nothing... and when he added a name then it came up solely with that person... any idea Xenon?

only other thing i could think of would be a invisibility issue? or hidden posts? not sure... regards...

g-force2k2

Xenon 09-30-2002 12:14 PM

yes, i was wrong i look up in a SQL-language book and have overread a small bit ;)

but the query should do what it should

410 09-30-2002 02:58 PM

I ran both of those querys, they both said "rows affected: 0" ... and people are still on ignore :( ... anything else you guys can think of?

g-force2k2 09-30-2002 04:28 PM

410 like i said it has nothing to do with your ignore list... the queries ran fine and changed nothing and the file i provided showed that there were no users on any ignore lists... do you have any ban type hacks installed on your forum? and how do you know that they're in fact ignored? regards...

g-force2k2

410 09-30-2002 04:34 PM

I did install the Warning system hack, and the banned - reason hack....but I don't know if that did anything...? And I know they are ignored because it says "this person is on your ignore list, click here to view message" ... I also have the "nuked post" hack installed...?

g-force2k2 09-30-2002 04:50 PM

nuked post? banned - reason hack? linkage please...

but when you ran my file nothing showed until you added someone to your ban list correct?

regards...

g-force2k2

410 09-30-2002 07:26 PM

Banned Users: https://vborg.vbsupport.ru/showthrea...=banned+reason
Nuked Posts: https://vborg.vbsupport.ru/showthrea...highlight=nuke

And yes, the file was empty untill I added someone to my ignore list...thank you so much for your help so far!

Merjawy 10-01-2002 06:06 AM

I have a problem like that.. tho its not members just quests.. one day I found all quest posts in ingore.. it say user in your ignore list click here to view his/her post

I have no hack of the kind installed.. last things I did were changin my vbcodes to install toolbox

when I look in my CP theres noone ignored

Logician 10-01-2002 07:57 AM

I would say: You are using a vb version <2.2.6.

If this is the case the problem you have is related your hosting company's recent PHP upgrade. Latest version of PHP clashes with vb ver <2.2.6 and sometimes these weird problems like displaying some users in ignore lists occurs. In your database they are not in ignore list, it's just vb playing you tricks. Your solution is to upgrade your board to a version >= 2.2.6 and you'll be just fine..

410 10-01-2002 03:38 PM

Is there any way I can like disable the ignoring of users?

Xenon 10-01-2002 03:42 PM

the easiest and brute way:
open admin/functions.php
find
PHP Code:

    if (($ignore[$post[userid]] and $post[userid] != 0)) {
        eval(
"\$retval = \"".gettemplate("postbit_ignore")."\";");
    } else {
        eval(
"\$retval = \"".gettemplate("postbit")."\";");
    } 

chage it to
PHP Code:

eval("\$retval = \"".gettemplate("postbit")."\";"); 


Logician 10-01-2002 03:49 PM

Quote:

Originally posted by 410
Is there any way I can like disable the ignoring of users?
If your problem is related to what I told, this wont help either. Besides you will have other weird issues than ignore user problem..

410 10-01-2002 05:44 PM

I have the nuked post thing installed...how would I go about chaning this..?

PHP Code:

if ($post[nuked]==1) {
        eval(
"\$retval = \"".gettemplate("postnuked")."\";");
    } else if (
$ignore[$post[userid]]) {
        eval(
"\$retval = \"".gettemplate("postbit_ignore")."\";");
    } else  {
        eval(
"\$retval = \"".gettemplate("postbit")."\";");
    }

    return 
$retval;



Xenon 10-01-2002 05:47 PM

just replace the whole if block with the normal postbit line:
PHP Code:

eval("\$retval = \"".gettemplate("postbit")."\";"); 


410 10-01-2002 05:48 PM

That would disable my nuked posts :) ... I just deleted those 2 ignore'd lines, and it worked out perfectly! Thanks so much Xenon...

Xenon 10-01-2002 05:49 PM

:)

welcome


All times are GMT. The time now is 05:02 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.01132 seconds
  • Memory Usage 1,767KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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