Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
Hide IM Icons from guests in Postbit Details »»
Hide IM Icons from guests in Postbit
Version: 1.00, by Dragonsys Dragonsys is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 10-19-2008 Last Update: Never Installs: 6
Template Edits
Re-useable Code Translations  
No support by the author.

The only posted Mods I found for hiding Contact info from guests was for the profile page.
This will hide the Instant Messaging Icons on post pages from guests.
Its a very simple and easy MOD.

In the postbit & postbit_legacy templates
Find:
Code:
					<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Replace With:
Code:
<if condition="$show['member']">
					<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</if>
Hope someone finds it useful.

Show Your Support

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

Comments
  #2  
Old 10-20-2008, 03:57 PM
CLUB AMPLE's Avatar
CLUB AMPLE CLUB AMPLE is offline
 
Join Date: Aug 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works like a charm... and i reused the conditionals to hide the entire contact info block in members profiles. thanks for posting this
Reply With Quote
  #3  
Old 10-21-2008, 04:29 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about:

MySpace & FaceBook?
https://vborg.vbsupport.ru/showthrea...hlight=myspace
Reply With Quote
  #4  
Old 10-22-2008, 02:33 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would imagine you could just move your closing 'if' to after those.
i.e.:
Code:
<if condition="$show['member']">                             
                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
<!-- Myspace start -->
<if condition="$post[field6]"><a href="http://www.myspace.com/$post[field6]" alt="View my myspace" target="_blank">
<img src="images/misc/im_myspace.gif" border="0"></a>
</if>
<!-- Myspace end -->
<!-- Facebook start -->
<if condition="$post[field8]"><a href="http://www.facebook.com/profile.php?id=$post[field8]" alt="Go to my Facebook" target="_blank">
<img src="images/misc/facebook.gif" border="0"></a>
</if>
<!-- Facebook end -->
<!-- Twitter start -->
<if condition="$post[field7]"><a href="http://www.twitter.com/$post[field7]" alt="Go to my Twitter" target="_blank">
<img src="images/misc/twitter.gif" border="0"></a>
</if>
<! --Twitter end -->
</div></if>
Screenshots in attachments below (postbit-members & postbit-guests)
Reply With Quote
  #5  
Old 10-22-2008, 10:07 PM
CLUB AMPLE's Avatar
CLUB AMPLE CLUB AMPLE is offline
 
Join Date: Aug 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
ok now im wondering about how to apply a minimum post count conditional to this
Reply With Quote
  #6  
Old 10-25-2008, 04:44 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CLUB AMPLE View Post
ok now im wondering about how to apply a minimum post count conditional to this
try this
Code:
<if condition="$post[postcount] > 1">
Reply With Quote
  #7  
Old 10-25-2008, 04:51 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
I would imagine you could just move your closing 'if' to after those.
i.e.:
Code:
<if condition="$show['member']">                             
                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
<!-- Myspace start -->
<if condition="$post[field6]"><a href="http://www.myspace.com/$post[field6]" alt="View my myspace" target="_blank">
<img src="images/misc/im_myspace.gif" border="0"></a>
</if>
<!-- Myspace end -->
<!-- Facebook start -->
<if condition="$post[field8]"><a href="http://www.facebook.com/profile.php?id=$post[field8]" alt="Go to my Facebook" target="_blank">
<img src="images/misc/facebook.gif" border="0"></a>
</if>
<!-- Facebook end -->
<!-- Twitter start -->
<if condition="$post[field7]"><a href="http://www.twitter.com/$post[field7]" alt="Go to my Twitter" target="_blank">
<img src="images/misc/twitter.gif" border="0"></a>
</if>
<! --Twitter end -->
</div></if>
Screenshots in attachments below (postbit-members & postbit-guests)
yep, what he said
Reply With Quote
Reply

Thread Tools

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 09:41 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.03863 seconds
  • Memory Usage 2,263KB
  • Queries Executed 20 (?)
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
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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