View Full Version : Portal Software - WebTemplates 4.x: VB Integrated CMS (Content Management System)
Logician
09-08-2010, 10:00 PM
(This hack is for vb version 4.x and above. For vb 3.x, version 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.
WEBTEMPLATES 4.x BASIC FEATURES:
Very Easy Installation : Webtemplates can be installed to your board without modifying even a single vbulletin file. It is coded as a vb product and can be imported very easily.
Apply VB Permissions: You can ban any webtemplate to any user or usergroups easily. So for instance you can design a webtemplate which only members can see while guests can not, or only user A can not see etc.
Page Counter : Each webtemplate has a built-in counter and you can display page count to your visitors and you can edit it or turn it OFF/ON per webtemplate basis.
Visitor Logging&Tracking : You can track certain users' (by usergroup or userid) webtemplate visits to see who visited a webtemplate and when. This is configurable per webtemplate basis.
Site Contributers (Editor) Support : You can grant editing permissions for certain users or usergroups for your webtemplates individually and they will be able to update these webtemplates using their own editor interface. vB's WYSIWYG editor is supported in Editor interface.
Page Browsers & Who is Online Display: Webtemplates can display who is browsing that webtemplate while visitor is reading them (like default forum browse display of vbulletin). Webtemplate visits can also be monitored in who is online page.
Header/Footer Inclusion : Webtemplates can automatically use headers/footers (your default vb header/footer or custom ones)
Help Documents : The script comes with an extensive help document.
Admin Panel in Webtemplates : Your webtemplates can include an "admin panel" displayed to only admins and by using them you can access many details and stats of your page while you are browsing them.
SEO friendly URLs: You can make webtemplate URLs seo friendly in vb settings (Requires apache server).
XML Import/Export : XML Import/Export feature allows you to backup your webtemplates and use other hack users webtemplates in your board. ADVANCED FEATURES FOR ADVANCED USERS:
Webquery Feature : With advanced "webquery" feature you can create dynamic webtemplates which include database query results. For instance you can easily add "last 10 threads forum X", "most active users list" etc. to your webtemplates with default webqueries that comes with installation or you can create your custom webqueries with basic SQL knowledge.
Multi Parsing : Webtemplates can parse PHP or HTML or TEXT (=smilie/img tags/bbcode parsing like vb posts). This means you can design a page just like vb posts (TEXT parsing), standart HTML (HTML parsing) or even in PHP (PHP parsing).
PHPINCLUDE per webtemplate : Every webtemplate has its own "phpinclude" field which you can run PHP codes before loading the Webtemplate
Theme Support : Webtemplates support "themes" which are parent webtemplates which include child webtemplates in them. For instance if you have 20 similiar pages which uses the same visual look, you can make a single theme for all of them, then just insert their content into this theme. If you change theme later, all 20 pages' visual will change automatically.
Conditionals : Webtemplates supports VB3 template conditionals so you can design webtemplates which change their display under different conditions.
Default variables : You can use/display certain variables in your webtemplates like username of the visitor, visitor email address, last visit time, page creation time, page last edit time, Last visitor name, last visit time etc.Sample WebTemplates from Sites using this hack:
(Most are from 3.x versions but WebTemplate look and feel didn't change much so all will give you the idea.)
http://www.worldwideknights.com/view_mission.htm
http://www.theadminzone.com/forums/view.php?pg=aboutus (http://www.theadminzone.com/forums/view.php?pg=aboutus)
http://www.hystersisters.com/vb2/view_guidelines.htm (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.hystersisters.com/vb2/view_books.htm)
http://www.worldwideknights.com/view_spread.htm
http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter (http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter)
http://www.bklab.com (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)
If you use the hack, clicking here (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=250202) 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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=250202) if you use it. Thank you..
From FAQ 13: Vbulletin already has a CMS now , why would I need this hack?
If you have CMS license, you might not need Webtemplates. On the other hand, CMS license is paid, webtemplates is free and many forum owners don't have CMS licenses.
Also please note that vb has CMS since 2010. Webtemplates was first released (https://vborg.vbsupport.ru/showthread.php?t=36419) for vb2.x in 2002 and it was around in vb3.x, 3.5.x and above for thousands of vbulletin users who have developed their sites around webtemplates CMS. So regardless of new vb CMS owners might or might not need it, Webtemplates 4.x is still realased and supported as a courtesy to its old users and fans. I personally prefer and use Webtemplates over vb CMS and this hack lives for people who agrees with me.Version Updates:
12.October.2013 - > Version 4.0.2
* Minor fixes for PHP 5.4.x (Fixes "Deprecated: Assigning the return value of new by reference is deprecated" errors in new PHP versions.
14.July.2012 - > Version 4.0.1
* Vbulletin changed WYSIWYG editor parsing in vb4.2.x so hack's editor.php is updated accordingly.
9.September.2010 - > Version 4.0.00
* Hack 4.00.00 is released.
Logician
09-09-2010, 10:33 AM
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 (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 4.x?
Yes
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 4.x ?
Yes, you can. Please see readme file in the hack package.
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.
13) Vbulletin already has a CMS now , why would I need this hack?
If you have CMS license, you might not need Webtemplates. On the other hand, CMS license is paid, webtemplates is free and many forum owners don't have CMS licenses.
Also please note that vb has CMS since 2010. Webtemplates was first released (https://vborg.vbsupport.ru/showthread.php?t=36419) in 2002 and thousands of vbulletin users have developed their sites around webtemplates CMS. So even if new vb CMS owners might not need it, Webtemplates 4.x is still realased and supported as a courtesy to its old users and fans. I personally prefer and use Webtemplates over vb CMS and this hack lives for people who agrees with me.
Logician
09-09-2010, 10:34 AM
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 (https://vborg.vbsupport.ru/showpost.php?p=1614185&postcount=127) (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?
Hack 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.
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 {vb:raw 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 (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) 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 (https://vborg.vbsupport.ru/showpost.php?p=880487&postcount=163)
23) 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 (https://vborg.vbsupport.ru/showpost.php?p=886907&postcount=180)
24) 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
25) 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.
26) 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 (https://vborg.vbsupport.ru/showpost.php?p=1800354&postcount=421)to read contribution of DaveS about this issue. (thanks DaveS!)
Neutral Singh
09-09-2010, 11:07 AM
Thank you, So Much!!
zelnik
09-09-2010, 11:22 AM
Hi Logican,
Great news it's officially released now, one of my favourite vb addon!
Can you confirm nothing has changed since the release you attached for vb4 on the 3.8 thread?!
Thanks
Merjawy
09-09-2010, 11:28 AM
I like it and I was planning to add a front page to my site... This is it
I also like to amount of info you put in here.. very nice indeed
Thanks
Logician
09-09-2010, 11:31 AM
Can you confirm nothing has changed since the release you attached for vb4 on the 3.8 thread?!
Yep, it is the same. :)
sulasno
09-09-2010, 11:47 AM
tagged and thanks
got plenty to read
will wait for release of vBulletin 4.0.7 before installing this mod
Storyteller69
09-09-2010, 01:22 PM
This hack is much more than simple great! 5Stars, nominated and donated.
Thanks for this
Storyteller
Alfa1
09-09-2010, 05:47 PM
What functions does webtemplates have that vbCMS doesnt have?
Lionel
09-09-2010, 08:42 PM
What functions does webtemplates have that vbCMS doesnt have?
Read FAQ 13 ;)
biggeorge
09-09-2010, 08:47 PM
I grabbed this from the 3.8 thread a few days ago. I love this mod... thank you!
tech4c
09-09-2010, 08:56 PM
thank you
xtremecoders
09-09-2010, 09:08 PM
The Most Well Documented - explained Product - thread i ever read since enjoined VB.
Great JOB my friend.
5starts + nominated and i hope to find more threads like yours in the future.:up:
TheLastSuperman
09-09-2010, 10:51 PM
I'm glad you found time to update this, in vB3 I used this quite frequently! I have the suite and read FAQ 13 so I'll mention this to anyone with Forum Classic, this will be very useful for non-suite owners and if anything it makes custom pages in vB4 easier for those who do not understand how to make them ;).
Edit: So... no install from me however marked 5 stars based on my experience with this in vB3 and Nominated for MOTM since I see the potential here, good job Logician :D.
Edit Again lol: Ok so I marked as installed, tinkering with this mod and doing something similar to what I did using your CMS for 3.x and a Content Mod similar to Bobsters so let's see what I come up with ;)
morrow
09-10-2010, 06:10 AM
Warning: unserialize() expects parameter 1 to be string, array given in [path]/view.php on line 59
Warning: unserialize() expects parameter 1 to be string, array given in [path]/view.php on line 60
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: forumdisplay_loggedinuser in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(337) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: WebTemplates_NowBrowsing in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(385) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: WebTemplates_LoginCode in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/njfly/public_html/vBulletin/view.php(426) : eval()'d code on line 3
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: WebTemplates_AdminPanel in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(884) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: headinclude in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(901) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: header in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(907) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/njfly/public_html/vBulletin/view.php(914) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(960) : eval()'d code on line 2
Any ideas?
Logician
09-10-2010, 07:17 AM
Warning: unserialize() expects parameter 1 to be string, array given in [path]/view.php on line 59
Warning: unserialize() expects parameter 1 to be string, array given in [path]/view.php on line 60
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: forumdisplay_loggedinuser in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(337) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: WebTemplates_NowBrowsing in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(385) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: WebTemplates_LoginCode in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/njfly/public_html/vBulletin/view.php(426) : eval()'d code on line 3
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: WebTemplates_AdminPanel in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(884) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: headinclude in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(901) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: header in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(907) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/njfly/public_html/vBulletin/view.php(914) : eval()'d code on line 2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3984
Parse error: syntax error, unexpected T_STRING in /home/njfly/public_html/vBulletin/view.php(960) : eval()'d code on line 2
Any ideas?
It seems you installed 3.7.x version of the hack into a 4.x board. Please make sure you download and install the correct version of the hack.
morrow
09-10-2010, 10:58 AM
I had a previous version prior to this install. I overwrote all of the files then imported the new product.
Logician
09-10-2010, 07:07 PM
I had a previous version prior to this install. I overwrote all of the files then imported the new product.
Apparently your overwrite didn't go well and you are still running old "view.php". The error about line 59 exists in old view.php, not in new view.php. Please make sure you have successfully overwrote the files. Deleting them first and then reuploding can help.
Thanks for this, I loved the old 3.8 version and loaded the new without a hitch. Much appreciated!
Alfa1
09-10-2010, 07:15 PM
Read FAQ 13 ;)
I did. It's a bit ambiguous. Basically it says that I might not need it but many prefer it to vbCMS. I wondered if there is a reason why many prefer it.
I assume not then.
Logician
09-10-2010, 07:33 PM
I did. It's a bit ambiguous. Basically it says that I might not need it but many prefer it to vbCMS. I wondered if there is a reason why many prefer it.
I assume not then.
It does not say many prefers it, it says I prefer it and many uses it.
The reason many uses it is because this hack is around since 2002 when vb didn't have a cms by then. So many people built and developed their sites around webtemplates for years (see sample sites in the first post) and they want to keep their pages as is without a need to migrate over to vb cms.
The reason I prefer it is because IMHO it is more simple to use and it is free.
It will be easier for you to decide if you like it or not, if you install it. It is free and takes 10 mins. to install and if you don't like you can just uninstall. So trying yourself and have your own opinion can be more helpful than trying to understand others' opinions. :)
midnz
09-10-2010, 09:38 PM
The reason many uses it is because this hack is around since 2002 when vb didn't have a cms by then. So many people built and developed their sites around webtemplates for years (see sample sites in the first post) and they want to keep their pages as is without a need to migrate over to vb cms.
I'm one of those who has used this hack for a few years now. I'm so glad that it's updated for vB4. I've really missed it. Although I've got the publishing suite I've disabled the CMS because in my opinion it's terribly user unfriendly and should be flushed where it belongs.
Thanks for the update Logician :). Installed, voted & nominated.
8thos
09-11-2010, 10:55 PM
I wish I saw this BEFORE I bought VB4 Publishing Suite.
bjarne2
09-12-2010, 01:58 PM
The sparks really well this program, but using other than standard navbar will link in navbar forgotten eg. Wolf Navbar 4.6 does not work with this program but Wolf works with others as Garage and VbGallery.
It appears that the program includes navbar at a slightly different way than others.
bjarne2
09-12-2010, 02:27 PM
Have found that are using many styleshet instead additional.css now used to provide extra styles in what I have done.
Since it was put into the Basic Default Theme, it seems like it should :D
morrow
09-15-2010, 12:15 AM
Apparently your overwrite didn't go well and you are still running old "view.php". The error about line 59 exists in old view.php, not in new view.php. Please make sure you have successfully overwrote the files. Deleting them first and then reuploding can help.
I'm sorry to say that I've deleted the view.php and uploaded the one provided in the zip. I'm still receiving this error.
Logician
09-15-2010, 04:38 AM
I'm sorry to say that I've deleted the view.php and uploaded the one provided in the zip. I'm still receiving this error.
Please give me FTP and admin cp access with PM and I'll check. But it really sounds like it is somehow about old view.php's being used. The error message points that because new view.php does not have this command in that line.
subvertbeats
09-15-2010, 02:51 PM
Hey Logician
Im about to move to vB4 from vB 3.8
On the 3.8 instance, I use webtemplates for a 'subsite'
After migration of my vB 3.8 to vB 4, is it as simple as just installing this vB4 version of webte,plates and everything should still function with the subsite?
Many thanks
subvertbeats
09-15-2010, 02:53 PM
Nevermind - found the readme - my bad :)
euantor
09-15-2010, 06:23 PM
I'm so impressed by this mod, that I felt I had to come and say thanks.
Thanks to this mod, I have integrated a script that I made a long time ago with my vbuleltin install. Before, they were two separate things, but I can now call user information from vbulletin and everything. For this, thanks.
Here's what I've made so far - and I aim to bring my other scripts of the same ilk over to your plugin too!
http://www.360elites.net/forums/view.php?pg=xblstats (main area users get stats pulled using profile details)
http://www.360elites.net/forums/view.php?pg=xblstats&gamertag=etorano (example display)
Once again, thanks!
dartho
09-17-2010, 10:53 AM
I receive an error:
Deprecated: Assigning the return value of new by reference is deprecated in .../public/includes/wt_class_core.php on line 305
Deprecated: Assigning the return value of new by reference is deprecated in .../includes/wt_class_core.php on line 329
Those lines both contain
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
removing the ampersand removes the error. This site is using PHP 5.3.1
dartho
09-23-2010, 11:53 AM
Hi Logician,
I am trying to use webtemplates to add pages to a custom navbar tab. Looking at vb,it seems the highlighting of the current navbar tab is based on a define. However, I think that the hook where this is usually (process_tremplates_complete) may occur before a webtemplate gets evaluated.
My navbar link code is:
Plugin PHP Code
if (defined('myProduct'))
{
$vbulletin->options['selectednavtab'] = 'myProduct';
}
$template_hook['navtab_middle'] .= vB_Template::create('myProduct_navbar_link')->render();
I am creating a PHP webtemplate which incliudes the line
define ('myProduct','myProduct');
but it keeps defaulting back to teh "Forum" tab. ideas or direction will be much appreciated
I'm not a coder by trade, or many other measures for that matter, so please speak s l o w l y :)
Thanks
Logician
09-27-2010, 01:56 PM
Hi Logician,
I am trying to use webtemplates to add pages to a custom navbar tab. Looking at vb,it seems the highlighting of the current navbar tab is based on a define. However, I think that the hook where this is usually (process_tremplates_complete) may occur before a webtemplate gets evaluated.
My navbar link code is:
Plugin PHP Code
if (defined('rutipping'))
{
$vbulletin->options['selectednavtab'] = 'myProduct';
}
$template_hook['navtab_middle'] .= vB_Template::create('myProduct_navbar_link')->render();
I am creating a PHP webtemplate which incliudes the line
define ('myProduct','myProduct');but it keeps defaulting back to teh "Forum" tab. ideas or direction will be much appreciated
I'm not a coder by trade, or many other measures for that matter, so please speak s l o w l y :)
Thanks
I'm not sure if I understand your request. Can you please eloborate? Or better give me a sample URL and code to show your goal? :)
dartho
09-29-2010, 08:46 AM
Thanks for your help. Moving the navtab code out of a plugin and into the PHP webtemplate itself was the way to resolve this
Paul M
10-01-2010, 08:02 PM
Nice to see this out for vb4.
Kevlar21
10-02-2010, 06:32 AM
Very good!
But I have some questions..
the url shows up as:
http://www.xxxxxx.com/forums/view.php?pg=test
is it possible to show it as
http://www.xxxxxx.com/view.php?pg=test
or just
http://www.xxxxxx.com/test
??
Also, I want to know how to change the font colour of this section:
"Page Visitors: 124, Last Visitor was Webmaster at Today - 07:29 AM.
Page Created at 02-14-2005 - 09:00 AM, Last Modified : Never.Edit This Page "
As the font color is the same as the background.
Please help, thanks!
Logician
10-02-2010, 07:00 AM
http://www.xxxxxx.com/view.php?pg=test
See post installation FAQ 3 and pre installation faq 7
http://www.xxxxxx.com/test
For SEO urls, see manuel section IV
Also, I want to know how to change the font colour of this section:
You can edit in webtemplate theme "Default Basic Theme" (or in other themes if you use another)
Kevlar21
10-02-2010, 11:12 AM
Wow thanks for the fast reply..
I found the code:
<vb:if condition="$bbuserinfo[usergroupid]==6">Page Visitors: <b>{vb:raw count}</b>, Last Visitor was {vb:raw WT.lastvisitorname} at {vb:raw WT.lastvisitdate}.<br>
Page Created at <b>{vb:raw creationdate}</b>, Last Modified : <b>{vb:raw lasteditdate}</b>.</vb:if>{vb:raw WT_Editor_link}
</div>
</vb:if>
But how and where do I add the code to change it to, lets say white?
I tried to add html but it doesnt work.
Hope you can help
Thanks.
Logician
10-02-2010, 01:40 PM
Wow thanks for the fast reply..
I found the code:
<vb:if condition="$bbuserinfo[usergroupid]==6">Page Visitors: <b>{vb:raw count}</b>, Last Visitor was {vb:raw WT.lastvisitorname} at {vb:raw WT.lastvisitdate}.<br>
Page Created at <b>{vb:raw creationdate}</b>, Last Modified : <b>{vb:raw lasteditdate}</b>.</vb:if>{vb:raw WT_Editor_link}
</div>
</vb:if>But how and where do I add the code to change it to, lets say white?
I tried to add html but it doesnt work.
Hope you can help
Thanks.
Doesn't it work when you make it like:
<font color=red>Page Visitors:</font>
Ramsesx
10-02-2010, 01:48 PM
Fantastic work as always Logician, thank you.
Kevlar21
10-03-2010, 05:18 AM
Doesn't it work when you make it like:
<font color=red>Page Visitors:</font>
Thanks again!!
works great!
Gn_Snake
10-06-2010, 11:01 AM
Hello everyone,
I'd like to integrate this script in php WebTemplate but unfortunately I can not do it?
Can anyone help me?
<?php
if(isset($_REQUEST['idf']))$idf=$_REQUEST['idf'];
else die("http://www.xxx.com/forum/?idf=ID");
$conn= mysql_connect('host','user','pass');
if(!$conn)die(mysql_error($conn));
$ris=mysql_select_db("dbnam",$conn);
if(!$ris)die(mysql_error());
?>
<html>
<head>
<title>Lista Automatica vBulletin</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<center>
<h1>Lista Automatica</h1>
<a href="#0">0</a> <a href="#1">1</a> <a href="#2">2</a> <a href="#3">3</a> <a href="#4">4</a>
<a href="#5">5</a> <a href="#6">6</a> <a href="#7">7</a> <a href="#8">8</a> <a href="#9">9</a>
<a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a>
<a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a> <a href="#I">I</a> <a href="#J">J</a>
<a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a>
<a href="#P">P</a> <a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a>
<a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a> <a href="#Y">Y</a>
<a href="#Z">Z</a> <a href="#TOP"></a>
</center>
<?php
$msg="select * from vb_thread where forumid=$idf and sticky=0 ORDER BY title ASC";
$query= mysql_query($msg);
if (!$query)die(mysql_error());
$l="";
while($riga= mysql_fetch_assoc($query)){
if(strcasecmp($l,substr($riga['title'],0,1))!=0){
$l=substr($riga['title'],0,1);
?>
<br>
<a name="<?php echo strtoupper ($l) ?>"><?php
echo strtoupper("<font color='#4b4b4b' size='5'><strong>$l</strong></font>");
echo " <a href='#TOP'><img src='top.gif' border='0'></a>";
echo "<br>";
echo "<br>";
}
?></a>
<a href="showthread.php?<?php echo $riga['threadid']."-".$riga['title'] ?>" target="_blank"><?php echo $riga['title']?></a>
<br />
<?php } ?>
Thanks for all! :up:
Logician
10-06-2010, 11:22 AM
Hello everyone,
I'd like to integrate this script in php WebTemplate but unfortunately I can not do it?
Do you want the integration so that you can run the script with vb header/footer?
I guess you can do it with iframe. Create a webtemplate similiar to default webtemplate theme and then in the content section run your script via iframe like:
<iframe src ="http://domain.com/yourscript.php" width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
WT will give you vb header/footer and your script will run independently in the middle of it via iframe.
Gn_Snake
10-06-2010, 07:18 PM
Logician Thank you so much for your support.
Unfortunately, gives me a blank page, I think the problem is in the configuration of this part of the script:
<?php
if(isset($_REQUEST['idf']))$idf=$_REQUEST['idf'];
else die("http://www.xxx.com/forum/?idf=ID");
$conn= mysql_connect('host','user','pass');
if(!$conn)die(mysql_error($conn));
$ris=mysql_select_db("dbnam",$conn);
if(!$ris)die(mysql_error());
?>
This script is used as an external file returns the index of all the threads present in the ID forum.
It works very well but I would like to integrate it with vb
Logician
10-06-2010, 07:30 PM
Blanks screen usually means there is a PHP error in your code and server is repressing it. If you run the script (get blank page again) and then go check your error log file, you should be able to see the error message which should give you a hint to fix the problem to your external script.
As you know in iframe method your external script does not deal with other scripts running outside iframe so I don't think there is a confliction with webtemplates, it sounds like a problem on your script end.
Gn_Snake
10-06-2010, 09:37 PM
Strange because the script works, you can see how it works at this link:
http://www.test.xx/forum/test.php?idf=XX
I can not understand how to integrate it into your product?!:confused:
Drago13
10-17-2010, 04:41 AM
Best MOD ever. I am having this problem, I have a custom skin, its 1180 wide fixed, but my web template pages are 1280 , any ideas how I can fix this..
https://vborg.vbsupport.ru/external/2010/10/25.png
https://vborg.vbsupport.ru/external/2010/10/26.png
Logician
10-17-2010, 07:16 AM
Best MOD ever. I am having this problem, I have a custom skin, its 1180 wide fixed, but my web template pages are 1280 , any ideas how I can fix this..
https://vborg.vbsupport.ru/external/2010/10/25.png
https://vborg.vbsupport.ru/external/2010/10/26.png
Please give urls so that I can see source code.
Gn_Snake
10-17-2010, 03:45 PM
Ok I managed to integrate the php script in WebTemplate.
But I had to use the command <iframe>, I wonder if it can be dangerous malware attacks on the site?
<iframe src="http://www.hardwaregame.it/forum/xxxx.php?idf=XX" width="100%" height="2000" framespacing="0" frameborder="0" border="no">
Contenuto alternativo per i browser che non leggono gli iframe.
</iframe>
Thanks
Logician
10-17-2010, 04:16 PM
Ok I managed to integrate the php script in WebTemplate.
But I had to use the command <iframe>, I wonder if it can be dangerous malware attacks on the site?
<iframe src="http://www.hardwaregame.it/forum/xxxx.php?idf=XX" width="100%" height="2000" framespacing="0" frameborder="0" border="no">
Contenuto alternativo per i browser che non leggono gli iframe.
</iframe>Thanks
An iframe is dangerous when you allow other people to use it without your control (eg with a bbtag inside vb posts) because they can redirect visitors to malicious sites. It is not dangerous when you provide the content.
Gn_Snake
10-17-2010, 05:59 PM
An iframe is dangerous when you allow other people to use it without your control (eg with a bbtag inside vb posts) because they can redirect visitors to malicious sites. It is not dangerous when you provide the content.
Logician Thanks for your reply.
So it is not dangerous if you link a iframe inside the php file?
Drago13
10-18-2010, 03:10 AM
Please give urls so that I can see source code.
Sorry I guess the address would have helped.. LOL.. It was late when i posted.. Here it is : www.HODClan.com , and thank you for your quick response.. :D
Logician
10-18-2010, 07:23 AM
Logician Thanks for your reply.
So it is not dangerous if you link a iframe inside the php file?
If what you linked is also in your site (control), no.
Logician
10-18-2010, 07:25 AM
Sorry I guess the address would have helped.. LOL.. It was late when i posted.. Here it is : www.HODClan.com (http://www.HODClan.com) , and thank you for your quick response.. :D
There is no problem in test webtemplate:
http://www.hodclan.com/view.php?pg=test
So if another webtemplate you created is going beyond page width, make sure its content is not expanding it.
InfoNirvana
10-26-2010, 11:58 PM
Thumbs up for this Mod making it to vB4.
It almost makes vBulletin useful again.
caciocode
10-28-2010, 01:51 PM
I think Vbulletin already has this capability. There is an option which allows you to create static pages. Unless I am missing something about the mod that it offers something else different.
dartho
10-28-2010, 09:48 PM
Unless I am missing something
Correct :up:
Logician
10-29-2010, 07:56 AM
I think Vbulletin already has this capability. There is an option which allows you to create static pages. Unless I am missing something about the mod that it offers something else different.
What you are missing is to read FAQ item 13 (which is also quoted in the first post of the thread) :)
wisemasterchief
10-30-2010, 05:48 AM
This is a MUST HAVE for every vBulletin webmaster. OMG! I am looking for developer website... I gladly sent in my donation!!!!
peace
thebucky84
11-13-2010, 06:41 PM
im not seeing the "Logician's WebTemplates" on the left menu. Whats going on?
thebucky84
11-14-2010, 01:30 AM
anybody?
Logician
11-14-2010, 06:45 AM
im not seeing the "Logician's WebTemplates" on the left menu. Whats going on?
Make sure you followed installation instruction step 2 correctly.
You can try to uninstall and then reinstall.
Logician, Thank you!
I wasn't going to upgrade to VB4 unless this mod was ported over to the new VB, as I can't stand the new CMS... You've made my life so much easier!
Nephalim
11-17-2010, 12:20 PM
Hi, does anyone have a pre-built webtemplates template that looks similar to vbulletin cms? With the youtube video block?
Thank you much:D
K4GAP
11-17-2010, 09:36 PM
Does this mod in any way diminish the suites cms?
Dugchugger
11-21-2010, 05:29 AM
I'm using the CMS, but I want to use the webtemplates I created back in 3.7/8 so I'm still using this. LOVE this hack. Great work!
That being said, I'm having a complete DUH moment and for some reason some of the style code is not working in my templates. The [b] shows up for bolding, but I have list I want to post and it's not showing up in bulleted format. The code I'm using is:
[ LIST ]
[ * ]Item 1
[ * ]Item 2
[ * ]Item 3
[ /LIST ]
Can someone point me in the right direction as to what I may be doing wrong?
Edit: Just wanted to add that I have tried parsing it in HTML as well as TEXT, but the list just won't show up.
neverstop
11-26-2010, 02:38 AM
Its seems that the {vb:raw headinclude_bottom} variable does not work in the themes. Any idea why?
Dugchugger
11-27-2010, 11:58 PM
Sad to say that I have to remove WebTemplates as I can't get the formatting to work and need to get some documents online as soon as possible. It's been a week now and I need to get moving on this. I still recommend this hack to others and may use it again in the future when I have more time to investigate the formatting issues.
fxbattleground
12-01-2010, 05:48 PM
Hi,
I'm using VBulletin as a member's only site, and don't allow guests/unregistered anywhere on the site.
I am trying to use WebTemplates to create a visitor landing page where they can take a tour of what is available inside the site - I see where to disallow, but how can i make an exception on this one page only?
Sorry so newby,
But, hey - I got it installed, and even did Step 3, LOL
Thanks for any help,
Mike.
Logician
12-02-2010, 06:26 AM
I am trying to use WebTemplates to create a visitor landing page where they can take a tour of what is available inside the site - I see where to disallow, but how can i make an exception on this one page only?
By default your webtemplate will be visible to all (including guests) unless you specifically ban them from that webtemplate in webtemplate options.
However the problem with your situation is that, webtemplates inherit your general vbulletin permissions so if you disallowed guests in there, vbulletin will stop them before webtemplate hack has a say about the issue. ;)
So the solution would be your changing vb permissions for guests and allow them to access "forum in general" but not threads or forums in particular. In other words, in edit usergroup options for guests permission "Can View Forum" should be set to yes but then you can set all other permissions as no according to your needs (eg. Can "View Thread Content" permission in usergroup options or ANY permissions in any particular forum under forum permissions page)
Logician
12-02-2010, 06:31 AM
Its seems that the {vb:raw headinclude_bottom} variable does not work in the themes. Any idea why?
Edit "view.php", find this line:
$templater->register('WTlogging_list_name', $WTlogging_list_name);
And replace it AS:
$templater->register('WTlogging_list_name', $WTlogging_list_name);
$templater->register('headinclude_bottom', $headinclude_bottom);
There are 3 instances of this so please make sure you changed all.
This should fix it.
Logician
12-02-2010, 06:32 AM
Does this mod in any way diminish the suites cms?
Nope. It does not interfere with vb cms at all.
Storyteller69
12-06-2010, 04:22 AM
Hello,
after upgrading to vB 4.1.0 the style for the options like "Count Page Visitors" and "Display Page Browsers" also for the variables "adminpanel" and "nowbrowsing" is broken. Is there a way to fix this?
Thanks in advance
Storyteller
Logician
12-06-2010, 07:22 AM
Hello,
after upgrading to vB 4.1.0 the style for the options like "Count Page Visitors" and "Display Page Browsers" also for the variables "adminpanel" and "nowbrowsing" is broken. Is there a way to fix this?
Thanks in advance
Storyteller
Uninstall the product and then install it back by ONLY APPLYING installation STEP 2. (Your custom webtemplates will be preserved)
Storyteller69
12-06-2010, 09:13 AM
I just uninstalled and than installed it new but no changes.
Maybe I should be more specific. The Data and also the collapse-buttons are displayed fine. But there are no heads and borders of the boxes/containers(?).
Logician
12-06-2010, 09:40 AM
I just uninstalled and than installed it new but no changes.
Maybe I should be more specific. The Data and also the collapse-buttons are displayed fine. But there are no heads and borders of the boxes/containers(?).
Can I see an example?
Storyteller69
12-06-2010, 10:03 AM
Send you a Link.
Logician
12-06-2010, 04:43 PM
Hello,
after upgrading to vB 4.1.0 the style for the options like "Count Page Visitors" and "Display Page Browsers" also for the variables "adminpanel" and "nowbrowsing" is broken. Is there a way to fix this?
Thanks in advance
Storyteller
seems 4.1.0 has some style changes. Please replace these 2 templates like this:
WebTemplates_NowBrowsing
<div class="collapse">
<a class="collapse" id="collapse_wt_wol" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
<h4 class="blockhead">
{vb:rawphrase page_information}
</h4>
</div>
<div id="wt_wol" class="forum_info_block blockbody formcontrols">
<h5>{vb:rawphrase users_browsing_this_thread}</h5>
<div>
<p>{vb:rawphrase CurrentlyActiveUsers} : {vb:raw totalonline} (<span class="normal"><strong>{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}})</strong></span></p>
<ol class="commalist">
{vb:raw activeusers}
</ol>
</div>
</div>
WebTemplates_AdminPanel
<div class="collapse">
<a class="collapse" id="collapse_wt_admin" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
<h4 class="blockhead">{vb:rawphrase WT_WebTemplateQuick}
- [CMS by <a href="https://vborg.vbsupport.ru/member.php?u=2355" target='_blank'>Logician</a>]</h4>
</div>
<div id="wt_admin" class="forum_info_block blockbody formcontrols">
<div>
<p>
{vb:raw WT.draftWarning} {vb:rawphrase WebTemplate} : <b>{vb:raw WT.title}</b>
| {vb:rawphrase WT_Created} : {vb:raw WT.creationdate}
| {vb:rawphrase WT_LastEdited} : {vb:raw WT.lasteditinfo}<br>
{vb:rawphrase WT_Visitors} : <b>{vb:raw WT.pagecount}</b>,
{vb:rawphrase WT_LastVisitedby}<br>
{vb:rawphrase WT_Parsing} : {vb:raw WT.doactionON} | {vb:rawphrase WT_Theme} : {vb:raw WT.themeON}<br>
{vb:rawphrase WT_WebQuery} : {vb:raw WT.webqueriesON}<br>
{vb:rawphrase WT_Draft} : {vb:raw WT.draftON}, {vb:rawphrase WT_CountVisitors} : {vb:raw WT.countvisitorsON}, {vb:rawphrase WT_ShowBrowsers} : {vb:raw WT.showbrowsersON}
</p>
<p>{vb:raw WTpermission_list_name} {vb:raw banned_permitted_usergroupnames} {vb:raw banned_permitted_userids}<br />
{vb:raw WTlogging_list_name} {vb:raw WT_loggedusers}</p>
<vb:if condition="!$bagis">
<p>[<a href='{vb:raw vboptions.bburl}/editors.php?do=donate' target='_Blank'>Donate for WebTemplates Project</a>] </p>
</vb:if>
</div>
</div>
Storyteller69
12-06-2010, 06:59 PM
Many Thanks :)
Storyteller
RollaJedi
12-07-2010, 03:49 PM
i am trying to copy and paste my html code (which is really, really long) into the box. I can paste it there, but once it does, the whole browser freezes and never comes back. Is this something you might know about?
Thanks
Logician
12-07-2010, 04:19 PM
i am trying to copy and paste my html code (which is really, really long) into the box. I can paste it there, but once it does, the whole browser freezes and never comes back. Is this something you might know about?
Thanks
If it is too long, browser or server might not be handling it. Try to paste the same into a vb forum post and see if it reacts same way. If it also freeze in a vb post, it is not about the hack.
RollaJedi
12-07-2010, 06:29 PM
Thanks for the tip! yes, it was not the webtemplates mod. It is something else i guess. I have over 19,000 lines of html code. :P
Antidepresiv
12-15-2010, 10:45 PM
Hello Logician, and thank you for this great hack! However i have a problem, here is my forum link (http://rgc.2ultimate.com/forum/view.php?pg=aboutus) . It's messing my header and footer pretty bad, can you help me with this, it would be realy appreciated. thank you again.
Best Regards,
Antidepresiv
Logician
12-16-2010, 11:04 AM
Hello Logician, and thank you for this great hack! However i have a problem, here is my forum link (http://rgc.2ultimate.com/forum/view.php?pg=aboutus) . It's messing my header and footer pretty bad, can you help me with this, it would be realy appreciated. thank you again.
By default vbulletin has header related CSS/styling code only in header template and footer related code only in footer template. By this way other applications like webtemplates which wants to use vb header and footer can do so by inheriting these templates. However some designers might put some their styling codes in other vb templates too and in this scenario it is not possible for other applications but vb to render them correctly. As a matter of fact this kind of designing is a bad practise as structurally header/footer styling should only be done in header/footer templates as they are intended to. Therefore unfortunately the designer who did your custom design needs to fix this problem, it is not possible for me to fix it in WT end.
Antidepresiv
12-16-2010, 03:27 PM
Thank you again dude, i will figure smtin out with the designer.. ;)
Antidepresiv
12-18-2010, 04:35 PM
Hello again Logician, and sry for bothering you again with this.. I talked to my designer, and he said folowing to me..
"vBulletin stores all CSS in external CSS files, not inside the header template. It then references these files in the headinclude and headinclude_bottom templates. We store our CSS in external files, just like vBulletin. It sounds like your plugin isn't including the headinclude_bottom template, which is where we reference our CSS files. This can be fixed by either moving the reference to our files from headinclude_bottom to headinclude, or by fixing the plug-in so it includes the headinclude_bottom. This is a mistake in the plug-in, not a mistake in our skin or bad practise. "
Could you help me out with this, i would rly like to make you'r product work, thnak you again..
Regards,
Antidepresiv
patsalko
01-03-2011, 04:45 PM
I had an old version of this hack on Vb 3.8x and it worked fine.
I upgraded to vb 4.0.8 and uninstalled the hack, then re-installed the new version of the hack and now it does not work.
I created a very simple HTML template but when I click on it, it does not display anything, except the header and footer.
Any ideas?
Logician
01-03-2011, 05:13 PM
This can be fixed by either moving the reference to our files from headinclude_bottom to headinclude, or by fixing the plug-in so it includes the headinclude_bottom.
So it seems that if you move the style code in header_bottom to your headinclude template it should work. Have you tried that?
Logician
01-03-2011, 05:15 PM
I had an old version of this hack on Vb 3.8x and it worked fine.
I upgraded to vb 4.0.8 and uninstalled the hack, then re-installed the new version of the hack and now it does not work.
I created a very simple HTML template but when I click on it, it does not display anything, except the header and footer.
Any ideas?
Does test webtemplate work fine? If no, please pm me access to your site and let me check (I'd need FTP access, phpmyadmin access and vb admin cp access). If test webtemplate works fine but not your custom webtemplate, then it should be related to your code in your custom WT.
Antidepresiv
01-04-2011, 10:52 AM
Hello Logician, and thanks for the reply, im not sure what part of code should i move ? Can you help me with this one ? I would rly want to get this product working.. Thanks again..
Logician
01-04-2011, 12:56 PM
Hello Logician, and thanks for the reply, im not sure what part of code should i move ? Can you help me with this one ? I would rly want to get this product working.. Thanks again..
Edit template named "headinclude_bottom" and copy everything in it except this part:
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}additional.css" />
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}replacement-vbulletin-ie.css" />
<![endif]-->
{vb:raw template_hook.headinclude_bottom_css}
Then paste copied content into headinclude template.
Antidepresiv
01-04-2011, 04:42 PM
Thanks Logician, but, my headinclude_bottom had only 2 lines of code in it, so i copy-pasted them into my headinclude template, and now it works like a charm!!! xD Thank you Logician.. :)
Best Regards,
Antidepresiv!
mmacrypt
01-12-2011, 03:49 AM
Thank you for this mod, I just now installed it, went smooth and I didn't skip step 3.
I run an MMA site, my over all goal is to be able to bridge fighters Wiki pages into my site. I don't know if Iframes is the way I want to do it or not. I'm just now jumping in to be honest. I had messed with a Wiki mod but it seems like a dead mod to be honest so I dropped it and I'm moving to this. The biggest issue I see is that I want my side to be updated when people update the Wiki side. I don't know HTML all that well so I don't know if what I'm trying is really easy or impossible but that's why I'm here. I read through this thread and that's where I picked up Iframes. If you think there is a better way to do it than Iframes, please let me know cause that's the direction I'll be heading. Again, thanks for this mod as I'm just getting started.
Brian with MMACrypt.com
Andey91
01-19-2011, 02:27 PM
Hi Logician, and thank you for making this hack!
I think i have the same problem as "Antidepresiv" had. The header and footer are messed up and im wondering if I have to talk to the designer or do you have any solutions?
Link: http://www.mw2.no/view.php?pg=test&langid=1
Thanks again.
Logician
01-19-2011, 03:03 PM
Hi Logician, and thank you for making this hack!
I think i have the same problem as "Antidepresiv" had. The header and footer are messed up and im wondering if I have to talk to the designer or do you have any solutions?
Link: http://www.mw2.no/view.php?pg=test&langid=1
Thanks again.
Please first try to apply the solution in post 92 and if it does not work then try talking to designer.
Andey91
01-19-2011, 04:11 PM
It worked! Thank you so much!:)
KeystoneAirsoft
02-20-2011, 11:57 PM
Hi,
Came across this mod the other day and have installed it on my site, but I am having a couple of issues I can't seem to remedy and am seeking some help with the issues plus I am seeking some help on a question I have.
Issues first:
1) When I go into admincp/settings/options I select the edit usergroup as 6 which is admin and then I go into Logician's Webtemplates/Webtemplates and edit say for instance info_aboutus and check the Administrator box and even enter my username in the editor permissions settings and then save it. Well when I click the "visit" link I see nothing at the bottom of the template to edit that actual page. This is for pretty much every page I have set the settings on. The only page I can edit is the "priv_privatemessages" page. I am viewing these pages as Administrator.
2) At the bottom of the view pages there is a link linked to "Logging" if I click that link I am brought to a message stating "you do not have permission to access this page. This could be due to one of several reasons:" and lists the reasons which is a standard message from vBulletin. Should this be doing this since I am Administrator?
Question:
I like the 2 Column layout and want to really use it for the site but have 2 boxes on the left one for the site policies, about us, etc and another box for Site Membership Information. My question is how can I add another block below the default one "Site Help Pages"? I hae looked at the code but I am kinda lost on this.
Your help would be greatly appreciated.
Thanks much in advance.
Logician
02-21-2011, 06:48 AM
Came across this mod the other day and have installed it on my site, but I am having a couple of issues I can't seem to remedy and am seeking some help with the issues plus I am seeking some help on a question I have.
Can't you see edit this page link in default webtemplates like "test"? It is next to "Page Created at ...." line at the bottom right above" WebTemplate Quick Info Panel for Admins".
If you can't please edit the webtemplate theme that webtemplates is using (or webtemplate itself if it is not using a theme) and make sure it has this line somewhere:
{vb:raw WT_Editor_link}
Both your complaint 1 and 2 can be because your primary usergroup is not administrator. Please make sure your primary usergroup is administrator, not your secondary usergroup.
Regarding item 3:
Edit webtemplate THEME site information pages and add this code:
<div class="block" id="foldercontrols">
<div class="blockhead">
<h2>Site Help Pages</h2>
</div>
<div class="blockbody settings_form_border">
<ul class="blockrow">
{vb:raw WQ_siteinformationitems}
</ul>
</div>
</div>
before {vb:raw nowbrowsing}
KeystoneAirsoft
02-22-2011, 02:14 AM
Hi Logician,
Thanks for your prompt reply.
There are only 5 pages I can see the "Edit" link. test, test_pagination, priv_privatemessages, test2 and wtlist. From what I am gathering from looking at the ones I see it in and the ones I don't it is basically only the info_*.* pages I am not seeing it in which uses the "webtemplate THEME site information pages" After searching that THEME the "{vb:raw WT_Editor_link}" was not in there so I added it right above the line. <div class="blockfoot floatcontainer">
<a href='sendmessage.php'>Still Have A Question?</a>
Now it works great. ;)
I didn't think I changed my primary usergroup but I guess I did, lol. Sorry thats corrected and that works great.
Code you supplied worked great too, thank you very much for sharing.
Thank you very much for your help and this great mod.
Phaedrus
03-26-2011, 05:31 PM
Does this work with 4.1.2?
Yes, this works in 4.1.2. It works just fine. :D
hugh_
04-08-2011, 03:53 AM
Hi,
I just upgraded from vbulletin 3.8.5 to 4.1.3 and the latest release of your mod but when I try to access the templates all I get is an empty template page with just a title (see attached). What have I done wrong?
Thanks...
Hugh
Logician
04-08-2011, 09:45 AM
I just upgraded from vbulletin 3.8.5 to 4.1.3 and the latest release of your mod but when I try to access the templates all I get is an empty template page with just a title (see attached). What have I done wrong?
Have you followed these steps correctly:
UPGRADE FROM VERSION 3.x.TXT
Just follow "FIRST TIME INSTALLATION README.TXT" to install WebTemplates 4.x.
In STEP 3, make sure "Overwrite?" checkbox is MARKED while importing default webtemplates and webqueries. This will make sure you keep your custom webtemplates and webqueries but defaults are overwritten.
Please remember that your old webtemplates and webqueries might require tweaking before working in 4.x version. This is not about hack itself, it happens because vb styling system has been completely changed in 4.x version so your 3.x tags might not work in vbulletin 4.x. So if you get some "unexpected look" in some of your old webtemplates, please edit them and make sure they use vbulletin 4.x's styling tags.
FROM: FIRST TIME INSTALLATION README.TXT
STEP 3- Close your browser, reopen it, relogin to your admin cp and you should to see "Logician's WebTemplates" in the left menu, expand it and click "Export/Import", then "Upload Webtemplate .XML File", point the file named "webtemplate_export.xml".
(There are 2 XML files, please make sure you import the file named "webtemplate_export.xml"!)
(This step is to upload default webtemplates and webqueries to your webtemplate system)
(Many people are missing step 3 above while installing the hack so please make sure you didn't!) :)
At this point I can suggest, removing all default webtemplates (and themese) from your installation and then apply step 3 again.
hugh_
04-08-2011, 01:06 PM
I hadn't uploaded the second xml file but the problem was with the default themes I'd created...
Logician
04-08-2011, 01:37 PM
I hadn't uploaded the second xml file but the problem was with the default themes I'd created...
If you didn't uploaded second xml, this means your installation does not have vb4 webtemplates themese so you are viewing your webtemplates with your old 3.x themes and templates, hence having the problem.
Please remove your old webtemplate themes, upload new themes as described in step 3 and retry.
BF777
04-13-2011, 03:20 PM
I just installed this hack. Good stuff.
For my site, I just need this to create simple pages with information. I don't care much for the user stats. Therefore, how do I create a simple page that inherits my header/footer template without all that user stat info? I'd like to create pages similar to this page.
http://www.theadminzone.com/forums/view.php?pg=aboutus
BF777
04-13-2011, 05:19 PM
Also, for my Custom Pages, why won't the title save with the first letter as a capital letter?
Logician
04-14-2011, 07:17 AM
Also, for my Custom Pages, why won't the title save with the first letter as a capital letter?
Your "User Friendly Name" can include a capital letter and it is what user's will see (in other words actual title of the page).
"WebTemplate Name" is a technical key which is used in url so requires all lowercase letters so as not to confuse URLs and browsers
BF777
04-14-2011, 03:13 PM
Ok, I was actually able to figure a few things out. I had to modify some code.
preemz10314
04-30-2011, 12:12 AM
very very enticing, and I am a CMS owner. This has a very clean look to it. Something I was interested in. Tagged. will install. thank you.
preemz10314
04-30-2011, 12:20 PM
So I installed this smoothly but when I get to "Using a Theme?" I do not have any other option other then "No parent template, This is an independent webemplate" I do not have an option to choose my default theme...So it just shows up "as is" not inherting my forum theme...
http://digitalbrass.com/view.php?pg=aboutus
I just do not have anything under "using a theme?" other then "No parent template"....
Please help, thanks alot.
Logician
04-30-2011, 01:01 PM
So I installed this smoothly but when I get to "Using a Theme?" I do not have any other option other then "No parent template, This is an independent webemplate" I do not have an option to choose my default theme...So it just shows up "as is" not inherting my forum theme...
http://digitalbrass.com/view.php?pg=aboutus
I just do not have anything under "using a theme?" other then "No parent template"....
Please help, thanks alot.
You missed STEP 3.
preemz10314
04-30-2011, 01:27 PM
Thanks logician. You were correct. I am pretty sure alot of us are missing step 3 because, we are assuming it just says to upload the .xml and missing the rest... I think it is because our screen settings are cutting off the end of step 3 when viewing in notepad.. and we are just not scrolling all the way over to read. Regardless I did what you said and got it working.
However just one last question and then I wont bother you anymore...I will also donate.
http://www.digitalbrass.com/view.php?pg=aboutdigital is the test page I created. It is throwing off the navbar making it off center.. and moving the header image to the left when it should be center.
as shown here http://digitalbrass.com can you help me correct this? I am willing to PM you login details if you have some time and patience. Regardless
Thanks again.
Logician
05-01-2011, 08:22 AM
Thanks logician. You were correct. I am pretty sure alot of us are missing step 3 because, we are assuming it just says to upload the .xml and missing the rest... I think it is because our screen settings are cutting off the end of step 3 when viewing in notepad.. and we are just not scrolling all the way over to read. Regardless I did what you said and got it working.
However just one last question and then I wont bother you anymore...I will also donate.
http://www.digitalbrass.com/view.php?pg=aboutdigital is the test page I created. It is throwing off the navbar making it off center.. and moving the header image to the left when it should be center.
as shown here http://digitalbrass.com can you help me correct this? I am willing to PM you login details if you have some time and patience. Regardless
Thanks again.
Please pm me admin cp access (admin account you gave to me should have full permissions in admin cp) and let me check.
bilgin61
05-03-2011, 07:48 PM
Teşekkür ederim
SirShaw
05-04-2011, 11:55 PM
First off, great hack! Like many others, this is exactly what I was looking for.
I do however have a small problem.
my stats script for bf2 relies on variables attached to the url. each player has a different url to pull up stats.
for example:
player 44455101 would have a url such as:
http://www.knightsofkarbala.com/view.php?pg=bf2stats&input1=44455101
while player 44572383 would have a url as:
http://www.knightsofkarbala.com/view.php?pg=bf2stats&input1=44572383
ANYWAYS
onto my question here.
In order to get this to function properly, I need to set WebTemplates to PHP mode. The script then works as intended but is missing the vbulletin header and footer. I looked at a post a few pages back here which Logician, you suggested using an iframe. I did this and the script simply just loaded whenever a user inputed his player number/name on the main page. The script didnt grab his data.
I think I can get this to work with the vbulletin header and footer if in WebTemplates we were allowed to use both HTML and PHP at the same time within WebTemplates. I was trying to put the contents of the Default Basic Theme into the Template I was creating with the script code in it but all it outputs is a blank white screen.
If thats not possible, I was then wondering how to export the Default Basic Theme to include it in my script and have it load it that way.
thoughts?
Logician
05-05-2011, 06:58 AM
my stats script for bf2 relies on variables attached to the url. each player has a different url to pull up stats.
You can give it a shot for these 2 methods:
1- Edit view.php, find
$pg = strtolower(trim($vbulletin->GPC['pg']));
after that add:
$vbulletin->input->clean_array_gpc('r', array(
'input1' =>TYPE_INT
));
$input1 = strtolower(trim($vbulletin->GPC['input1']));
This should then allow you to use input1 variable in WT.
2- In php webtemplates, variables for header, footer, headinclude etc. are already compiles so I'd think just echo'ing them should work. Eg.
echo $header;
echo $headinclude;
echo $footer;
(I didn't test myself atm)
SirShaw
05-05-2011, 02:40 PM
2- In php webtemplates, variables for header, footer, headinclude etc. are already compiles so I'd think just echo'ing them should work. Eg.
echo $header;
echo $headinclude;
echo $footer;
(I didn't test myself atm)
perfect! my script now works as intended :D
thanks again!
StudentCreche
06-16-2011, 06:11 AM
Great hack! How do I make the pages more SEO friendly though? Google's not picking them up as well as the other pages... Furthermore, how do I sort my header out? On the other pages the header logo is centralised. However, on the webtemplate pages the header logo is on the left. So for instance...
Normal page: http://www.studentcreche.co.uk/forum.php
Webtemplate page: http://www.studentcreche.co.uk/view.php?pg=periodictable
Logician
06-16-2011, 07:08 AM
Great hack! How do I make the pages more SEO friendly though? Google's not picking them up as well as the other pages... Furthermore, how do I sort my header out? On the other pages the header logo is centralised. However, on the webtemplate pages the header logo is on the left. So for instance...
Normal page: http://www.studentcreche.co.uk/forum.php
Webtemplate page: http://www.studentcreche.co.uk/view.php?pg=periodictable
Please see SEO part of user manual. Yet I'd think that google should pick them well. I don't use SEO urls in my own board, and webtemplate pages ranks very high.
zelnik
06-23-2011, 04:05 PM
Hi Logican.
Hope you're well..
Been using your system for years and since release on vB4...
I have been using the default style since vb4 has been released but now I've installed a new one but every single page created with your product just brings up faulty headers, backgrounds and footers?
What am I doing wrong mate as I know it's not your product.. thanks.
Logician
06-23-2011, 04:38 PM
I have been using the default style since vb4 has been released but now I've installed a new one but every single page created with your product just brings up faulty headers, backgrounds and footers?
Do you see the forum in correct style while webtemplates are in the wrong one? Also what happens when you select the style at the footer of a webtemplate?
Webtemplates uses the default style selection of the user while building pages. If you can't figure out give me admin access and FTP access to your site and I'll check. But in other installations it works fine so I believe it is somehow related to your settings/site/style.
zelnik
06-23-2011, 05:32 PM
Do you see the forum in correct style while webtemplates are in the wrong one? Also what happens when you select the style at the footer of a webtemplate?
Webtemplates uses the default style selection of the user while building pages. If you can't figure out give me admin access and FTP access to your site and I'll check. But in other installations it works fine so I believe it is somehow related to your settings/site/style.
Hi Logician,
Urm, the header is mostly messed up and the background to the body of the templates, nor does the footer.
I seem to remember I had this issue even on the default theme and you fixed it for me as you said it was a one off so I will kindly forward you my admin/ftp details, thank you! :)
zelnik
06-24-2011, 07:23 AM
Hi Logician,
Can you let me know if you got my PM with the login details as I can't remember if I did it what with all the hassle I was under with this new skin and it's not in my sent folder but I'm sure I sent it?
Logician
06-24-2011, 07:50 AM
Hi Logician,
Urm, the header is mostly messed up and the background to the body of the templates, nor does the footer.
I seem to remember I had this issue even on the default theme and you fixed it for me as you said it was a one off so I will kindly forward you my admin/ftp details, thank you! :)
I got your pm, checked the board but couldn't find a hint. 2 things though:
1- Please turn off vbseo for a while and see if this will fix it. I'm a bit suspicious about this one.
2- Check your style's installation instructions and let me know if there is any php code changes or pluggin/product installations there.
zelnik
06-24-2011, 07:55 AM
I got your pm, checked the board but couldn't find a hint. 2 things though:
1- Please turn off vbseo for a while and see if this will fix it. I'm a bit suspicious about this one.
2- Check your style's installation instructions and let me know if there is any php code changes or pluggin/product installations there.
Turned vbseo off and still the same :(
The only instructions are to upload the files and install the xml.. However there is a .css.xml for addons that may not work?
A lot this new style seems to focus around additional.css if that's any help?
Do you want me to upload the css file to my site and pm you the link to it?
Thanks
zelnik
06-24-2011, 08:32 AM
Fixed... For anyone using completevb vb4 styles you will need to install the seperate CSS XML file and it will work fine!
8thos
07-09-2011, 05:41 PM
Members from my site come to me asking if I can create a site for them. I'm too busy to work on other people's sites. Through this modification however, I could basically build a site for them by creating and individual page for them right? Are there any other administrators that use Web Templates this way?
I got the idea just now when I read that you can have custom headers and footers.
I also read that you can put a thread inside web templates? For instance, if you create a forum where guests posts, you can basically put a 'guest book' inside the template?
I have photopost installed on my site. Could I create a widget of a member's photos albums and put them inside the template too?
I was wondering if I should create a wordpress or tell members to create their own word press and some how import it inside the templates. Is that possible?
W
byalik
07-12-2011, 06:55 PM
The plugin doesn't seem to be working well with my template:
http://legalhelp.org/forum/view.php?pg=info_privacy
Can anyone help? I am willing to pay. Please PM me
byalik
07-14-2011, 02:19 AM
Anyone know why the "webtemplate name" is showing up as well as the user friendly name?:
http://legalhelp.org/forum/view.php?pg=info_privacy
byalik
07-14-2011, 05:56 PM
Anyone know the answer to that? Or at least know how to get rid of the webtemplate name from showing up
grey_goose
07-28-2011, 10:52 AM
Very cool mod :)
I created my first page, with a custom theme... but it doesn't seem to be recognizing that I'm logged in when I view it -- at least, not completely. The permissions/display are correct, but the header login reappears. What am I doing wrong?
bjarne2
07-28-2011, 11:52 AM
Anyone know why the "webtemplate name" is showing up as well as the user friendly name?:
http://legalhelp.org/forum/view.php?pg=info_privacy
view.php is not template name, it is the file you call and thereby downloading your name on the template. You can not call info_privacy directly.
view.php. It is possible to set permissions in this system also who may not see.
I'm running even with a huge system which combines both car trade and a member directory in 4.1.4
Everything done by using some Javascript and save outside the system. It works really well.
grey_goose
07-30-2011, 02:41 AM
Very cool mod :)
I created my first page, with a custom theme... but it doesn't seem to be recognizing that I'm logged in when I view it -- at least, not completely. The permissions/display are correct, but the header login reappears. What am I doing wrong?
Fixed!
StudentCreche
08-08-2011, 09:44 PM
So it seems that if you move the style code in header_bottom to your headinclude template it should work. Have you tried that?
Thankyou!!!
halkum
09-25-2011, 09:06 AM
Okay so I'm working on this for a friend. We upgraded from well back on 3.5 VB to the most recent. In doing so his templates seem to exist, but all content (the part you'd see if you hit the edit link) is not showing up at all, despite being there.
I know the templating system changed greatly with the 4.0 framework, but would anybody have an idea to how to fix this? All steps were followed for the upgrade process. At the moment we're working in the default style for VB so that the web template system takes full hold.
It's odd that this upgrade resulted this way while my other site I run is working all fine and dandy with the latest VB and web Templates.
-Spike
Logician
09-25-2011, 03:29 PM
Okay so I'm working on this for a friend. We upgraded from well back on 3.5 VB to the most recent. In doing so his templates seem to exist, but all content (the part you'd see if you hit the edit link) is not showing up at all, despite being there.
I know the templating system changed greatly with the 4.0 framework, but would anybody have an idea to how to fix this? All steps were followed for the upgrade process. At the moment we're working in the default style for VB so that the web template system takes full hold.
It's odd that this upgrade resulted this way while my other site I run is working all fine and dandy with the latest VB and web Templates.
-Spike
Have you followed the instructions in document "UPGRADE FROM VERSION 3.x.TXT"?
halkum
09-25-2011, 07:01 PM
Yep. That's what's odd. Followed them to a 'T'. Overwrite was marked for installing the web templates and query file. So the hundreds of custom made ones in 3.x still exist in full form, just simply are not showing their content, despite it clearly being there.
Example: http://www.thespoils.com/spoils/view.php?pg=tournaments
All content of the template is there (images/side banners), the data that goes in the center white space is there but not showing regardless what's done.
I'm sure I'm missing something but brain dead here.
Absolutely love WebTemplates though. Wish it was in VB from the start :D
SarahScott
09-25-2011, 10:06 PM
It is a wonderful addon. However i pay all my scripts and addons to be brand free.
Because with all the addons i would have like 50 advertisement lines under my page,
that ain't going to happen. I am willing to use this addon, if i have the option to pay
for a brand free version. But since i can't, i have to uninstall it until a solution comes.
I'll never tolerate any advertisement of any kind at my website,
alltho i'm happy to pay you a fee to thank you for creating the mod,
with the return of a brand free version.
My website has been made for charity for good purpose about different things.
Thank you
8thos
09-26-2011, 12:30 AM
Zynga Facebook Games using WebTemplates: https://vborg.vbsupport.ru/showthread.php?p=2250076
halkum
09-26-2011, 05:25 AM
Tried a complete re-upgrade attempt with the templates. Still same issue tho as seen on the tournaments link above. He's got around 200+ existing pages done, all of which are doing the same thing. Otherwise I'd start it from scratch.
Anybody have any ideas to what could cause it?
Logician
09-26-2011, 07:19 AM
Yep. That's what's odd. Followed them to a 'T'. Overwrite was marked for installing the web templates and query file. So the hundreds of custom made ones in 3.x still exist in full form, just simply are not showing their content, despite it clearly being there.
Example: http://www.thespoils.com/spoils/view.php?pg=tournaments
All content of the template is there (images/side banners), the data that goes in the center white space is there but not showing regardless what's done.
I'm sure I'm missing something but brain dead here.
Absolutely love WebTemplates though. Wish it was in VB from the start :D
I believe that this page (pg=tournaments (http://www.thespoils.com/spoils/view.php?pg=tournaments)) is using a custom webtemplate theme and you probably did not edit this theme to comply with vb4.x template syntax.
Please see which theme this webtemplate is using in edit webtemplate page, and then edit this very theme and make sure its HTML syntax is compatible with vb4.x.
I strongly believe this is the problem but let me know if this is not the case (eg. if this webtemplate is not using a theme)
Logician
09-26-2011, 07:22 AM
It is a wonderful addon. However i pay all my scripts and addons to be brand free.
Because with all the addons i would have like 50 advertisement lines under my page,
that ain't going to happen. I am willing to use this addon, if i have the option to pay
for a brand free version. But since i can't, i have to uninstall it until a solution comes.
I'll never tolerate any advertisement of any kind at my website,
alltho i'm happy to pay you a fee to thank you for creating the mod,
with the return of a brand free version.
My website has been made for charity for good purpose about different things.
As a thank you gesture, I provide ALL donators with instructions to remove powered by tagline regardless of the donation amount they made.
halkum
09-26-2011, 08:37 AM
Hmm, you could be right. Let me check on that in the morning :) - I didn't start on this site so haven't a clue what all adjustments were made . I just know it took a LONG time to upgrade them to the current vb4 a few days ago :D
Thanks! - I'll check back later.
SpikedRocker
09-26-2011, 10:08 PM
I'm having some issues using this. I installed this for the first time and worked my way through the instructions without problems. When I went to follow the how to create your first one, it said something about headers and footers, this didn't show on my backend. When completed my script it spit out a blank html page. So I just did a plain php script of print 'Hello World.'; and it just spit that out, no other forum elements or anything, it looks as if my vB stuff is getting lost somewhere. Heres the page of hello world: http://www.tns-gaming.com/forum/view.php?pg=expenses
Any thoughts?
Logician
09-27-2011, 04:37 AM
it said something about headers and footers, this didn't show on my backend.
What exactly did it say?
Lostboyfan
09-27-2011, 07:50 PM
Tagged for later.
SpikedRocker
09-27-2011, 11:16 PM
What exactly did it say?
From the top,
WebTemplate Name
User Friendly Name
Category
Parse Method
Using a Theme?
Template
Search in Template
Display and SEO
-Meta Keywords
-Meta Discription
Page Security
-The stuff that allows me to select usergroups
Misc
-Page Visits
-Logging things
Advanced Features
-WebQueries
-PHP Include
The the date stuff
No where in my template/page creation is the header and footer stuff.
Logician
09-28-2011, 06:43 AM
No where in my template/page creation is the header and footer stuff.
It is ok, 4.x version does not have a special header/footer section, it automatically inherits the active style's header footer for WTs.
SpikedRocker
09-28-2011, 07:46 PM
Ok, one thing I didn't take into account for is vB's CMS. The guy that holds our vB licence wants to use it for another project, we are purchasing our own now. Would testing this on a Suite vB cause errors?
halkum
09-28-2011, 08:11 PM
Hello Logician,
You were spot on. The existing themes ( a ton ) had to be altered into the right format for vb4 from 3. Once that was done, it started to work on those other pages.
Still got CSS issues, and the forum isn't applied to the theme, but those aren't specific to this mod.
Thanks for the assist!
-Spike
Logician
09-29-2011, 05:44 AM
Ok, one thing I didn't take into account for is vB's CMS. The guy that holds our vB licence wants to use it for another project, we are purchasing our own now. Would testing this on a Suite vB cause errors?
vb CMS and Webtemplates are seperate pluggins and they will live fine together provided that you don't try to combine them somehow (eg. try to display a webtemplate inside a CMS page etc.)
brandon515
10-03-2011, 04:52 PM
Thanks for this...worked for me too!
Fixed... For anyone using completevb vb4 styles you will need to install the seperate CSS XML file and it will work fine!
halkum
10-03-2011, 11:16 PM
Logician,
Question for you. With the changes from Vb3 to 4, are there any requirements to get the php code in the php includes section on the bottom of the web templates editor (html template, not php), to call out properly on the page?
Example, $rnd_navbar used to output a php powered navbar using css, but now it's nothing. Php code is still same as it was for VB3.
I've tried the method of registering the variables as described on a KB article here, but no luck.
Curious if you had any suggestions?
halkum
10-06-2011, 11:21 PM
Thought I had it fixed with the well written guide at vbteam but it still wasn't working.
So in a html or txt template, if you have php code in the include (worked in vb3 no issue), and call the variables of the function in the template code itself... it doesn't work. According to VB4 info you have to register these variables first as a template or something.
Anybody have any really helpful information on this? I just have a few pages with custom php code in it for a navigation bar/graphic setup that needs to work on the vb4 templates now. :)
Gamelobby
01-11-2012, 12:52 AM
Seems like this would be a common question, but i dont see it anywhere..
Can you apply a different style to a webtemplate.? (not theme, but style) I see in the first entry in the description it says you can apply permissions, styles, etc but im not sure if that means different from the boards default.
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.
Or would i have to create a new "Theme" to use a different style.?
Jeez, that sounds confusing. lol
Thanks :)
Logician
01-11-2012, 08:37 AM
Seems like this would be a common question, but i dont see it anywhere..
Can you apply a different style to a webtemplate.? (not theme, but style) I see in the first entry in the description it says you can apply permissions, styles, etc but im not sure if that means different from the boards default.
Or would i have to create a new "Theme" to use a different style.?
Jeez, that sounds confusing. lol
Thanks :)
Not really but forcing a webtemplate to use a specific style can be possible by using a code like this in webtemplate's phpinclude section:
$styleid = 8;
$vbulletin->userinfo['styleid'] = $styleid;
$userselect = true;
$style = $db->query_first_slave("
SELECT *
FROM " . TABLE_PREFIX . "style
WHERE styleid = '$styleid'
LIMIT 1
");
$templater = vB_Template::create('headinclude');
$templater->register('foruminfo', $foruminfo);
$templater->register('pagenumber', $pagenumber);
$templater->register('style', $style);
$templater->register('basepath', $vbulletin->input->fetch_basepath());
$headinclude = $templater->render();
$templater = vB_Template::create('header');
$templater->register('ad_location', $ad_location);
$templater->register('pmbox', $pmbox);
$templater->register('notifications_menubits', $notifications_menubits);
$templater->register('notifications_total', $notifications_total);
$templater->register('notices', $notices);
$templater->register('facebook_header', $facebook_header);
$header = $templater->render();
$templater = vB_Template::create('footer');
$templater->register('admincpdir', $admincpdir);
$templater->register('ad_location', $ad_location);
$templater->register('cronimage', $cronimage);
$templater->register('languagechooserbits', $languagechooserbits);
$templater->register('modcpdir', $modcpdir);
$templater->register('quickchooserbits', $quickchooserbits);
$templater->register('template_hook', $template_hook);
$templater->register('facebook_footer', $facebook_footer);
$footer = $templater->render();
I didn't test it, it might require tweaks.
Gamelobby
01-11-2012, 06:38 PM
I'm not the best with "tweaks" lol
But i can add a style id. :)
Where would this code go..?
Logician
01-11-2012, 07:47 PM
I'm not the best with "tweaks" lol
But i can add a style id. :)
Where would this code go..?
PHP Include section of the webtemplate that you want to apply the custom theme.
CappingTheGame
01-12-2012, 08:08 AM
I am getting a blank, white screen in Admin CP when trying to import:
webtemplate_export.xml
Actually, all of the options under that category on the left result in a full, blank white screen. I uploaded and double-checked all files accordingly. Thoughts?
Logician
01-12-2012, 08:46 AM
I am getting a blank, white screen in Admin CP when trying to import:
webtemplate_export.xml
Actually, all of the options under that category on the left result in a full, blank white screen. I uploaded and double-checked all files accordingly. Thoughts?
In product manage, you are importing the file "product-webtemplates.xml" and after hack is installed you are importing "webtemplate_export.xml" in webtemplate import/export section right?
STEP 2- Login Admin CP/Product Manager/Add-Import Product/ -> Tick "Allow Overwrite" and Import the file named "product-webtemplates.xml"
(There are 2 XML files, please make sure you import the file named "product-webtemplates.xml"!)
(This steps installs webtemplates templates, phrases, settings to your vbulletin)
CappingTheGame
01-12-2012, 05:22 PM
That is correct. I made sure I was importing the correct XML file in Admin. First the product-, then the _export.
Just getting a full blank, white screen with no options. Really strange.
CappingTheGame
01-12-2012, 05:24 PM
I can't even get to the Export Import area though on the expand/collapse list. I know I need to upload that file there, but again just a blank white screen for somoe reason.
Any helps appreciated.
CappingTheGame
01-12-2012, 05:29 PM
4.1.9 BTW. Not sure if that matters.
Logician
01-12-2012, 05:42 PM
Is this a fresh install (of webtemplates)? I believe you already tried, uninstalling/reinstalling the product?
If nothing helps, give me admin cp and ftp access to your site and let me check.
CappingTheGame
01-12-2012, 05:47 PM
Yes, fresh install. I did try uninstalling/reinstalling.
PMing you info.
Gamelobby
01-13-2012, 08:54 AM
Not really but forcing a webtemplate to use a specific style can be possible by using a code like this in webtemplate's phpinclude section:
$styleid = 8;
$vbulletin->userinfo['styleid'] = $styleid;
$userselect = true;
$style = $db->query_first_slave("
SELECT *
FROM " . TABLE_PREFIX . "style
WHERE styleid = '$styleid'
LIMIT 1
");
$templater = vB_Template::create('headinclude');
$templater->register('foruminfo', $foruminfo);
$templater->register('pagenumber', $pagenumber);
$templater->register('style', $style);
$templater->register('basepath', $vbulletin->input->fetch_basepath());
$headinclude = $templater->render();
$templater = vB_Template::create('header');
$templater->register('ad_location', $ad_location);
$templater->register('pmbox', $pmbox);
$templater->register('notifications_menubits', $notifications_menubits);
$templater->register('notifications_total', $notifications_total);
$templater->register('notices', $notices);
$templater->register('facebook_header', $facebook_header);
$header = $templater->render();
$templater = vB_Template::create('footer');
$templater->register('admincpdir', $admincpdir);
$templater->register('ad_location', $ad_location);
$templater->register('cronimage', $cronimage);
$templater->register('languagechooserbits', $languagechooserbits);
$templater->register('modcpdir', $modcpdir);
$templater->register('quickchooserbits', $quickchooserbits);
$templater->register('template_hook', $template_hook);
$templater->register('facebook_footer', $facebook_footer);
$footer = $templater->render();
I didn't test it, it might require tweaks.
I'm not the best with "tweaks" lol
But i can add a style id. :)
Where would this code go..?
PHP Include section of the webtemplate that you want to apply the custom theme.
Soooo, It kind of worked.. what tweaks might you suggest..?
Most of it looks good except:
Logo & search button color (both are default skin)
I'm guessing since these are both part of the header, that is what i should be looking for, or to add/change.?
Thanks
Logician
01-13-2012, 09:04 AM
Yes, fresh install. I did try uninstalling/reinstalling.
PMing you info.
Your problem was:
You uploaded wt_wt.php, wt_wq.php, wt_export.php files in your /admincp/ folder but you are not using this folder as your admincp. You have a custom folder set up in config.php for admincp. So you should upload these files there.
I've fixed the problem for you.
CappingTheGame
01-13-2012, 01:20 PM
I appreciate the help, thanks.
Gamelobby
01-14-2012, 01:31 AM
Soooo, It kind of worked.. what tweaks might you suggest..?
Most of it looks good except:
Logo & search button color (both are default skin)
I'm guessing since these are both part of the header, that is what i should be looking for, or to add/change.?
Thanks
Any thoughts on this.? :)
Logician
01-14-2012, 09:01 AM
Soooo, It kind of worked.. what tweaks might you suggest..?
Most of it looks good except:
Logo & search button color (both are default skin)
I'm guessing since these are both part of the header, that is what i should be looking for, or to add/change.?
Thanks
I really can't say much about this issue. Since hack displays your style fine in your regular style, the problem should be related to your second custom style. I can't suggest tweaking its header template with the help of a designer (its own skin designer if possible).
deverill2010
01-21-2012, 09:02 PM
I have a few questions, sorry I can't read through the whole thread as my eyes are starting to hurt (iPad screen).
I have the CMS but think its rubbish and the navigation Ida headache.
Will this mod allow me to easily create pages, at the moment I'm using Lynne's method which is a pain.
How can I get these pages as buttons on the navbar?
And this works ok with the latest version yes?
Logician
01-21-2012, 09:16 PM
How can I get these pages as buttons on the navbar?
And this works ok with the latest version yes?
Hack does not create navbar buttons automatically. It has a sample webtemplate that lists all webtemplates automatically though for easy navigation.
And yes it works with all 4.x including last version.
Gn_Snake
01-24-2012, 08:04 AM
Hello Logician,
i have a problem, yesterday i edited a template and i modified the code html. I saved and the system gives me error.
I do not remember exactly why now I'm not in front of the home computer, but he said it could not be sent because the rejected by the server.
For months we did not do any changes to the templates, and everything has always gone well.
P.S.
I installed VB4.1.10
Thanks
Logician
01-24-2012, 08:19 AM
but he said it could not be sent because the rejected by the server.
For months we did not do any changes to the templates, and everything has always gone well.
"Rejected by server" are usually related to "mod_security" configuration in the server. Probably your host has recently installed mod_security.
This is NOT related to webtemplates or any application in this regard actually, it is a server related issue. Whenever you try to send such an information to server, mod_security can stop you when it thinks its content is suspicious.
One alternative is to disable it, the other is to disable it only for admincp folder and use admin cp webtemplate edit to edit HTML webtemplates and last alternative is to play with its (mod_security) configuration to whitelist your content.
Danai
01-24-2012, 09:07 AM
Thanks, really helpful :D
Gn_Snake
01-24-2012, 11:53 AM
Thanks Logician, now i check a two solution apply.
Bye
hugh_
02-02-2012, 07:48 PM
Logician,
Since I upgraded to 4.1.10 some of my webtemplates generated pages but not all are aligning the whole forum left (not just the text). Any thoughts as to what might be wrong? This is happening in every style...
hugh_
02-02-2012, 10:10 PM
Correction, this is happening to all pages generated by webtemplates...
Logician
02-03-2012, 10:25 AM
Correction, this is happening to all pages generated by webtemplates...
This looks like a style issue to me rather than hack. Is this a custom style? Have you changed anything with it recently? (especially header/headerinclude/footer templates) Is it compatible with that vb version?
hugh_
02-03-2012, 08:18 PM
I was afraid you might say that. I've played around with those templates but I've been unable to fix the problem...
Logician
02-05-2012, 09:41 AM
I was afraid you might say that. I've played around with those templates but I've been unable to fix the problem...
Some skins comes with a "pluggin" which runs a special PHP code in a certain hook in vb pages. Please check if this is the case with your skin. If it is, that hook could have been added to webtemplate script as well so that WT will also run it.
Bulbucan
02-05-2012, 09:56 PM
Update it please, it would be great with new features and without those informations on every page for administrators.
Logician
02-06-2012, 08:47 AM
Update it please, it would be great with new features and without those informations on every page for administrators.
Hack is already up-to-date with all vb versions from vb2.x to vb4.x, including latest vb 4.x version.
You can turn off admin info under pages.
deverill2010
02-06-2012, 01:40 PM
Logician I'm using your mod and it's lovely thanks but I've noticed that when I navigate on pages that are using this mod it removes the border around my style for some reason.
If you wnt the URL addy let me know and I'll pm it.
gedsta
02-13-2012, 07:08 PM
Installed and been using for years, however a slight problem. Nothing to do with the hack but to do with the server.
I have done all the steps right upto
STEP 3- Close your browser, reopen it, relogin to your admin cp and you should to see "Logician's WebTemplates" in the left menu, expand it and click "Export/Import", then "Upload Webtemplate .XML File", point the file named "webtemplate_export.xml".
(There are 2 XML files, please make sure you import the file named "webtemplate_export.xml"!)
(This step is to upload default webtemplates and webqueries to your webtemplate system)
Which is when I run into this error.
open_basedir restriction in effect. File(C:\Windows\Temp\phpD804.tmp)
The problem is the server uses Plesk and there is a huge issue with this at the moment, with no known fix.
I have tried a fresh install of vB3.8.x and installes no issues (an older version) and then upgraded to vB4.x.x again no issues (on another server)
I then backed up the tables, and then dropped them, then restored them. When clicking the webtemplates link in admin, I get a database error. If I uninstall the mod and then reinstall it on the old server, then it goes through and all works. (no open_basedir restriction)
However, using the backup from the old and restoring to the new database, causes the exact same error. (When clicking the webtemplates link in admin, I get a database error. )
I can uninstall the product, and then reinstall, but then I am back to square one, browsing on my PC and then trying to install webtemplate_export.xml, I get the error
file_exists() [function.file-exists]: open_basedir restriction in effect.
Is there anything you can suggest?
Thanks
Logician
02-13-2012, 08:28 PM
As you said open_dir restriction is a server related issue and should be fixed on server level.
But if I can understand what you are trying to achieve, maybe I can suggest an alternative to bypass your problem? Yet I'm not very sure what exactly you are trying to do. Is it fresh install of the hack for vb4 that you are trying to do or do you want to upgrade an 3.x installation to 4.x?
gedsta
02-13-2012, 08:31 PM
Hi
It's an upgrade from vB3 to vB4
Logician
02-14-2012, 04:45 PM
Hi
It's an upgrade from vB3 to vB4
Assuming you have another server to test things, have you tried this: Install your 3.x forum/webtemplates to your other server. Upgrade first vb then webtemplates to 4.x there. And then move webtemplates databases from that server to your existing server.
Please note that the work should be done in the exact order I mentioned above.
Also note that you need to make sure 4.x webtemplates are 100% working in the other server before moving its db tables to your current server.
Let me know if you have any problems in the process.
gedsta
02-14-2012, 05:12 PM
Assuming you have another server to test things, have you tried this: Install your 3.x forum/webtemplates to your other server. Upgrade first vb then webtemplates to 4.x there. And then move webtemplates databases from that server to your existing server.
Please note that the work should be done in the exact order I mentioned above.
Also note that you need to make sure 4.x webtemplates are 100% working in the other server before moving its db tables to your current server.
Let me know if you have any problems in the process.
Hi
Just to let you know I think I have sort of solved this. (some CSS issues)
I backed up a copy of the old database on the old server
I then upgraded to vB4 and then upgraded the mod
I then dropped the tables, and restored them on the old server, worked.
I then dropped the tables on the new server, and restored the back up from today
It worked.
Thanks for a great mod. :D
Kaishi
02-16-2012, 03:44 PM
I'm getting these parse errors on the who's online page, running the 4.0 version with vb 4.1.10
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22
Also, if I have it disabled the who's online will show that I'm in the admin control panel, but if I have the mod enabled, it gives the parse errors and it tells me
Unknown Location
/forum/images/styles/DarkCore/style/js/common.js
or
Unknown Location
/forum/editors.php?do=edit&pg=info_forumrules (or whatever else)
in the who's online.
Logician
02-16-2012, 05:04 PM
I'm getting these parse errors on the who's online page, running the 4.0 version with vb 4.1.10
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22
Also, if I have it disabled the who's online will show that I'm in the admin control panel, but if I have the mod enabled, it gives the parse errors and it tells me
Unknown Location
/forum/images/styles/DarkCore/style/js/common.js
or
Unknown Location
/forum/editors.php?do=edit&pg=info_forumrules (or whatever else)
in the who's online.
Can it be another mod? Does it cure itself when you disable webtemplates product?
Kaishi
02-16-2012, 05:19 PM
Yes, it doesn't happen if I disable the webtemplate product.
Logician
02-16-2012, 05:34 PM
What happens if you enable the hack but just disable pluggin named "Logician Webtemplates : Who is Online Locations"?
I'm running the hack on a vb 4.1.10 system without any issues. More importantly the error you got is pretty weird, does not sound like a "bug" but more like a "clash" or "wrong code" issue.
Can you please go to your pluggin manager and hunt for pluggins which uses "online_location_unknown" hook and disable them one by one until the issue is cured? We can then understand if two hacks using the same hook is clashing or not.
Kaishi
02-16-2012, 05:42 PM
If i disable the Logician Webtemplates : Who is Online Locations plug in it still displays the same error..
Disabling the HTTP Error Pages Pro, who's online location one, stops the line 22 error, but the line 15 is still there.
Disabling the v3arcade one gets rid of the line 22, but the line 15 is still there, in addition, this one produces a line 9 (lol)
Update: Disabling online_location_process and online_location_unknown for HTTP Error Pages Pro will stop all parse error msgs, but
Unknown Location
/forum/images/styles/DarkCore/style/js/common.js
still shows up.
Update2: It seems to be HTTP Error Pages Pro being the offender here, sorry. Uninstalling it fixed it, guess I'll have to make error pages the hard way. Unless someone can recommend something. Thanks for the fast support logician.
Kaishi
02-17-2012, 04:56 AM
Question, how would I define a custom page as "THIS_SCRIPT = something"? Right now, with only one page I can just use "view" but when I add more pages and need to differentiate them, how would I be able to do that? Thanks.
Logician
02-17-2012, 06:47 AM
Question, how would I define a custom page as "THIS_SCRIPT = something"? Right now, with only one page I can just use "view" but when I add more pages and need to differentiate them, how would I be able to do that? Thanks.
Do you mean in template conditionals? You can use "pg==webtemplatename" syntax. Eg.
<vb:if condition="THIS_SCRIPT == view AND $pg == 'test'">
We are in test webtemplate
</vb:if>
deverill2010
02-17-2012, 09:32 AM
Logician I'm using your mod and it's lovely thanks but I've noticed that when I navigate on pages that are using this mod it removes the border around my style for some reason.
If you wnt the URL addy let me know and I'll pm it.
Any Idea Logician? As at the moment pages made with your mod look a bit out of place and dont fit in with the rest of the site properly.
Thanks.
Logician
02-17-2012, 01:14 PM
Any Idea Logician? As at the moment pages made with your mod look a bit out of place and dont fit in with the rest of the site properly.
Thanks.
I'm sorry but my help is quite limited in style issues due to my lack of knowledge in designing. The hack works fine in default vb4 style and in many other custom styles as well but if it does not work in a specific style, its designer can help better than me to fix it.
Kaishi
02-17-2012, 01:41 PM
Do you mean in template conditionals? You can use "pg==webtemplatename" syntax. Eg.
<vb:if condition="THIS_SCRIPT == view AND $pg == 'test'">
We are in test webtemplate
</vb:if>
unfortunately that didn't work for this mod that helps me add a tab in my nav
https://vborg.vbsupport.ru/showthread.php?t=233629
Bulbucan
03-14-2012, 06:31 AM
I think there's a bug, HTML list's doesn't work for me.
<ul>
<li>test1</li>
<li>test2</li>
<li>test3</li>
</ul>
^
|| those, i use HTML parse method.
Logician
03-14-2012, 08:58 AM
I think there's a bug, HTML list's doesn't work for me.
<ul>
<li>test1</li>
<li>test2</li>
<li>test3</li>
</ul>
^
|| those, i use HTML parse method.
This is not about hack, it is about vbulletin style. VB css overwrites how html lists are displayed with this line:
li {
list-style: none outside none;
}
Bulbucan
03-14-2012, 11:55 AM
This is not about hack, it is about vbulletin style. VB css overwrites how html lists are displayed with this line:
Well okay, i dont understand that ;s what should i do to fix it ?
dartho
03-14-2012, 12:29 PM
try to override with inline styling with something like
<ul>
<li style="list-style:disc;">test1</li>
<li style="list-style:disc;">test2</li>
<li style="list-style:disc;">test3</li>
</ul>
gedsta
03-14-2012, 01:49 PM
Any Idea Logician? As at the moment pages made with your mod look a bit out of place and dont fit in with the rest of the site properly.
Thanks.
Try this?
So it seems that if you move the style code in header_bottom to your headinclude template
(It's in this thread somewhere. When I had styling issues, this sorted it)
Logician
03-14-2012, 06:20 PM
Well okay, i dont understand that ;s what should i do to fix it ?
Vbulletin skin uses a "CSS" to describe how to display HTML elements in vbulletin powered pages.
Webtemplates is a vbulletin powered page so it inherits this CSS so that it can show your pages in the way your vbulletin looks.
In this CSS vbulletin skin has, the <ul> and <li> elements are coded to be displayed in the way you are seeing in your webtemplate.
So how your webtemplate is displaying your HTML list has nothing to do with the hack itself, it is how vbulletin skin CSS has been programmed to display them.
To display them differently you need to play with vb CSS elements or more easier, you'll use a custom <ul> <li> design as dartho pointed out above.
mathforum
05-28-2012, 03:08 PM
Can we have a confirmation that this hack works for 4.2.0?
icekola
05-31-2012, 05:25 AM
Can we have a confirmation that this hack works for 4.2.0?
Confirmed on fresh 4.2.0 install.
doubleclick
05-31-2012, 10:37 AM
Confirmed on fresh 4.2.0 install.
It works for me.
doubleclick
05-31-2012, 10:38 AM
Is there a way to use this mod so I can display login and facebook connect in my site header that extends beyond the forum directory?
Gn_Snake
06-27-2012, 02:18 PM
Hi, i don't understand how to put image a background to a custom page.
Help me?
Thank you
Logician
06-27-2012, 03:56 PM
Hi, i don't understand how to put image a background to a custom page.
Help me?
Thank you
Make your webtemplate "HTML", then use default html tags:
<html>
<body background="bgimage.jpg">
<h1>Hello world!</h1>
<p><a href="http://www.w3schools.com">Visit W3Schools.com!</a></p>
</body>
barakuda
06-28-2012, 02:30 AM
hemm is this mods can add a jquery slide too in the pages?
i think it will be awesome ?
Logician
06-28-2012, 05:59 AM
hemm is this mods can add a jquery slide too in the pages?
i think it will be awesome ?
Depends. Technically yes you can of couse any javascript code into webtemplates including jquery. However as with all javascript codes, they mustn't clash with other javascript codes you have in that page as you have a lot of vbulletin's default javascripts in every webtemplate page. So answer is, if you can add jquery to any vbulletin page (eg. show thread page) and IF it does not break any other vb functionality, then yes you can add it to Webtemplates pages too. If it breaks something (eg. Quick reply editor of vb), then you can't but this is not about the hack, this is because 2 javascript sharing the same page should be compatible with each other regarding issues like function/variable names.
s3nt3nc3d
07-14-2012, 09:11 AM
Possible bug report...
Installed on 4.2.0 PL2
All works well...except when I went to save my template after editing with the WYSIWYG editor, I get a blank page and the address bar shows mydomain.net/editors.php
No errors or anything in FireFox...just blank page.
Tried it in ie and get an Error 500.
Now if I edit it with the WYSIWYG editor and switch to code view and THEN click to save it, it saves just fine.
Summary:
If I save with the WYSIWYG editor displayed, it goes to a blank page and does nothing else.
As long as I save while in code view (I can edit using either editor with no issues), it saves just fine.
Thanks for this hack...I paid for the vb publishing suite, but I'm running WebTemplates on my older vBulletin site and love it so I ended up disabling the CMS on the new site in order to run WT:)
Edit: I tried this both with my custom template and one of the premade templates provided. Same problem on both as well. Vbulletin install is pretty fresh so the likelihood is fairly low that it was caused by any mods. I think all I have installed is VSA Advanced Registration and Spam-o-Matic.
Logician
07-14-2012, 03:55 PM
Possible bug report...
All works well...except when I went to save my template after editing with the WYSIWYG editor, I get a blank page and the address bar shows mydomain.net/editors.php
No errors or anything in FireFox...just blank page.
Tried it in ie and get an Error 500.
Thanks for the well written bug report!
I found out that somewhere along the new versions vbulletin changed WYSIWYG editor structure so it effected the hack. I just released a new version to fix this issue.
For users who has this problem, you do NOT have to make a new full installation of the hack. You can just download hack version 4.0.1 (which is attached to the first post of the thread) and replace "editors.php" in your server with this version's editors.php and this should fix it.
s3nt3nc3d
07-16-2012, 07:40 AM
Thanks for the well written bug report!
I found out that somewhere along the new versions vbulletin changed WYSIWYG editor structure so it effected the hack. I just released a new version to fix this issue.
For users who has this problem, you do NOT have to make a new full installation of the hack. You can just download hack version 4.0.1 (which is attached to the first post of the thread) and replace "editors.php" in your server with this version's editors.php and this should fix it.
Great, thank you much!
gedsta
08-07-2012, 03:09 PM
Hello Logician
Could you please help with a small query?
I am using Everywhere Sidebar Mod and have followed these instructions.
Open your custom template search for
{vb:raw navbar}
add below
{vb:raw sidebaropen}
search for
{vb:raw footer}
add above
{vb:raw sidebarext}
save
But I am stuck at this part,
3. Open custom page php file and before the render line "$templater->render();" add
$templater->register('sidebarext', $sidebarext);
$templater->register('sidebaropen', $sidebaropen);
assuming you are using $templater as variable change it as required
save and upload you php file
Any pointers?
Thanks.
Logician
08-09-2012, 09:08 AM
Hello Logician
Could you please help with a small query?
I am using Everywhere Sidebar Mod and have followed these instructions.
Open your custom template search for
{vb:raw navbar}
add below
{vb:raw sidebaropen}
search for
{vb:raw footer}
add above
{vb:raw sidebarext}
save
But I am stuck at this part,
3. Open custom page php file and before the render line "$templater->render();" add
$templater->register('sidebarext', $sidebarext);
$templater->register('sidebaropen', $sidebaropen);
assuming you are using $templater as variable change it as required
save and upload you php file
Any pointers?
Thanks.
I haven't tested it but I believe what you need to do is to edit "view.php", find:
print_output($templater->render());
and before that add:
$templater->register('sidebarext', $sidebarext);
$templater->register('sidebaropen', $sidebaropen);
In view.php, there are several of these lines so you should do that change for each of them.
Also please note that integrating that hack with webtemplates can be tricky as webtemplates is more sophisticated than other simple vb hacks. It can use several designs (themes, HTML parsing, PHP parsing, VB code parsing) etc. so trying to add a sidebar there might not always work, it can break layout in certain scenarios. If you encounter such a problem, you need to get a designer to fix these layout problems for you.
So give it shot but don't expect miracles. :)
gedsta
08-09-2012, 09:43 PM
So give it shot but don't expect miracles.
Works perfectly, thanks for your help on this mate. Appreciated.
brycea
08-17-2012, 05:27 PM
<a href="http://www.healthcommunity.co/" target="_blank">HealthCommunity.co</a>
I have a number of MODS on our website, which represent a very small amount of the total MODS that I have downloaded. Through trial and error, I have found for the most part, that some MODS just don't work, a few will ruin your website, and to further, in most cases, if in fact the MOD does come with instructions, they are vaguely written.
Being that 4.2 does not come with templates for a privacy policy and terms of use, I thought that I would give this MOD a try. Yes, it does work favorably with my custom skin, and the instructions are immaculate. For one that wants to create additional pages on their website, this MOD is an essential.
ryancooper
09-04-2012, 11:27 PM
I am looking to hide ads on my pages... I used <vb:if condition="THIS_SCRIPT == view AND $pg == 'hours'">
Dont Show Ad
<vb:else />
Show Ad
</vb:if>
but the code shows everywhere. I am wondering if it is because I am using SEO friendly links os my links look like
.../forums/hours.htm
in stead of
.../forums/view.php?pg=hours
Is this why? Is there a way around this?
Thank
Logician
09-05-2012, 07:13 AM
I am looking to hide ads on my pages... I used <vb:if condition="THIS_SCRIPT == view AND $pg == 'hours'">
Dont Show Ad
<vb:else />
Show Ad
</vb:if>but the code shows everywhere. I am wondering if it is because I am using SEO friendly links os my links look like
.../forums/hours.htm
in stead of
.../forums/view.php?pg=hours
Is this why? Is there a way around this?
Thank
You are probably putting this code inside header/footer templates but these templates are produced before webtemplates loads. So they are already parsed (and
$pg == 'hours' conditional is always wrong) when your hours page starts. (Hence ads display).
Reparsing them inside phpinclude section of webtemplate might help:
$templater->register('footer', $footer);
$templater->register('header', $header);
ryancooper
09-05-2012, 11:43 AM
You are probably putting this code inside header/footer templates but these templates are produced before webtemplates loads. So they are already parsed (and
$pg == 'hours' conditional is always wrong) when your hours page starts. (Hence ads display).
Reparsing them inside phpinclude section of webtemplate might help:
$templater->register('footer', $footer);
$templater->register('header', $header);
Thank you for your quick response. Can You explain in a little more detail on how to
Reparsing them inside phpinclude section of webtemplate might help
Thanks. Send donation to for this amazing mod.
Logician
09-05-2012, 01:29 PM
Thank you for your quick response. Can You explain in a little more detail on how to
Edit your webtemplate named hours. In the edit page, you'll see a section named "PHP Include". Put this code inside it and save:
$templater->register('footer', $footer);
$templater->register('header', $header);
Let me know if it does not help (and admin access can be handy in that case so that I can look.) :)
ryancooper
09-06-2012, 09:30 PM
No go on that. Tried putting the code in header. I will PM you so we can keep this thread on topic. Thanks! Ryan
Logician
09-07-2012, 09:02 AM
No go on that. Tried putting the code in header. I will PM you so we can keep this thread on topic. Thanks! Ryan
ok now, please check your page.
What I did is:
change navbar template:
{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}
as
<vb:if condition="$pg != 'hours'">
{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}
</vb:if>
And in hours webtemplate use this phpinclude:
$templater = vB_Template::create('navbar');
// Resolve the root segment
$templater->register('bbmenu', $vbulletin->options['bbmenu']);
$templater->register('ad_location', $GLOBALS['ad_location']);
$templater->register('foruminfo', $GLOBALS['foruminfo']);
$templater->register('navbar_reloadurl', $GLOBALS['navbar_reloadurl']);
$templater->register('navbits', $navbits);
$templater->register('notices', $GLOBALS['notices']);
$templater->register('notifications_menubits', $GLOBALS['notifications_menubits']);
$templater->register('notifications_total', $GLOBALS['notifications_total']);
$templater->register('pmbox', $GLOBALS['pmbox']);
$templater->register('return_link', $GLOBALS['return_link']);
$templater->register('template_hook', $GLOBALS['template_hook']);
$templater->register('pg', $pg);
$navbar = $templater->render();
ryancooper
09-07-2012, 12:04 PM
You are amazing! Thank you so much! Although you totally lost me :)
ryancooper
09-10-2012, 11:10 PM
Does anyone know how to include the latest posts (only found in the post title) of the page your are on?
Example I am browsing a page called Space mountain - I would like to have on that page the last 5 posts that have Space mountain in the title of the post?
I know I can make a web query for just Space Mountain and inclue it but then I would have to have a query for every search term. Is there a way to have it show the $WT_PageName% in the Query?
I did try SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE taglist LIKE '$WT_PageName%'
ORDER BY dateline DESC
LIMIT 5
and that did not work ;) Thanks!
mathforum
09-11-2012, 01:03 AM
Another question about setting "THIS_SCRIPT". I have one tab that is a drop down menu and contains all of my custom template using this mod however when any of those pages are viewed the "Forums" tab is highlighted. I've found out that if I add the appropriate "THIS_SCRIPT" into the navigation manager then I can force a different tab to be highlighted.
How can I make all of the custom webtemplates highlight a certain tab? Do I need to add in define('THIS_SCRIPT', 'scriptname'); somewhere?
EDIT: Actually this is going to be harder than I thought :( I have two pages associated with this mod so can't assign all custom pages to one tab. Really would appreciate any insight still!
Logician
09-11-2012, 08:41 AM
Does anyone know how to include the latest posts (only found in the post title) of the page your are on?
Example I am browsing a page called Space mountain - I would like to have on that page the last 5 posts that have Space mountain in the title of the post?
I know I can make a web query for just Space Mountain and inclue it but then I would have to have a query for every search term. Is there a way to have it show the $WT_PageName% in the Query?
I did try SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE taglist LIKE '$WT_PageName%'
ORDER BY dateline DESC
LIMIT 5and that did not work ;) Thanks!
$WT_PageName variable can be used in WebQueries, I don't see a problem with this.
I believe your query is somehow wrong. Can you run the same query in phpmyadmin and return valid results with it?
There are certain things you need to check. Eg. your WHERE query is checking the keyword in "taglist" field, not title. I'm not sure if this is intentional. Also when you use '$WT_PageName%' instead of "'%$WT_PageName%'" you are querying results that begins with $WT_PageName rather than including.
ryancooper
09-12-2012, 01:00 PM
Logician,
Would you able able to post the code to use that will return the latest 5 threads about %$WT_PageName%
I was using tags because I couldnt figure out how to search the title of posts :) LOL
Logician
09-12-2012, 01:17 PM
Logician,
Would you able able to post the code to use that will return the latest 5 threads about %$WT_PageName%
I was using tags because I couldnt figure out how to search the title of posts :) LOL
I believe this should work:
SELECT t.threadid, t.title, t.firstpostid, t.lastpost, t.replycount, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, p.pagetext
FROM " . TABLE_PREFIX . "thread t
LEFT JOIN " . TABLE_PREFIX . "post p ON p.postid = t.firstpostid
WHERE t.title LIKE '%$WT_PageName%'
AND t.open = '1'
AND t.visible = '1'
ORDER BY t.dateline DESC
LIMIT 0 , 5
ryancooper
09-12-2012, 01:40 PM
AWESOME thanks Again! :D
mathforum
09-16-2012, 02:53 AM
Any comments on highlighting the proper navbar tab on custom pages?
vBThemer
09-16-2012, 03:53 AM
Thanks for addon. its easy & handy to add new pages.
I have installed this & got only 1 navtab to work correctly by using Tab Script(s) "view" & for other 2 tabs I used "Append 'tabid' to URL" & this stays highlightend.
ryancooper
09-17-2012, 11:58 PM
Logican Can I use t he Webtemplate name in the Result Prefix Code.
I would like to put latest topics on $WT_PageName But it does not seem to pick it up?
ryancooper
09-19-2012, 01:15 PM
I am also trying to exclude a series of forum ID's I tried added:
t.forumid to the select
then adding:
AND t.forumid NOT IN '36,37,77'
But it tosses a error
Logician
09-20-2012, 01:55 PM
I am also trying to exclude a series of forum ID's I tried added:
t.forumid to the select
then adding:
AND t.forumid NOT IN '36,37,77'
But it tosses a error
Try:
AND t.forumid NOT IN (36,37,77)
ryancooper
09-25-2012, 08:38 PM
nope they still show...
Logician
09-26-2012, 08:39 AM
nope they still show...
Please post your exact webquery.
ryancooper
09-26-2012, 11:43 AM
SELECT t.threadid, t.title, t.firstpostid, t.lastpost, t.replycount, t.forumid, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, p.pagetext
FROM " . TABLE_PREFIX . "thread t
LEFT JOIN " . TABLE_PREFIX . "post p ON p.postid = t.firstpostid
AND t.open = '1'
AND t.visible = '1'
AND t.forumid NOT IN (36,37,77,173,172)
ORDER BY t.dateline DESC
LIMIT 0 , 10
Logician
09-26-2012, 02:48 PM
SELECT t.threadid, t.title, t.firstpostid, t.lastpost, t.replycount, t.forumid, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, p.pagetext
FROM " . TABLE_PREFIX . "thread t
LEFT JOIN " . TABLE_PREFIX . "post p ON p.postid = t.firstpostid
AND t.open = '1'
AND t.visible = '1'
AND t.forumid NOT IN (36,37,77,173,172)
ORDER BY t.dateline DESC
LIMIT 0 , 10
Your SQL query is wrong (missing WHERE)
SELECT t.threadid, t.title, t.firstpostid, t.lastpost, t.replycount, t.forumid, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, p.pagetext
FROM " . TABLE_PREFIX . "thread t
LEFT JOIN " . TABLE_PREFIX . "post p ON p.postid = t.firstpostid
WHERE
t.open = '1'
AND t.visible = '1'
AND t.forumid NOT IN (36,37,77,173,172)
ORDER BY t.dateline DESC
LIMIT 0 , 10
ryancooper
09-26-2012, 03:49 PM
Yep that did it. That's what I get for trying to adjust your code. Thanks.
Is there any way to get the page name in the Return Query Result I tried adding the $WT_PageName but it didn't show.
Logician
09-27-2012, 05:23 AM
Yep that did it. That's what I get for trying to adjust your code. Thanks.
Is there any way to get the page name in the Return Query Result I tried adding the $WT_PageName but it didn't show.
$WT_PageName variable is parsed IF it is inside "Query Result Row" but not in "Result Prefix Code" or in "Result Affix Code".
If you need this feature, you need to hack view.php, find:
$$WT_variable_name = $WTWQ['prefixcode'] . $birikenrow . $WTWQ['affixcode'];
before that add:
$WTWQ['prefixcode'] = str_replace('$WT_PageName',$WT_PageName,$WTWQ['prefixcode'] );
$WTWQ['affixcode'] = str_replace('$WT_PageName',$WT_PageName,$WTWQ['affixcode'] );
There are 2 instances of this code, you need to replace both.
KatieG
10-06-2012, 06:45 PM
Is it possible to display the current months birthdays
ryancooper
10-10-2012, 01:14 PM
Logican,
What would the query be to show the latest 5 SIMILAR THREADS about a page title?
Ryan
Logician
10-11-2012, 12:46 PM
Logican,
What would the query be to show the latest 5 SIMILAR THREADS about a page title?
Ryan
SELECT thread.threadid, thread.title,
MATCH (thread.title) AGAINST ('$pg') AS score
FROM thread AS thread
WHERE MATCH (thread.title) AGAINST ('$pg')
AND thread.open =1
AND thread.visible =1
ORDER BY score DESC
LIMIT 10
Logician
10-11-2012, 12:50 PM
Is it possible to display the current months birthdays
First you need to assign a variable in "Query PHPInclude Code" of your webquery like:
$thismonth_is = date("m");Then this query should work:
SELECT userid, username, birthday
FROM user
WHERE birthday LIKE '$thismonth_is-%'
LIMIT 100
ryancooper
10-12-2012, 05:49 PM
SELECT thread.threadid, thread.title,
MATCH (thread.title) AGAINST ('$pg') AS score
FROM thread AS thread
WHERE MATCH (thread.title) AGAINST ('$pg')
AND thread.open =1
AND thread.visible =1
ORDER BY score DESC
LIMIT 10
Get an error with this:
Can't find FULLTEXT index matching the column list
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.