Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2009
Posts: 4
M
stranger
stranger
M Offline
Joined: Jun 2009
Posts: 4
We have a calendar as a part of our website that we want to be our only calendar. Is there a way to remove (at least from view) all signs of a calendar in the forum? It's confusing for our website users to see this when it's not being used.

Or if that is not possible is there a way to redirect to our website calendar when the forum calendar link is selected.

Thanks
Michael

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
To disable it you can go to Feature Settings -> General Tab, and you'll see the "Enable Calendar" option.

If you want to it to redirect to your calendar, then you'd want to enable it and you'd need to edit the header.tpl template file. If you're using our latest version, then you'll find the line to edit on line 185.

You'd need change this:

PHP Code

<a href="{ubb url="ubb=calendar"}">{$lang.CALENDAR}</a> &nbsp;&nbsp;&nbsp;
 

To something like:

PHP Code

<a href="http://www.domain.com/your/calendar">{$lang.CALENDAR}</a> &nbsp;&nbsp;&nbsp;
 

Joined: Jun 2009
Posts: 4
M
stranger
stranger
M Offline
Joined: Jun 2009
Posts: 4
Rick,

Thank you - I thought I'd been through all of the control panels, certainly missed that one.

Michael

Joined: Oct 2006
Posts: 98
member
member
Joined: Oct 2006
Posts: 98
I know this is an old post but I can't find a way to turn off the calendar in feature settings > general

I'm using 7.4

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
In 7.5+ it's in:
CP -> Master Settings -> Feature Settings -> "Enable Calendar"

So try there


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: Oct 2006
Posts: 98
member
member
Joined: Oct 2006
Posts: 98
thanks for trying, Gizmo...it's not there. Was it not a feature, i mean turning off and on the calendar, in previous versions?

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Change log shows the calender feature appeared in v7.5
Quote
Added an option to the Features Section of the Control Panel to enable/disable the Calendar

PS.
You could edit the header.tpl file and comment out the calendar link reference.

Last edited by Ruben; 05/26/2011 4:25 PM. Reason: added ps

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
You could also just edit the link in header.tpl to goto your calendar.
Just open the file and search for calendar.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Yeah, hence why I said 7.5+ lol; I'm with Ruben though, just nuke the link from the template (header.tpl).


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: Oct 2006
Posts: 98
member
member
Joined: Oct 2006
Posts: 98
That just broke my board...all i did was open header.tpl in dreamweaver, changed the url and upload. I undid the change back to the original and it is still broken.

Why would editing this file break my board?

Joined: Oct 2006
Posts: 98
member
member
Joined: Oct 2006
Posts: 98
This is...uh...an EMERGENCY! HELP!

Joined: Oct 2006
Posts: 98
member
member
Joined: Oct 2006
Posts: 98

Whew! that was a close one! I found the original file and replaced it. Neve new dreamweaver to act that way....took out some code.


Did Ricks edit again and all is ok...pretty cool that it goes direct to our site calendar now. Thank you very much.


Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Because you used a WYSIWYG editor... Use wordpad or notepad to edit ubb files as they won't insert extra code into your pages (like dreamweaver or frontpage would do)


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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
I use dreamweaver 4.
First you need to edit the ftp extension file and state that php,tpl, ect is a ascii file.
2nd is you need to be careful how you use urls.
Because dreamweaver will try to change to url from the local file structure to the site file structure when using the internal ftp.
Sometimes I will use dreamweaver to edit. But I use filezilla to upload the forum files.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Same as Ruben. Since switching to linux I only mess in dreamweaver if I need to create a template and thats about it now and use filezilla.

Joined: Jan 2008
Posts: 514
addict
addict
Joined: Jan 2008
Posts: 514
I still think the best way to manipulate files in the header.tpl is to open them in gedit or notepad and save as all files <name.tpl> that is the only way I have been able to manipulate files so as to not corrupt them without interference (i.e. dreamweaver).

Dunny


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 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 20230217)