![]() |
This hack was requested by Sinema.
1. Open functions.php (in your admin folder), and find PHP Code:
PHP Code:
PHP Code:
See a demo here: http://forum.t-cove.com/showthread.php?threadid=5 Feedback is welcome! :) |
simple and effective firefly good job :)
|
Hey that worked like a charm!!
Thanks a lot of fan site owners will love that! Hey quick question Is there a way to preset certain buttons to have a certain URL? I don't want people promoting their site with someon elses button .. if you know what I mean |
Nice hack! I'll have to try it out. https://vborg.vbsupport.ru/
|
Thanks all! :)
[QUOTE]Originally posted by Sinema Is there a way to preset certain buttons to have a certain URL? I don't want people promoting their site with someon elses button .. if you know what I mean |
Hmm dont you mean showthread.php instead of functions.php???
|
It's like presetting the image
Lets say your using a button for TheBronze.tv the image was created for TheBronze.tv so when the person selects it .. it automatically is linked back to http://www.thebronze.tv this way people can't use the "Bronze" button to promote their own site .. |
I keep getting a parse error on line 226 of Functions.php
I've retried 4 times just to make sure with the same results each time. Any Idea's? |
Omega: No, I mean functions.php. :)
Sinema: Would someone explain me what he wants? :p Piston: What version of vB are you running, and what's line 226? |
LoL let me try again
Right now you can use buttons and whatever URL you enter in your Profile is the url that is used. However I'm curious if there is a way to preset the URL So if a user selects an Avatar from Avatars uploaded .. the url is already preset . Example Joe Bob goes and selects an avatar for the site "SpikeSpotting.com" The avatar is a button promoting the site "SpikeSpotting.com" instead of Joe Bob going into his profile and entering in http://www.spikespotting.com in his "Homepage" section .. the urls could be preset so he selects the SpikeSpotting avatar and it automatically hyperlinks to http://www.spikespotting.com This would stop users from using Buttons to promote their own site and have them promote the site of the avatar they are using. |
Then why didn't you say so?! :)
Now I understand what you mean... to associate URLs with certain avatars. Err... I'm not sure if I know how to do this... I suggest you request this from another guy. :( |
2.0.3
Code:
$bbregex[bbcodetag]); |
This is strange, for me the code you pasted is on line 717.
Make sure that you didn't dropped / added any unnecessary } or {. |
Works fine for me ... thank you for this nice little hack, Firefly!
|
I tried installing this hack and my avatars disappeared. I replaced the code and created the new template, but no luck...
Of course I now have the avatars back since I replaced the code. |
Is this or anything similar avaliable for 3.6 would anyone know? thanks
|
All times are GMT. The time now is 02: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|