The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
What does this Mod do?
[hr].[/hr] This is a calendar mod that supports events created for World of Warcraft that allows signups for mains and alternates. Data for mains and alternates are pulled from the world of warcraft armory automatically and listed/displayed in a table format based on the style of your current site. Current Version [hr].[/hr] Current beta version = 1.2.7 (recommended) Current stable version = 1.2.6 Whether you are upgrading or installing from new, you ALL need to download the instructions and read them. There is a section for New Installs and a section for Upgrading. Inside there is also a NEW .CHM file (help file) that will also make it easier to read. I kept the instructions file in there as well but it's renamed to wowcalendar.txt instead. Review wowcalendar.chm if you are able to. It works better. What is required? [hr].[/hr] You will essentially need to perform:
Creating a Calendar Entry [hr].[/hr] When you create a calendar entry, single, recurring, etc. - make sure you enable users to signup (located at the bottom of the new calendar event form) (see the screenshot listed in this post). By default, it should place an automatic signup checkmark in that box. Once you submit, users will be able to signup. Alternates [hr].[/hr] If you have alternates on, alternates can be used to signup with (only if people have added additional characters to their user profile. At this time, the calendar only reads the top 3 lines in the profile box so any more characters listed will not be usable in the calendar. (i.e. if you have 7 characters listed, only the first 3 will be usable. Armory Data [hr].[/hr] Armory Data is pulled as soon as a "registered" user checks the calendar event. This data is then replaced into the armorydata table for use later on with the signups. Remember to set your server and your locale as well. If your server has two words (ex. Scarlet Crusade) you would input Scarlet+Crusade in the server box. If you play on a US server you would put US in the locale box. If you play on a European Server you would input EU in the locale box. Make sure you set all appropriate options. Options for your Calendar System [hr].[/hr] Go into your vb options and you will find two separate sections for setting options - one is for settings and one is for styles. You can change any options in here. Future revisions will include more substitutions/changes in this area. SPECIAL THANKS TO: [hr].[/hr] [name]Farcaster[/name]: For his initial MOD and ideas which got me started and into customizing the entire calendar. Farcaster's Event Attendance can be found at: https://vborg.vbsupport.ru/showthread.php?t=129088 [name]Gryphon[/name]: For helping with the original wow parser code and for giving me some tips/advice for working to implement it with the calendar system. In addition, Gryphon, formerly Blackjack, worked with me deeply to allow both this calendar and his current gWoWCharacter mod to be cross-compatible. He also helped with localization. Many thanks! Show Your Support
|
Comments |
#72
|
||||
|
||||
![]()
I was so brain satuated I forgot to include the table prefix for the modified sql statements. I'll fix that and look into the sorts.
|
#73
|
||||
|
||||
![]()
Version 1.1.8 fixes the sql prefix and re-adds the sorting method for class type. Thanks for the early catch and thanks for the feedback folks.
So, now that we have the alternates system in, the next feature update is going to concentrate on class max limitations for events. So, I have not begun to design the feature and would like some feedback on this. If you had your chance to add 3 modifications to the calendar, what would those modifications be? List them in order from highest priority to lowest priority. Feedback helps folks. ![]() Some tweaks to the system that I plan to make:
|
#74
|
|||
|
|||
![]()
Thankyou, you are so fast
![]() |
#75
|
||||
|
||||
![]()
So, my thinking is this:
I'm going to work on creating custom calendar fields that will be stored in the calendarcustomfield table. These will be something along the lines of: Instance Name Type of Event Loot Rules Maximum Participants Druid Max Hunter Max Mage Max etc.
I have some of these fields already created on my calendar and I can actually add these fields to the addon and then program the code based on the inputs you use. It would be a bit more polished this way. Any objections? |
#76
|
|||
|
|||
![]()
sounds great, espcially the Instance name, That would be good.
|
#77
|
||||
|
||||
![]()
I'm working on polishing up the URL parsing code so that if your browser timeouts when trying to connect to the armory, you don't overwrite your existing armorydata with empty data. This has been an uncommon occurrence but it has happened. While the issue is only temporary because as soon as you reconnect to the armory, the correct data is updated correctly, it's still an annoying thing to see happen. The data is stored in a vbulletin table but the replacement data being directed into that table is the problem. I will keep you posted.
|
#78
|
||||
|
||||
![]()
Version 1.1.9 has been updated.
This version should fix the small issues present with timed out armory URL parsing and fix any empty data values from hitting the armorydata table which would overwrite existing "good" data. As always, if you find any issues please report them to me asap. Thanks, |
#79
|
|||
|
|||
![]()
I've installed and reinstalled everything several times now but when I create an event and check the sign up box I get a blank page. If I refresh the page I get a download for the calendar.php which contains this code:
Quote:
|
#80
|
|||
|
|||
![]()
ok this fixed the problem:
uninstall, open up the xml file, and edit it like so: Find: $xml = file_get_contents($url); replace with: // $xml = file_get_contents($url); // Nah, let's cURL it instead $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); $xml = curl_exec($ch); curl_close($ch); // cURL'd |
#81
|
||||
|
||||
![]()
The error you were having in your original thread is due to your hosting provider not having your php.ini settings set to allow_url_fopen.
You need to contact your hosting provider and have them set the allow_url_fopen option to on. http://us.php.net/filesystem I will not be changing this piece of code to support any curl functions. fopen is pretty straightforward and easy to code and not all hosts have curl installed in their libraries. Also, curl is more beneficial if you have to authenticate and we don't really need to authenticate to this data. But, in case others have an issue with being able to connect, your "workaround" is definitely a good note for others. Thanks mate. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|