Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Portal Software - Version: 3.7.x Rating:
Released: 07-28-2008 Last Update: 07-31-2008 Installs: 503
DB Changes Uses Plugins
Additional Files  
No support by the author.

(This hack is for vb version 3.7.x & 3.8.x ONLY. For vb 3.6.x, 3.5.x, 3.0.x and 2.x 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.

VB4 version Update (9.9.2010): Please find 4.x version of WebTemplates4.x in its own thread.


WEBTEMPLATES 3.7.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:
(Some 3.5 and some are 3.0 versions but WebTemplate look and feel didn't change much so both 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://www3.fertilethoughts.com/forums/view.php?pg=acronyms
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)

3.5 version Admin CP screenshot attached to this post. 3.0.x screenshots (here and here) also still applies for this version.

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

About this 3.7.xx Version: This 3.7.xx version is same as previous 3.6.x version. 3.6.x version was already working in vbulletin 3.7.x except a few minor bugs and these bugs are fixed in this version to make it dedicated solely to vbulletin 3.7.x. Please see "what's new" in the next post for more details.

Version Updates:
29.July.2008 - > Version 3.7.00
* Hack 3.7.00 is released.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Xexiu

Comments
  #412  
Old 04-19-2009, 10:52 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Figured out where my backgrounds are going.. they are going to the Background of the entire site, not within the window.

Any thoughts on that.?

I want to make some simple HTML pages with some images, & a link or two.
Is this possible or only static pages.?
Reply With Quote
  #413  
Old 04-20-2009, 06:03 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsmph View Post
this is really a nice mod.

i tried to merge it with autoindex but i got problems..

here is the code i use:

PHP Code:
 
 
 
 
 
 
echo "$stylevar[htmldoctype]";
echo 
"<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">";
echo 
"<head>";
echo 
"<title>$vboptions[bbtitle] $WT_PageName</title>";
echo 
"$headinclude";
echo 
"</head>";
echo 
"<body>";
echo 
"$header";
echo 
"$navbar";
echo 
"$nowbrowsing";
echo 
"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
echo 
" <tr>";
echo 
"<td valign=\"top\"> <table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\">";
echo 
"<thead>"
echo 
"    <tr>";
echo 
"        <td class=\"tcat\" align=\"left\">&raquo; $WT_PageName</td>";
echo 
"</tr>";
echo 
" <tr> ";
echo 
"  <td class=\"alt2\" align=\"left\">";
echo 
"<div class=\"normalfont\"> ";
// ============================
// Put Your PHP CODE right after this line
 
require_once("autoindex.php");
require_once(
"AutoIndex.conf.php");
 
 
 
 
 
// ============================
echo "</div> ";
echo 
"</td>";
echo 
"</tr>";
echo 
"<tr> ";
echo 
"<td class=\"thead\" align=\"left\">Page ";
echo 
"      Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] ";
echo 
"      at $WT[lastvisitdate]$WT_Editor_link<br>";
echo 
"      Page Created at <b>$creationdate</b>, Last Modified ";
echo 
"      : <b>$lasteditdate</b>.</td>";
echo 
" </tr>";
echo 
"</thead>";
echo 
"</table>";
echo 
"</td>";
echo 
"</tr>";
echo 
"</table>";
echo 
"$footer";
echo 
"</body>";
echo 
"</html>"

it works perfect but..



every time i click the each folder my URL change from view.php?pg=phptest2 to view.php?=dir=x then it redirects to invalid page...

any solution?

Reason why am merging this hack with autoindex to VB is that autoindex has the ability to control speed download and anti-leeching sequence..


thou this is really a great hack i nomionate this hack MOTM
great job Logician

br
gsmph
The url in your folders are created by autoindex hack. So it seems that you need to modify that hack to use WT urls in its folders to achieve your goal
Reply With Quote
  #414  
Old 04-20-2009, 06:06 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamelobby View Post
I Figured out where my backgrounds are going.. they are going to the Background of the entire site, not within the window.

Any thoughts on that.?

I want to make some simple HTML pages with some images, & a link or two.
Is this possible or only static pages.?
If you use a default webtemplate theme or webtemplate header/footer, it will use your vbulletin style's colors including your background color. (Actually this is the whole point of the hack hehe).

However if you want to change it, you can:
a) use a stand alone webtemplate (which does not use any themes or header or footer) and use any background color you like there.
b) Create a new webtemplate theme (or header) with a different bg color and use this one for your specific webtemplate

Likewise you can create any HTML pages you like. Just create it in your favorite HTML software (frontpage, dreamweaver etc.), then paste its source code inside a webtemplate.
Reply With Quote
  #415  
Old 04-22-2009, 06:50 AM
DaveS DaveS is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a specific forum to get help with the creating of php templates in this mod?
Or do I just clog up this thread?
I have a tricky one that I'm trying to create, but I'm not sure how to go about it.
Reply With Quote
  #416  
Old 04-23-2009, 07:25 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logician View Post
If you use a default webtemplate theme or webtemplate header/footer, it will use your vbulletin style's colors including your background color. (Actually this is the whole point of the hack hehe).

However if you want to change it, you can:
a) use a stand alone webtemplate (which does not use any themes or header or footer) and use any background color you like there.
b) Create a new webtemplate theme (or header) with a different bg color and use this one for your specific webtemplate

Likewise you can create any HTML pages you like. Just create it in your favorite HTML software (frontpage, dreamweaver etc.), then paste its source code inside a webtemplate.
Yea we have been putting HTML into the template, but in our code we have a different background color or image, & it shows up on the page not in the body.!?
That seems backwards to me, if it is in the HTML code we add to the template it should change the body of the page not the background..
My forum style had a left side menu, so we are trying to create something that keeps with that.


Quote:
Originally Posted by DaveS View Post
Is there a specific forum to get help with the creating of php templates in this mod?
Or do I just clog up this thread?
I have a tricky one that I'm trying to create, but I'm not sure how to go about it.
YES, this would be very helpful, i cant seem to get much to work on here except BASIC html code. Text with different colors, & fonts, but that about it.
Reply With Quote
  #417  
Old 04-23-2009, 12:22 PM
DaveS DaveS is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I'm trying to run a few tests to understand how I might attempt something more complex.

I have a php include file but whenever I include it the file is getting outputted without actually being interpreted.

The include file is outside of the main forum

So e.g. a have a php template. In the PHP Include section I have: include("/file/path/www/links/lwt_links.php");

In that file I have the following PHP code.

PHP Code:
function lwt_test() {
echo 
"test";
}
echo 
"test2"
If I run the template it just outputs the code directly in the browser it doesn't get interpreted.

Any help appreciated. And it's a fantastic mod I've been using it for a long time.
Reply With Quote
  #418  
Old 04-23-2009, 05:51 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaveS View Post
Hi I'm trying to run a few tests to understand how I might attempt something more complex.

I have a php include file but whenever I include it the file is getting outputted without actually being interpreted.

The include file is outside of the main forum

So e.g. a have a php template. In the PHP Include section I have: include("/file/path/www/links/lwt_links.php");

In that file I have the following PHP code.

PHP Code:
function lwt_test() {
echo 
"test";
}
echo 
"test2"
If I run the template it just outputs the code directly in the browser it doesn't get interpreted.

Any help appreciated. And it's a fantastic mod I've been using it for a long time.
You shouldn't use any echo commands in phpinclude section because this section is "processed" before outputting wt content so if you have an echo command there, it will also pasted before the wt content. Compile its content in a variable like:

PHP Code:
$myvariable =  "test2"
and then use $myvariable in your wt content to paste it in the correct time.
Reply With Quote
  #419  
Old 04-24-2009, 06:44 PM
DaveS DaveS is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. I now have a basic PHP script working really well using your pages to output in the web template.
Reply With Quote
  #420  
Old 04-27-2009, 12:50 AM
gsmph's Avatar
gsmph gsmph is offline
 
Join Date: Feb 2009
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logician View Post
The url in your folders are created by autoindex hack. So it seems that you need to modify that hack to use WT urls in its folders to achieve your goal
here is my autoindex kindly check this but still i cant get the right URL on WT


br
gsmph
Reply With Quote
  #421  
Old 04-27-2009, 04:10 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vMoods for 3.7 along with this mod, but the mood dropdown isn''t working in the navbar area of pages I've created using this mod.

Can someone assist?

Much appreciated...
Reply With Quote
Reply


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 01:06 AM.


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.05399 seconds
  • Memory Usage 2,352KB
  • 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
  • (6)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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