The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
WebTemplates 2.x: VB Integrated Content Management System
![]() Developer Last Online: Nov 2023 ![]() ![]()
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)
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
|
Comments |
#107
|
|||
|
|||
![]()
Logician - I have a page where I need to use the following code to refresh an image on a page automatically:
Code:
<head> <meta name="MSSmartTagsPreventParsing" content="TRUE"> <META HTTP-EQUIV="imagetoolbar" CONTENT="no"> <script language="JavaScript"><!-- function refre++++() { if (!document.images) return; document.images['myCam'].src = 'http://mysite/mypic.jpg?' + Math.random(); setTimeout('refre++++()',20000); // refresh every 20 secs } //--></script> </head> <body onLoad=" setTimeout('refre++++()',20000)"> <center> <img border=2 src="http://mysite/mypic.jpg" height="240" width="320" alt="Loading..." align="center"> Any ideas how I might be able to achive this? |
#108
|
|||
|
|||
![]()
Amazing hack!
Exactly what I needed. Thanks. ![]() |
#109
|
||||
|
||||
![]()
This is awesome. Something I've been looking for for a long time. I've got it up on my site where my VB is at and plan to switch all the regular HTML pages to webtemplates.
Just out of curiousity do you know of a system similar to this that doesn't use a vbulletin database? I have a couple other personal sites where I'd love to add, edit and delete pages via templates from an adminCP (not to mention and awesome theme system like you have. Very simple to use and works well). But have no need for a forum on those sites or the price that goes with it. I know moveabletpe is similar but it's cgi and I have no need for a weblog. Just a simple way to manage webpages online and change a general theme on them all quickly. |
#110
|
||||
|
||||
![]() Quote:
|
#111
|
|||
|
|||
![]()
Hey
I really love this hack and I already have so many great ideas how I could use it to increase interaction between my main page and forums but I have one big cookie-related problem. Everything is fine when i call the board cookie through the view.php?pg=template file but as soon as I put the view.php?pg=template into an include file or include view.php itself into my mainpage i´m logged out on the main page. And there seems to be nothing I can do about it. I already tried this: - i changed my settings to "accept cookies", logged out, erased all cookies in IE and then returned and logged in - i already changed the cookie host domain to: .mydomain.de like suggested in the admin CP It seems as if as soon the template file is put into another file and included there the cookies seem to get lost. Any idea how I could solve this? I read something about removing sessionhash completely but I wonder if that wouldn´t make the Who´s online useless. I hope that you have an idea how to work around this problem. Maybe I can put a line in my include file header or into the header of the page I want to include into that reads out the cookies from the board. |
#112
|
||||
|
||||
![]()
These are the problems I was mentioning when I say I don't suggest to use the hack as a main page or outside its default location.
![]() Sorry I don't have any idea how you can manage your goal. |
#113
|
|||
|
|||
![]()
Hey thx for the reply.
Hmm I´m wondering if a special global.php file that you would put in your web site root wouldn´t do the job. Could I anybody try to code something like this? When I see php code I know more or less what it does and mean but i´m definately not able to do this on my own. I think if it worked it´d be worth the effort. |
#114
|
|||
|
|||
![]()
Crap
![]() I installed VB 2.3.0 and this broke WebTemplates which I knew was gonna happen. So as I was on the old version, I went to install this one. I can't run the SQL queries in the file, I keep getter errors. phpMyAdmin just reports SQL Error. However a small script called MySql Table Manager reports: You have an error in your SQL syntax near '; INSERT INTO `wt2_themes` (`themeid`, `themename`, `themesortorder`, `themeban' at line 1 Number of Rows affected: -1 Any ideas? |
#115
|
||||
|
||||
![]() Quote:
So my suggestion will be: 1- If your phpmyadmin is an old version, upgrade to the last version first. 2- Make sure you have permissions to run INSERT/UPDATE queries in MYSQL via phpmyadmin (check with your host) and confirm with by running a test INSERT/UPDATE query. 3- Then run the queries in phpmyadmin. There are 2 ways of running it both of which are mentioned in the instructions. Although I confirmed that both works, try the other one if one fails for you. If this still fails, I would suspect your PHP.ini or MYSQL configuration is not allowing you to send large number of texts to the server and if this is the case, you might try to run the queries in the query list in smaller groups. Or send the list to your host and they can run for you. |
#116
|
|||
|
|||
![]()
The create table queries worked fine, but it was the Insert queries that were messing up the works. So I added each Inset a line at a time and it worked fine in the end.
I know it's not really for use as a sites only content system, but i'm using it that way and it's working perfectly. Great work and I look foward to the VB3 version ![]() ***EDIT*** Is it possible to place Who's Online on a webtemplates page? |
#117
|
|||
|
|||
![]()
Anyone?
|
#118
|
||||
|
||||
![]()
Hi Logician,
Just installed the hack, Your instructions were sharp! :cheeky: Now i just have to make sure i can utlise it properly! Thanks.......clicks install!!! |
#119
|
|||
|
|||
![]()
j e b u s h c h r y s l e r.
Now thats a hack! *installed*. |
#120
|
||||
|
||||
![]()
New Version 2.03
Added Feature: You can now pull any regular vbulletin template into your webtemplates (See screenshot below) |
#121
|
||||
|
||||
![]()
Screenshot of added feature in 2.03
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|