![]() |
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. |
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. |
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:
|
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.
|
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.
|
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. :)
|
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.
|
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.
|
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?
|
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. |
I was waiting for you to update it before I installed. :) THANKS! This hack is awesome. I knew you could do it ;)
I would have offered my advice, but the only hacking I know how to do is if/else statements so far. (lol) :ermm: |
Small update. Please redo step 7.1 in the instructions. Without this fix, when you click on a member in the memberlist, it will show an error that the user does not exist. Everything else should work fine now. I hope I can optimise online.php soon, I think that is the only thing left. But the most important pages are done. Please click the install button if you use this hack. :)
|
Maaaaan, I have been doing this for over an hour now and I'm up to 12.1.... *sigh* LONG hack! I can;t even immagine how long it took you to make it Jim... :) Wow.
One thing I noticed on 12.1 is that you included "msn" in the list. I have this installed buy others might not. You might want to point that out. ;) |
there, finished. One thing I noticed in online.php is:
PHP Code:
PHP Code:
|
Oh I did that but apparently not in the instructions. :ermm: Will fix this.
Edit: Hmm it was in the instructions: Quote:
|
any way to just show icons if they are a donating member so therefore i can just have a default donation icon ?
|
hi this is a good hack but i only want it to display the icon in the showthread, announcement and my welcome panel, would i be ok to only make the changes to the index, showthread, global and announcement files?
|
has dark jim vanished?
|
Quote:
Quote:
|
thanks dude, i'll give it a try
|
okies this is working just liek i wanted but the thing now is, can i enlarge the icon size at all?
|
|
Works nice.....
/me licks an orange flavored install button |
i did everything it told me in the install file and now i get this
-points to ss- |
Huh? What is the url of that broken image and what is the url to the image that should have showed up?
|
its pointing to /forums//images/ as the image and its /forums/images/announce.gif
|
This step:
Quote:
|
ah thats it I must have replaced it by accident thank you
|
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. |
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.
|
|
Quote:
But it doesn't show up in showthread.php, and private.php. |
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.
|
this is the longest hack i've ever done
very nice thoe thanx |
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.
|
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) { Code:
if ($loggedin['usergroupid'] == 6 and $highlightadmin) { 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) { |
|
That piece of code appears twice in index.php. Did you make changes to both?
|
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* |
i've enjoyed using this with vb2, are there any plans to port to vb3?
|
All times are GMT. The time now is 09:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|