Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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

Sponsored Links
Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
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.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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..

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
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>

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)