Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2009, 07:39 PM
Spada_FMC Spada_FMC is offline
 
Join Date: Nov 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to hide images in Signature for multiple groups?

Hello,
I have a 2 free usergroups and 2 paid usergroups. I would like to know if it's possible (and how/what changes are needed) to prevent the free usergroups from viewing images in signatures.

I've seen some postbit modifications that hide avatar and complete signatures as well as post count limit mods that display "You need X amount to view image" but both of these leave a lot to be desired.

My basic question is:
Is there some easy modification to the postbit & postbit_legacy code I can make that will hide images in signature but still allow text and BB code.

We want this so that free subs cannot see pictures of families or other personal images in signatures unless they are paid which gives us more info to do background checking and approval processes.

(Here is an example of the mod I spoke of above)
https://vborg.vbsupport.ru/showthrea...=144629&page=2

Thank you
-Spada
Reply With Quote
  #2  
Old 03-04-2009, 08:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think you can do that easily because the picture in the signature is not spit out separately from the text of the signature. It is one variable that is spit out all together. You might be able to do something with it once it is gotten from the database to remove the pic, but I'm not sure what would be the best way to go about that easily.
Reply With Quote
  #3  
Old 03-04-2009, 08:36 PM
Spada_FMC Spada_FMC is offline
 
Join Date: Nov 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does the this mod work then? https://vborg.vbsupport.ru/showthread.php?t=177704

I've been able to use it to block images from the signature file (and still allow images in posts) but if a user has 3 or 4 images the text of the "Your post count needs to be x" gets out of control.

Thanks Lynne!
Reply With Quote
  #4  
Old 03-04-2009, 08:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not familiar with that mod at all, so I don't know the particulars of how it works. But, it's very easy to either show or not show the signature, but you are asking for only the image in the signature. It's easy to not show avatars or attachments or things like that because they are just one variable to put a condition around. You want to get inside a variable and only show parts of it and that is the part that isn't easy.
Reply With Quote
  #5  
Old 03-04-2009, 09:16 PM
Spada_FMC Spada_FMC is offline
 
Join Date: Nov 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it help if I say we don't let the users upload images to their signatures just the insert image option.

Thanks Lynne you've been awesome.
Reply With Quote
  #6  
Old 03-04-2009, 09:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you are just using the img tags? If so, you may be able to find a mod that doesn't show images (from img tags) to certain usergroups and modify it for your use. I've never used any modification like that, so I've never looked to see exactly how they go about it.
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 10:18 PM.


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.03877 seconds
  • Memory Usage 2,202KB
  • 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
  • (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