Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2006, 10:16 AM
Spin Doctor's Avatar
Spin Doctor Spin Doctor is offline
 
Join Date: Feb 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Icon under avy?



how do i do this?
Reply With Quote
  #2  
Old 09-24-2006, 10:37 AM
R.Solutions's Avatar
R.Solutions R.Solutions is offline
 
Join Date: Mar 2006
Location: Texas
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can make a "staff" icon appear by usergroup via ranks or even a template edit.

in the templates

<if condition="is_member_of($post, X)">

Change x to the usergroupid you want to display a rank image for and add your own html
Reply With Quote
  #3  
Old 09-24-2006, 11:00 AM
Spin Doctor's Avatar
Spin Doctor Spin Doctor is offline
 
Join Date: Feb 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u explain it a lil better for the dummies? where do i edit this? and how do i add the image?
Reply With Quote
  #4  
Old 09-24-2006, 11:53 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to admincp => Styles & Templates => on the line that your style is on (right side) look for All Style Options, Drop down and click Edit Templates. It should automatically redirect you to edit the template (if it doesn't, click Go). Find this:
Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
				
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Depending on whether or not you want it above your ICQ, AIM, MSN, Yahoo, and Skype Icons, paste code similar to this:

Code:
<if condition="is_member_of($post, X)"><img class="inlineimg" src="http://www.               .com/images/ranks/image1.gif" alt="image1" border="0" /></if>            
            <if condition="is_member_of($post, Y)"><img class="inlineimg" src="http://www.               .com/images/ranks/image2.gif" alt="image2" border="0" /></if>
            <if condition="is_member_of($post, Z)"><img class="inlineimg" src="http://www.               .com/images/ranks/image3.gif" alt="image3" border="0" /></if>
1) Change X, Y, and Z to the usergroup ID that belong to them - you can find this information by going to admincp => Usergroups => Usergroup Manager.
On the right side it will say Edit Usergroup (id:x).

2) Change the src="http://www. .com/images/ranks/image1.gif" to the actual location of your images. Each usergroup should be different (otherwise having different usergroups would be useless.

3) Change the alt="image1" to whatever you want. When a person hovers their mouse over that person's image, text will pop up and display this information.

4) Add the images to wherever you put the location to in 2)
Reply With Quote
  #5  
Old 09-24-2006, 01:15 PM
Spin Doctor's Avatar
Spin Doctor Spin Doctor is offline
 
Join Date: Feb 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks so much for this i really really appreaciate it, but ims till havin problems

this was the code i put in my postbit_legacy template
Code:
<if condition="is_member_of($post, 14)"><img class="inlineimg" src="http://www.hoodplaya.com/forum/images/misc/1.JPG" alt="Established Artist" border="0" /></if>

the image doesnt show, just a blank gap where it should be



wait that seems to be the case in only one forum???? never mind then :S

EDIT: oh.............thanks soooooooooooooooooooo much i owe u a beer
Reply With Quote
  #6  
Old 09-24-2006, 05:16 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- glad to have helped
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:40 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.04403 seconds
  • Memory Usage 2,212KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete