vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [HTL] & [Normal] - Useroption for Postbit Style, one file edit, WITH caching (https://vborg.vbsupport.ru/showthread.php?t=61086)

KuraFire 02-01-2004 10:00 PM

[HTL] & [Normal] - Useroption for Postbit Style, one file edit, WITH caching
 
[high]Useroption for Postbit Style, one file edit, WITH caching[/high]
Version: 1.00
vB-version: 3.0.0 Release Candidate 3
Developer: KuraFire
Install difficulty: 0
File edits: 1
Template edits: 0

Description of the Hack:
This tiny Hack will give your users the option to choose Postbit style, using only one file edit and maintaining perfect Template caching throughout the entire forum.



Unlike ge-force2k2's Hack, this one uses only one simple file edit while still making sure that the template is ALWAYS CACHED (including on announcement.php, which ge-force's hack doesn't do). It also uses the User Profile Field functionality to create the User Option, rather than hardcoding that (saves file edits, template edits and phrases).


Instructions are in the zip, in both .htl and .txt format (the latter is a preview of the HTL 1.1 Text File Generator! :)).

ENJOY! :)



HACK INSTALLATION DETAILS:
Files modified for this Hack:
./includes/functions.php


This post was generated by the Hack Tracking Log

KuraFire 02-02-2004 07:28 PM

ok, who modified the thread title? :|

We all know that HTL hacks may not be released without a .txt, so why bother with cluttering up the title areas on the site with useless pointers?

Sadie Frost 02-02-2004 07:32 PM

I don't know much at all about these things, so could anyone tell me what the difference in performance there would be between using this and just using a conditional and template edits to do the same thing?

assassingod 02-02-2004 07:33 PM

Quote:

Originally Posted by KuraFire
ok, who modified the thread title? :|

We all know that HTL hacks may not be released without a .txt, so why bother with cluttering up the title areas on the site with useless pointers?

I did. It's just an indication for anyone who do not know about the rules.

Link14716 02-02-2004 07:43 PM

Quote:

Originally Posted by assassingod
I did. It's just an indication for anyone who do not know about the rules.

I'm going to ask this again - if it is a rule, then why in the blue hell is it not stated in the announcement that has all the other rules in it at the top of the Full Releases forum?

KuraFire 02-02-2004 07:50 PM

Quote:

Originally Posted by Link14716
I'm going to ask this again - if it is a rule, then why in the blue hell is it not stated in the announcement that has all the other rules in it at the top of the Full Releases forum?

Exactly. Either put it there and stop editing titles to clutter them up even more, or disband the rule (which makes more sense, still, but ohwell, we've had that discussion already).

Sadie: using a conditional and template edits is rather silly, as vB3 comes with BOTH of the template styles pre-packaged. To merge the two of them into one big template and then splitting them up using a conditional is a lot of needless data and server memory being used.

This hack (mine) is the most efficient one of all (two..) versions I've seen so far: ge-force2k's and freddie's. So if you want the most server-friendly solution, this would be the one...

assassingod 02-02-2004 07:52 PM

https://vborg.vbsupport.ru/announcem...ouncementid=18

It's always been there :rolleyes:

KuraFire 02-02-2004 07:56 PM

*sigh*

sometimes vb.org just makes me wanna take my hacks elsewhere and not release HTL 1.1 here anymore either...

Dan 02-02-2004 07:57 PM

Quote:

Originally Posted by KuraFire
*sigh*

sometimes vb.org just makes me wanna take my hacks elsewhere and not release HTL 1.1 here anymore either...

nice one I might use it since most of my members like old style but i like new style better for some reason

Link14716 02-02-2004 07:58 PM

Always? It wasn't there 5 minutes ago... :|


All times are GMT. The time now is 05:11 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.01078 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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