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 Name Style: Bold & Glow (Optional) (https://vborg.vbsupport.ru/showthread.php?t=168724)

TCE Killa 03-09-2008 10:04 PM

Quote:

Originally Posted by xxshatteredsoul (Post 1460563)
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?

xxshatteredsoul 03-10-2008 09:29 PM

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?

TCE Killa 03-11-2008 01:39 AM

Quote:

Originally Posted by xxshatteredsoul (Post 1461798)
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.

xxshatteredsoul 03-11-2008 11:27 PM

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.

xxshatteredsoul 03-11-2008 11:30 PM

Quote:

Originally Posted by TCE Killa (Post 1461961)
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...

TCE Killa 03-11-2008 11:44 PM

Quote:

Originally Posted by xxshatteredsoul (Post 1462607)
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.

xxshatteredsoul 03-11-2008 11:53 PM

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?

TCE Killa 03-12-2008 12:11 AM

Quote:

Originally Posted by xxshatteredsoul (Post 1462622)
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:

xxshatteredsoul 03-12-2008 12:20 AM

That mod has a txt file that does the same thing as your mod? lol i am being so difficult

TCE Killa 03-12-2008 12:26 AM

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


All times are GMT. The time now is 08:30 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.01235 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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