UBB.Dev
Posted By: DrChaos coding question about member titles area - 12/17/2004 3:55 AM
Ive been looking for a way to get certain members to be able to have an image below there name and have that image link to their stats page. I tried to use the admin ratings mod but its was buggy for me and I never did get it to work right.

I think I have found a way for me to do it rather easy. when you go in to give a user a custom title you can add a small amount of code in there to display an image. I did this and display a small smiley under my name.

right now you can only have a certain amount of code in there or it gets cut off when you save the page and the code gets all wacked. Im pretty sure that you can only have about 80 characters in there now.

but i want to be able to add more code to it so I can make the image into a link like this,

example.
Bet'cha can't stick it! <br><p><a href="/members/h2stats/member1.php"><img src="/images/graemlins/kid_honorarypimp.gif">

This is the eaiset way for me to do this without having to pay for someone to hack it into threads for me (which I cant afford). I can add the code to just the guild members names and I can also make the link go to just their stats page. How do I get it to let me add more code without it getting cut off during the save?

ok, so I know this was a long post but you didnt have to fall asleep
Posted By: Zackary Re: coding question about member titles area - 12/17/2004 7:26 AM
You'll need to edit the database. Set the U_Title, in w3t_Users, column to be longer than what it's set now. Mine was set for 100 characters, I inserted your code, it works without changes (well you'll need to add a </a> to the end to close the link), but if you expand it you can add more in that field.
Posted By: DrChaos Re: coding question about member titles area - 12/18/2004 3:24 AM
wow. set that and it worked. thanks a million.

Now how do I get rid of the colored box it has around the image? when you add a link to the image it adds a colored box around it so others know its a link but its ugly as heck..
Posted By: Twisty Re: coding question about member titles area - 12/19/2004 12:38 PM
Like this

Bet'cha can't stick it! <br><p><a href="/members/h2stats/member1.php"><img src="/images/graemlins/kid_honorarypimp.gif" border="0"></a>
Posted By: Zackary Re: coding question about member titles area - 12/20/2004 2:18 AM
© UBB.Developers