vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to hide images in Signature for multiple groups? (https://vborg.vbsupport.ru/showthread.php?t=207368)

Spada_FMC 03-04-2009 07:39 PM

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

Lynne 03-04-2009 08:15 PM

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.

Spada_FMC 03-04-2009 08:36 PM

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!

Lynne 03-04-2009 08:42 PM

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.

Spada_FMC 03-04-2009 09:16 PM

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.

Lynne 03-04-2009 09:26 PM

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.


All times are GMT. The time now is 07:15 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.01166 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete