vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Sig image size control (https://vborg.vbsupport.ru/showthread.php?t=40216)

Herman 06-24-2002 06:25 PM

Hmm.. Smoothie.. you are right .. it does not work if that setting is set to 0. I'll look into that.



[edit]S, to fix the problem with it being set to 0, when you did this part of the hack:

Code:

find:

  // check max images
  if ($maximages!=0) {

add:
    $signature = preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^;<>\*\(\)\"".iif($allowdynimg,"","\?\&")."]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/seiU", "\size_check('\\2')", $signature);

add the code *BEFORE* the lines you had to find. that will fix it. sorry



Also, I reupdated the hack in the first post.

Herman 06-24-2002 06:36 PM

Thanks FireFly :)

Robouk5 06-24-2002 07:26 PM

Firefly, would you mind posting the versiopn you installed with your modifications?

Smoothie 06-24-2002 08:54 PM

Excellent Herman! Thanks for the updates. :)

Herman 06-24-2002 09:08 PM

No problem! :)

Boofo 06-24-2002 09:09 PM

What do you mean by submit? :)

Quote:

Originally posted by Herman


[edit]This new one gets rid of the queries.. but, you have to submit your vbulletin options after installing the hack in order for it to work.[/edit]



Herman 06-25-2002 08:08 PM

Goto Admin CP, goto Vbulletin Options, then goto the button and hit the submit button to save your options. Thats it! :)

LightBringer 06-27-2002 03:04 AM

Is there anyway possible to limit flash movies within the signature as well?

Larz 06-27-2002 09:31 AM

Herman, in the admin-cp, the button you're referring to as "Submit" is called "Save Changes" in my vB, I think that's what's causing some confusion.

Darren Evans 06-27-2002 07:09 PM

So, this hack won't work unless all my users update their bios? It won't work on the fly when the hack is installed?


All times are GMT. The time now is 06:51 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.01087 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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