![]() |
Calendar / Thread Integration Hack
Ok, this is my first VBulletin hack so please be calm on me :) As this is a beta BACKUP the files to be edited (as always)
I always wanted to link the calendar events to a thread aswell. So that if you make a public event, it also generates a thread from the same info. Now i always thought this was going to be hard, but actually it is really simple. There are 5 steps to do in total in just 2 files. It concerns the calendar.php and the newthread.php I tested this on vb 2.30 & works smoothly now at my site www.livesets.com what does it do exactly:
NOTICE: on several places you will have to manually insert the forumid you want to use for this, in the example attached here the forumid used was 2 Please give some feedback :D I'm really happy i got this to work ;) Some members already requested something like this, this is to make them happy :classic: Greets, Session. |
Sounds nice... I might install it, I'll ask my memz. Great idea, really.
|
Good idea. :)
|
Quote:
|
Quote:
Another thing i still want to add is a "Reply" button on the View Event screen, in such a way that it links to New Reply in the related thread. I hope i can find some time to add this. [offtopic] ps. does anyone know how to change the default sort order for just 1 forum? [/offtopic] |
Thankyou for releasing this :)
- miSt |
Any idea when it will be taken out of beta?
|
Ehm, when it's tested a bit more... I'm still having some trouble converting the date format from [2003-5-4] to [2003-05-04].. I thought it was easier :S
People who can assist? |
This is an awesome hack, truly loving it :)
I don't know much about date, still fighting with trying to create an additional calendar field for location hehehe. Only thing I can think of to improve it a bit more is maybe a link in the newly created event post to the thread? Thanks so much for releasing this :) |
I've already made it with a Reply button included when you view the Event.. ;)
I've got some more stuff to add to the thing, before i release it :D I'll try to give you some response on that! Thanks for trying it, install went well??? |
Went great and works perfectly, not hitches at all :)
Trying to learn php now so I can add more fields to the calendar, but will sooo be watching this forum for your updates. Awesome idea integrating the reply button. :) |
Hmmm
Found a bug? We have Public and Private events enabled on our forum. When you submit a private event it creates a thread as well =/ Anyway to only make this effect public events? |
Oh, this is something. You could add:
Sort by Moth: August, September ... (Threads) |
Quote:
|
Awesome hack!
|
Still workin on this Session? or moved on?
I love this hack, but am having problems integrating new calendar fields, plus the private events problem :( |
Ehm, well.. to be honest i kinda moved on.. It's working reasonably well at my site at the moment (some small buggy things now and then).
And it's being used massively.. as you can see the calandar fills up very fast now (www.livesets.com) If you have a specific problem i might be able to look into it, but my time is very sparse :( |
By the way, i still need to adjust the form so that you also need to fill in a country and a location..
At the moment i still have to do a lot of manual editing.. so i think i will improve it again soon (when i have more time) |
Hmm, mainly what I'm needing is I think I've figured out how to create a new field in the calendar (in my case I did "meeting place"), but I can't figure out how to get through your code to get it to post in the subject area of the thread it creates, so get a DB error when posting a new event.
I'd need to create like 2 or 3 new fields in the calendar, other then that, I'd be absolutely happy with this hack :), very very few have a need or use for the private events. |
So, I am super new to this, and I am probably missing something obvious... but I installed this hack, and the only people that can use it so far are the admins (for whom it works flawlessly :)). I am confused, because I do not see any permissions settings in the hack, and I have not set any custom permissions on the calendar or the forum in question, but everyone besides the admins that attempt to add a new event, enters in their new thread info, and when they hit submit, they get a vBulletin message that says:
You do not have access to do this. I have been poking around, but I can not seem to find the problem here. Anyone have any thoughts?? Would REALLY appreciate the help. |
excellant! Great Job!!!
|
Quote:
Session, you stated earlier you had worked out how to get a Reply button, is it possible you could share this with us? Thank you! |
I will post an update soon, i'm close to having it 100% perfect with country / city / eventname selection.. see www.livesets.com
only thing i need to do is make it editable in the same way ( i need to extract the different fields again when i want to edit ) Give it a week or 2 |
Bloodkat, get ahold of me on MSN IM and we will poke around :)
I'm betting its in your calendar access or in the forums permission settings :) Session, awesome man, look forward to the update, this is most definately one of the most useful hacks on my site. And being I use 80 some hacks lol, that's saying alot :) |
I haven't installed this hack yet but I have managed to create several extra fields, i.e Event, Venue, Date, Price etc and they all work perfectly....Is it at all possible to have the calendar entries linking to threads, i.e when you click on a calendar link it takes you to the thread not the calendar entry?? This way it will allow for images to be posted within calendar events..
|
Okay, I've figured out how to add a new field and everything, and got it integrated enough with this hack that it doesn't break anything hehehe. However I need to find or figure out a way to get it to add to the thread.
It's a "meeting place" field So at the beginning of your hack code I have this - Quote:
Meeting Place: $location < br > $message or something like that. Is there a $message="meetingplace $location, < br > $message kinda code I can do? or any other ideas? =/ I want to add several fields but I just need an example of how to do it once and I can easily duplicate the code :) Any ideas? EDIT - Nm, after a lot of digging finally figured it out, and learned a bit more about php too :) here is what I did for those wondering the same.. took this part of sessions code Quote:
like so Quote:
Hope this helps anyone wondering the same. :) |
Anyway I can add an attachment to the event?
|
Great hack! May use this in the future!
|
Quote:
|
Quote:
If this hack could have even one attachment it will immediately become THE mother of all hacks IMO... |
Has anybody tested this with 2.3.2 - When I edit the Newthread.php everything is fine (redirects to caldendar.php etc) but as a soon as I make edits in Calendar.php using the default ForumIDs of 2 the whole thing white screens...
|
All OK...Sorted it now....just a typo
|
Quote:
|
Working a treat on my 2.3.0. Cheers. :)
|
Great hack.
Couple things. 1) How can I get a link in the Calendar Event back to the thread that originated the event? 2) Where in the php code do I change the date format that appears in the title of the thread created? Currently, my format does not match what you have listed. I have 2004-1-7 and yours shows 2004-01-07 with the extra formatted zeros. Thanks! |
Anyone have any idea how to port this to vB3?
|
Quote:
Anyone? Again, Great Work! |
hi there im lookin for this same mod... i want my users 2 b able to .. post in a selected forum then it post the in my case event on the calendar>>>>>?>?>? will this work for me
|
ne one........
|
Sorry to Ask but has anyone ported this hack to 3.0?
Thanks! Russ |
All times are GMT. The time now is 05:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|