PDA

View Full Version : Plugin Support needed


TheSupportForum
03-19-2013, 12:46 PM
i am using this for a plugin which works 100%



$seconds_diff = TIMENOW-480 - strtotime('2007-11-20 08:00:00');
$seconds_diff = floor($seconds_diff/3600/24);

$template_hook[header_userinfo] .= " <br> " . " <font size=5> " . " Day " . $seconds_diff . " of the new world " . "</font>";

for some reaon this is only showing to registered users, in the plugin, how can guests also see it ?

Lynne
03-19-2013, 05:04 PM
That template_hook is located within a condition that only shows to members. So, you need to pick a different template_hook if you want it to show to Guests also. (You may need to add your own in there.)

TheSupportForum
03-19-2013, 05:10 PM
That template_hook is located within a condition that only shows to members. So, you need to pick a different template_hook if you want it to show to Guests also. (You may need to add your own in there.)

so due to me using

$template_hook[header_userinfo]

it will not show to guests ?

Lynne
03-19-2013, 07:08 PM
Correct. If you look at that template hook in the header template, you will see it is in with code that only shows to members.