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
  #22  
Old 03-09-2008, 10:04 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxshatteredsoul View Post
I don't have that what you posted ^

I only did
step 1 glow
step 2
step 3

glow works but I do not have this plugin you have to be able to edit it to make usergroups have diff glows set from cp & make users not be able to pick glow.
Hmmm you should have it in your plugin manager, not your products. It should be there as a plug in, did you install it correctly?
Reply With Quote
  #23  
Old 03-10-2008, 09:29 PM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes sir installed it correctly. I can put in a hex color in my profile options and it shows up in posts working fine. Not in the plugin manager though. There must be something I missed?
Reply With Quote
  #24  
Old 03-11-2008, 01:39 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxshatteredsoul View Post
Yes sir installed it correctly. I can put in a hex color in my profile options and it shows up in posts working fine. Not in the plugin manager though. There must be something I missed?
Yeah, you must of missed something because it is definetely in the Plugin Manager. You could always edit the product with the usergroups then re-upload the product in your product manager.
Reply With Quote
  #25  
Old 03-11-2008, 11:27 PM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
I did not add the bold step otherwise did all the rest I don't see how that would make anything show up in the plugin either way? There isn't even a code I add with this in it
Code:
//User Name Glow Hack by Stitch @ aotrangmongmo.com/chutgidenho.com 
                // begin glowing users
There must be more to this addon what am I missing? I did the steps I quoted above except i did not add the bold step 1. Please help i want to be able to set glows for usergroups.
Reply With Quote
  #26  
Old 03-11-2008, 11:30 PM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
Yeah, you must of missed something because it is definetely in the Plugin Manager. You could always edit the product with the usergroups then re-upload the product in your product manager.
How? I don't get how there is supposed to be plugins/products when you don't supply any of those files. All I do is a few template edits and add a text box. Confused...
Reply With Quote
  #27  
Old 03-11-2008, 11:44 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxshatteredsoul View Post
How? I don't get how there is supposed to be plugins/products when you don't supply any of those files. All I do is a few template edits and add a text box. Confused...
Hey you are getting my mod and that other mod confused with the same mod... My mod only involves template edits, no products, uploads or plugins. That other guys mod (glowing usernames) that I posted the link to has a product, plugins and other things I think. I know it has a plug in because I used it awhile ago on my forum. You don't upload or import the plugin, the plugin should automatically be there once you have imported the product.
Reply With Quote
  #28  
Old 03-11-2008, 11:53 PM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh well I only did your hack above I didn't use the other one which is why i'm not getting any plugins to show up. Can I do the usergroup glow with your mod or do I have to install the other one? If so can you link me to it and do I have to uninstall your hack?
Reply With Quote
  #29  
Old 03-12-2008, 12:11 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxshatteredsoul View Post
Ahh well I only did your hack above I didn't use the other one which is why i'm not getting any plugins to show up. Can I do the usergroup glow with your mod or do I have to install the other one? If so can you link me to it and do I have to uninstall your hack?
This mod doesn't use usergroup settings, but this mod does:

https://vborg.vbsupport.ru/showthrea...color+username

^The difference between my mod and his mod, is that users (registered, admins, mods and super mods) can choose a glow color of their choice for their username if they wish to have a glowing username through their user CP (my mod). His mod only sets a glow color of the admins choice (in the plugin manager) for each usergroup, which you can then delete usergroups or add in usergroups if you wish.

You don't have to uninstall my mod if you don't want to because it doesn't interfere with his mod whatsoever. But if you were looking for certain usergroups to glow a certain color, then that is his mod.

Hope that helped man:up:
Reply With Quote
  #30  
Old 03-12-2008, 12:20 AM
xxshatteredsoul's Avatar
xxshatteredsoul xxshatteredsoul is offline
 
Join Date: Jan 2005
Location: USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That mod has a txt file that does the same thing as your mod? lol i am being so difficult
Reply With Quote
  #31  
Old 03-12-2008, 12:26 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol, sorry about that, I gave you the complete wrong link, this is the link for that other mod:

https://vborg.vbsupport.ru/showthrea...highlight=glow
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:39 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.04926 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (8)bbcode_php
  • (6)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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