vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Stop users using attatched images in signatures (https://vborg.vbsupport.ru/showthread.php?t=38398)

veedee 05-07-2002 11:21 PM

Stop users using attatched images in signatures
 
Hi there,

A lot of my users go to the test forum and upload an image. They then get the attatch.php based URL to that image and sling it in their signature.

This has got to bad I think around 50% of my users do it.

Instead of just deleting the posts in the Test forum regularly, I want to find a solution tot his, not a fix.

Can anyone come up with the code that would stop people doing this?

Would this code generate more queries to the database than the attatched images themselves?

I would love to hear what you have to say!

Cheers,

veedee

veedee 05-09-2002 12:36 PM

I take it this is impossible to do?

Sparkz 05-09-2002 01:01 PM

Turn off the possibility of using [img]-tags and html in signatures...
Go to Posting Allowances in your admin CP

veedee 05-09-2002 01:06 PM

OK

Maybe I didn't explain this very well. either that or I come across as a real idiot.

I want my users to be able to use images in their signature. I just DO NOT want them using an image that they have attached, as this loads the server more.

Am I writing this in greek?

Sparkz 05-09-2002 01:09 PM

No, you're not writing it in greek - but it helped when you clarified what you wanted.
I would think it's doable, but I have to look at it after work.

veedee 05-09-2002 01:36 PM

Nice one. Sorry for the lack of clear explanation. I spend most my time translating technical jargon into easy speak. Doing it the other way round isn't easy ;)

Issvar 05-09-2002 06:37 PM

Don't allow html in sigs and don't allow dynamic url for images in your admin control panel.

veedee 05-09-2002 09:25 PM

Quote:

Originally posted by Issvar
Don't allow html in sigs and don't allow dynamic url for images in your admin control panel.
I don't allow html in sigs, they use the URL code.

The second option sounds fine, however this excludes people using printroom etc.

Hmmph...

Issvar 05-10-2002 12:21 AM

Then make attachment.php a banned word on your forum, I think that will also remove it from [img] codes.

veedee 05-10-2002 12:29 AM

I wouldn't call this a clean hack, more like a dirty bodge.

Banning attatchment.php would stop people using the images in posts. I just want to stop it in signatures.

Oh FireFly, where art thou!

;)


All times are GMT. The time now is 09:15 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.01138 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete