Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #362  
Old 03-07-2009, 09:44 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind i think i goes it.

i found this code @ http://www.w3schools.com/tags/att_iframe_height.asp

Code:
 
<iframe src ="SITE" width="200" height="200">
<p>Your browser does not support iframes.</p>
</iframe>
and its loading fine. i change the first 200 to 100% and made the wnd 200 into 1000 and its loading ok
Reply With Quote
  #363  
Old 03-13-2009, 12:56 PM
Tomale Tomale is offline
 
Join Date: Jul 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If my original page (passing variables by URL) is:

http://www.domain.com/page.php?var1=value&var2=value2

what will the WebTemplates URL be?
Reply With Quote
  #364  
Old 03-14-2009, 03:25 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 Tomale View Post
If my original page (passing variables by URL) is:

http://www.domain.com/page.php?var1=value&var2=value2

what will the WebTemplates URL be?
http://www.domain.com/view.php?do=we...ue&var2=value2
Reply With Quote
  #365  
Old 03-18-2009, 01:06 AM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician, you must have missed my post on the last page.

Quote:
Originally Posted by Ohiosweetheart View Post
Logician, are there any plans in the future to make this valid xhtml?
Thanks
Reply With Quote
  #366  
Old 03-18-2009, 03:03 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified the 'Themes' myself to make the validate at http://validator.w3.org/

Here's mine. The only changes are those required to make them validate - layout etc should be identical

Default Basic Theme
HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
$nowbrowsing
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td valign="top">
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr>
					<td class="tcat" align="left">
						&raquo; $WT_PageName
					</td>
				</tr>
				<tr> 
					<td class="alt1" align="center">
						<div class="normalfont"><h2> $WT_PageName</h2></div>
					</td>
				</tr>
				<tr>
					<td class="alt2" align="left">
						<div class="normalfont"> 
							$includedtemplate
						</div> 
					</td>
				</tr>
				<tr> 
					<td class="thead" align="left">Page 
						Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] 
						at $WT[lastvisitdate]. $WT_Editor_link<br />
						Page Created at <b>$creationdate</b>, Last Modified 
						: <b>$lasteditdate</b>.
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

$footer

</body>
</html>

Standard Error Theme
HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$pagetitle</title>
$headinclude
$headinsert
</head>
<body>
$header
$navbar
$nowbrowsing
<br />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
	<td class="tcat">&raquo; $WT_PageName</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
	
		$includedtemplate
		
		</div>
	</div>
		</td>
</tr>
</table>

<br />

<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
	<td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->

<br />
<br />

$footer
</body>
</html>
Two Column Theme

HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
$nowbrowsing
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="225" valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr>
					<td class="tcat" align="center">Stats</td>
				</tr>
				<tr>
					<td class="alt1">
						<div class="smallfont">
							Member count : <b>$numbermembers</b>,<br />
							Thread Count: <b>$totalthreads</b>,<br />
							Post Count : <b>$totalposts</b><br />
							<br />
							Welcome to our newest member <a href='member.php?$session[sessionurl]u=$newuserid'>$newusername</a>
						</div>
					</td>
				</tr>
			</table>
			$WT_Login 		
			<br />
			<br />
		</td>
		<td width="20">
			<img src="$vboptions[cleargifurl]" width="20" height="1" alt="spacer" />
		</td>
		<td valign="top">
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr>
					<td class="tcat" align="left">
						&raquo; $WT_PageName
					</td>
				</tr>
				<tr> 
					<td class="alt2" align="left"> 
						<div class="normalfont">
							$includedtemplate
						</div> 
					</td>
				</tr>
				<tr> 
					<td class="thead" align="left">
						Page Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] at $WT[lastvisitdate]. $WT_Editor_link<br />
						Page Created at <b>$creationdate</b>, Last Modified : <b>$lasteditdate</b>.
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
$footer
</body>
</html>
Site Information Pages Template
HTML Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title> $WT_PageName</title>
$headinclude 
</head> 
<body>
$header 
$navbar
<h2 align="center">$WT_PageName </h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr> 
		<td width="225" valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr> 
					<td class="tcat" align="center"> 
						Site Help Pages
					</td>
				</tr>
				<tr> 
					<td class="alt2" height="400" valign="top"> 
						<div class="smallfont">
							$WQ_siteinformationitems
						</div>
					</td>
				</tr> 
			</table>
		</td>
		<td width="10">
			<img src="$vboptions[cleargifurl]" width="10" height="1" name="image" alt="Spacer" />
		</td>
		<td valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr> 
					<td class="alt1" align="left" height="400" valign="top"> 
						<div class="normalfont">
							$includedtemplate
						</div>
					</td>
				</tr>
				<tr> 
					<td class="alt1" > 
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr> 
								<td align="left" nowrap="nowrap"> 
									<div class="smallfont">
										<a href='sendmessage.php'>Still Have A Question?</a>
									</div>
								</td>
								<td align="right"> 
									<div class="smallfont"><b>$count</b><i> times visited.
										<if condition="$bbuserinfo[usergroupid]==6"><br />
											Last Visitor was $WT[lastvisitorname] at $WT[lastvisitdate].
											$WT_Editor_link
										</if></i>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br />
<if condition="$bbuserinfo[usergroupid]==6">$nowbrowsing</if>
$footer
</body>
</html>
Reply With Quote
  #367  
Old 03-18-2009, 08:01 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 Ohiosweetheart View Post
Logician, you must have missed my post on the last page.



Thanks
Frankly speaking, my experise is coding and I'm not very good at designing, nor with HTML. So it is why my hacks in general might not be in perfect xhtml (or artistic web design). Sorry about it and thanks so much to dartho sharing his corrected syntax code!
Reply With Quote
  #368  
Old 03-18-2009, 08:46 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"No one becomes perfect, but some become great."
Reply With Quote
  #369  
Old 03-23-2009, 02:20 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much for your honesty Logician, that's why I like you

dartho, I replaced my template content with yours above, and it worked great, except that I'm still having a table issue.


Another problem is Logician's footer info.
Quote:
Powered by: vBulletin Version 3.8.0 & Logician's WebTemplates v.3.7.00
The & of course does not validate, but I can't find where to change it.
Reply With Quote
  #370  
Old 03-23-2009, 04:07 PM
subvertbeats subvertbeats is offline
 
Join Date: Mar 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Logician

This is a truly excellent mod!

I have very quickly built a newly redesigned site that I was going to do in Xoops.

This new solution is better is so many ways.

I have 2 questions for you about issues Im still struggling with.

This new site I have is a subsite of the main forums, but uses a custom look and feel (done entirely though WebTemplates). So for example the forum nav bar is not visible, nor the footer bar, and the site uses a different colour theme.

Questions:

- How can I integrate the forum registration page into my new WebTemplates site?
- How can I integrate the forum login page into the site ? (ive tried using the Deluxe login on non VB pages: https://vborg.vbsupport.ru/showthrea...ghlight=deluxe but have not been sucessful)

Of course I want to do these things within the look and feel of the WebTemplates site - I dont want to colors, headers/footers etc of the standard forum pages.

Any ideas?
Reply With Quote
  #371  
Old 03-23-2009, 06:12 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 subvertbeats View Post
- How can I integrate the forum registration page into my new WebTemplates site?
This does not sound very easy. If you are determined to try my suggestion would be creating a new vb style with your wemplate colors/header/footer etc., then hack register.php to use this style id forcefully and then run it inside a wemplate with a iframe. Not very sure if this will work but sounds likely.

Quote:
Originally Posted by subvertbeats View Post
- How can I integrate the forum login page into the site ? (ive tried using the Deluxe login on non VB pages: https://vborg.vbsupport.ru/showthrea...ghlight=deluxe but have not been sucessful)
What do you mean? Put login form into your wt pages? Just put $WT_Login in anywhere you like in your webtemplates (or webtemplate themes) and it will automatically display the login form if user is not logged in.
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 09:10 PM.


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.05301 seconds
  • Memory Usage 2,368KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (4)bbcode_html
  • (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_postinfo_query
  • fetch_postinfo
  • 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