Submit Calendar Event Direct From New Topic

Started by roomeat, September 01, 2009, 06:44:12 PM

Previous topic - Next topic

roomeat

Has anyone integrated the Calendar into the normal Post Topic section of a forum??

I would like certain categories in my forum to have the calendar fields available when posting a topic.
This way they can post the topic and link it to the calendar straight away.
I guess something like the attachments section for a post... maybe click a checkbox titled "Add event to calendar" and this will then show the other details needed for the calendar.

I done a bit of a search but couldn't find what I was looking for.

OH.. and I'm using SMF2.0RC1.2 :)
We were not given dreams, without also being given the power to achieve them.

Arantor

I don't believe they have, I also don't remember anyone modding this either.

If you like I can move this to the Mod Requests board?
Holder of controversial views, all of which my own.


roomeat

We were not given dreams, without also being given the power to achieve them.

mandukar

You can already do this, if your the auther or admin of the site theres a link at the bottom that says [link to calnder]

roomeat

yeah so you have to submit your post and then go back and link it to calendar.
Why not have the date settings within the post topic screen so they can be selected and set at the same time as submitting?
So it would like something like this (taken from a phpbb calendar):
We were not given dreams, without also being given the power to achieve them.

roomeat

And this particular calendar has a feature where you click on the date section and it brings up a small calendar for you to select the date for the event.
We were not given dreams, without also being given the power to achieve them.

mandukar

#6
QuoteWhy not have the date settings within the post topic screen so they can be selected and set at the same time as submitting?
So it would like something like this (taken from a phpbb calendar):
thats just being lazy.

But why don't you try implanting it?

roomeat

No not lazy.. it's called trying to make things simple for members that don't know they have to post something to then go back and link it to a calendar ;)
Me?? Implant it?? if I was any type of programmer I might try.. hence the post for a feature request in the hope that someone does pick it up :)
We were not given dreams, without also being given the power to achieve them.

Arantor

Sorry, meant to move this to Mod Requests a couple of days ago, where it will have to live for now since no new features are being added to SMF at this immediate time (while 2.0 is being finished)
Holder of controversial views, all of which my own.


gameballa

Quote from: roomeat on September 01, 2009, 06:44:12 PM
Has anyone integrated the Calendar into the normal Post Topic section of a forum??

I would like certain categories in my forum to have the calendar fields available when posting a topic.
This way they can post the topic and link it to the calendar straight away.
I guess something like the attachments section for a post... maybe click a checkbox titled "Add event to calendar" and this will then show the other details needed for the calendar.

I done a bit of a search but couldn't find what I was looking for.

OH.. and I'm using SMF2.0RC1.2 :)

I did something like this..

// Create the button set...
    $normal_buttons = array(
       
       
       'new_topic' => array('test' => 'can_post_new', 'text' => 'smf258', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=calendar;sa=post;board=' . $context['current_board'] . '.0'),


this is in MessageIndex.template.php  but i use 1.1.10 not 2.0. I replaced the post new topic button with this one so you may wanna make a post new event button code for posting an events so your members still have the option of posting normal topics....  make sure you turn on "Show linked events in topic display:" in admin
Online Videogame Competitions = Play 4 Free or 4 Cash @ GamerComp.com


"The only way you will ever have peace is if you no longer believe the lie is true"

mandukar


mandukar


gameballa

Quote from: mandukar on September 06, 2009, 02:08:51 PM
that code gets rid of the menu :S

I will install 2.0 and have a go at it later/tomorrow.. see if I can figure it out..
Online Videogame Competitions = Play 4 Free or 4 Cash @ GamerComp.com


"The only way you will ever have peace is if you no longer believe the lie is true"

mandukar


roomeat

Quote from: gameballa on September 06, 2009, 02:53:17 PM
Quote from: mandukar on September 06, 2009, 02:08:51 PM
that code gets rid of the menu :S

I will install 2.0 and have a go at it later/tomorrow.. see if I can figure it out..
How did you go mate?
We were not given dreams, without also being given the power to achieve them.

Advertisement: