The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WebTemplates 4.x: VB Integrated CMS (Content Management System) Details »» | ||||||||||||||||||||||||||||||||||||||||
WebTemplates 4.x: VB Integrated CMS (Content Management System)
Developer Last Online: Nov 2023
(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:
(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.hystersisters.com/vb2/view_guidelines.htm http://www.worldwideknights.com/view_info.htm http://www.hystersisters.com/vb2/view_books.htm http://www.worldwideknights.com/view_spread.htm http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter http://www.bklab.com (entire site is designed with Webtemplates only) (Actually this hack is one of the most popular vb hacks so it is used by hundreds -if not thousands- of vbulletin sites and you can easily find them if you go to google and search "Logician's WebTemplates" WITH quotation marks) If you use the hack, clicking here will make sure you'll know about updates&bug fixes. It will also help me understand how many people is using the hack so please click the install button if you use it. Thank you.. Quote:
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. Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
Muhammad Rahman, ryancooper |
Comments |
#282
|
||||
|
||||
Quote:
Edit view.php, find lines 787 and 916 and put a @ symbol at the beginning of files. Error will be gone. |
#283
|
|||
|
|||
Quote:
Thanks |
#284
|
|||
|
|||
I must be missing some syntax change in the versions. Can't find it in the vb manual? Can anyone spot it?
In PHP Include: Code:
$cleantestvar =& $vbulletin->input->clean_gpc('g', 'imageid', TYPE_INT); Code:
<center><img src="http://pokegym.net/gallery/displayimage.php?imageid=$cleantestvar"></center> Welcome to the PokeGym Researching Tower, $bbuserinfo[username]! <if condition="is_member_of($bbuserinfo, 33)"><a href="http://pokegym.net/gallery/editimage.php?i=$cleantestvar" target=_blank>Edit</a> this image or metadata</if> So passing this gives a blank page! Code:
http://server/forums/view.php?pg=towercard&imageid=52494 but executing the template with $cleantestvar substituted with the value 52494 gives the desired result, so I'm guessing $cleantestvar is coming up null/blank. Suggestions? |
#285
|
||||
|
||||
Quote:
In vb4.x you can't simply use a variable inside a template without registering it in the PHP code. So outside variables can still be used in webqueries etc. but to display them inside templates, they should be declared like "$templater->register('cleantestvar', $cleantestvar);" in view.php. Or to avoid this, maybe you can trick vb by assigning your variable to an already recognized vb variable in phpinclude like: $vbulletin->input->clean_array_gpc('r', array( 'cleantestvar' => TYPE_STR, )); $vbulletin->options[cleantestvar] = $vbulletin->GPC['cleantestvar']; As $vbulletin->options is a declared variable, vb will allow this in templates. As for the error, you can trace it via PHP error log, not apache error log. You can enable it in WHM if already not enabled, or simply turn on screen display to see them posted directly to screen during running of the scripts. |
#286
|
|||
|
|||
Question, I have this installed just fine. I have the ProGamer Theme installed and each of the pre-installed templates don't bring across the background image of the theme. Please help!!
|
#287
|
|||
|
|||
I'm seeing the following errors since I upgraded to vbulletin 4.2.2 and php 5.4...
Warning: Assigning the return value of new by reference is deprecated in ..../includes/wt_class_core.php on line 305 Warning: Assigning the return value of new by reference is deprecated in ..../view.php on line 81 |
#288
|
||||
|
||||
Warning: Assigning the return value of new by reference is deprecated in ....Bla Bla Bla
How to fix. Open the file, view.php, in that file find the following (twice in the file): Code:
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); Code:
$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list()); Code:
$bgclass =& $GLOBALS['bgclass']; Code:
$bgclass = $GLOBALS['bgclass']; Code:
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); Code:
$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list()); Code:
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); Code:
$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list()); |
#289
|
|||
|
|||
That worked. Thank you very much!
|
#290
|
||||
|
||||
Not a problem, glad to help.
|
#291
|
|||
|
|||
Fresh install on 4.2.2 Please help.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|