vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Fancy Usernames (https://vborg.vbsupport.ru/showthread.php?t=251023)

MichaelDance 09-23-2010 10:52 AM

Fancy Usernames
 
I know you can get styled usernames like the rainbow one released in the mod section but how can you get the javascript for
http://forum.ragezone.com/members/819072.html

Usernames its cool but i cant find out how you do it.

the code for the username would be:
Code:

Username Box One:
<span style="color:#CC3300;background: url(images/backround6.gif)"><b>
Username Box Two:
</b></span>

But i still dont know where the Javascript is to display the image on the username.

If you know it would be amazing. Thanks guys and girls.

Lynne 09-23-2010 02:12 PM

It's not javascript, it's just css - the background image.

Code:

<span style="color: rgb(204, 51, 0); background: url("images/backround6.gif") repeat scroll 0% 0% transparent;">Username</span>

MichaelDance 09-23-2010 02:42 PM

thank you :) ill try that :)

-------------------
Problem i did that and i got:
http://techenix.com/images/mike/Problem1.PNG
and
http://techenix.com/images/mike/Problem2.PNG

Lynne 09-23-2010 06:17 PM

I can't tell a single thing about CSS with an image. An image doesn't allow me to see the actual CSS.

MichaelDance 09-23-2010 10:41 PM

Quote:

Originally Posted by Lynne (Post 2102386)
I can't tell a single thing about CSS with an image. An image doesn't allow me to see the actual CSS.

oh ok Lynne thank you do you know anyone on the VBulletin mod or team who can help me please :) x

Lynne 09-23-2010 11:28 PM

Why don't you post a link? I don't know of many people who can tell what the exact CSS is just from an image.

MichaelDance 09-23-2010 11:59 PM

www.techenix.com - ill open the forums and erm i think i know the reason why when i enter it in the code is cut off to
Code:

<span style="color: rgb(204, 51, 0); background: url("http://techenix.com/images/shiny1.gif") repeat
Is there anyway to increase the charators to make it fully have the code?

Lynne 09-24-2010 03:01 AM

Yep, the code is cut off. You'd have to either modify the field in the database to allow a larger number of characters, or just use a class instead and define the class in additional.css - <span class="whatever"> and define .whatever {background:.....}

MichaelDance 09-24-2010 12:11 PM

thank you lynne but i tried:

Code:

#admin {
color: rgb(204, 51, 0); background: url("http://techenix.com/images/shiny1.gif") repeat scroll 0% 0% transparent;"
}

That dont seem to be working.

Lynne 09-24-2010 02:11 PM

And that is not going to work if you used <span class="admin"> because #admin is NOT a class, it is an id.

When posting what you've done, there are two things you need to post 1) the textareas in the usergroup manager and 2) the css you wrote. You need to tell us both of those things. I could just say "gee, well, that should work" and it should IIF you used id instead of class, and maybe you did, except you haven't posted that part of your code.

MichaelDance 09-25-2010 05:42 AM

Thank you Lynne for your help.

i found out how to get it working:

i didnt know that . was a class and a # was an id.
In Additional Css:
Code:

.admin {
color: rgb(204, 51, 0); background: url("http://techenix.com/images/shiny1.gif")repeat scroll 0% 0% transparent;"
}

First username box:
Code:

<span class="admin"><b>
Second username box:
Code:

</b></span>
If anyone else wants to use the code ;) thats how you do it.

sulasno 09-25-2010 06:04 AM

could you provide a detailed guide for a newbie ?

MichaelDance 05-27-2011 11:25 AM

Quote:

Originally Posted by sulasno (Post 2102955)
could you provide a detailed guide for a newbie ?

Sorry for a late reply hardly go on here anymore.

http://habborawrforum.com/showthread...=1364#post1364

Has all the answers for you step by step :)


All times are GMT. The time now is 08:08 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.01229 seconds
  • Memory Usage 1,738KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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