Member
Member
BigAl   2007-02-11, 21:26
#1

I want to implement sIFR image replacement in a theme. My guess is that it won't play nicely with the Ajaxy editable descriptions and titles, which is fine because I don't need to see the fancy replacement images.

So what I want to do is check whether the user is logged in or not. If they aren't then I include the .js file in the head and they get nicely styled images, if they are, then they get editable titles and descriptions.

So, is there a pre-written function that I can use, or does somebody know of a workaround?

(Basically it would operate the opposite of the printAdminLink function).

Thanks

Member
Member
miriam   2007-02-13, 14:23
#2

Something like this?

`

if (zp_loggedin()) {

...

} else {

...

}

`

Groeten, Miriam

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.