![]() |
<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. |
I am looking to hide ads on my pages... I used
Code:
<vb:if condition="THIS_SCRIPT == view AND $pg == 'hours'"> .../forums/hours.htm in stead of .../forums/view.php?pg=hours Is this why? Is there a way around this? Thank |
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:
|
Quote:
Thank you for your quick response. Can You explain in a little more detail on how to Quote:
|
Quote:
PHP Code:
|
No go on that. Tried putting the code in header. I will PM you so we can keep this thread on topic. Thanks! Ryan
|
Quote:
What I did is: change navbar template: Code:
{vb:raw ad_location.ad_navbar_below} Code:
<vb:if condition="$pg != 'hours'"> Code:
$templater = vB_Template::create('navbar'); |
You are amazing! Thank you so much! Although you totally lost me :)
|
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 |
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! |
All times are GMT. The time now is 11:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|