The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WebTemplates 3.7.x: VB Integrated CMS (Content Management System) Details »» | |||||||||||||||||||||||||||
WebTemplates 3.7.x: VB Integrated CMS (Content Management System)
Developer Last Online: Nov 2023
(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:
(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
|
2 благодарности(ей) от: | ||
Xexiu |
Comments |
#2
|
||||
|
||||
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.7.x? What about 3.6.x? Yes, I would say. It is tested with 3.7.0, 3.7.1, 3.7.2 and it should work new coming vb versions until 4.x shows up. For older vb versions (3.6.x, 3.5.x, 3.0.x, 2.x) please relevant hack threads in my profile. The version in this thread is for vb 3.7.x only. 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? Why is it marked s "Unsupported", it seems like it is quite supported to me? I have way a lot of hacks (most of them are old now but still) and if you check them, all of them are marked as unsupported and this is intentional. As a matter of fact, I do my BEST to give support for all of them, I deal with ALL security related issues (if any), ALL major bugs (if any), MOST of the minor bugs (if any) and reply a lot of questions but I don't like to "make promises" like giving support because this disappoints people if they can't get a reply for a question and I can't promise to answer ALL questions at all times. So my personal preferrance is to mark my hacks as "unsupported" but then give as much support as I can afford with my time. And this is usually, for the most times and hopefully "a very good support". However please remember: 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 hack in the near future so new feature requests are welcomed but should not be expected to be implemented. 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.5x/3.6.x board and I have custom WebTemplates. Can I keep them in version 3.7 ? Yes, you can. 12) Vbadvanced or WebTemplates? I can't decide. Actually they are not in the same league: vbadvanced's main focus is your site main page. Webtemplates main focus is your site's other pages like "about us", "donate to us", "our press existence" etc. So I don't think you have to choose one between these two. If you want to create a vb powered site home page, you should go with vbadvanced and if you want to create vb powered other site pages, you have to go with Webtemplates. If you want to do both, you can use both too. So why don't you just install both and try each of them, then decide? Both are free, well coded, well documented, well supported and quite easy to install or uninstall. |
#3
|
||||
|
||||
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 pluggin system, it wouldn't work fine as a webtemplate either. If you want to run an external php application within vbulletin with vb header/footer etc., please see this post (and also reservations there). 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) Hack also supports "themes" which are webtemplates that include 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. 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 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/showthread.php?p=853106#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.php?p=880487&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.php?p=886907&postcount=180 25) When I try to export existing webtemplates and webqueries, I get an error message? Any fix for this? Please make sure you have the correct version of webtemplate that goes well with your vb version. If you have vb 3.7.x, you should use the hack in this thread but if you have vb 3.5.x or 3.6.x, you should install webtemplate version 3.6.xx. 26) 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 26) How can I decide which admins can access WebTemplates section in admin cp WebTemplates admin section checks the permission of "Can Edit Styles" for admins. So you can turn this permission on/off per admin basis to grant/revoke access 27) I put some HTML code into a webtemplate but it is displaying it "as is". Where is my vbulletin skin, header, footer etc.? Make sure you select a THEME for your webtemplate rather than making it an independant WebTemplate. You can edit the webtemplate and select a theme (eg. Default Basic Theme) for it. 28) I use vbseo. How can I make my webtemplates parsed with vbseo? Webtemplates has its own seo system as described in help documents. I don't use vbseo myself and I didn't combine them together but you can check this post to read contribution of DaveS about this issue. (thanks DaveS!) |
#4
|
||||
|
||||
What's New in WebTemplate 3.7.x Version
3.5.x/3.6.x version of this hack was already working fine with vb 3.7.x as announced in its official thread. However there was some minor bugs here and there, export webtemplate section was not working without a patch and it was received many "is this hack works with 3.7.x" questions as the released forum was for 3.5.x hacks so I rerelease the hack in this correct forum by also including patches and bug fixes. The hack in this thread is for 3.7.x only and it includes all patches and fixes 3.6.x version included to this date. Except that there is not much changes or additions, just a few as listed below: So here is the changelog for WebTemplates 3.7.x:
|
#5
|
||||
|
||||
How to Upgrade to Webtemplates 3.7.x from WebTemplates 3.5.x/3.6.x version:
If you are an existing hack user and want to upgrade to this version, you can simply follow the INSTALLATION document in the zip file as if you are installing as a first time user. Upgrading the hack is no different than first time installation and you follow each installation step as instructed except STEP 4. Upgrading from a previous version does not touch your existing webtemplates/webqueries so you'll keep them in the new version. If you edited wt_include.php to create custom webtemplate categories, please remember to add these lines to the new wt_include.php as well. Also please remember this version in this thread is for vbulletin 3.7.x and above only. Please don't install it if you don't have vb 3.7 or above. |
#6
|
|||
|
|||
First installed.
checking now... will be back with updates. sounds great. |
#7
|
|||
|
|||
This looks nice , Im going to look into this
|
#8
|
|||
|
|||
Installed and nominated
Tks Logician! |
#9
|
|||
|
|||
installed
|
#10
|
||||
|
||||
I love this mod.
Thanks for the update, Logician! Suggestion: implement the new "post edit history" in vb3.7.x, like vb's posts, or like edit-history in wikipedia's articles. Could be useful if some editor mess up one page, or just to get back the editions in one page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|