The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WebTemplates 3.x: VB Integrated Content Management System Details »» | |||||||||||||||||||||||||||
WebTemplates 3.x: VB Integrated Content Management System
Developer Last Online: Nov 2023
After a long wait, here is the new 3.x version of Webtemplates for vB 3.x boards. 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. Or more simply putting, with this hack you can create regular HTML pages in your vB admin cp and these pages will be integrated into your vbulletin database about permissions, styles etc. WEBTEMPLATES 3.x FEATURES:
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: 16.Feb.2005 - > Version 3.01 * Hack released. 3.5 Version : https://vborg.vbsupport.ru/showthread.php?t=103076 Show Your Support
|
Comments |
#192
|
||||
|
||||
Quote:
|
#193
|
|||
|
|||
Quote:
Here's how far I got: Selection page (a.php) This db driven page loads its date for the selection drop down just fine. Yay! Update Form (b.php) Alright, this page comes up blank, except for static text, but no errrors. In my php code I'm looking for this variable (adodb style): $HTTP_POST_VARS['formSetNo'] . It apparently isn't being passed, even though I put this HTTP_POST_VARS['formSetNo'] in your blank for "Outside Variables". I'm guessing "Outside Variables" is expecting slightly different syntax OR "Outside Variables" can only pass info to some restricted part of the page. Would you again steer me down the right path? If I can get this variable's value from the post, the problem is licked! Again, my compliments on an easy install. |
#194
|
||||
|
||||
Quote:
|
#195
|
||||
|
||||
Quote:
|
#196
|
||||
|
||||
Quote:
I can advise better after I checked 3.5 code myself (which I haven't done yet) but I'd encourage people to test a 3.5 installation as it shouldn't have any clash issues. |
#197
|
|||
|
|||
Quote:
I tried this, but the missing piece for me was - Don't try to read from the http_post_vars array. The value is passed DIRECTLY in the variable(s) you reserve in the outside variables link. So, where my code was: $somevar = $HTTP_POST_VARS['formSetNo']if had to become $somevar = $formSetNo;So, my path was:
|
#198
|
|||
|
|||
If I run http://mywebsite.co/forum/admincp/webtemplate.php I get this error:
Warning: main(..\wt_options.php): failed to open stream: No such file or directory in \admincp\webtemplate.php on line 29 Fatal error: main(): Failed opening required '..\wt_options.php' (include_path='.;c:\php4\pear') in D:\mywebsite\www\forum\admincp\webtemplate.php on line 29 The OS = WinNT 4.0 I removed the if else statement and changed it to a direct require_once and then it works fine. |
#199
|
||||
|
||||
Is this available for vb3.5.0 yet ?
|
#200
|
|||
|
|||
Hey there! I now have WebTemplates installed on our production forum and will be moving the pages from the test board into it this weekend. That is the last use I have for our test board before I start testing our systems with 3.5, so when I get around to testing WT with 3.5 I'll let you know the results (probably not 'til late Sept).
I did some further exploration in this vast system and tried the priv_privatemessages template. This template is to return the last 30 pms on the board! However, it returns 30 pms, in an order I don't understand (database hash?). Anyway, as I microscopic contribution to this vast system, I provide the code to to change the privatemessages example so it does give you the last 30. Insert the code in red into the $WQ_priv_privatemessages webquery. Code:
SELECT pm.pmid, pm.pmtextid, pm.userid, pm.folderid, pm.messageread, pt.fromusername, pt.fromuserid, pt.title, pt.message, pt.touserarray, pt.dateline, u.username AS tousername FROM " . TABLE_PREFIX . "pm pm LEFT JOIN " . TABLE_PREFIX . "pmtext pt ON pm.pmtextid = pt.pmtextid LEFT JOIN " . TABLE_PREFIX . "user u ON pm.userid = u.userid WHERE pm.folderid = '0' order by pm.pmid DESC LIMIT 0 , 30 |
#201
|
|||
|
|||
Is there a way to make a very simple WOL varable? WOL as in Who's online on the whole site not just viewing the Logician's Webtemplates page. Like online.php. I used a iframe and put online.php in it but I do not want the header and footer (making a nice personals page). Any ideas if anyone is still into this?
Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|