View Full Version : Username HTML Markup MAX CHAR?
paul41598
07-19-2006, 04:10 PM
In my usergroup settings, HTML markup section, Im trying to put this into the first box.
<a style="color:#C60000; font-weight:bold" title="Administrator" href="javascript:onlinetoday('test.html')">
However it cuts it off, after like test.ht
Im assuming theres a char limit on that text field. Where would I increase that??
Guest210212002
07-19-2006, 04:15 PM
A much better way to do it would be to use a global CSS call and use a span tag.
https://vborg.vbsupport.ru/showthread.php?t=105598
paul41598
07-19-2006, 04:18 PM
well then what do I do about my javascript popup window. My goal here, is to keep the color legend colors, but make the legend usergroups clickable, to open a javascript popup window. Inside the popup window is intructions on how to become a part of that particular group.
Guest210212002
07-19-2006, 04:21 PM
Something like:
Opening:
<span style="whatever"><a href="javascript:onlinetoday('test.html')">
Closing:
</a></span>
paul41598
07-19-2006, 04:25 PM
Yah I got it now. Use the CSS for the markup, and that shortens all my inline a href crap, so now it fits and works. Thanks!!!
oh and actually I did this
<a class="adminmarkup" title="Administrator" href="javascript:uopup('test.html')">
found my first bug with this code.
If I goto memberlist, and click a usersname....it tries to open the popup window. This isnt good.
Luggruff
10-23-2006, 03:57 PM
Yah I got it now. Use the CSS for the markup, and that shortens all my inline a href crap, so now it fits and works. Thanks!!!
oh and actually I did this
<a class="adminmarkup" title="Administrator" href="javascript:uopup('test.html')">
found my first bug with this code.
If I goto memberlist, and click a usersname....it tries to open the popup window. This isnt good.
So add an image in front of the username or something then, that is linked to the popup.
Or you could do this:
If you are allowing your users to have custom titles, then you need to set your user titles per usergroup to the default for that usergroup (eg member, admin, banned, etc) then use the user ranks manager to set the titles based on post count.
As an addition, you can use as many user ranks as you want for each user and these can be images or HTML. Just make sure you say yes to the stacking question when you are creating them.
When you have made all the changes to the system that you wish to make, you just need to go to Maintenance > Update Counters > User Titles & Ranks for the changes to take place in everyones profiles.
..wich allows you to add a link under the usertitle (or was it the avartar?) to your popup! :D (since it allows html)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.