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

Reply
 
Thread Tools
User bar system Details »»
User bar system
Version: 1.00, by pein87 pein87 is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.1 Rating:
Released: 02-05-2009 Last Update: Never Installs: 7
Template Edits
Re-useable Code  
No support by the author.

This edit allows you to added user bars to your users postbit_legacy template under there signature. This one adds two new profile fields which will turn blank if someone picks both of the userbars. You can delete this option and the text I used for mine. Be sure to name your images just as you name them in in your profile fields.

To start make two new profile fields and make sure there both single selection menu. You can name them as you wont to and add you own fields or use my bleach or naruto userbars. In the options private field make sure it says no. In the option to make them searchable and on make viewable on memberslist put no.

In postbit_legacy template find:
PHP Code:
                __________________<br />
                
$post[signature]
            </
div>
        <!-- / 
sig -->
        </if> 
Add below for the no dual userbar add on.
PHP Code:
<if condition="$post[field25] AND $post[field28]">
<
br /><else />
<!-- 
start userbars -->
<if 
condition="$post[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$post[field25].png" alt="rpg side" /></div>
<else />
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$post[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$post[field28].png" alt="rpg side" /></div>
</if></if></if>
<!-- /
end userbars --> 
If you dont care if they use both you can use this one.
PHP Code:
<br />
<!-- 
start userbars -->
<if 
condition="$post[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$post[field25].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$post[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$post[field28].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars --> 
If you wont to add them to your profile as well open the memberinfo template.

Find in memberinfo template:
PHP Code:
                    <if condition="$prepared['usertitle']">
                        <
h2>$prepared[usertitle]</h2>
                    </if>
                </
td>
            </
tr>

            </
table
Next add one of these below that:
PHP Code:
<br />
<!-- 
start userbars -->
<if 
condition="$userinfo[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$userinfo[field25].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$userinfo[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$userinfo[field28].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars --> 
Add this one for only one of the userbars to show:
PHP Code:
<if condition="$userinfo[field25] AND $userinfo[field28]">
<
br /><else />
<!-- 
start userbars -->
<if 
condition="$userinfo[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$userinfo[field25].png" alt="rpg side" /></div>
<else />
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$userinfo[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$userinfo[field28].png" alt="rpg side" /></div>
</if></if></if>
<!-- /
end userbars --> 
There you go that concludes my edits hope you like click installed if you use this please.

Naruto Userbars Bleach userbars

Screenshots

File Type: jpg userbarspost.JPG (78.3 KB, 0 views)
File Type: jpg userbarsprofile.JPG (70.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-06-2009, 08:58 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might wont to also use the YARS(yet another ranking system) i use it and its awesome thats how i added the rank for my captains its a 3.7. mod but works well with 3.8 also. Be sure to upload avatar.php tp admincp folder.
Reply With Quote
  #3  
Old 02-06-2009, 09:13 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pein87 View Post
You might wont to also use the YARS(yet another ranking system) i use it and its awesome thats how i added the rank for my captains its a 3.7. mod but works well with 3.8 also. Be sure to upload avatar.php tp admincp folder.
So you have tested the TGW Yet Another Ranks System w/ 3.8? If so let me know as I stated in the 3.7 release thread for volunteers to test and I hear this now lol! Was it the recenetly updated version or previous i.e. PRE-January etc?

You can PM if you have the time so we don't clutter your thread!

Thanks!

S-MAN
Reply With Quote
  #4  
Old 06-17-2009, 10:54 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Pein87

"clicks installed"

I have a question about your vmoods in your screenshots. Can you PM me so not to ruin this thread pls?
Reply With Quote
  #5  
Old 09-12-2009, 11:34 AM
devlin2010 devlin2010 is offline
 
Join Date: Aug 2009
Location: UK
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod pein
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 01:01 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.05737 seconds
  • Memory Usage 2,306KB
  • Queries Executed 21 (?)
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
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (2)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete