The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
That requires hacking.
Open admin/functions.php - Find: PHP Code:
PHP Code:
Then in your postbit template, use $badge instead of the <img src> code for the badge to show up. Do the same in member.php. Find: PHP Code:
PHP Code:
Then in your getinfo template, use $badge instead of the <img src> code for the badge to show up. Done! |
#12
|
||||
|
||||
Refresh this page - I fixed a small typo in the code.
|
#13
|
||||
|
||||
OMG ITS PERFECT ^_^ Thats really cool man. No one else could get it to do it they way I really wanted but you did it with apparently little effort. One more small question, what file do I edit if I want the image to appear in the Members Online box on the main page?
|
#14
|
||||
|
||||
That would require editing index.php and making the $loggedins=$DB_site->query JOIN to the field table on top of the user table - this may slow your index.php down a bit. It can be done, but will take some working out. Do you really need it? Wouldn't the graphic be too big?
|
#15
|
||||
|
||||
I really would like to do it. I had orignally just planned on doing that rather than what you showed me how to do. However I really like what you showed me so I added that too. check out www.VisualBasicForum.com it doesnt seem to slow down their load page at all. If its too difficult its ok, I will figure it out somehow
|
#16
|
||||
|
||||
If you just want an icon to show up for staff, you can do this:
Open index.php - Find: PHP Code:
PHP Code:
This is for the ADMIN icon. Change the image path to whatever you want. Then, find: PHP Code:
PHP Code:
This is for the MODERATOR icon. Change the image path to whatever you want. For this to work, you need to set in Admin CP, vB Options, for the staff username bold and italics to ON. As for other users, like I said, it's a JOIN feature if you use the custom profile method. I think there is a hack that allows members to have small icon next to their username on the homepage. Maybe modify that for your purposes. |
#17
|
||||
|
||||
It's this hack:
https://vborg.vbsupport.ru/showthrea...threadid=44593 See if you can modify it so that admins are the only ones who can add the image. |
#18
|
|||
|
|||
Love the hack! I am using this to present contractor certification badges by outside associations. Is there any way to hyperlink the image (badge) from the postbit template or the admin user profile screen?
I would also like to be able to add additonal badges (say 3).. I should be able to just repeat the hack using an additional profile field.. (something like $badge, $badge1, $badge2) correct? Thanks for the great hack. Greg |
#19
|
|||
|
|||
Allow me to clarify..
I already have the bades hack installed and its working great. We run a wood care contractors site and each contractor that is certified by a secific organization is allowed to post their certification logo. What I would like to do is create another form of advertising by enabling the logo to be linked to the each of the organizations websites. So in other words a contractor interested in getting their certification with organization "A" could click on another users badge to bring them that "A" 's website. Any ideas? \ Thanks! Greg |
#20
|
|||
|
|||
bump
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|