vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - User Title Style: Glow (Optional) (https://vborg.vbsupport.ru/showthread.php?t=168785)

TCE Killa 01-25-2008 10:00 PM

User Title Style: Glow (Optional)
 
This little template modification will give users an option to glow their usertitle. Note: This only works on IE, other internet browers will not be able to see the glow, just the usertitle. Please refer to this thread for a username glow (& bold):

https://vborg.vbsupport.ru/showthread.php?t=168724

Installation - Easy, 2 minutes to do.

Step One: If on any of your styles, your usertitle is shown underneith your username, you should find in your Postbit Legacy or Posbit (whichever one you use) (make sure it is the second &nbsp;<br/>:

PHP Code:

</div>
         </if>
         </
div>

         <
div class="smallfont">
            &
nbsp;<br /> 

Add under:

PHP Code:

<div align="x">
            <if 
condition="$post['usertitle']">$post[usertitle]</div></if> 

Just replace the x with left or center or right, depending what everything else in your postbit is aligned to.

Then make sure you delete your other $post['usertitle'], the one above avatar after (under username), just find it and simply highlight <div align="x">
<if condition="$post['usertitle']">$post[usertitle]</div></if> and delete (only the above avatar)

Step Two: Create a new profile field - Single-Line Text Box.

Title: Usertitle Glow

Description: While your usertitle is already with you when you post (under your avatar). This will add your usertitle under your username with a glow color of your choice to make it stand out more. Enter your color code here. (Ex: #11BEB4 is light blue)

-----(If you would like a Color Codes link, then simply place this code in after #11BEB4 is light blue)-----

PHP Code:

<br /> <a href="http://html-color-codes.info/" onclick="window.open('http://html-color-codes.info/');
return false;" 
target="newWin"><b>Click Here For Color Codes</b></a

Max length of allowed user input: Up to you.

Field Length: Up to you.

Field Required: No

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

Click Save!

Step Three: Find in Postbit or Postbit Legacy...

PHP Code:

  <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
         
$template_hook[postbit_userinfo_left

Add above:

PHP Code:

<if condition="$post[fieldx]"
                <
div style="width:100%;filter:glow(color=$post[fieldx],strength=6)">$post[usertitle]</if></div> <else /> 

Just change the x's to your glow field number, you can change the strength of the glow where is says strength=6, replace the 6 with whatever number you want.

You're done, hope you like it and remember to mark installed if you use and like it. :D:up:

zhabbo 01-27-2008 08:35 AM

Thanks, installed :)

TCE Killa 01-27-2008 03:31 PM

No worries man, glad you like it. :D

fishhub 02-02-2008 01:37 PM

how do we make it animated and glow? I meant the glowing effects could move.:o

viper007 02-02-2008 02:13 PM

dude. where can i change the x code with ??

TCE Killa 02-03-2008 01:04 PM

Quote:

Originally Posted by fishhub (Post 1434583)
how do we make it animated and glow? I meant the glowing effects could move.:o

That is just doing abit of altering with the template edit, I have noticed, if you move the text with the glow to a different part of the template, then the glow will start moving around when you highlight over it.

TCE Killa 02-03-2008 01:05 PM

Quote:

Originally Posted by viper007 (Post 1434592)
dude. where can i change the x code with ??


When you have copied and pasted the code into your template, replacing the other text.... Just change the x with your glow field number (i.e field12 instead of fieldx).

viper007 02-03-2008 01:27 PM

Quote:

<div align="x">
<if condition="$post['usertitle']">$post[usertitle]</div></if>
this am asking dude...in "x"

TCE Killa 02-03-2008 01:57 PM

Whichever one you prefer, "left", "center" or "right".

viper007 02-04-2008 07:14 AM

Quote:

Then make sure you delete your other $post['usertitle'], the one above avatar after (under username), just find it and simply highlight <div align="x">
<if condition="$post['usertitle']">$post[usertitle]</div></if> and delete (only the above avatar)

no change in it ... doesn't work . canu help me plzz....


All times are GMT. The time now is 07:10 AM.

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.01176 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete