View Full Version : Usergroup Hack for Topic Starter wanted
Bad666
07-24-2002, 10:43 AM
I need a hack who shows only the Usergroup if a user of this Group starts a thread. Some boards have an Link Control center to add User to grpups
the username inside the posting should be (maybe?) shown like this Group@username.
Any ideas?
Bad666
07-25-2002, 02:59 PM
No ideas?
Logician
07-25-2002, 03:25 PM
I didnt get what you mean? Are you trying to display the thread to only users whose usergroup is same with thread starter?
Bad666
07-25-2002, 04:50 PM
Nope
I want to create separate groups, just like clangroups.
If user xyz starts a threat only the groupname should be shown in the forum, but in the thread his name should be like xyz@clan
Logician
07-25-2002, 05:51 PM
edit forumdisplay.php, find:
$thread['postedby'] = "<a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]\">$thread[postusername]</a>";
before that add:
if (strpos($thread[postusername], "@")>0) {$thread[postusername]=substr($thread[postusername], strpos($thread[postusername], "@")+1);}
Make sure all clan members have usernames in this format:
username@clanname
Bad666
07-25-2002, 07:57 PM
Thx
I?ll test this out ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.