Version: 1.00, by KuraFire
Developer Last Online: Nov 2023
Version: 3.0.0
Rating:
Released: 02-01-2004
Last Update: Never
Installs: 17
No support by the author.
[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
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...
I used the hack at vbtemplates that just add a selection box to the usercp, then puts a conditional in phpinclude_start to either use the postbit or postbit_layout, so its not too much editing. But thanks - you answered my question. Time to try out the old HTL
I used the hack at vbtemplates that just add a selection box to the usercp, then puts a conditional in phpinclude_start to either use the postbit or postbit_layout, so its not too much editing. But thanks - you answered my question. Time to try out the old HTL
The one from vb.com by freddie was good, but it would add a query to all showthread/showpost/announcement pages (cos it wouldn't cache the new template).
sometimes vb.org just makes me wanna take my hacks elsewhere and not release HTL 1.1 here anymore either...
While I might not have need of this specific hack, KuraFire, I hope you (and others) keep in mind the great number of people who benefit from your work and who greatly appreciate it! You guys & gals not only add to "technology"...you enhance the work & lives of real people. I know as an Admin that I'm always excited to be able to add something unique to my forum. And I know it is people like you that I have to thank.
So, "thanks!" and remember the countless hapless noobs like me who appreciate your time, expertise & all the hoops you jump through for us. :knockedout:
While I might not have need of this specific hack, KuraFire, I hope you (and others) keep in mind the great number of people who benefit from your work and who greatly appreciate it! You guys & gals not only add to "technology"...you enhance the work & lives of real people. I know as an Admin that I'm always excited to be able to add something unique to my forum. And I know it is people like you that I have to thank.
So, "thanks!" and remember the countless hapless noobs like me who appreciate your time, expertise & all the hoops you jump through for us. :knockedout:
Ahh, thank you spence, that was very nice of you
Gives me spirit and energy to see our work appreciated by people like you. Thanks
This looks pretty good, my friend, but this time I'm gonna have to stay with Freddie's version. Since the phpinclude_start never changes between releases, I don't have to worry about doing another file edit on a re-install. I caught the postbot and postbit_legacy templaes not being cached and took care of that a while ago. That's usually one of the first things I check on an upgrade.
Just switched to this from g-force2k2's mod..
While there isn't really much difference in them, and I couldn't care less about the added server load (even though it won't have been much at all), I decided to give your HTL mod a little tryout..
Awesome work KuraFire (can't wait for the Journals!).