Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 6,286
Likes: 45
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,286
Likes: 45
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,022
Likes: 60
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,022
Likes: 60
If the global of the script page function utilizes $userob on that page you can:

Detect a Guest:
Code
	if(!$userob->is_logged_in) {
		echo("Guest");
	}

Detect a Logged in User:
Code
	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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,286
Likes: 45
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,286
Likes: 45
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,022
Likes: 60
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,022
Likes: 60
Probably best at UBBDev as modifications to the base code are unsupported, and Dev is a development community.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,286
Likes: 45
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,286
Likes: 45
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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PM limits
by jjjjj - 01/07/2021 12:59 PM
FAQ is blank?
by Bad Frog - 01/06/2021 12:01 PM
IP Addresses Of Users
by tinker123 - 01/03/2021 3:07 PM
User display name gets chopped
by - 12/25/2020 1:08 PM
Who's Online Now
0 members (), 35 guests, and 75 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5