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 |
#182
|
|||
|
|||
im getting this error when i view my test page and a similar error when i make a new page and try to view it any ideas
Fatal error: Call to undefined function: array_key_exists() in /nfs/cust/9/46/70/607649/web/GX/view.php on line 433 |
#183
|
||||
|
||||
Quote:
OR replace all "array_key_exists" as "key_exists" in the scripts. |
#184
|
|||
|
|||
First off, this looks like an awesome piece of work; congrats on your skills Logician.
I'd like to see if anyone here, with experience with webtemplate can tell me if it will help me implement a new feature on our site. Our Site vB3.0.7 with vBaCMPS1.0.1. I have some custom & tweaked modules running in CMPS and we have the gallery. Great system. New Feature We're putting up a database driven guide with over 3000 entries for our members. You select the group to view with one form, then get back a page of results to update with the return and finally submit that back to a third form which gives your result. I'm using ADODB with DreamweaverMX/PhaKT to create the PHP database code. The forms are working fine and doing what I want. Problem Now the time is come to integrate with vB! However, vB isn't going to let me run php code. OK, vBaCMPS module time! Well, that works for the first selection, but once I post that selection I have to drop out of vBaCMPS. No way to post back to it. OK, require global.php, then load my other php code. Works great for the first form, restricts access, etc. However, global.php prevents you from accepting post/get input. Questions
Well, if you got this far, thanks for reading. I'm amazed at how cool vB is; its a new world for me, but it really is saving me tons of time and helping get features out to our members. It just has some limits I'm not used to in free-coding (simple though mine is). Cheers, 'snore |
#185
|
|||
|
|||
Fantastic!!!!!
Now I jsut need to make them work for each user as they log in. Two thumbs up! Installed Clicked! |
#186
|
||||
|
||||
Quote:
On theory it sounds like "doable". However my concern is that there can occur many unexpected drawbacks when you integrated your code. Some can be even unrelated to webtemplates: Eg. your variables can clash with vbulletin variables etc. So no way to say whether it will work or not without trying it. As for your questions: 1- yes, sounds ok. If you put it into vb phpinclude template and it worked (except getting GET/POST VARIABLES successfully), it will work in phpinclude template of webtemplate. 2- You can use a webquery for this and use the phpinclude field of the webquery for the postid variable your code passes. It will return you the post info. However it will return it to the webtemplate, not your code (which is inside phpinclude of webtemplate!) so I don't know if it is ok with you. 3-webqueries can only query vb database. But if you use your own DB connection commands in your phpinclude field of webtemplates, they are not blocked so your commands can query other dbs. (again: provided that this strategy worked in the default phpinclude field of vb! If it does not work in vb's phpinclude field, it will not work in webtemplates's phpinclude field) 4- If it does not work, I still don't suggest you to use a seperate autentication for your application. I think your path should be copying vb global.php into another file, remove GET/POST variable blocking of it in your new file and include it in your application to simulate vb authentication. This sounds more logical. You can check webtemplates source code to see how it manages to accept variables vb global.php blocks. |
#187
|
|||
|
|||
Is there a version of the hack for vb 3.5 or is it planned ?
|
#188
|
|||
|
|||
This like an article system?
|
#189
|
||||
|
||||
The number of page views doesn't seem to be incrementing for my webtemplates.
I have the 'Count page visitors?' set to 'Yes' and the 'Logged Visitors' to 0. Any idea what's wrong? |
#190
|
||||
|
||||
Quote:
Here is the fix: Edit "view.php", find: PHP Code:
PHP Code:
|
#191
|
|||
|
|||
$DB_site->query("UPDATE $WT_DB_TemplateTable SET lastvisitorid='$bbuserinfo[userid]', lastvisittime='".time()."' WHERE wtid='$WT[wtid]'");
in the above line that you were to replace you made a little typo you made a mistake and put this instead $$DB_site->query("UPDATE $WT_DB_TemplateTable SET lastvisitorid='$bbuserinfo[userid]', lastvisittime='".time()."' WHERE wtid='$WT[wtid]'"); Thanks for the bug fix hope you update the view.php file before someone else downloads |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|