Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
WebTemplates 2.x: VB Integrated Content Management System Details »»
WebTemplates 2.x: VB Integrated Content Management System
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-29-2003 Last Update: Never Installs: 154
 
No support by the author.

After a long wait, here is the new 2.x version of Webtemplates. 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.


WEBTEMPLATES 2.x FEATURES:
([New] indicates feature that is recently introduced in this 2.x version)
  • Easy Installation : Webtemplates can be installed to your board without hacking even a single vbulletin file! It is coded as an add-on, not a hack.
  • 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)
  • Private Webtemplates (NEW): With 1 click you can make a webtemplate "private" and it will be displayed to only certain usergroups.
  • 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.
  • Draft Webtemplates (NEW): You can put webtemplates in "draft" mode which makes them invisible to all but admins.
  • Visitor Logging&Tracking (NEW): You can track certain users (by usergroup or userid) to monitor who visited a webtemplate and when. This is configurable per webtemplate basis.
  • Site Contributers (Editor) Support (NEW): 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.
  • Categories (NEW): Webtemplates 2.x supports multi-categories for better webtemplate organizations.
  • Multi Parsing (NEW): Webtemplates can now parse PHP or HTML or TEXT (=smilie/img tags/bbcode parsing like vb posts)
  • 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.
  • Outside Variables (NEW): 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)
  • Page Counter : Webtemplate has 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.
  • Page Browsers Display (NEW): Webtemplates can display who is browsing that webtemplate while people is reading them (like default forum browse display of vbulletin)
  • Who is Online Display (NEW): Webtemplates can display page visitors in who is online (This is Optional and require a simple hacking in file online.php). You can create private webtemplates which are hidden in who is online too.
  • Theme Support (NEW): 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 theme for them, then just insert their content into this theme. If you change theme later, all 20 pages' visual will change automatically.
  • Header/Footer Inclusion : Webtemplates can use headers/footers (your default vb header/footer or custom ones)
  • PHPINCLUDE per webtemplate (NEW) : Every webtemplate has its own "phpinclude" field which you can run PHP codes before loading the Webtemplate
  • Help Documents : The script comes with built-in & detailed help documents (they are webtemplates too).
  • Webquery Feature : With advanced "webquery" feature you can now add create dynamic webtemplates which include database query results. For instance you can easily add member count/post count/thread count/last 10 threads forum X etc. to your webtemplates with default webqueries that comes with installation or you can create your custom webqueries with basic SQL knowledge.
  • Archieve to Text File (NEW): 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.
  • Login/Logout box (NEW): You can insert login/register box to your webtemplate if visitor is a guest and log off box if she is a member.
  • Admin Panel in Webtemplates (NEW): 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.
  • Better Performance (NEW): Webtemplates 2.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.

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..


Version Updates:
30.July.2003 - > Version 2.03

* Adds feature to include regular vbtemplates into webtemplates

2.02 users: apply this fix to update.
New users: Get the hack from the first post of this thread (which is the latest version), you don't need to apply this update.


12.July.2003 - > Version 2.02

* Fixes a bug with outside variables.

2.01 users: apply this fix to update.
New users: Get the hack from the first post of this thread (which is the latest version), you don't need to apply this update.


2.July.2003 - > Version 2.01

* Fixes bug that bothers webqueries if "Show Template Name" option enabled in vb admin cp
* Fixes bug in webquery $WQ_mostactivemembers
* Fixes visual look of webtemplate test
* Fixes visual look of admin panel and makes sure it looks ok in dark backgrounded boards too.

2.00 users: update here.
New users: Get the hack from the first post of this thread (which is the latest version), you don't need to apply this update.



Webtemplates 3.x (for vb.3.x) is released here:
https://vborg.vbsupport.ru/showthread.php?t=76422

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-04-2003, 07:30 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh I see. The board I use has a very small amount of members (unlikely to rise above 50), so I wouldn't be too concerned about the number of queries on that pages to be honest, particularly when max. usage there are 11 people online.

If this is possible and simple, could you show me. If its a big job don't worry - I'm grateful for the time you've spent so far .
Reply With Quote
  #53  
Old 07-04-2003, 08:44 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:30 AM Intex said this in Post #51
Ahh I see. The board I use has a very small amount of members (unlikely to rise above 50), so I wouldn't be too concerned about the number of queries on that pages to be honest, particularly when max. usage there are 11 people online.

If this is possible and simple, could you show me. If its a big job don't worry - I'm grateful for the time you've spent so far .
Edit online.php, find:

PHP Code:
  // Logician WebTemplates v.2 Hack    
  
global $WT_Option_NameOFviewphp;
  
// Logician WebTemplates v.2 Hack 
Replace it as:
PHP Code:
  // Logician WebTemplates v.2 Hack    
  
global $WT_Option_NameOFviewphp,$DB_site,$WT_DB_TemplateTable;
  
// Logician WebTemplates v.2 Hack 
find:
PHP Code:
$userinfo[where]= 'Reading <b>WebTemplate:</b> <a href="'.$WT_Option_NameOFviewphp.'?pg='.$lmatch.'&s='.$session['sessionhash'].'" target="_blank">'.$lmatch.'</a>'
Replace as:
PHP Code:
         $friendlyname $DB_site->query_first("SELECT userfriendlyname FROM $WT_DB_TemplateTable WHERE title='".addslashes($lmatch)."'");
if (!
$friendlyname[userfriendlyname]) {$friendlyname[userfriendlyname]=$lmatch;}
         
$userinfo[where]= 'Reading <b>WebTemplate:</b> <a href="'.$WT_Option_NameOFviewphp.'?pg='.$lmatch.'&s='.$session['sessionhash'].'" target="_blank">'.$friendlyname[userfriendlyname].'</a>'
Enjoy
Reply With Quote
  #54  
Old 07-04-2003, 09:25 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician - you're some sort of superstar !! Thx. a lot .
Reply With Quote
  #55  
Old 07-04-2003, 02:27 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks interesting to say the least.
Reply With Quote
  #56  
Old 07-05-2003, 10:48 AM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW! Awesome job....
Reply With Quote
  #57  
Old 07-09-2003, 10:10 PM
Skipsoutdoors Skipsoutdoors is offline
 
Join Date: Mar 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And now this new version. This is awesome. Keep up the good work, and thanks for the hack.

One question that you might be able to answer that I have yet to get an answer for.

I operate an outdoor website and want to build pages with information about specific lakes. For each of these lakes, I have a Forum. Example: Fishing Reports is parent, Kentucky Lakes is a sub parent and Laurel Lake is the forum. What I want to do is make the Laurel Lake thread appear on the Laurel Lake information page. The thread is intended to have fishing reports on it from users, the other information would be local weather, lake levels, marina and attraction info. Is there a way to do this? I've been told once that it would require another complete board, but that's not the aim here. The aim is to keep the same bunch of users, just add more information to their surf in.

Skip
Reply With Quote
  #58  
Old 07-10-2003, 12:20 AM
soccerclue soccerclue is offline
 
Join Date: Mar 2003
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi Logician...just using the hack..it's awesome...you are the best...but I have a problem displaying the last 10 thread on my site. can you take a look at http://www.asianguild.com ? The last 10 threds table is on bottom of the page. Please let me know what is wrong with it. Thanks. Clicking install now.
Reply With Quote
  #59  
Old 07-10-2003, 12:41 AM
soccerclue soccerclue is offline
 
Join Date: Mar 2003
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all right..it works now...i just delete the forumid condition.
Reply With Quote
  #60  
Old 07-10-2003, 04:07 AM
K33nny K33nny is offline
 
Join Date: May 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, I got this hack working out of the default vBulletin directory and with the Online Locations hack.

Would it be safe to say that Webtemplates v.1 no longer needs to be used? I never really got around to do anything with it but should I just remove it?
Reply With Quote
  #61  
Old 07-10-2003, 05:08 AM
K33nny K33nny is offline
 
Join Date: May 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something I noticed when editing pages threw the edit page option.

It doesn't use {doctype}, it actually executes that peice of code and prints it out as "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">".

That could cause big problems if it does the same stuff for (firstaltcolor} type replacements.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06947 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete