Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
WebTemplates 4.x: VB Integrated CMS (Content Management System) Details »
WebTemplates 4.x: VB Integrated CMS (Content Management System)
Mod Version: 4.0.2, by Logician (Coder) Logician is offline
Developer Last Online: Jan 2021 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (49 votes - 4.63 average) Installs: 243
Released: 09 Sep 2010 Last Update: 12 Oct 2013 Downloads: 1390
Not Supported DB Changes Uses Plugins Additional Files  

(This hack is for vb version 4.x and above. For vb 3.x, version see my profile for relevant threads.)

"WebTemplates" is a vBulletin integrated Content Management System which allows you to create vb integrated "HTML" pages in your vb admin cp very easily. The pages can inherit your vbulletin skin/style, can recognize logged-in user, can be applied permissions per user or usergroup basis, can keep visit logs, hit counts and do many more.


WEBTEMPLATES 4.x BASIC FEATURES:
  • Very Easy Installation : Webtemplates can be installed to your board without modifying even a single vbulletin file. It is coded as a vb product and can be imported very easily.
  • Apply VB Permissions: You can ban any webtemplate to any user or usergroups easily. 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.
  • 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/ON per webtemplate basis.
  • Visitor Logging&Tracking : You can track certain users' (by usergroup or userid) webtemplate visits to see who visited a webtemplate and when. This is configurable per webtemplate basis.
  • 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 & Who is Online Display: Webtemplates can display who is browsing that webtemplate while visitor is reading them (like default forum browse display of vbulletin). Webtemplate visits can also be monitored in who is online page.
  • Header/Footer Inclusion : Webtemplates can automatically use headers/footers (your default vb header/footer or custom ones)
  • Help Documents : The script comes with an extensive help document.
  • 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.
  • SEO friendly URLs: You can make webtemplate URLs seo friendly in vb settings (Requires apache server).
  • XML Import/Export : XML Import/Export feature allows you to backup your webtemplates and use other hack users webtemplates in your board.
ADVANCED FEATURES FOR ADVANCED USERS:
  • Webquery Feature : With advanced "webquery" feature you can 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 supports VB3 template conditionals so you can design webtemplates which change their display under different conditions.
  • 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.
Sample WebTemplates from Sites using this hack:
(Most are from 3.x versions but WebTemplate look and feel didn't change much so all will give you the idea.)

http://www.worldwideknights.com/view_mission.htm
http://www.theadminzone.com/forums/view.php?pg=aboutus
http://www.hystersisters.com/vb2/view_guidelines.htm
http://www.worldwideknights.com/view_info.htm
http://www.hystersisters.com/vb2/view_books.htm
http://www.worldwideknights.com/view_spread.htm
http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter
http://www.bklab.com (entire site is designed with Webtemplates only)
(Actually this hack is one of the most popular vb hacks so it is used by hundreds -if not thousands- of vbulletin sites and you can easily find them if you go to google and search "Logician's WebTemplates" WITH quotation marks)

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

From FAQ 13: Vbulletin already has a CMS now , why would I need this hack?

If you have CMS license, you might not need Webtemplates. On the other hand, CMS license is paid, webtemplates is free and many forum owners don't have CMS licenses.

Also please note that vb has CMS since 2010. Webtemplates was first released for vb2.x in 2002 and it was around in vb3.x, 3.5.x and above for thousands of vbulletin users who have developed their sites around webtemplates CMS. So regardless of new vb CMS owners might or might not need it, Webtemplates 4.x is still realased and supported as a courtesy to its old users and fans. I personally prefer and use Webtemplates over vb CMS and this hack lives for people who agrees with me.
Version Updates:
12.October.2013 - > Version 4.0.2
* Minor fixes for PHP 5.4.x (Fixes "Deprecated: Assigning the return value of new by reference is deprecated" errors in new PHP versions.
14.July.2012 - > Version 4.0.1
* Vbulletin changed WYSIWYG editor parsing in vb4.2.x so hack's editor.php is updated accordingly.
9.September.2010 - > Version 4.0.00
* Hack 4.00.00 is released.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	wt_sample1.jpg
Views:	6025
Size:	114.2 KB
ID:	121733   Click image for larger version

Name:	wt_sample2.jpg
Views:	3495
Size:	113.8 KB
ID:	121734   Click image for larger version

Name:	wt_sample3.jpg
Views:	2557
Size:	119.1 KB
ID:	121735   Click image for larger version

Name:	wt_wysiwygediyor.jpg
Views:	2550
Size:	106.2 KB
ID:	121736  

Click image for larger version

Name:	wt_admincp1.jpg
Views:	2669
Size:	153.0 KB
ID:	121737  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Portal Software WebTemplates 3.7.x: VB Integrated CMS (Content Management System) Logician vBulletin 3.7 Add-ons 682 01 Mar 2014 08:30
WebTemplates 3.5.x: VB Integrated CMS (Content Management System) Logician vBulletin 3.5 Add-ons 960 11 Nov 2010 00:58
WebTemplates 2.x: VB Integrated Content Management System Logician vBulletin 2.x Full Releases 265 13 Sep 2006 19:48

  #271  
Old 18 Feb 2013, 06:22
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Thank you. This is very useful.
Reply With Quote
  #272  
Old 02 Mar 2013, 19:46
haze108 haze108 is offline
 
Join Date: Aug 2012
thank you so much !
Reply With Quote
  #273  
Old 24 Apr 2013, 12:28
selwonk's Avatar
selwonk selwonk is offline
 
Join Date: Jul 2005
Repeat installer

I've just installed WebTemplates on a new forum. I used it very successfully on a forum I sold a few years ago and, IMHO, it remains far and away the best CMS mod available for vBulletin.

One slight problem I'm experiencing is with table styling. It's possible I solved this when I used it before, but I can't get it to work now.

The rendered HTML table looks like this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The border is rendered correctly, but:

a) the TH attribute does not render as bold;
b) the cellpadding is ignored;
c) the cellspacing is ignored.

Whilst I appreciate that the general consensus is to avoid TABLE tags and replace with DIVs, this is tabular data so perfectly suited to a TABLE.

Are there vBulletin CSS table classes that I've overlooked which might help me to render my tables in a suitably vBulletinesque way?

Thanks in advance!
Reply With Quote
  #274  
Old 24 Apr 2013, 12:44
selwonk's Avatar
selwonk selwonk is offline
 
Join Date: Jul 2005
Ok.

I hadn't considered checking the WebTemplate themes.

If anybody is looking to apply custom styling to elements within WebTemplates pages, add a new CSS block before </head> in your selected theme and set customisation there.
Reply With Quote
  #275  
Old 24 Apr 2013, 16:26
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by selwonk View Post
Ok.

I hadn't considered checking the WebTemplate themes.

If anybody is looking to apply custom styling to elements within WebTemplates pages, add a new CSS block before </head> in your selected theme and set customisation there.
Alternatively you can use plain in-line CSS to design any HTML elements.

Eg.
<th style="font-weight:bold; color:#000099">Username</th>

Webtemplates does not "touch" your styling actually. Its vb's style sheet that applies to any webtemplate content.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #276  
Old 26 May 2013, 17:52
EricGT EricGT is offline
 
Join Date: Jan 2004
I love this mod. It would be great if each page template could pass a unique 'THIS_SCRIPT' variable though. I have several WebTemplate pages that each have their own navigation tab. Due to the fact that the same script generates all of them, only one of these tabs can be the 'Selected tab'' when it is clicked, allowing it to have a different color title text and to show a submenu. I worked around this by hacking the functions_navigation.php file, but it would be great to have this addressed within the mod.

Thanks for a great system. Even with a v4.2.1 CMS install, there is still a real need for the abilities this mod provides.
Reply With Quote
  #277  
Old 30 May 2013, 15:15
EricGT EricGT is offline
 
Join Date: Jan 2004
Thumbs up

Originally Posted by EricGT View Post
I love this mod. It would be great if each page template could pass a unique 'THIS_SCRIPT' variable though. I have several WebTemplate pages that each have their own navigation tab. Due to the fact that the same script generates all of them, only one of these tabs can be the 'Selected tab'' when it is clicked, allowing it to have a different color title text and to show a submenu. I worked around this by hacking the functions_navigation.php file, but it would be great to have this addressed within the mod.

Thanks for a great system. Even with a v4.2.1 CMS install, there is still a real need for the abilities this mod provides.
After I posted the above comments, I looked through this thread and found the navigation tab issue brought up over and over, with no satisfactory answer. I think it is pretty important to be able to have more than one WebTemplate-generated page linked to in the navigation bar and still have the 'Selected' function of the nav tabs work. I'm not sure why something this fundamental wasn't addressed long ago.

The answer was a simple one. I put a conditional statement above the line where the 'THIS_SCRIPT' constant was defined. It takes the pg= value and assigns it as the THIS_SCRIPT constant.

Drawing from something Logician did, I took it a step further and looked for an underscore in the pg= value. If one was found, the text to the left of the underscore and the underscore itself becomes the THIS_SCRIPT value. This way, if there are a large number of submenu items for a WebTemplates-generated page, all of the sub-pages can highlight the correct navigation tab if the same prefix is used in their template names, without having to list each of their THIS_SCRIPT values in the navigation tabs admin area. That variable only allows 30 characters of data, so that capacity could quickly become exhausted.

In the canned templates installed with this mod, every template that used the Site Information Pages Template theme has a template name that starts with 'info_'. With this naming schema, every Webtemplates-generated page that used that prefix would highlight the same navigation tab using my mod to this mod, if the value 'info_' was added as the Tab Script(s) value for that tab.

Anyway, I am a little embarrassed to share the code I used. I am a PERL programmer that is new to PHP and I couldn't get the Regex conditionals to function for me cleanly in PHP, so the code is a little sloppy. It works great though. In the view.php file, replace the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with the code below.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The THIS_SCRIPT value will then be whatever you named a given template, unless your template name has an underscore '_' in it. Then, it will be all of the name left of the underscore and the underscore itself. I left the underscore in there to prevent any accidental matches with other names. 'Info', for instance, might get used in a variable name that did not start with 'info_'.

I hope this info helps. If you find this helpful and can clean up my See-Spot-Run Regex's in my code, I'd appreciate it if you could post the cleaned up code here, so I can see what I was doing wrong. I had to use the two preg_split commands because I couldn't pull the relevant data out of the string in the conditional matches. This is really easy in PERL. I suspect it is in PHP as well. I just got tired of trying to make it work. Thanks and thanks again to Logician, for a wonderful mod.

Last edited by EricGT; 30 May 2013 at 15:35.
Reply With Quote
  #278  
Old 12 Jun 2013, 18:01
brandon515 brandon515 is offline
 
Join Date: Nov 2006
Is there a way to create a web query that would list the last x number of threads for a forum for a specific date?

Thanks,
Brandon
Reply With Quote
  #279  
Old 13 Jun 2013, 08:14
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by brandon515 View Post
Is there a way to create a web query that would list the last x number of threads for a forum for a specific date?

Thanks,
Brandon
Its possible. You can customize default webqueries named "$WQ_last10threadfromforum2" OR "$WQ_last5threadcontentsfromforum2".

Eg.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

can become:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

OR


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #280  
Old 11 Jul 2013, 04:57
Muhammad Rahman Muhammad Rahman is offline
 
Join Date: Jun 2012
try install in vB 4.2.1 ,,
but give error .

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

anyone can help ??
__________________
none_
Reply With Quote
  #281  
Old 11 Jul 2013, 18:19
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by Muhammad Rahman View Post
try install in vB 4.2.1 ,,
but give error .

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

anyone can help ??
Its not about vb version, its about PHP version in your server.

Edit view.php, find lines 787 and 916 and put a @ symbol at the beginning of files. Error will be gone.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #282  
Old 28 Aug 2013, 21:00
tommyxv tommyxv is offline
 
Join Date: Feb 2005
Originally Posted by EricGT View Post
After I posted the above comments, I looked through this thread and found the navigation tab issue brought up over and over, with no satisfactory answer. I think it is pretty important to be able to have more than one WebTemplate-generated page linked to in the navigation bar and still have the 'Selected' function of the nav tabs work. I'm not sure why something this fundamental wasn't addressed long ago.

The answer was a simple one. I put a conditional statement above the line where the 'THIS_SCRIPT' constant was defined. It takes the pg= value and assigns it as the THIS_SCRIPT constant.

Drawing from something Logician did, I took it a step further and looked for an underscore in the pg= value. If one was found, the text to the left of the underscore and the underscore itself becomes the THIS_SCRIPT value. This way, if there are a large number of submenu items for a WebTemplates-generated page, all of the sub-pages can highlight the correct navigation tab if the same prefix is used in their template names, without having to list each of their THIS_SCRIPT values in the navigation tabs admin area. That variable only allows 30 characters of data, so that capacity could quickly become exhausted.

In the canned templates installed with this mod, every template that used the Site Information Pages Template theme has a template name that starts with 'info_'. With this naming schema, every Webtemplates-generated page that used that prefix would highlight the same navigation tab using my mod to this mod, if the value 'info_' was added as the Tab Script(s) value for that tab.

Anyway, I am a little embarrassed to share the code I used. I am a PERL programmer that is new to PHP and I couldn't get the Regex conditionals to function for me cleanly in PHP, so the code is a little sloppy. It works great though. In the view.php file, replace the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with the code below.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The THIS_SCRIPT value will then be whatever you named a given template, unless your template name has an underscore '_' in it. Then, it will be all of the name left of the underscore and the underscore itself. I left the underscore in there to prevent any accidental matches with other names. 'Info', for instance, might get used in a variable name that did not start with 'info_'.

I hope this info helps. If you find this helpful and can clean up my See-Spot-Run Regex's in my code, I'd appreciate it if you could post the cleaned up code here, so I can see what I was doing wrong. I had to use the two preg_split commands because I couldn't pull the relevant data out of the string in the conditional matches. This is really easy in PERL. I suspect it is in PHP as well. I just got tired of trying to make it work. Thanks and thanks again to Logician, for a wonderful mod.
This works great. For the life of me I cannot figure out what this was never implemented in the mod. Who wouldn't want the correct tab highlighted for the page?

Thanks
__________________
Reply With Quote
  #283  
Old 15 Sep 2013, 21:34
bulbasnore bulbasnore is offline
 
Join Date: Dec 2004
I must be missing some syntax change in the versions. Can't find it in the vb manual? Can anyone spot it?

In PHP Include:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This used to work until the version change (and upgrade to new web templates, hooray!)

So passing this gives a blank page!

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with nothing in Apache error_log.

but executing the template with $cleantestvar substituted with the value 52494 gives the desired result, so I'm guessing $cleantestvar is coming up null/blank.

Suggestions?
Reply With Quote
  #284  
Old 16 Sep 2013, 07:32
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by bulbasnore View Post
I must be missing some syntax change in the versions. Can't find it in the vb manual? Can anyone spot it?

In PHP Include:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This used to work until the version change (and upgrade to new web templates, hooray!)

So passing this gives a blank page!

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with nothing in Apache error_log.

but executing the template with $cleantestvar substituted with the value 52494 gives the desired result, so I'm guessing $cleantestvar is coming up null/blank.

Suggestions?
VB4.x has changed the structure of variable support in templates so I removed outside variable support from the hack as it is now too complicated to use for non-coder users.

In vb4.x you can't simply use a variable inside a template without registering it in the PHP code. So outside variables can still be used in webqueries etc. but to display them inside templates, they should be declared like "$templater->register('cleantestvar', $cleantestvar);" in view.php.

Or to avoid this, maybe you can trick vb by assigning your variable to an already recognized vb variable in phpinclude like:
$vbulletin->input->clean_array_gpc('r', array(
'cleantestvar' => TYPE_STR,
));

$vbulletin->options[cleantestvar] = $vbulletin->GPC['cleantestvar'];

As $vbulletin->options is a declared variable, vb will allow this in templates.

As for the error, you can trace it via PHP error log, not apache error log. You can enable it in WHM if already not enabled, or simply turn on screen display to see them posted directly to screen during running of the scripts.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #285  
Old 05 Oct 2013, 02:51
redrock redrock is offline
 
Join Date: Sep 2013
Question, I have this installed just fine. I have the ProGamer Theme installed and each of the pre-installed templates don't bring across the background image of the theme. Please help!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:56.

Layout Options | Width: Wide Color: