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)
-   -   Minimum posts to download attachments.. (https://vborg.vbsupport.ru/showthread.php?t=52682)

Sophocle 05-10-2003 03:06 PM

Boofo, I think you could code it very simply with the Advandced Templates Hack of Logician.

EvilS1, thank you very much for having updated the hack. You've perfectly completed my proposition ;)

I've translated your hack for french people (http://www.vbulletin-fr.com) and will change the hack in order to integrate new modifications. I respected all copyright restrictions. I'll send the complete adress to the hack when the translation is completed.

Boofo 05-10-2003 03:10 PM

I did use the Advanced Templates Hack by Logician. Everything is working fine except the $minpostattach variable doesn't show up in the postbit_attachmentimage template. ;)

EvilLS1 05-10-2003 11:39 PM

Boofo,
To make the $minpostattach variable work in the postbit_attachmentimage template:

In admin/functions.php find:

Code:

        // global options
        global $showdeficon,$displayemails,$enablepms,$allowsignatures,$wordwrap,$dateformat,$timeformat,$logip,$replacewords,$postsperday,$avatarenabled,$registereddateformat,$viewattachedimages;

Replace it with:
Code:

        // global options
        global $showdeficon,$displayemails,$enablepms,$allowsignatures,$wordwrap,$dateformat,$timeformat,$logip,$replacewords,$postsperday,$avatarenabled,$registereddateformat,$viewattachedimages,$minpostattach;

That should do it.


Sophocle,
Thanks again for you addition to the hack. Works great. ;)

Boofo 05-11-2003 12:08 AM

Bingo! That was what I needed. I guess I should have known that, huh? Dohh!!! ;)

Thank you very much, sir. ;)

EvilLS1 05-11-2003 01:28 AM

y/w. Glad I could help. :)

Sophocle 05-11-2003 08:52 AM

Here is the thread for the updated french translation of the hack made for www.vbulletin-fr.com :
http://www.vbulletin-fr.com/forum/sh...?threadid=2551

You can also find the translation in the attached file.

ukbill69 12-07-2003 06:59 PM

Will this work for vb3 gamma? I need this bad. Miss it from when i had vb2 :(

EvilLS1 12-07-2003 07:46 PM

ukbill69,
No, vb2 hacks will not work with vb3. Alot of vb2 hacks will be ported over when the final version of VB3 is released though.

ukbill69 12-08-2003 06:03 PM

Thanks for your reply.

Deska 07-27-2004 12:28 PM

Anyone could convert this hack for vb3?
Thank's a lot....


All times are GMT. The time now is 08:48 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.01061 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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