Hello all.
I have banners working with my theme (PNSilver). However, I have 3 user groups, (non registered, group1 and group2). When visting as unregistered I see the banners, when logged in as group1 I see the banners. Log in as admin or group2 and I don't see the banners. I have no permissions for banners set up at all yet it seems like a permissions problem some how.
Has anyone come across this before?
Stay happy,
Noodles
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
A strange banners problem
-
-
check your theme for pnSecAuth-clauses around the pnBannerDisplay() function...
--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::.. -
larsneo,
I have this
Code
<td align="right" >' . '<span class="banner">';
if ((!empty($banners)) && (!pnSecAuthAction(0, '::', '::', ACCESS_EDIT))) {
pnBannerDisplay(1);
} else {
// for testing theme only,
Can you tell me what I should have instead?
p.s thanks for the reply.
Stay happy,
Noodles -
Code
<td align="right" >' . '<span class="banner">';
if (!empty($banners)) {
pnBannerDisplay(1);
} else {
// for testing theme only,
should do the job...
--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::.. -
