Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Icons Details »»
User Icons
Version: 1.00, by Dark Jim Dark Jim is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 01-27-2003 Last Update: Never Installs: 35
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 03-25-2003, 05:07 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okies this is working just liek i wanted but the thing now is, can i enlarge the icon size at all?
Reply With Quote
  #63  
Old 03-25-2003, 06:44 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you can set the maximum size under vBulletin Options -> User Icons.

See here
Reply With Quote
  #64  
Old 03-25-2003, 07:01 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works nice.....

/me licks an orange flavored install button
Reply With Quote
  #65  
Old 03-25-2003, 08:38 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did everything it told me in the install file and now i get this

-points to ss-
Reply With Quote
  #66  
Old 03-25-2003, 09:27 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Huh? What is the url of that broken image and what is the url to the image that should have showed up?
Reply With Quote
  #67  
Old 03-25-2003, 09:31 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its pointing to /forums//images/ as the image and its /forums/images/announce.gif
Reply With Quote
  #68  
Old 03-25-2003, 09:33 PM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This step:
Quote:
3.2. Find:
-----------------------------------------------------------------
if ($announcement[startdate]>$bbuserinfo[lastvisit]) {
$announcement[icon]='newannounce.gif';
} else {
$announcement[icon]='announce.gif';
}
-----------------------------------------------------------------

3.2. Below that add:
-----------------------------------------------------------------
if ($announcement[iconavatarpath]!="") {
$iconavatarurl=$announcement[iconavatarpath];
} else if ($announcement['hascustomiconavatar']) {
$iconavatarurl="iconavatar.php?userid=$announcemen t[userid]&dateline=$iconavatarinfo[dateline]";
} else {
$iconavatarurl='';
}

if ($iconavatarurl!="") {
$iconavatar = "<img src=\"$iconavatarurl\" border=\"0\" alt=\"\">";
} else {
$iconavatar = "";
}
if ($bbuserinfo[userid]>0 and !($bbuserinfo[showiconavatars])) {
$iconavatar = "";
}
-----------------------------------------------------------------
Are you sure you added the code below the part you needed to find and not replaced it?
Reply With Quote
  #69  
Old 03-25-2003, 09:39 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah thats it I must have replaced it by accident thank you
Reply With Quote
  #70  
Old 03-27-2003, 11:47 PM
DigitalDesktops DigitalDesktops is offline
 
Join Date: Mar 2003
Location: Scotland, UK
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I having problems with this hack. The User Icons only appear in member.php. It doesn't appear anywhere else. I've tried to install it twice but it still won't show up. I edited all the templates, and i followed the instructions, but its still not working. I'm using 2.3.0
Does any anyone know how i can fix this? Thanks in Advance.

Here's all the files I edited.
Reply With Quote
  #71  
Old 03-28-2003, 08:51 AM
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed you forgot to do step 19.4a. Under edit options in your user cp I didn't notice the option to show or not show icons. Do that step, set the option to "yes" and then see if the icons show up.
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07003 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete