The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WebTemplates 3.5.x: VB Integrated CMS (Content Management System) Details »» | |||||||||||||||||||||||||||
WebTemplates 3.5.x: VB Integrated CMS (Content Management System)
Developer Last Online: Nov 2023
(This hack is for vb version 3.5.x AND 3.6.x. For vb 3.0.x and 2.x see my profile for relevant threads.)
(For vb 3.7 version, please go to this thread) "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. WEBTEMPLATES 3.5.x BASIC FEATURES:
(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.leatherneck.com/forums/view_aboutus.htm http://www.hystersisters.com/vb2/view_funding.htm http://www.theadminzone.com/forums/view.php?pg=aboutus http://www.hystersisters.com/vb2/view_guidelines.htm http://www.hystersisters.com/vb2/view_books.htm http://www3.fertilethoughts.com/foru...hp?pg=acronyms http://www.makeuptalk.com/forums/vie...alk-newsletter http://www.bklab.com (entire site is designed with Webtemplates only!) 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.. Note in 6.August. 2006 : I've tested Webtemplates with vbulletin 3.6.0 gold version and they are compatible. So this hack released here is both for vb 3.5.x AND 3.6.x Note for vb 3.7.x : (29.July.2008): For vb 3.7.x, I released a new version here: https://vborg.vbsupport.ru/showthread.php?t=186644 Version Updates: 16.Dec.2005 - > Version 3.5.01 * Hack released. 16.Dec.2005 - > Version 3.5.02 * A webquery bug fix for boards which use table_prefix. To upgrade just overwrite hack .php files. 17.Dec.2005 - > Version 3.5.03 * A minor bug in WOL page fixed. To upgrade overwrite hack .php files + reinstall product XML 17.Dec.2005 - > Version 3.5.04 * A bug fix for edit webtemplate page not remembering webtemplate's showbrowsers setting.To upgrade overwrite hack .php files 16.Jan.2006 - > Version 3.5.05 * A bug fix for boards which has too many usergroups. To upgrade overwrite hack .php files + uninstall product, then reinstall (your existing webtemplates will be intact) 20.Aug.2006 - > Version 3.6.00 * A bug fix that can cause a MYSQL warning in a few servers in WT admin cp. A minor and unusual problem that happens in certain servers and you don't need to upgrade if you don't see such a message. To upgrade overwrite /includes/wt_include.php and /admincp/wt_wt.php files. 1.Oct.2006 - > Version 3.6.01 * A minor bug fix for showing user avatar and ipaddress in webtemplates. To upgrade overwrite /includes/wt_include.php and view.php files. 2.May.2007 - > Version 3.6.02 * IMPORTANT SECURITY UPDATE! A security problem has been fixed in this version. To upgrade overwrite /includes/wt_include.php and view.php files which is attached to this post. 21.June.2008 - > Version 3.6.03 * Two minor bugs (1 & 2) fixed. 29.July.2008 - > Version 3.7.00 * A new version for vbulletin 3.7.x is released in a seperate thread here: https://vborg.vbsupport.ru/showthread.php?t=186644 Show Your Support
|
Comments |
#2
|
||||
|
||||
Webtemplate Post-Installation FAQ:
1) I have installed the webtemplates but I guess it does not work ok? Double check you've installed it correctly. Especially make sure you uploaded the files to the correct locations. If you are sure you installed it correctly, then check the thread to see if someone posted a similiar problem and get an answer. If no, post your problem into the thread but please give details! It does not help me to read "the hack does not work!", I need details like what exactly happens when you visit admin cp, default webtemplates etc., what error messages/screens you get etc. 2) Can webtemplates parse PHP code? Yes, it can. Besides you are given 2 grounds to run PHP: a) You can make a webtemplate's marking as PHP and it will be treated as a PHP script. b) Even if your parsing is HTML or TEXT, you can still have php incode in phpinclude section of the webtemplate which will run before webtemplate is displayed. However its PHP parsing capability is limited to vbulletin's PHP parsing capability due to its integration with vb. In other words if your PHP code does not work fine in vb phpinclude template, it wouldn't work fine as a webtemplate either. 3) Can I put view.php in a different directory? No. This requires too many modifications in the hack code so I don't suggest or support it. Do it by your own risk. 4) Can webtemplates include other webtemplates in it? a) Webtemplates can include header / footer webtemplates in them. So if you need to include webtemplate A, in webtemplate B, you can make A a header or footer. b) New version supports "themes" which are webtemplates that includes other webtemplates in them. So you can make webtemplate B a theme to include webtemplate A in it. c) Webtemplates can include regular vb templates in them. d) Other than that webtemplates can NOT include other webtemplates in them, nor nests loops: (eg A includes B, B includes C etc.) 5) I want display login box if visitor is a guest and log off link if visitor is a member, can I do it? Yes, use variable $WT_Login in your webtemplate 6) You say Webtemplates inherits visual look (colors/fonts) of our forum. This is good but I want to create a webtemplate with a different design, say red background color. Can I do it? Yes. Simply create your HTML Code and paste it into webtemplate field and you have your red backgrounded page. Your Webtemplates inherits your visual design when you use vbulletin HTML tags in your webtemplates. (like default vbulletin templates uses). For instance if you use <div class=normaltext>Hello</div> in your webtemplates your text "Hello" will be displayed in the default font (color, size, font name etc.) of your board. But if you use: <font face="Times New Roman" color="#FF0000" size="4">Hello</font> your webtemplates will display "Hello" in Times New Roman, RED color and size 4. your webtemplates will display "Hello" in Times New Roman, RED color and size 4. 7) I want to post smilies/bbcode/IMG tags to my webtemplate, can I? Yes. Simply change your webtemplate parse method as TEXT. In TEXT parsing, webtemplates will display your bbcodes/smilies etc. After that, if you want to have a page creation enviroment like thread posting (bbcode/smilie boxes are displayed in formation page), design your webtebtemplate in editor interface instead of admin interface. 8) How do I backup my webtemplates? 1- While backing up your database in your admin cp, vbulletin will back up your webtemplate tables too. 2- You can export your webtemplates/webqueries as XML files. You are welcomed to share them here with other hack users. 9) I have more than 1 database. Can webqueries query my other databases? No. They only query the database your vbulletin resides. 10) Can webtemplate content be searched in Vbulletin search? No. 11) Do Webtemplates have search engine friendly URLs? Yes. However it is experimantal and works only in apache servers. See help document for more info. 12) How can I create a webquery that does X? You are welcomed to ask these questions and I'm hoping that someone will help you with creating custom webtemplates/webqueries but please understand that I can not take time to answer all "how can I create such webquery" questions as there are infinite SQL queries that can be requested. Thanks for understanding. 13) Can I add a vb poll into a webtemplate? Manually yes.. Simply copy paste its HTML code. Automatically no. 14) Can I use this as a news page by retriving last X posts from forum Y? It is possible. As a matter of fact I've included a sample webquery to do that into the installation and you can check it in the test2 webtemplate. 15) Can I use vb Phrases in WebTemplates? Mostly. Webtemplate recognizes and parses the vb phrases that are in GLOBAL group and in some other groups which are specified in the begining of "view.php" starting with this line: $phrasegroups = array(' You can edit this line to add more phrase groups to webtemplates pages. Though only basic phrases in these groups are supported, not the advanced ones that includes {1} {2} in it. 16) How can I use "Editors" feature effectively? You can assign Editors to your webtemplates who can edit them by using their own editor interface. If your editors know HTML, that is ok, then you can assign them to any webtemplate you like even the ones with HTML parsing. However in most cases your site helpers will not know HTML to customize your HTML templates. If this is the case, you can follow this strategy: 1- Create a theme (with HTML parsing) and design it yourself with HTML. 2- Create child webtemplates that uses this theme. Make sure child webtemplates has TEXT parsing (not HTML). 3- Assign your editors to these child webtemplates. Since they are in TEXT parsing, your editors interface will now include smilie box, BBCode box and will look like exactly thread posting interface. They can then design the webtemplate with BBCode, smilies, IMG tags just like they are posting a new thread and without any need to use HTML commands. 17) Can link a certain section (paragraph, line etc.) in a webtemplate? Yes you can: a) Insert an HTML anchor to the location you want to link (eg. to the very begining of the paragraph) like this : <a name="anchor1"></a> b) Then you can link this section like this: http://www.yoururl.com/forum/view.php?pg=your_template#anchor1 18) Can I use vb's WYSIWYG Editor to design Webtemplates? Yes. However not in your admin interface, but in the editor interface. So create a webtemplate page, then visit it and click "Edit This Page" link you see in stats line which will take you to the editor interface. You'll have WYSIWYG editor in that interface provided that: a) That is your set bbcode interface in your usercp b) The webtemplate is a "TEXT" parsed webtemplate. 19) Can Webtemplates run FLASH code in it? Webtemplates can do anything regular HTML pages can do, so yes, they allow flash too. Just create your flash snippet and add it to your webtemplate just like you are adding in a regular .html page. Make sure your webtemplate's parsing is set as "HTML". 20) How can I uninstall it? Select "uninstall" in Product Manager and it will automatically uninstall. Uninstalling does not remove database tables so that your custom webtemplates will not be lost when you reinstall. If you want to delete database records too run this query : DROP TABLE `wt35_query`, `wt35_theme`, `wt35_visitlog`, `wt35_webtemplate`; 21) It is nice to see WebTemplate visits in Who is Online but I have a private WebTemplate which I want to hide from other WOL visitors. Can I do that? Yes. Rename your webtemplate and make sure its name starts with affix priv_ 22) After the installation, I get "Fatal error: Call to undefined function: key_exists()". Any fix for this? Yes. See here: https://vborg.vbsupport.ru/showthrea...106#post853106 23) Editor interface of regular users can be improved in many ways to create other hacks around Webtemplates. What do you think? Please read this : https://vborg.vbsupport.ru/showpost....&postcount=163 24) If I ban a certain usergroup from viewing a webtemplate, anybody who belongs to this usergroup in anyway is banned even if their primary usergroup is different. Can the permission system work differently? Please read this : https://vborg.vbsupport.ru/showpost....&postcount=180 25) (vb 3.7.x) 25) When I try to export existing webtemplates and webqueries, I get Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 465 Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 473? Any fix for this? Please read this : https://vborg.vbsupport.ru/showpost....&postcount=743 26) (vb 3.7.x) 26) I was using the hack fine in 3.6 but after upgrading to 3.7, all webtemplates disappeared and webtemplate pages display just text "header". Any fix for this? Yes, read here: https://vborg.vbsupport.ru/showpost....&postcount=855 27) I have quoteit! hack and I get Parse error: syntax error, unexpected T_STRING in .... /forums/view.php(901) : eval()'d code on line 1 error in webtemplates. Read here: https://vborg.vbsupport.ru/showthread.php?p=1576908#post1576908 |
#3
|
||||
|
||||
Pre-Installation & Post-Installation FAQs:
Webtemplate Pre-Installation FAQ: 1) I still didn't understand what webtemplate is. Can you clarify more? Webtemplate is a HTML (or php) page. It is different than your other HTML pages in that you can create them in your vbulletin admin cp and you can integrate them with your vbulletin like applying them vb permissions, styles etc. 2) Uh! This hack looks too complicated! I'm a newbie; can I use it? This hack has powerful features. But it does not mean you have to learn and use all the features. If you are a newbie, you can be pretty happy with its primary feature: Administering your webpages in your vb admin cp and apply vb permissions on them. For this you need no knowledge on anything. Simple copy / paste HTML code of your page, give it a name, enter user/usergroup ID who are banned from this page, click save and you have a webtemplate ready and published automatically. You'll also find a "How to Create your First WebTemplate" document in the ZIP file. 3) Is installation/uninstallation easy? Yes, can't be easier. Webtemplates is NOT an hack so you don't need to modify any vbulletin files to install webtemplates. 4) Is Webtemplates a portal system? Umm, no, not exactly! I would define a portal system as a content management system for especially targeting your site home page. I didn't hear a portal which does not replace your site home page. Webtemplates has similiar features like a portal, however it is not designed to replace your site home page. Webtemplates are your "other" site pages but site home. 5) For what can I use this hack? You can use it to create pages that needs to inherit your vb skin and permissions. For instance you can design pages like "About Us", "Donations" etc. 6) Can I use other portal/vbulletin integrated home page hacks (eg. vbadvanced) with webtemplates? Yes you can. Webtemplates neither substite/replace any of them, nor touch them. 7) Can I use a webtemplate as my site home page? It is not designed to act as a site home page. I don't use it as my site home page in my site either. However since the prior version, some hack users always insisted to use this hack as their site home page and they managed to do it too. Basically you can do it in 2 ways: a) you can create a file named index.php and use this line in it: <?php include ("http://www.yourdomain.com/forum/view.php?pg=your_template"); ?> When you upload this file in your site home directory, your site home page will be a webtemplate. b)You can edit your .htaccess file and make a redirection so that whenever your main page (=index.htm or index.html) is called, server opens your webtemplate. A sample redirection line is that: Redirect /index.html http://www.yoururl.com/forum/view.php?pg=your_template Please search keywords ".htaccess+redirect" in google for more info about .htaccess redirection Although both methods are safe and effective, I neither encourage, nor support site main page webtemplates as the system is not designed this way in the first place. 8) Does it work in all 3.5.x? What about 3.6.x? Yes, I would say. It is tested with 3.5.0, 3.5.1, 3.5.2, 3.5.3 and it will work new coming vb versions until 4.x shows up. It is also tested with 3.6.0 gold and they are compatible too. For 3.0.x version or 2.x version see relevant threads. 9) How is the hack performance? Does it affect server load? Does it have a lot of queries? Webtemplates is coded to perform "very well" even under heavy load. A webtemplate has an average of 12-18 queries per page. How many queries you have, depends on which features you enabled for that webtemplate and how many webqueries you use in it. However always bear in mind that webtemplates, vbulletin itself, or any other dynamic PHP pages which make connection to MYSQL database can never be as "performance friendly" as static HTML pages. Static HTML pages is not dynamic (so does not change according to different conditions etc.) but much less server intensive. So especially in heavy loaded servers and for heavy traffic pages, you may want to use default static .html pages especially if you are not after having a dynamic content in them. But if you are ready to use a dynamic script/structure/software/solution then webtemplates is NOT a performance killer, you can enjoy this hack. Its performance and affect on the server load is very similiar to a regular vbulletin page, like vb forum home page. 10) Do you support this hack? This hack is 100% free although it can be good match to many commercial CMS. Besides IMO it is one of the best vb integrated CMS you can find in the internet. I share the hack here without any commercial intentions just like many other of my hacks but please understand that I can not commit my entire life to support this free hack. If there is any general bugs, problems or security issues in the hack, I'll do my best to fix them ASAP and release new versions in this thread. You are also very welcomed to ask any hack related questions or future requests here in this thread but please excuse me if I can not find time to answer all. I also don't have plans to enhance the hacks in the near future so new feature requests are welcomed but should not be expected to be coded very soon. I also have many other hacks released here that requires my attention and time so webtemplates is not the only project I devote my time. Thanks for understanding. 11) I was using WebTemplates in 3.0.x board and I have custom WebTemplates. Can I keep them in version 3.5 ? Yes. Read "Upgrade from version 3.0.x.txt" document in the ZIP file. |
#4
|
||||
|
||||
Differences Between 3.0.x Version and 3.5.x Version:
? Page Security Settings are now simpler. You don?t have to enter userids or usergroupids anymore. Instead you can directly enter disallowed usernames and check disallowed usergroups in a more friendly interface. ? Same simplicity applies to ?WebTemplate Editors? and ?Logged Usergroups/Usernames? Sections. ? ?Is Private? per Webtemplate option is removed as it was redundant. WebTemplates Hack has now ?is draft? option and banned usergroups/usernames options for your page security needs. ? Meta Keywords and Meta Description per WebTemplate is added for better search engine optimization. ? ?Download WebTemplate/Webquery as a text file? option is removed and replaced with ?Import / Export WebTemplates as a XML? file. This will help you to save your WebTemplates in a better supported format and hack users can very easily share eachothers WebTemplates by import feature. ? ?Logician Conditional Syntax? is no more supported in this version of the WebTemplates. Instead you can use vb3 conditional syntax for your conditional needs. That is: <if condition = ?????..?>?????<else />?????.</if> ? User friendly URL support is added. So instead of calling your WebTemplates as: http://www.yoururl.com/yourforum/view.php?pg=webtemplatename You can now ALSO call it as: http://www.yoururl.com/yourforum/view_webtemplatename.htm Please note this feature is experimental, and not fully supported by me at this time. I tested it and it works for me but it may not work for you due to your server settings, webserver program, .htaccess settings etc. ? ?Outside variables? are removed from the hack as it is confusing for novice users and redundant for expert users. Someone who needs to pass outside variables to the webtemplate can use PHPINCLUDE field of webtemplate to clean and process variables in the vbulletin way. Eg. $vbulletin->input->clean_array_gpc('r', array( 'my_variable_1' => TYPE_STR, 'my_variable_2' => TYPE_INT, )); |
#5
|
||||
|
||||
A kudo Received Kudo:
Quote:
|
#6
|
|||
|
|||
ok, i'm the first...
can i say i'm happy now, that it is really for 3.5.x ?! that was the missing link for my taking control of the web.. lol /me clicks THANKS! |
#7
|
|||
|
|||
Nice work!
|
#8
|
|||
|
|||
Wow ! Impressive stuff........easy to install - cheers ! :banana:
|
#9
|
|||
|
|||
wow this is amazing dude, something with similiar features but as an article manager would be a dream. hehe
great work |
#10
|
|||
|
|||
Thank you thank you thank you !!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|