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 |
#12
|
||||
|
||||
OMG!! ++++in a. This is the BIGGEST hack i've ever installed. The instructures took me at least an hour . . . . damn it's like 20 pages. God i don't even wanna know how long that took u to write Dark J .. . anywas, GREAT JOB!
|
#13
|
||||
|
||||
Hey i'm having a problem. I installed the hack but then when i go into edit options and click the button, it just goes to a blank page. somethin wrong wit member.php?
|
#14
|
||||
|
||||
oh wait my bad i didn't add any of the templates
|
#15
|
||||
|
||||
You mean totally blank? Did you add all templates because it must be a template is missing. I will check if I included all templates.
Edit: Ok so it was a missing template. Quote:
|
#16
|
||||
|
||||
okay the icon isn't showing up anywhere in my forums except for the announcements. I't snot goin on in index.php and not online.php or forumdisplay.php
if ($loggedin['usergroupid'] == 6 and $highlightadmin) { $username = "$iconavatar<b><i><font color=red>$loggedin[username]</font></i></b>"; // Color for Admin That's my little code for the colors for admin part. I have the color online hack. I'm on 2.2.6 and this code is NOT in index.php } else { $username = $loggedin[username]; } |
#17
|
||||
|
||||
Did you set to show icons for you in your user cp. I forgot to include these queries in the instructions.
ALTER TABLE user CHANGE options options smallint(6) NOT NULL default '31'; UPDATE user SET options=options+16; I have 2.2.7 but no default installation of it anymore. I will look at a default 2.2.9. Edit: I see the code is: PHP Code:
PHP Code:
|
#18
|
||||
|
||||
ahhh those queries made the difference. I still didn't see the index.php code but it's good it works, now i gotta find some pics, can u just give me the ones ur using? i need smaller pics.
|
#19
|
||||
|
||||
Also in announcement.php step 2.3 should be:
2.3. Below that add: ----------------------------------------------------------------- if ($post[iconavatarid]!=0) { $iconavatarurl=$post[iconavatarpath]; } else { if ($post[hascustomiconavatar] and $iconavatarenabled) { $iconavatarurl="iconavatar.php?userid=$post[userid]&dateline=$post[iconavatardateline]"; } else { $iconavatarurl=""; } } if ($iconavatarurl=="") { $post[iconavatar]=""; } elseif ($bbuserinfo[userid]>0 and !($bbuserinfo[showiconavatars])) { $post[iconavatar]=""; } else { eval("\$post[iconavatar] = \"".gettemplate("postbit_iconavatar")."\";"); } ----------------------------------------------------------------- I assume you had icons set to not display and becauase I forgot the red line it still displayed there. I will update the instructions. |
#20
|
||||
|
||||
And the icons on my public icon list are some of my smilies which you can find here: at the bottom. You willl need to ask permission though and link to the site like I did and is done on this site. The others you may see are custom icons.
|
#21
|
|||
|
|||
Great idea!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|