View Full Version : Replace Buddy Icon
Red Spider
26 Dec 2007, 19:09
*=======================================*\
|| ###################################
|| # Replacement Buddy Icons - Red Spider
|| # ------------------------------------------------
|| # Thanks to Jake Bunce @ vB for the help!
|| ################################## ||
\*======================================*/
This hack replaces the ugly "+" icon that denotes "User is on your buddy list" with something a little nicer :)
Version 1.0:Inital Release
Version 1.2:[F] Still showing "+" on member profile.
Version 1.3:[F] Still showing "+" on who's online legend.Installation:
1) Download files
2) Upload attached image to "yourdomain.com/images/statusicon" folder.
3)
In forumhome_loggedinuser find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
4)
In whosonlinebit find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
5)
In memberinfo_visitorbit find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
6)
In WHOSONLINE find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
7)
Enjoy :)
I will try to give support as much as i can - to those who have marked as "INSTALLED" :)
Gray Matter
26 Dec 2007, 20:26
This should be in Template Modifications.
Red Spider
26 Dec 2007, 20:44
:rolleyes: *request move to template mods*
Thank you for this template modification ;)
Red Spider
27 Dec 2007, 05:15
Updated to v1.2
Thank you for this template modification
hornstar1337
27 Dec 2007, 12:07
Hey very nice, I may install this when I install 3.7
Thanks.
Audentio
27 Dec 2007, 13:15
Lovely :D.
SwollenCranium
27 Dec 2007, 23:33
Updated to v1.2
I followed your instructions and I get a red "X" and the phrase "user is on your buddy list"
I edited the templates correctly, and the image is in the correct folder.
Red Spider
27 Dec 2007, 23:55
SwollenCranium,
Check you are uploading the image to the right folder. In your case it should be: swollencranium.com/forums/images/statusicon/
SwollenCranium
28 Dec 2007, 00:05
SwollenCranium,
Check you are uploading the image to the right folder. In your case it should be: swollencranium.com/forums/images/statusicon/
Indeed.
The image is in the correct folder.
The template edits were very simple, so I am confident that I have done it correctly as per your instructions.
Still, It is not working for me.
Red Spider
28 Dec 2007, 00:25
check your template edit(s), a source view of your who's online page still shows:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
which is wrong.
slmoney
01 Jan 2008, 03:32
thanks! looks great on my forum...instead of that UGLY + sign
+marks INSTALL+
DrussRob
01 Jan 2008, 05:55
I like this ;)
well done
glorify
02 Jan 2008, 23:04
Could you add this hack to this (http://www.vbulletin.org/forum/showthread.php?t=165960)?
Red Spider
06 Jan 2008, 01:51
Probably not :/
Red Spider
06 Jan 2008, 16:28
Indeed.
The image is in the correct folder.
The template edits were very simple, so I am confident that I have done it correctly as per your instructions.
Still, It is not working for me.
This should be fixed in v1.3 - try downloading and follwing the new instructions :)
slmoney
06 Jan 2008, 19:02
any way to convert this to a product? with a site having multiple styles available it is a pain to edit all those templates.
Red Spider
06 Jan 2008, 19:18
any way to convert this to a product? with a site having multiple styles available it is a pain to edit all those templates.
I'm gonna try - but i will need some help :P
The Ottoman
14 Jan 2008, 00:57
Indeed.
The image is in the correct folder.
The template edits were very simple, so I am confident that I have done it correctly as per your instructions.
Still, It is not working for me.
Actually, I was having this problem too, and I re-read the instructions. He's got it coded to go to sitename.com\images\statusicon\buddy.gif not sitename.com\forum\images\statusicon\buddy.gif.
It's a bug that happend in the latest version I believe, because I had it working in the first version, but not the new one.
bennac40
12 Apr 2008, 20:29
Hi,
I installed it but have a little problem. It appears fine in all the other sections except on the forum index, I still see the "+". I rechecked the code 3 times. Exactly like what you provided.:confused:
If you change two Files, you have it everywhere.
Just change (for 3.7Beta3)
File: functions_bigthree.php
Line106
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The + in anything you want. Like:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And the secon is the File class_profileblock.php
Line 1056
Change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then you need no Template-Mod and the Sign shoul be on every Page.
Breathex
13 Apr 2008, 21:52
If you change two Files, you have it everywhere.
Just change (for 3.7Beta3)
File: functions_bigthree.php
Line106
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The + in anything you want. Like:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And the secon is the File class_profileblock.php
Line 1056
Change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then you need no Template-Mod and the Sign shoul be on every Page.
That's easier, thanks Hoffi :)
NeuroLancer
15 Apr 2008, 05:55
If you change two Files, you have it everywhere.
Just change (for 3.7Beta3)
File: functions_bigthree.php
Line106
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The + in anything you want. Like:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And the secon is the File class_profileblock.php
Line 1056
Change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then you need no Template-Mod and the Sign shoul be on every Page.
you still need to modify whosonline, because it gets the + from the template
haytham
29 May 2008, 19:32
Who's online working ok for me but I didn't want to change any codes so I just made 2 folders images-statusicon and put the buddy icon inside. Thank you.
thanks ..this looks much better than the +
Reinhart
13 Jun 2008, 06:57
Installed. Works on 3.6.10
Captain Tycoon
17 Jun 2008, 12:00
Marked and Installed! Thanks!
PoetJA-1975
26 Jun 2008, 14:25
Thanx ;)
Jacquii.
cheat-master30
26 Jun 2008, 21:57
Might want to change the install instructions slightly, because you forgot to say to edit the image path, and some people aren't using their forum in their domain's root folder.
PoetJA-1975
27 Jun 2008, 05:04
Yep - the correct way would be $stylevar[imgdir_misc]/buddy-image
Jacquii.
I did everything correct and it looks good in all other areas but how do I get the comma and space them correctly?
http://i26.tinypic.com/2150had.jpg
If you can help it would be greatly appreciated. :)
Skierpetros
25 Aug 2008, 08:47
I installed everything correctly and that happen ...
http://www.vbulletin.org/forum/attachment.php?attachmentid=86020&stc=1&d=1219650383
the image is also in the correct folder
VeeDubZ
30 Aug 2008, 19:45
the "forumhome_loggedinuser" template should be
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
for it to give you the comma inbetween each username.
Tested and working on vb3.7.3
DragonMasterNYC
05 Sep 2008, 03:56
$stylevar[imgdir_misc]/buddy-image
This is the only way I can get it to work for me.
Great modification, but this should be made into a product.
Seiyaboy
17 Oct 2008, 08:19
I have noticed that under showthread and forumdisplay, the + symbol is used instead of the buddy icon that was uploaded. Do you think you might be able to figure out why?
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.