Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Title Style: Glow (Optional) Details »»
User Title Style: Glow (Optional)
Version: 1.00, by TCE Killa TCE Killa is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.x Rating:
Released: 01-25-2008 Last Update: Never Installs: 5
Template Edits
Re-useable Code  
No support by the author.

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. :up:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-27-2008, 08:35 AM
zhabbo zhabbo is offline
 
Join Date: Aug 2006
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, installed
Reply With Quote
  #3  
Old 01-27-2008, 03:31 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries man, glad you like it.
Reply With Quote
  #4  
Old 02-02-2008, 01:37 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do we make it animated and glow? I meant the glowing effects could move.
Reply With Quote
  #5  
Old 02-02-2008, 02:13 PM
viper007 viper007 is offline
 
Join Date: Dec 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dude. where can i change the x code with ??
Reply With Quote
  #6  
Old 02-03-2008, 01:04 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fishhub View Post
how do we make it animated and glow? I meant the glowing effects could move.
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.
Reply With Quote
  #7  
Old 02-03-2008, 01:05 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper007 View Post
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).
Reply With Quote
  #8  
Old 02-03-2008, 01:27 PM
viper007 viper007 is offline
 
Join Date: Dec 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
<div align="x">
<if condition="$post['usertitle']">$post[usertitle]</div></if>
this am asking dude...in "x"
Reply With Quote
  #9  
Old 02-03-2008, 01:57 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whichever one you prefer, "left", "center" or "right".
Reply With Quote
  #10  
Old 02-04-2008, 07:14 AM
viper007 viper007 is offline
 
Join Date: Dec 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04384 seconds
  • Memory Usage 2,307KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete