The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User Icons Details »» | |||||||||||||||||||||||||
Current version: 1.2.1 (Last updated:4/30/03)
------------------------------------------------------------------ New features/fixes since the last update: - Optimized code so it uses much less queries on private.php. - Added instructions I forgot for private.php. ------------------------------------------------------------------ With this hack members have icons next to their name in posts, announcements, private messages, on the who's online and on the forumdisplay page. Users can use a public icon list or upload their own icon just like avatars. They can also choose to not display icons in the user cp. Administrators have various icon options exactly like with avatars. This is based upon the mini avatars hack but I liked it more if it was exactly like how avatars are handled. A whole lot of the code is a copy from the avatar code except all variables are changed and only a few other changes/additions. But I wrote a full instruction for your convenience. You can see it in action here: http://forums.thegaminguniverse.com. Screenshots Screenshot of icons on the who's online on index.php. Screenshot of icons on the who's online on online.php. Screenshot of icons in the posts on showthread.php (also in private messages and announcements). Screenshot of icons on the thread list on forumdisplay.php. Screenshot of the edit icon option in your user cp. Screenshot of icon options in the admin cp under. Show Your Support
|
Comments |
#72
|
||||
|
||||
sorry jim i was being dumb, got excited before even checking it over properly
|
#73
|
|||
|
|||
Quote:
But it doesn't show up in showthread.php, and private.php. |
#74
|
||||
|
||||
I updated this again. I had a few 100 private messsages and it caused a few 100 queries too. Now I changed it to not use any additional queries. Everyone who uses this hack I suggest you redo step 10. I also added a step I forgot to add the whole time so your icons would never show up in private messages. The only thing I can think of that still needs to be done is optimize online.php.
|
#75
|
|||
|
|||
this is the longest hack i've ever done
very nice thoe thanx |
#76
|
||||
|
||||
The last update is not working right. While it does reduce the queries, the icons are not showing correctly or not at all. Other than that it works fine. I'll need to figure out how to get this working sometime. Help is appreciated. I also need to optimize the code for online.php.
|
#77
|
|||
|
|||
Hey, i got a problem
iam using the 2.3.0, i installed it and i shows up everything correctly but not at the index.php This is my original-code: Code:
if ($loggedin['usergroupid'] == 6 and $highlightadmin) { $username = "<b><i>$loggedin[username]</i></b>"; } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) { $username = "<b>$loggedin[username]</b>"; } else { $username = $loggedin['username']; } Code:
if ($loggedin['usergroupid'] == 6 and $highlightadmin) { $username = "$iconavatar<b><i>$loggedin[username]</i></b>"; } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) { $username = "$iconavatar<b>$loggedin[username]</b>"; } else { $username = "$iconavatar$loggedin[username]"; } I downloaded the 1.2.1, did you change that number after fixing the instructions? now, the part in the index.php looks like this, but the icon is shown up by a normal only... but iam the admin and iam the only one with an icon Code:
if ($loggedin['usergroupid'] == 6 and $highlightadmin) { $username = "<b><i>$loggedin[username]</i></b>"; } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) { $username = "<b>$loggedin[username]</b>"; } else { $username = $loggedin['username']; } |
#78
|
|||
|
|||
|
#79
|
||||
|
||||
That piece of code appears twice in index.php. Did you make changes to both?
|
#80
|
|||
|
|||
ah i think iam blind or there is something missing in your instruction
you have to place $iconavatar just before <b>$loggedin[username]</b> also (2 times in index.php) I didn't see that in your instruction and i forgot to include but now i added it and it works, thanks for that beautiful hack, my users like it *clicking install* |
#81
|
||||
|
||||
i've enjoyed using this with vb2, are there any plans to port to vb3?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|