Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 10-13-2007, 07:47 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Image Problem

Does anyone know how to remove the * near your name when you are in invisible mode as i cant figure it out !! Cant seem to find the * in the templates



Already edited the templates so to change the Buddy List and the Invisible icons in the bottom part ... the prob i am facing is that i cant figure out why the * next to the name is still showing.

Images added as you see but name still showing the * not the image



I have managed to add an extra icon in the location section [image attached] but * still showing near the name and another problem is the code i have used to add the image is showing for all users not just for the invisible 1's but the strange thing is that it works ok for the Buddy List Icon and am using the same coding

Here is the code

Code:
<if condition="$show['hidden']"><img src="$stylevar[imgdir_statusicon]/wol_invisible.gif" alt="$vbphrase[user_is_invisible_to_others]" /></if>
Code:
<if condition="$show['buddy']"><img src="$stylevar[imgdir_statusicon]/wol_buddy.gif" alt="$vbphrase[user_is_on_your_buddy_list]" /></if>
Image attached ... i am not set as invisible but still icon is showing



Thanks for the help
Regards
Wengi
Reply With Quote
  #2  
Old 10-14-2007, 05:41 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's hard coded. read the online.php for more info. around line 396.
Reply With Quote
  #3  
Old 10-15-2007, 05:45 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the View Post
it's hard coded. read the online.php for more info. around line 396.
Thanks Sabret00the ill look into it ... can you give me a hand with the code please as its showing for all users and not just for the invisible users

Regards
Wengi
Reply With Quote
  #4  
Old 10-17-2007, 06:50 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should not be showing for all users. It should only show for those usergroups that you can designated "Can View Invisible Users".
Reply With Quote
  #5  
Old 10-17-2007, 03:56 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
It should not be showing for all users. It should only show for those usergroups that you can designated "Can View Invisible Users".
Hi Dismounted i know it should only show for invisible users but it is showing for every user and the strange part is that the code is working ok for the Buddy List but it isnt for the Invisible Users

None of the online users is Invisible but image is still showing

Image Attached



Code Added

Code:
<span style="float:$stylevar[right]">
				<if condition="$show['lockedout']"><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></if>
                                <if condition="$show['hidden']"><img src="$stylevar[imgdir_statusicon]/wol_invisible.gif" alt="$vbphrase[user_is_invisible_to_others]" /></if>
                                <if condition="$show['buddy']"><img src="$stylevar[imgdir_statusicon]/wol_buddy.gif" alt="$vbphrase[user_is_on_your_buddy_list]" /></if>
				<if condition="$show['nopermission']"><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></if>
				<if condition="$show['errormessage']"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></if>
				<if condition="$show['reallocation']"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" /></if>
Reply With Quote
  #6  
Old 10-31-2007, 05:18 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone figured out on how to solve this little problem as im still stuck with it

Regards
Wengi
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:53 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.10846 seconds
  • Memory Usage 2,207KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_quote
  • (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_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