I would like to put a customboxpal on top of my frontpage with some welcome text, but I only want this palbox to appear for guests. Anybody who is logged in, should NOT see that palbox.
How can I do this ? I've attached the palbox that would need to be modified.
Thank you scroungr for the solution! It's indeed for the front entrance, only.... I still don't know what to insert into which file. Could you please help me some more ?
[]scroungr said: now you can get funkier and use user groups but you will need to write a little script.. or pay me alot of money [/]
Hehehe, thanks a lot!! I will give it a try as soon as I get home! (in 10 minutes)
[]make a custombox12pal.php contain what you want normal users to see.. [/] Well, the only thing I want is that customboxpal12 will only be seen by guests and when normal users enter my site, customboxpal12 will just be hidden for them.
I wanted to test it with the first method, so I created custombox12pal.php and newusercustompal.php, both uploaded in my pals folder. Then I made the changes in index.php and uploaded all the stuff. I went into my control panel and activated custombox12 in my control panel (center, 1st position). I uploaded the modified index.php file and checked out my entrance page: nothing happened. (no difference if logged in or out).
When I opload my old index file, custombox12pal.php shows without problem. Where could the error be?
(I'm using 6.4.2, but that shouldn't matter. My index.php file is inside my threads folder)
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.