|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I have never attempted this but how would I go about adding a custom island to display after a user registers. It is okay if it is blank for guests. Would I start with using the regonly or is that going away? I think I read that somewhere..
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
If the global of the script page function utilizes $userob on that page you can: Detect a Guest: if(!$userob->is_logged_in) {
echo("Guest");
} Detect a Logged in User: if($userob->is_logged_in) {
echo("HAI!");
} You could use those bits to set a variable and have a template trigger read the variable and display an island. If you mean in the sidebars, you'd have to rejigger how they function in order to inject an additional island only for regged users.
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Thanks I will give that a try. Or should I post at UBBDEV
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Probably best at UBBDev as modifications to the base code are unsupported, and Dev is a development community.
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Okay I will test a bit and if I get stuck I will post there.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
|
|