View Full Version : Events Hack
ukliam
06-18-2002, 11:45 AM
Here it is, I am looking at setting up an events database, for Drum and Bass nights in London.
What I would like is a Custom "New Thread" form in the "Events" forum only.
The form would be something like:
Event Name -
Venue -
Date -
Times -
Price -
Arena 1 -
DJ's -
MC's -
Arena 2 -
DJ's -
MC's -
Arena 3 -
DJ's -
MC's -
Other Info: Text Box for other info on the event
Buy Tickets - (Phone Number or Link)
Upload Flier - (Attach File, but just jpg and gif ext.)
When an Event is posted I would also like it to link through to the Calendar, so the "event name" would be in the calendar under the correct date and would link to the post in the events forum.
If there were more than say 2 or 3 events on any one day you would get a seperate link (just like for birthdays) that would say "3 Events Listed"
So, could anyone help me out with this one?
TIA
Sean
ukliam
06-18-2002, 06:04 PM
right lets try it differently.
Does anyone know how I would go about doing this?
How could I create a custom form for the "new thread" in only one forum?
Would a new table be needed in the database to store these posts? as there will be more fields in them.
How can I get new posts to be links in the calender?
Thanks
Sean
If someone would like to do this hack but wants some money, please tell me how much.
You can have full access to my site/ftp to do the work needed.
ukliam
06-19-2002, 12:06 PM
I do hate replying to my own threads but doesn't anyone have anything to say on this?
Do you think it is possible?
How hard do you think it would be?
How would I go about doing it?
Fair enough if no one wants to write the hack, but this is a hacking forum, some tips would be nice.
or are there any similar hacks I could look at and convert?
Any help what-so-ever?
Thanks
Logician
06-19-2002, 12:34 PM
Originally posted by ukliam
Do you think it is possible?
Sure everything is possible, the question is how much time you need to devote to this job. :)
How hard do you think it would be
Depends how comfortable you are with PHP and MYSQL. it's neither a very easy hack, nor very hard one. But IMO a time consuming one.
Fair enough if no one wants to write the hack, but this is a hacking forum, some tips would be nice.Any help what-so-ever
Ok here are my tips:
if I were you I wouldnt hack vbulletin to form this feature. Instead it would be better to:
a) add a new table with relevant fields to MYSQL
b) write an individual script to handle it. (and that's time consuming)
Then you could make small modifications in calender.php to read data from your new table and display it in vb calender in any format you like.
I assume that you would want only your members to post this data to your database or use vb styles in the page users insert events. It seems an arduous job to integrate these features to your individual alien script but you can use eg. Webtemplates hack for your form where users enter the events. You can create your form in plain HTML and protect that page via webtemplates and your form can send the data to your script and the script writes it to your new table.
If you need to edit the inserted data, this requires a little more work to write the code to handle this.
Anyway, this project can be handled in different ways and if I were you I would use this method.
2- Another method:
If you dont want to code an individual script, you need to modify calander.php heavily to handle it. You'll add new fields to existing calander table and change calander.php dramatically to use your new table structure and calander design. One downside of it is you would lose existing calander structure because this wont be an addon but a conversion.
Hope this helps..
Logician
ukliam
06-19-2002, 02:06 PM
Cheers for the help, I am fine doing the database bit and the templates but don't think I would be able to do the php part of it at all.
I am definately going to need some help with this one.
Anyone willing to give it a go?
Logician
06-19-2002, 02:24 PM
if you know PHP but will get stuck while coding it, try to code it and when you get stuck, ask away here and somebody will help you.
but if you want someone to write it for you, I dont know if you can find any volunteers.
Good luck anyway..
ukliam
06-21-2002, 12:37 PM
there are many experienced hackers on here, someone must have a price.
I really don't fancy giving this a go, I can do basic editing of php files but there is no way I could write one from scratch.
So, what's your price?
TIA
memobug
07-18-2002, 10:28 PM
The guy over at www.rcuniverse.com seems to have a hacked the vB calendar with additional fields working and searchable.
Type:
Subject:
Location:
Event Type:
Event Information
Personally I agree that this is a useful function & I think that some of the folks who put you down here a little about the idea maybe don't understand the need for something like this.
Some communities don't have a physical, real-world component. Many do. I for one would welcome something like this.
here is a sample event
http://www.rcuniverse.com/calendar.php?action=getinfo&eventid=345
That is vBulletin, right?
Regards,
Matt
ukliam
08-01-2002, 01:44 PM
I have hacked mine with a load of different fields now, works fine.
Pretty easy to do as well.
Just want to be able to attatch images, can't figure that one out :)
Brain Crusher
02-04-2003, 08:18 PM
can you send me your hacked files?
Session
04-18-2003, 12:50 PM
ukliam, did you also link the calendar to a thread in vbulletin?? If so, i'd be very happy.. :)
Also, if you didn't integrate this, but only added some fields i'd still be very interested! Let me know m8!
Cyricx
04-21-2003, 11:25 PM
I'm very interested as well on how to add extra fields to the calendar :)
SamirDarji
08-20-2004, 08:09 AM
Did anyone ever get the codes to some of these neat calendar hacks? I want to do the same thing.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.