The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help! Ignore posts from a Guest
We have had a problem user who a lot of users put on ignore because of his antics. Today one of the staff members got fed up with this member and deleted his account.
Of course now that the person is no longer a member all his posts are being shown as a guest (still with his username) and all the folks who put this user on ignore can now see his messages even though he is on thier ignore list. We have tried readding this users account but still all his posts show as being from a guest account. Is there anyways to block or reassociate all his messages back to his account? Thanks! |
#2
|
||||
|
||||
Create a new user account for him inside Admin CP with his old username. Then edit this account's "userid" in "user" table as his old userid (you can learn his old user id by checking people's ignore lists, it should be recorded there). Then run this query:
UPDATE post SET userid=XXX WHERE username='YYY' XXX is his userid YYY is his username (be careful about caps!) That will do the trick.. |
#3
|
|||
|
|||
I did that and it still dont work its still saying guest for his posts, even though if I look in POST all this users messages are set to his old user number and his username is also set to the same user number.
Any other ideas? |
#4
|
||||
|
||||
you could always delete all his old posts since he isnt there anymore.
|
#5
|
||||
|
||||
I've just checked if this works or not in my local test board and it works here, please double check if you applied the steps correctly..
|
#6
|
|||
|
|||
Search for code below in functions.php (lines 274 through 278)
Code:
if (!$ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit")."\";"); } else { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } Code:
if (($ignore[$post[userid]] and $post[userid] != 0)) { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } else { eval("\$retval = \"".gettemplate("postbit")."\";"); } |
#7
|
||||
|
||||
There was really no need to reply to a thread that was over a year old.
|
#8
|
|||
|
|||
sorry
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|