The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Sports predictions Details »» | |||||||||||||||||||||||||||
First of all, a big thank you to nico_swd He gave me the entire ajax code
Thank you also to Abe1 for trying to help me. Second, this hack while complete for me will be incomplete for you. I am releasing it as a base so you can tailor it to your needs. If you don't know php stay away from it as I don't guarantee support. This is released mainly as a guide if someone else wants to elaborate on it. As I stated, it was done for my needs and serves my purpose fully. I use it for soccer, but that could be used for any sport. What's missing for you? 1- You would need to find a way to add actual scores results. Unfortunately, I use a totally dynamic system that feeds that info for me in another table and I had no need to create a control panel. I suggest you alter the event table and add 2 fields in there: homescore and awayscore and add the mini control panel at calendar edit. 2-You need to add your own jerseys. Each jersey needs to have the same name than the team. 3-You will not have the dynamic info as far as game report etc... 4-You will not get the list of winners (linked automatically) What does this hack do? It adds a prediction system for any kind of sports and allows your members to predict the outcome. Unfortunately, this could not be a product, because there are no hooks where I needed it. You would need to: run a query edit 1 file edit 4 templates upload 2 files add a frontend redirect phrase create a dedicated calendar for sports and remember its id. You will need to replace mine (which is 4) with yours. add some custom fields to that calendar The first two fields are mandatory and must be named Home and Away if you change that, then you would need to change all templates. This takes into consideration the dateline_from and prediction will automatically be closed at that time. To see the full scope of the system click here and click on a calendar date to see predictions. TIP: If you need jerseys images for NFL football teams or other American sports, look for the vbux addon for sports which has a bunch of them P.S. I also use it with the Events Forums hack. If anyone wants that, I'll post the changes I made in there. to make it cross browser compliant, change Quote:
Quote:
Show Your Support
|
Comments |
#22
|
|||
|
|||
can this work for 3.5.4? TIA
|
#23
|
|||
|
|||
I don't find this string in calendar.php :
Quote:
|
#24
|
|||
|
|||
well, just by reading at the topic thread many ideas came to mind, first of them was, NICEE!, then after reading users posts, i realized it didnt had much i want.. NHL game predictions or even just to display scores, like have each team games from the team calendar for a given year and display the page for each team on the forums, somewhere, then get final scores from NHL.com. I go too far some times, it only takes a dream and people behind to make it happen...
|
#25
|
||||
|
||||
I would like to see this hack be made too
*bookmarks thread* |
#26
|
||||
|
||||
Thinking about it, it would be great if this was integrated with vBookie, so members can bet on the predictions too. If only I knew how to code!
|
#27
|
|||
|
|||
yes would be great.
|
#28
|
|||
|
|||
If you use the forums events hack, then whatever you have in calendar displays in showthread where you can have vbookie.
|
#29
|
|||
|
|||
Somebody help in developing the mod further a bit
this mod will be awesome |
#30
|
|||
|
|||
I would love a one for the premiership, i run a predictions league but it is all done by ourselves. Something like that would be awesome
|
#31
|
|||
|
|||
I run a soccer site and this would be awesome, if i can integrate with vbookie that would be fantastic.
Will be watching this one and hoping......good luck |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|