PDA

View Full Version : what am i doing wrong?


twistedsoul
05-06-2016, 04:27 PM
<a href="http://gamingne.com/forumdisplay.php?67-Meet-The-Founders"><img src="images/title/Founder.gif" title="Meet The Founders" width="200" height="75" /></a>

this is supposed to be a usergroup banner hyperlink back to meet the founders page. for some reason I cant get it to work. Have it in the description for that usergroup.

Dave
05-06-2016, 04:30 PM
Why doesn't it work? What is showing instead? Do you have any URL to your site so we can see what goes wrong?

twistedsoul
05-06-2016, 04:35 PM
gamingne.com
login as fudge, pw is 99camaro
click any post by either admin, the founder banner should link back to founders page...
the image is there but no hyperlink

In Omnibus
05-06-2016, 05:14 PM
Do you have HTML turned on?

MarkFL
05-06-2016, 05:15 PM
That banner is a rank...did you enter the HTML in your first post in this thread into the text field for "Rank Type" in your "User Rank Manager" and then run "update user titles and ranks" after adding, editing, and deleting user titles or ranks?

twistedsoul
05-06-2016, 05:24 PM
oh crap ok, yea I keep forgetting the rank stuff. still doesn't allow me to hyperlink back to founders page

MarkFL
05-06-2016, 05:33 PM
On my local dev site, I have a link to the "Contact Us" page on the admin ranks, which works. The HTML I have for that is:

<div class="rank_badge_wrapper" style="border-color:#FF8000" title="Contact Administrators"><a href="http://localhost/vbulletin/upload/sendmessage.php" target="_blank" style="text-decoration: none"><div class="rank_badge badge_admin">MLB Administrator</div></a></div>

If you want, set up a temporary admin account for me on your site, and PM the login credentials to me, and I will see if I can get this to work for you. :)

twistedsoul
05-06-2016, 06:12 PM
oooh it works! =) ty!

MarkFL
05-06-2016, 06:33 PM
oooh it works! =) ty!

Yes, I had to use a lot of inline CSS to get it to work...and if you want I can add a plugin to inject CSS class selectors so the HTML in the rank definition will be simpler.

For others who may be interested, this is what I used:

<div style="position: relative; width: 175px; height: 50px; margin-bottom: -1.25em; background-image: url('http://gamingne.com/images/title/Founder.gif')" title="Meet The Founders"><a href="http://gamingne.com/forumdisplay.php?67-Meet-The-Founders" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"></a></div>