Hi,
I cannot figure out how to make a button which changes depending on if you're already logged in or not. I don't wish to use the original one in mac osx, can anyone help me out making this button, preferably located where the other buttons are and always visible.
Ive searched but haven't found what i needed
<?php
if (USER_ID) {
// do the stuff that the logged in user is suppossed to see
} else {
// do the stuff the guest is suppossed to see
}
?>
If you need details, post details. You've been told so before... :-\
Quote from: GauGau on December 26, 2007, 10:19:32 AM
<?php
if (USER_ID) {
// do the stuff that the logged in user is suppossed to see
} else {
// do the stuff the guest is suppossed to see
}
?>
If you need details, post details. You've been told so before... :-\
I'm sorry, i though i supplied enough details.
Thanks for the code i can probably figure out how to do it now.
Quote from: dke on December 26, 2007, 02:30:11 PM
I'm sorry, i though i supplied enough details.
Really? Where's the link to your gallery and the zipped content of your custom theme that you're suppossed to attach to your thread when asking for theming support?