vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   User Icons (https://vborg.vbsupport.ru/showthread.php?t=48264)

Dark Jim 01-31-2003 07:01 AM

O_o Uhm ok I'll change the default to 100 or something. Yeah I set it too that number because I want memebers to buy custom icons with points. I will release the store integrated version soon.

Edit: Updated the instructions with step 19 that says you need to create a folder avataricons in your images folder.

Dark Jim 02-09-2003 11:07 PM

I added the icons in the user profile (getinfo template) and memberlist (memberlist template). Instructions updated and in my first post you can see how to upgrade from 1.0 to this.

Also if you installed this and like it, please click the install button in this thread.

007 02-10-2003 10:34 PM

wow... i took one look at the install text file and this is definately the longest hack i have seen. before i go through all this work though, i have to know, has anyone had any problems with this in 2.2.9? also, hypothetically speaking.. IF i did have problems, would the fact that i just added all these queries to my db slow anything down or is there a way to undo them? thanks in advance. :beard:

Dark Jim 02-11-2003 08:57 AM

The database changes can be easily undone. You just need to delete the tables and rows that were added. And if you leave them it shouldn't matter either.

Erwin 02-11-2003 09:19 AM

Be aware that each icon.php image shown is 1 database query. :) It all adds up. On your forumhome, if you have 50 users with icons, that is 50 extra db queries (that won't show up in microstats by the way). I had a variation of this hack running for a while, but had to remove it because of the server strain.

Dark Jim 02-11-2003 07:36 PM

Hmm I didn't think of that. If it is really becoming a problem then you can either remove it from the forum index or set the post requirement high so only really postaholics get custom icons. :)

Dark Jim 02-16-2003 06:38 PM

This hack works on vBulletin 2.3.0. I also made a store integration which you can find here: http://www.vbulletin.org/hacks/index...ack&hackid=974.

Dark Jim 02-28-2003 08:06 PM

Can someone PLEASE help me with reducing the queries? :( I have no idea how. It needs optimising in forumdisplay.php, index.php, memberlist.php and online.php.

007 03-01-2003 08:56 AM

Just wondering, do NORMAL avitars also add one query each?? If not maybe you could try to copy how the avatar idea works, since this is basically the exact same thing only a smaller file, and inserted in a different place... That probably means avatars also add query's though huh.. I never really understood why it was so bad to have a lot of query's?? Does it use a lot more bandwith or something? What happens?

Dark Jim 03-01-2003 12:31 PM

Normal avatars do not add a query each but neither do the icons in showthread.php, announcement.php and private.php. The icons did add a query each on forumdisplay.php, index.php, memberlist.php and online.php.

However they do not anymore with the exception of online.php as I still haven't figured that one out. I just updated the hack to 1.2 which gets rid of all those extra queries. For example my memberlist.php had 39 queries on one page, after optimising it only 12. :D

So everyone who uses this, you should really update.


All times are GMT. The time now is 09:45 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.01190 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete