Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
World of Warcraft Event Calendar Details »»
World of Warcraft Event Calendar
Version: 1.2.7, by elricstorm elricstorm is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 04-18-2007 Last Update: 07-06-2007 Installs: 97
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

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:
  • One product XML import
  • Two PHP file uploads
  • One Profile addition for User Profiles
  • One Template Modification
  • Uploading image files to the specified path listed in the instructions
Review the "instructions" contained in the zip file before installing this product.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 06-07-2007, 03:30 AM
Hyrel Hyrel is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My theory is that the armory is timing out. I'm going to continue to mess with that and see what happens. In the meantime here's the screenshots.
Reply With Quote
  #113  
Old 06-07-2007, 03:31 AM
Hyrel Hyrel is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep same thing as Shane
Reply With Quote
  #114  
Old 06-07-2007, 04:16 AM
Masked Crusader Masked Crusader is offline
 
Join Date: Oct 2005
Location: Sacramento, CA, USA
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup your screens are the same as mine.
Reply With Quote
  #115  
Old 06-07-2007, 10:34 AM
elricstorm's Avatar
elricstorm elricstorm is offline
 
Join Date: Aug 2006
Location: Stamford, CT
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use version 1.2.0 from the previous_versions zip I included. cURL returns an empty array. I confirmed that with some extensive testing. I see nothing wrong with the cURL code but the armory does not like it. Version 1.2.0 does work but there aren't any time out features included with it. However it includes the empty data checking feature. So, if the armory is slow, the event checking will be slow too but I'll find a way around it.

The reason why all of your class/level/race information is coming up blank is because the cURL returns:

Array() in version 1.2.1

In 1.2.0 it returns

Array
(
data..
data..
data..
)

I've included a zip for testing which shows the difference between the normal file_get_contents and also CURL. If you access these directly on your site you will see what I'm talking about.
Reply With Quote
  #116  
Old 06-07-2007, 11:14 AM
elricstorm's Avatar
elricstorm elricstorm is offline
 
Join Date: Aug 2006
Location: Stamford, CT
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good news!

This works 100%.

PHP Code:
    function parse_wowarmory($url
    { 
        
ini_set('user_agent''Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'); 
    
$ch curl_init();
    
$timeout 30;
        
$xml file_get_contents($url);
    
curl_setopt($chCURLOPT_URL$xml); 
    
curl_setopt ($chCURLOPT_RETURNTRANSFER1);
    
curl_setopt ($chCURLOPT_CONNECTTIMEOUT$timeout);
        require_once(
DIR '/includes/class_xml.php'); 
        
$xmlobj = new vB_XML_Parser($xml); 
        return 
$xmlobj->parse(); 
    
curl_exec($ch);
    
curl_close($ch);
    } 
I'm doing some tests and will report back in a bit.
Reply With Quote
  #117  
Old 06-07-2007, 02:56 PM
Masked Crusader Masked Crusader is offline
 
Join Date: Oct 2005
Location: Sacramento, CA, USA
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Elricstorm,

I appreciate you staying on top of this bud. I thought I was going to be waiting a month for a response . I am used to it with other mod designers around here.

Anyways, I am looking forward to a new release.
Reply With Quote
  #118  
Old 06-07-2007, 03:59 PM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shanejeffery86 View Post
Elricstorm,

I appreciate you staying on top of this bud. I thought I was going to be waiting a month for a response . I am used to it with other mod designers around here.

Anyways, I am looking forward to a new release.
Elric is Win.

(A New Idea)

I just thought of an idea when i find out sometimes my events page wont load because of armory being down, What if every character gets checked and stored into the database, So then the calander only needs to access the armory once for the first update, And manual updates of character info can be made through the guild members pressing an update button, I think this will solve the problem of not being able to pull then information from the armory when the wow site is down.

Click event -> Check Armory -> pull info from armory into DB or file.

then maybe after that it could go...

Click event -> check armory -> no reply from armory so check DB or file.

or in another instance..

Click event -> check armory ->Different data found to that in DB -> overwrite old data with new data found, If armory dont load then load last best data from DB.
Something like that??
Reply With Quote
  #119  
Old 06-07-2007, 04:18 PM
Masked Crusader Masked Crusader is offline
 
Join Date: Oct 2005
Location: Sacramento, CA, USA
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gooner View Post
Elric is Win.

(A New Idea)

I just thought of an idea when i find out sometimes my events page wont load because of armory being down, What if every character gets checked and stored into the database, So then the calander only needs to access the armory once for the first update, And manual updates of character info can be made through the guild members pressing an update button, I think this will solve the problem of not being able to pull then information from the armory when the wow site is down.

Click event -> Check Armory -> pull info from armory into DB or file.

then maybe after that it could go...

Click event -> check armory -> no reply from armory so check DB or file.

or in another instance..

Click event -> check armory ->Different data found to that in DB -> overwrite old data with new data found, If armory dont load then load last best data from DB.
Something like that??
FANTASTIC IDEA! I am going to elaborate on it though.

Put an update button right next to the character name field on the right hand side in the User CP ---> Edit Profile.

That should be easy enough imo.

Maybe I am wrong though
Reply With Quote
  #120  
Old 06-07-2007, 05:43 PM
elricstorm's Avatar
elricstorm elricstorm is offline
 
Join Date: Aug 2006
Location: Stamford, CT
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks to Blacksnake I may have a better piece of code for the new version to be released tonight. We'll see how this new bit of code works first. I'll have it updated this evening.
Reply With Quote
  #121  
Old 06-07-2007, 06:00 PM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet, this maybe the virsion i update to, ill be updating every other virsion, because your so fast, otherwise ill be updating every day :P
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 06:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10494 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
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)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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