vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Username HTML Markup MAX CHAR? (https://vborg.vbsupport.ru/showthread.php?t=121590)

paul41598 07-19-2006 04:10 PM

Username HTML Markup MAX CHAR?
 
In my usergroup settings, HTML markup section, Im trying to put this into the first box.

PHP Code:

<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:
Code:

<span style="whatever"><a href="javascript:onlinetoday('test.html')">
Closing:

Code:

</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

Quote:

Originally Posted by paul41598
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:

Quote:

Originally Posted by peterska2
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)


All times are GMT. The time now is 02:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01032 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete