Quote:
Originally Posted by Chadi
Installed. Exactly what I was looking for only a few days ago! Thanks.
Just a quick question:
I'm using IBPro arcade module and with that mod, template edits is done old school style via a php file. I tried using $vbtpldw_01 in the code, but the output was blank instead of outputting the template's content.
Do you know of any method around this in the php file?
The file is skin_v3Arcade.php and the code is around line 75, in this section:
Code:
EOF;
}
function top_links_table($links,$width,$extra) {
global $ibforums;
return <<<EOF
$vbtpldw_01
<table width='100%' border='0' cellspacing='1' cellpadding='4' class="tborder">
<tr>
<td class="tcat" align="center" width="{$width}">{$links}</td>
{$extra}
</tr>
</table>
EOF;
}
|
The templates created using this modification need to work as if they are working in a regular template. In order to call a template on a non-template, such as a non-vb or non-standard page, you would most likely need to call everything that would make [that] template work as if it were on a vb page, like forumhome.php. I've not actually tested this on a those types of pages as they were meant for going into templates. However, with the right calls, it might work. I'm just not sure what they are offhand.
Quote:
Originally Posted by lpetrich
Thanx for your help on this. Your successful solution looks like it will work for a board where all members have the same navbar access privileges, as do all guests (different from members, of course!).
|
No problem