Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Icons Details »»
User Icons
Mod Version: 1.00, by Dark Jim (Coder) Dark Jim is offline
Developer Last Online: May 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (1 vote - 5.00 average) Installs: 35
Released: 28 Jan 2003 Last Update: Never Downloads: 8
Not Supported  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
User Icons and Store integration Dark Jim vBulletin 2.x Full Releases 13 01 Apr 2003 00:03

  #16  
Old 29 Jan 2003, 01:29
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change that to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Dark Jim : 29 Jan 2003 at 01:32.
Reply With Quote
  #17  
Old 29 Jan 2003, 01:38
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
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.
__________________
Square Ultima 2.0
The Ultimate Square Resource Center!
Reply With Quote
  #18  
Old 29 Jan 2003, 01:42
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
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.
Reply With Quote
  #19  
Old 29 Jan 2003, 01:48
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
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.
Reply With Quote
  #20  
Old 29 Jan 2003, 04:15
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Real name: Colin
Great idea!
__________________
-alkatraz
Northwest Nissans Classifeds
Reply With Quote
  #21  
Old 29 Jan 2003, 04:44
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
hey u should add an option where ppl can upload their pics or just simply link it from another destination, that would be the best way.
__________________
Square Ultima 2.0
The Ultimate Square Resource Center!
Reply With Quote
  #22  
Old 29 Jan 2003, 10:53
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
Huh? People can already upload icons if they have enough posts. You may need to enable upload and lower the number of required posts under vBulletin Options.
Reply With Quote
  #23  
Old 29 Jan 2003, 15:09
EchoHype.com's Avatar
EchoHype.com EchoHype.com is offline
 
Join Date: Mar 2002
Hey Dark Jim,

Can you set this to be like........only the admins/supermods/mods choose who can have the little pic thing next to their name or what not.

IE: If the staff decides that "bobberman46" was the member of the week, they can enable him to have the "member of the week icon thing" next to his username. But no other user on the forum can do so?
Reply With Quote
  #24  
Old 29 Jan 2003, 15:31
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Dark J: I dont' see the options in my vbulletin options. It's just for avatars, nothign else.
__________________
Square Ultima 2.0
The Ultimate Square Resource Center!
Reply With Quote
  #25  
Old 29 Jan 2003, 15:45
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
Originally posted by EchoHype.com
Hey Dark Jim,

Can you set this to be like........only the admins/supermods/mods choose who can have the little pic thing next to their name or what not.

IE: If the staff decides that "bobberman46" was the member of the week, they can enable him to have the "member of the week icon thing" next to his username. But no other user on the forum can do so?
I could probably but I only release hacks that I use myself, sorry.

Originally posted by Vivi Ornitier
Dark J: I dont' see the options in my vbulletin options. It's just for avatars, nothign else.
Odd. Check your database. What is the last row in the table settinggroup? And what is the last row in the table setting?

Last edited by Dark Jim : 29 Jan 2003 at 15:50.
Reply With Quote
  #26  
Old 29 Jan 2003, 16:32
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Looks like one of these nice hacks again

Good job buddy *thumbs up*

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #27  
Old 29 Jan 2003, 21:25
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Dark J: THe last table is the Upload options choice.
__________________
Square Ultima 2.0
The Ultimate Square Resource Center!
Reply With Quote
  #28  
Old 29 Jan 2003, 23:05
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
Hmm I don't think so. Run this query:

SELECT * FROM settinggroup LIMIT 0, 40;

and tell me then what the last row is from settinggroup. Is it "Who's online" with settinggroupid "31"?
Reply With Quote
  #29  
Old 30 Jan 2003, 03:28
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Well done, Dark Jim! I've done a similar thing based on the mini-avatars hack, but mine's mainly template-based. Good job!
Reply With Quote
  #30  
Old 30 Jan 2003, 13:03
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
So noone else had problems installing it?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 23:11.

Layout Options | Width: Wide Color: