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 |
#222
|
||||
|
||||
<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. |
#223
|
|||
|
|||
I am looking to hide ads on my pages... I used
Code:
<vb:if condition="THIS_SCRIPT == view AND $pg == 'hours'"> Dont Show Ad <vb:else /> Show Ad </vb:if> .../forums/hours.htm in stead of .../forums/view.php?pg=hours Is this why? Is there a way around this? Thank |
#224
|
||||
|
||||
Quote:
$pg == 'hours' conditional is always wrong) when your hours page starts. (Hence ads display). Reparsing them inside phpinclude section of webtemplate might help: PHP Code:
|
#225
|
|||
|
|||
Quote:
Thank you for your quick response. Can You explain in a little more detail on how to Quote:
|
#226
|
||||
|
||||
Quote:
PHP Code:
|
#227
|
|||
|
|||
No go on that. Tried putting the code in header. I will PM you so we can keep this thread on topic. Thanks! Ryan
|
#228
|
||||
|
||||
Quote:
What I did is: change navbar template: Code:
{vb:raw ad_location.ad_navbar_below} {vb:raw ad_location.global_below_navbar} Code:
<vb:if condition="$pg != 'hours'"> {vb:raw ad_location.ad_navbar_below} {vb:raw ad_location.global_below_navbar} </vb:if> Code:
$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(); |
#229
|
|||
|
|||
You are amazing! Thank you so much! Although you totally lost me
|
#230
|
|||
|
|||
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 Code:
SELECT threadid, title, postusername,postuserid,dateline FROM " . TABLE_PREFIX . "thread WHERE taglist LIKE '$WT_PageName%' ORDER BY dateline DESC LIMIT 5 |
#231
|
|||
|
|||
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! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|