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 Name Style: Bold & Glow (Optional) Details »»
User Name Style: Bold & 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-24-2008 Last Update: Never Installs: 11
Template Edits
Re-useable Code Translations  
No support by the author.

This is my first ever template modification, this works for any versions of 3.6.x vBulletin versions.

Please refer to this thread for a glowing usertitle:

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

Description: This will give users an option in their profile to bold & glow there usernames.


Step 1 - Bold

Create a new profile field through your AdminCP.

Multiple Selection Textbox

Title: Username Bold

Description: Here you can bold your username if you would like to make it stand out more.

Limit Selection: 1

Items Per Line: 0

Fields: 1 field called Bold Username (one option for users to check if they want).

Profile Field Type: Multiple-Selection Checkbox

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 Two

Edit the template you use, either Posbit Legacy or Postbit.
Find (there will be two, do this to the first one):
PHP Code:
$post[musername
Replace with:
PHP Code:
<if condition="$post[fieldx]">
    <
span style="font-weight: bold; $post[fieldx]">
        
$post[username]</span><else />
$post[musername]
</if></
a
Step Three

In the same template, find the second:
PHP Code:
$post[musername
Replace with:

PHP Code:
<if condition="$post[fieldx]">
    <
span style="font-weight: bold; $post[fieldx]">
        
$post[username]</span><else />$post[musername][/if] 
Replace the X (on fieldx) with your bold profile field. You're done.

Step One - Glow

Create a new profile field through your AdminCP.

Single Line Text Box

Title: Username Glow

Description: Here you can glow your username if you would like to make it stand out more.

Field Required: No

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

The rest is up to you.

Click Save.

Step Two

Find in your Postbit or Postbit Legacy template:
PHP Code:
$post[musername
Replace with:

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

Same template, find second:
PHP Code:
$post[musername
Replace with:
PHP Code:
<if condition="$post[fieldx]"
                <
div style="width:100%;filter:glow(color=$post[fieldx],strength=6)">$post[username]</div> <else />$post[musername]</if> 
Make sure you replace the x's with your Glow field number.


You're done, any problems, just tell me please. Remember to mark Installed if you use and like it.

Show Your Support

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

Comments
  #32  
Old 03-12-2008, 12:33 AM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, thank you let me try this out quick i'll get back to you in a few min.
Reply With Quote
  #33  
Old 03-12-2008, 12:40 AM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok awesome it works i'll have to mess with it more later I should be getting to bed...gotta work early tomorrow :\ but thank you so much for all the help and finally getting this going for me . Much thanks appreciate it! Later man
Reply With Quote
  #34  
Old 03-12-2008, 12:44 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxshatteredsoul View Post
Ok awesome it works i'll have to mess with it more later I should be getting to bed...gotta work early tomorrow :\ but thank you so much for all the help and finally getting this going for me . Much thanks appreciate it! Later man
Lol I can't believe I gave you the complete wrong link to start with, haha no wonder we was back and forth and not getting anywhere. My fault lol, but atleast you got it sorted now. Night man.
Reply With Quote
  #35  
Old 03-19-2008, 02:24 AM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha it's all good man. I am on vacation right now but yeah worked great on 3.6.8 having no problems atm. Thank you so much for the help, even though you gave me the wrong link haha peace outielater.
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 11:57 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.04346 seconds
  • Memory Usage 2,265KB
  • Queries Executed 19 (?)
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
  • (8)bbcode_php
  • (1)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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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