Version: 3.01, by Logician
Developer Last Online: Nov 2023
Version: 3.0.11
Rating:
Released: 02-15-2005
Last Update: 07-24-2005
Installs: 142
No support by the author.
After a long wait, here is the new 3.x version of Webtemplates for vB 3.x boards. First a short introduction for users who are not familiar with the old version:
This hack is a vBulletin integrated content management system. Term "Webtemplates" stands for dynamic webpages that reside in your MYSQL database and administered inside your vbulletin admin control panel. But they are more than regular site pages because they can automatically inherit visual design of your forum, can apply permissions according to your vb usergroup settings, can keep track of page counts, last visitorname/visit time, display page browsers in the page itself and in your whoisonline page etc. So basically webtemplates are dynamic web pages of your site which are powered by vbulletin. Or more simply putting, with this hack you can create regular HTML pages in your vB admin cp and these pages will be integrated into your vbulletin database about permissions, styles etc.
WEBTEMPLATES 3.x FEATURES:
Easy Installation : Webtemplates can be installed to your board without modifying even a single vbulletin file, nor does it modify any vbulletin database table! It is coded as an add-on, not a hack.
Apply VB Permissions: You can ban any webtemplate to any user or usergroup according to their userids or usergroupids. So for instance you can design a webtemplate which only members can see while guests can not, or only user A can not see etc.
Private Webtemplates : With 1 click you can make a webtemplate "private" and it will be displayed to only certain usergroups.
Draft Webtemplates : You can put webtemplates in "draft" mode which makes them invisible to all but admins.
Page Counter : Each webtemplate has a built-in counter and you can display page count to your visitors and you can edit it or turn it OFF or ON per webtemplate basis.
Visitor Logging&Tracking : You can track certain users' (by usergroup or userid) webtemplates visits to see who visited a webtemplate and when. This is configurable per webtemplate basis. Webtemplates have visits logs which admins can see.
Site Contributers (Editor) Support : You can grant editing permissions for certain users or usergroups for your webtemplates individually and they will be able to update these webtemplates using their own editor interface. vB's WYSIWYG editor is supported in Editor interface!
Page Browsers Display : Webtemplates can display who is browsing that webtemplate while people is reading them (like default forum browse display of vbulletin)
Who is Online Display : Webtemplates can display page visitors in who is online (This is Optional and require a simple hacking in file /functions_online.php). You can create private webtemplates which are hidden in who is online too.
Header/Footer Inclusion : Webtemplates can automatically use headers/footers (your default vb header/footer or custom ones)
Help Documents : The script comes with built-in & detailed help documents (they are webtemplates too).
Admin Panel in Webtemplates : Your webtemplates can include an "admin panel" displayed to only admins and by using them you can access many details and stats of your page while you are browsing them.
Good Performance : Webtemplates 3.x structured so that it performs well even under heavy load conditions and high traffic servers. (See Performance issues below)
Easy Back up: Simply back up your database (inside vbulletin or externally) and all your webtemplate structure is also backed up automatically.
ADVANCED FEATURES FOR ADVANCED USERS:
Webquery Feature : With advanced "webquery" feature you can now add create dynamic webtemplates which include database query results. For instance you can easily add "last 10 threads forum X", "most active users list" etc. to your webtemplates with default webqueries that comes with installation or you can create your custom webqueries with basic SQL knowledge.
Multi Parsing : Webtemplates can parse PHP or HTML or TEXT (=smilie/img tags/bbcode parsing like vb posts). This means you can design a page just like vb posts (TEXT parsing), standart HTML (HTML parsing) or even in PHP (PHP parsing).
PHPINCLUDE per webtemplate : Every webtemplate has its own "phpinclude" field which you can run PHP codes before loading the Webtemplate
Theme Support : Webtemplates support "themes" which are parent webtemplates which include child webtemplates in them. For instance if you have 20 similiar pages which uses the same visual look, you can make a single theme for all of them, then just insert their content into this theme. If you change theme later, all 20 pages' visual will change automatically.
Conditionals : Webtemplates has built-in support for Logician's advanced templates conditionals so you can design webtemplates which change their display under different conditions. (Even if you don't have that hack installed)
Default variables : You can use/display certain variables in your webtemplates like username of the visitor, visitor email address, last visit time, page creation time, page last edit time, Last visitor name, last visit time etc.
Archieve to Text File : Webtemplates/Webqueries can be downloaded to a text file with one click for archiving purposes. You can also easily share these text files with other hack users.
Outside Variables : Advanced users can now use outside variables in webtemplates, then webtemplates will accept/use/process user sent variables via HTTP_GET and HTTP_POST methods (eg. a HTML form can post to a webtemplate with this feature)
For screenshots, FAQ, performance issues, migration from old version to new version, see below.
If you use the hack, clicking here will make sure you'll know about updates&bug fixes. It will also help me understand how many people is using the hack so please click the install button if you use it. Thank you..
i want to have a page that has php code in the middle of the template, but i also want to be able to use the core vBulletin things like phrases and templates.... is there anyway this can be done using this hack?
every webtemplate has a "phpinclude" section. So you can run your phpcode in this section and assign its HTML code into a variable, then use this variable to paste content in the middle of your HTML or TEXT parsed webtemplate.
I had created it witht he hope of people's sharing their custom webtemplate and webqueries with other users, however in time the thread turned into a "how can I create this webtemplate/webquery" support thread.
So I encourage all to use the hack thread itself for sharing their samples for now and if we have enough sharing users, we can create a dedicated thread later. Or if you are determined, feel free to start your own thread.
every webtemplate has a "phpinclude" section. So you can run your phpcode in this section and assign its HTML code into a variable, then use this variable to paste content in the middle of your HTML or TEXT parsed webtemplate.
my problem is a want to include a file that spits out a bit of HTML into the middle of my template and you cant really set variables to include("file.php"); and have them work within this sort of thing. (if there is a method let me know though)
i have this error now:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE `wt2_queries` (
`qid` int(10) unsigned NOT N
i have this error now:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE `wt2_queries` (
`qid` int(10) unsigned NOT N
Make sure you downloaded the latest installation file (I updated them a few times yesterday) and make sure you run the queries in phpmyadmin, not in a different tool.
One problem is the admin pages, things are too lightly coloured to read ><
Actually, the cause of this is that the style for the admin pages are hardcoded and don't use the admincp stylesheets. It's only cosmetic though. Any chance this will be updated, Logician?
Actually, the cause of this is that the style for the admin pages are hardcoded and don't use the admincp stylesheets. It's only cosmetic though. Any chance this will be updated, Logician?
This hack is awesome Logician! :up:
ok I've made some changes to the admincp colors. Please redownload the hack and only replace files webtemplate.php webquery.php and wt_functions.php with the new files and let me know how this improved your visual.