Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 49
D
journeyman
journeyman
D Offline
Joined: Jun 2006
Posts: 49
I've searched and couldn't find the answer to this one... is it possible to restrict the calendar so that only registered users can view it?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Should be as easy as changing the "registered" line in the calendar script file to a "1" vs a "0"


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: Jun 2006
Posts: 49
D
journeyman
journeyman
D Offline
Joined: Jun 2006
Posts: 49
Thank you -- that sorted it. smile

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Just an FYI, these switches exist in all (I believe) script files; so you can lock a lot of things down...

Admin's only
Moderators and Admin's
Registered Users

Are the ones to choose from wink... I think hoping for a CP section for them would be asking a bit much though, i think it'd overcrowd things wink


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: Jun 2006
Posts: 49
D
journeyman
journeyman
D Offline
Joined: Jun 2006
Posts: 49
There's enough options to confuse me there as it is! It's very different from the last version of UBBT that I used (possibly v5) several years ago.

Thanks for the tip though, I'll see what else I can change... I'll probably have more questions later!

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Destin8
Thanks for the tip though, I'll see what else I can change... I'll probably have more questions later!
hehe new questions keep my postcount high, feel more than free to ask wink


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: Jun 2006
Posts: 49
D
journeyman
journeyman
D Offline
Joined: Jun 2006
Posts: 49
Originally Posted by Gizmo
hehe new questions keep my postcount high, feel more than free to ask wink

I got a few posts donated to me somehow, LOL. The oldest post in "my" posting history is mine, but all the stuff about UBB.classic is definitely not mine. (I've used that software but was never a mod let alone an admin with it.) If you ever need a few more posts, feel free to thieve those out of my posting history, LOL.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You know, I've had several people mention that to me in the last month...


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: Jun 2006
Posts: 49
D
journeyman
journeyman
D Offline
Joined: Jun 2006
Posts: 49
Originally Posted by Gizmo
You know, I've had several people mention that to me in the last month...

Which bit, to thieve someone's posts or that others have posting histories that are wrong?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
both


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 2006
Posts: 184
member
member
Joined: Dec 2006
Posts: 184
Should be as easy as changing the "registered" line in the calendar script file to a "1" vs a "0"

In what file would I find this ?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
scripts/calendar.inc.php ~line 41:
Code
		"regonly" => 0,
		"admin_only" => 0,
		"admin_or_mod" => 0,

These three lines exist in every script file, adjusting "reg only" sets it so the script only allows registered users. Admin only is much the same.


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 2006
Posts: 184
member
member
Joined: Dec 2006
Posts: 184
Thanks Gizmo.

Hope you're feeling better.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
'eh it's spring, I have horrid allergies; always my worse time of year lol... But thanks none the less smile


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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 790 guests, and 230 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)