03-25-2010, 08:36 AM
Thanks man, glad I could help you.
Forum Admin
Anonymus Mode [UPDATED TO 1.1!]
|
04-12-2010, 06:27 PM
BTW there is a little error with this plugin when and if you have a sidebar the UID of your choice his or her user name appears instead of the fake name
04-12-2010, 08:48 PM
That is no error, MyBB does always load the username from the UID if user is not a guest (which means that the user column is a waste of reccources in all forums that do not allow guests to post).
My plugin does manually parse the posts to set the proper username but does of course not rewrite sidebars and other stuff... Kind regards Lennart Sauter Forum Admin
04-13-2010, 12:41 AM
(04-12-2010, 08:48 PM)Lennart Wrote: That is no error, MyBB does always load the username from the UID if user is not a guest (which means that the user column is a waste of reccources in all forums that do not allow guests to post). Huh?
04-13-2010, 04:54 AM
It's simple, if you make a post MyBB will store the post into the database like this, into a table "mybb_posts":
Post ID | Post Subject | UID of poster | Username of Poster 4124 | RE: Anon... | 1151 | AXVIS This is how your post could look like. Now, if MyBB does display the post it usually does NOT load the name from the column "Username of Poster" but instead fetches it from another table of the database, from the user table ("mybb_users"): UID | Username | Email | Otherdata 1151 | AXVIS | @ | .... That means no matter what username was written into the "mybb_posts" table, MyBB will load the username from the "mybb_users" table. So if mybb_posts looks like that for example: Post ID | Post Subject | UID of poster | Username of Poster 5656 | RE: Some... | 999 | Hello And mybb_users looks like that: UID | Username | Email | Otherdata 999 | Martin | @ | .... The post author will be the user with UID 999 but with username Martin because the username is pulled from mybb_users. Username Hello will never be displayed if UID is not 0 (which means user is a guest). Got that? So, to prevent this, my plugin does take the post and replaces the name from the mybb_users table which is in the post content with the username from the mybb_posts table. This is only happening inside the post content, not anywhere else in the forum. I hope you understood that, if not feel free to ask Best regards Lennart Sauter PS: Yeah it was quite complicated to write this plugin Forum Admin
04-14-2010, 04:07 PM
No I get it OK thanks for clearing that out
05-19-2010, 03:08 AM
nice idea, it's better if member using this alias then their IP address as default displayed on that post
05-19-2010, 06:29 AM
Going to try this - sounds very good thanks lennart my friend - this could be very useful for alot of boards.....
Rock On Man
05-21-2010, 06:07 AM
I mean, If someone (like a member) using this anonym. And then their IP address on that post/thread will display to visitor. Normally only display IP Logged.
|
« Next Oldest | Next Newest »
|