Previous Thread
Next Thread
Print Thread
Hop To
How do I remove calendar from the forum header #234905 02/16/2010 12:58 PM
Joined: Jun 2009
Posts: 4
mikekayak Offline OP
stranger
OP Offline
stranger
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

Re: How do I remove calendar from the forum header [Re: mikekayak] #234906 02/16/2010 1:12 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
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;
 

Re: How do I remove calendar from the forum header [Re: Rick] #235267 03/02/2010 1:07 PM
Joined: Jun 2009
Posts: 4
mikekayak Offline OP
stranger
OP Offline
stranger
Joined: Jun 2009
Posts: 4
Rick,

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

Michael

Re: How do I remove calendar from the forum header [Re: mikekayak] #243432 05/26/2011 12:19 PM
Joined: Oct 2006
Posts: 98
phoebe Offline
member
Offline
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

Re: How do I remove calendar from the forum header [Re: mikekayak] #243433 05/26/2011 12:33 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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.
Need to Upgrade?
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!
Re: How do I remove calendar from the forum header [Re: mikekayak] #243434 05/26/2011 2:55 PM
Joined: Oct 2006
Posts: 98
phoebe Offline
member
Offline
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?

Re: How do I remove calendar from the forum header [Re: phoebe] #243435 05/26/2011 3:07 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
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 3:25 PM. Reason: added ps

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: How do I remove calendar from the forum header [Re: mikekayak] #243436 05/26/2011 3:30 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
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
Re: How do I remove calendar from the forum header [Re: mikekayak] #243437 05/26/2011 3:37 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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.
Need to Upgrade?
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!
Re: How do I remove calendar from the forum header [Re: mikekayak] #243438 05/26/2011 3:48 PM
Joined: Oct 2006
Posts: 98
phoebe Offline
member
Offline
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?

Re: How do I remove calendar from the forum header [Re: mikekayak] #243439 05/26/2011 3:49 PM
Joined: Oct 2006
Posts: 98
phoebe Offline
member
Offline
member
Joined: Oct 2006
Posts: 98
This is...uh...an EMERGENCY! HELP!

Re: How do I remove calendar from the forum header [Re: mikekayak] #243440 05/26/2011 4:06 PM
Joined: Oct 2006
Posts: 98
phoebe Offline
member
Offline
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.


Re: How do I remove calendar from the forum header [Re: mikekayak] #243444 05/27/2011 12:15 AM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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.
Need to Upgrade?
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!
Re: How do I remove calendar from the forum header [Re: mikekayak] #243454 05/27/2011 1:44 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
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
Re: How do I remove calendar from the forum header [Re: mikekayak] #243455 05/27/2011 1:47 PM
Joined: Jun 2006
Posts: 1,344
gliderdad Offline
veteran
Offline
veteran
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.

Re: How do I remove calendar from the forum header [Re: mikekayak] #243456 05/27/2011 5:20 PM
Joined: Jan 2008
Posts: 514
Dunny Offline
addict
Offline
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


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
UBB Dev
by JAISP - 11/03/2019 11:01 AM
Who's Online Now
1 registered members (isaac), 90 guests, and 440 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)