Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

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
  #2  
Old 01-25-2008, 08:02 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Yeah sorry, here is the screenshots. If you're wondering how to have an option so users can pick for a custom usertitle glow of any color of there choice, that will be in my next template modification release:up:
Reply With Quote
  #4  
Old 01-26-2008, 04:33 AM
gael11 gael11 is offline
 
Join Date: Oct 2005
Location: South of France
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks nice, I try !
Reply With Quote
  #5  
Old 01-26-2008, 05:29 AM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah... unfortunately, this is an IE only function, if i'm not mistaken.
Reply With Quote
  #6  
Old 01-26-2008, 08:59 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah sorry, I should have noted, this only works for IE.

Glad everyone likes it.
Reply With Quote
  #7  
Old 01-27-2008, 12:37 PM
zhabbo zhabbo is offline
 
Join Date: Aug 2006
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried this, but I have a problem.
My name is glowing red, and my name is red.
Is there anyway I can change the glow color?
Reply With Quote
  #8  
Old 01-28-2008, 08:48 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll have a look into it for you, just post that bit of your postbit or postbit legacy and I'll try and correct it for you.
Reply With Quote
  #9  
Old 02-02-2008, 04:11 PM
Ultimate Killer Ultimate Killer is offline
 
Join Date: Sep 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried this and you user title but couldn't get them to work
Reply With Quote
  #10  
Old 02-03-2008, 01:02 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you post me your posbit legacy or postbit of where you copied and pasted, I'll try and correct it for you.
Reply With Quote
Reply

Thread Tools

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:55 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.04506 seconds
  • Memory Usage 2,301KB
  • 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
  • (8)bbcode_php
  • (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