Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2002, 11:45 AM
ukliam's Avatar
ukliam ukliam is offline
 
Join Date: Dec 2001
Location: London
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Events Hack

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
Reply With Quote
  #2  
Old 06-18-2002, 06:04 PM
ukliam's Avatar
ukliam ukliam is offline
 
Join Date: Dec 2001
Location: London
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-19-2002, 12:06 PM
ukliam's Avatar
ukliam ukliam is offline
 
Join Date: Dec 2001
Location: London
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-19-2002, 12:34 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

Quote:
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.

Quote:
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
Reply With Quote
  #5  
Old 06-19-2002, 02:06 PM
ukliam's Avatar
ukliam ukliam is offline
 
Join Date: Dec 2001
Location: London
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 06-19-2002, 02:24 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #7  
Old 06-21-2002, 12:37 PM
ukliam's Avatar
ukliam ukliam is offline
 
Join Date: Dec 2001
Location: London
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 07-18-2002, 10:28 PM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.p...fo&eventid=345

That is vBulletin, right?


Regards,

Matt
Reply With Quote
  #9  
Old 08-01-2002, 01:44 PM
ukliam's Avatar
ukliam ukliam is offline
 
Join Date: Dec 2001
Location: London
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 02-04-2003, 08:18 PM
Brain Crusher Brain Crusher is offline
 
Join Date: Feb 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you send me your hacked files?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02093 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete