How about a module to manage a World of warcraft guild?

evui - November 1, 2006 - 20:01

Is there anybody that feels like to join me in writing such a module? It' would be cool, and would actually help small guilds in the game to have a great place to hang out and stay in touch when not playing :)

Help, ideas and suggestions about features or implementation are welcome (i don't want to start developing useless and lonely pieces of code, let's join our forces :)

I'd certainly make use of

timatlee - November 1, 2006 - 23:58

I'd certainly make use of something like that... though there are a lot of pieces in place already (forums and tinymce for example... the gm is a nub at spelling).

I'm really missing a raid signup utility and a DKP management tool though :)

I'd move my guild's site to Drupal (instead of home-grown) given those modules.. I just haven't gotten around to developing them or looking to see if something can be modified enough.

signup module + event.module

merlinofchaos - November 2, 2006 - 00:45

signup module + event.module can probably handle the raid signups just fine. Set the raid up as an event (or go a step further; add CCK module, create a node type called 'raid' and fields for the information needed about the raid; use that in the event calendar, and enable signups on it).

Not quite sure what DKP management is.

-- Merlin

[Point the finger: Assign Blame!]
[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]

I'm thinking about something

timatlee - November 2, 2006 - 04:25

I'm thinking about something like phpRaid - http://www.spiffyjr.com/ - which allows you to define how many of certain classes can sign up, put members in a queue, build raid "templates" and so on. I haven't installed signup and event modules, so I'm not sure how flexible they are... definitely something to dig into.

As for DKP management ... we use eqdkp - http://eqdkp.com/ - which runs independently of the rest of the site. Since the attendance and loot data is imported as XML from WoW, it pretty much runs as a separate system (which kinda sucks).

At best, I would like to be able to import the XML data, and have the data linked to a user's account... thinking that a user could log in, go to My Account, and view raid attendance, loot, points earned / spent, etc. Not sure how much that would fit into the Drupal "way"...

As soon as my internet

evui - November 2, 2006 - 18:51

As soon as my internet connection will be back to normal, I will have a look at those programs to see what features they implement, to have a rough idea of what things are already implementable in the drupal paradigm.

At best, I would like to be able to import the XML data, and have the data linked to a user's account... thinking that a user could log in, go to My Account, and view raid attendance, loot, points earned /
spent, etc. Not sure how much that would fit into the Drupal "way"...

I'm pretty sure it's doable :)

How about opening a group to discuss things further before the (eventual) implementation?

I agree

evui - November 2, 2006 - 19:06

signup module + event.module can probably handle the raid signups just fine.

I agree.

For the DKP here's an explanation:
http://en.wikipedia.org/wiki/DKP

Thanks for the feedback :)

I've already started on a

nhdriver4 - November 2, 2006 - 20:11

I've already started on a module that displays information from WoW Roster. (http://www.wowroster.net) It's only a few days old, so don't expect anything extravagant!

You can see the module in action here: http://wow.onovia.com I've already applied for a CVS account to get this thing uploaded.

I'll be willing to add more features, and support for additional scripts if they are requested.

I checked the demo site and

evui - November 3, 2006 - 08:25

I checked the demo site and it seems very cool, good job.
If i understand you are displaying data from the tables that are filled by wowroster right?

Correct. As of right now,

nhdriver4 - November 3, 2006 - 12:11

Correct.

As of right now, this module changes nothing in the roster database. It's simply a way for a guild to display information on their main web page. This is a 1 file install. Quick, easy, and flexible.

I myself like to tweak settings on everything. There's nothing worse than not being able to customize something to how you want it. So, alot of my focus is going into making sure that every little aspect of customization with the blocks and pages is covered. I have one friend that keeps throwing ideas at me for this module.

Anyways, I'll reply here with the link to the CVS (As long as I get approved!) once there's a release. I'm expecting that to be quite soon as I applied over a week ago now.

Hum, neat! I really like

timatlee - November 3, 2006 - 17:08

Hum, neat! I really like how the roster view looks. I can't wait to see the CSV for it.

I'm not overly familiar with wowroster ... I typically get my roster feeds from http://www.warcraftrealms.com/ (c/o Census+ mod). What kind of data does wowroster provide? Do you import it on a regular basis with cron? or does it depend on your guild members to use a mod + uniuploader to submit data to your guild site? Upon import, it looks like each member becomes a node of a specific type... or do you just load the data into a table in your db?

Branching a wee bit off topic, but you're certainly digging into more than I've ever bothered developing for my guilds site ;-)

I don't really know how to create a 'group' here to discuss module development, but I'd sure like to help if you need a hand testing or whatnot.

WoW Roster in itself is

nhdriver4 - November 3, 2006 - 23:12

WoW Roster in itself is quite a powerful script. Their official website is here: http://www.wowroster.net If your interested in seeing just WoW Roster in action, you can use my demo: http://wow.onovia.com/roster/ Members must either manually upload their character information, or configure uniuploader to automatically do it for them.

The module that I'm creating actually pulls information from your local wow roster tables, and displays it in drupal as blocks and pages. All information is loaded in real time, directly from the database.

Is This threat dead. I would

edberg - July 13, 2007 - 12:53

Is This threat dead.

I would like to know if somebody using drupal to a World Of Warcraft guild site

My former guild is -

timatlee - July 31, 2007 - 14:21

My former guild is - http://www.good2thelastdrop.org. I used the following modules, and had some help with the theme (other guildies contributed images and style ideas for the theme):

Core Optional modules: Comment, Forum, Poll, Search, Stats and Tracker

Events and calendars:
- Basic Event, Event, Event Views

Images (not in place anymore)
- Image, Image Gallery

Other Modules
- Private Message
- Advanced User Management
- FCKEditor
- IMCE
- Signature
- Taxonomy Access Control
- Update Status
- Views
- Voting API (not really used ATM, since I'm not using the advanced poll)
- Wesley Tanaka's Mark as Read - http://ofb.net/~wtanaka/drupal/markasread

All of the above, except Mark as Read, are available on drupal.org in the modules section.

I wrote the following modules:
- Agreement Page - this generates a page that has a "Click here to indicate that you agree to these rules" type button. This information is then reflected in the user's profile page.
- Alt Manager - A means of tracking what alts a user has to their name. This is required by some other modules. (Raid Sign up).
- DKP - A basic DKP system. We were using a silent bid system. The last time I used this was pre-BC, so I'm not even certain that it'll work with new versions of CT-RT... but you used to be able to export XML from CT-RT and load it into a new content type. It would then create a page with who was present, for how long, for what boss kill, and also for what loot dropped.. and form fields for point entry. It's big, its kludgey, but it worked.
- A custom registration module - If you sign up, you'll see a question "ARe you a tool?". This is what handles that.
- Raid Availability - Adds a tab to a user's profile for them to mark off available raiding times. Got broken in 5.x because of the integration of jQuery (somehow broke the Prototype JS I had). Never bothered to figure it out.
- Raid Signup - An extension of the Event module - Create events as raids with sign-ups. Some of the baisc functionality you might expect - owners/admins can manage a standby queue, limit numbers of certain classes, and so on. Visitors can sign up with one of their listed alts, etc.
- warcraftrealms.com roster - Roster data populated by http://www.warcraftrealms.com/ and Census+.

I haven't been a part of that guild for a bit now, and since then, the guild hasn't exactly been excelling - so pretty much the only thing in use is the forums and polls as of late.

If you have any questions, let me know.

warcraft modules availability

lborowski - August 4, 2007 - 07:46

are any of the modules you wrote available for download somewhere?

Nope - I never bothered to

timatlee - August 8, 2007 - 18:34

Nope - I never bothered to figure out how to put them up on drupal.org... that and I don't really want to be a slave to maintaining it :) but I can send them to you if you want. Send a message with your email address via the Contact tab in my profile...

If you can get them to me I

spanspace - August 17, 2007 - 14:11

If you can get them to me I can upload them to a good location for everyone.

spanthegnome [at] aim.com

Anyone ever get ahold of these?

davidrambo - August 22, 2007 - 18:20

I wrote an email to the author last week, have not had a response. Has anyone been able to get ahold of these? They'd be a great help for me. Let me know.

Modules, and a crude

timatlee - August 24, 2007 - 23:09

Modules, and a crude implementation of the Project module, are available at http://projects.good2thelastdrop.org.

Feel free to post issues :P

Thanks,

This looks quite interesting!

phasmaphobic - September 24, 2007 - 15:30

Hi timatlee, I was directed here from a post I recently made seeking assistance with a similar idea:

http://drupal.org/node/92425#comment-257385

I was hoping you could find a moment and check that out, and maybe provide some tips, advice, or whatever on how you went about setting the whole thing up yourself. I think the idea I'm working on is similar in several regards, and any advice and/or modding assistance would be greatly appreciated.

Thanks!
- Nathanael

Hi. I'm building a site for

mskristinahall - November 14, 2007 - 20:53

Hi.

I'm building a site for a WOW guild and I need to make a roster listing pulling info for the characters, equipment etc... from http://www.wowarmory.com

Is there such a module already in existance?

From armory

LateNightDesigner - November 15, 2007 - 00:17

I havn't seen anything. I beleive that it would have to be a custom job.

It's not that hard, since armory is based off of XML and it's available to the public.

//---------------------------------------
Latenightdesigners.com- Giving IMD a Fighting Chance

Hi. Any suggestions on how

mskristinahall - November 16, 2007 - 03:50

Hi.

Any suggestions on how that could be done. I'm not much of a programmer...

I can... manage things when given examples but in this case I'm just not sure how to go about it.

I'd like some help... or a guide who could help me do it as it's been a long time since I've worked with PHP and SQL... and well I haven't ever pulled content from a XML DB...

I had one that I was working

timatlee - November 27, 2007 - 17:13

I had one that I was working on... never made much headway with it because I got distracted by something else (item tooltips I think).

I once wrote a module that would collect data from the Warcraftrealms.com data, but it's popularity is declining in light of armory data.

Anything specifically you want a roster page to do? The armory has a good breakdown of class, race, levels, etc.. I'm not sure that duplicating that kind of presentation would be much value. I did think about tying Drupal roles to armory guild ranks, but that idea never left the "in my head" state...

Hi. Thanks for your awesome

mskristinahall - November 27, 2007 - 23:17

Hi.

Thanks for your awesome reply.

Well my guild wants...

To be able to have an always up to date list of all characters in the guild, and their basic info... Name, Race/Gender, Class, Level, and Guild Rank. They want the char name clickable, to show tons of info on the characters... Professions, Skills, Spells, etc... They want something like the info on WOWArmory... however on our site, and the listing of the content to be able to match the design of our choice.

Also, I personally.... wanted to be able to find a way to list all items in our guild bank to guild members who have access to the guild bank... Since my guild is gaga over the new bank function right now. I also... meep... wanted to list guild stats... on what types of characters are most common in the guild, which are less common etc etc.

Now... WOWArmory's info is all XML based... which is cool. Problem is I'm clueless on how to manage what my guild and I want to do.

I've done some searching around, and tests... but no luck thus far. I was searching around about XML and how to... parse and display it.

I found this on the w3schools site... I'm wondering if this is going in the right direction. According to w3schools... "This example is a cross-browser example that loads an existing XML document ("note.xml") into the XML parser." (http://www.w3schools.com/xml/xml_parser.asp)

Would the example below be the right idea?... I have no idea. I'm kinda hoping you'd have an idea...

FYI... my msn is ms [dot] kristina [dot] hall [at] gmail [dot] com . I would really appreciate speaking with you directly about this. Maybe we could work together and come up with a module for future WOW guilds...

<html>
<head>
<script type="text/javascript">
var xmlDoc;
function loadXML()
{
//load xml file
// code for IE
if (window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.load("note.xml");
getmessage();
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation && document.implementation.createDocument)
{
xmlDoc=document.implementation.createDocument("","",null);
xmlDoc.load("note.xml");
xmlDoc.onload=getmessage;
}
else
{
alert('Your browser cannot handle this script');
}
}

function getmessage()
{
document.getElementById("to").innerHTML=xmlDoc.getElementsByTagName("to")[0].childNodes[0].nodeValue;
document.getElementById("from").innerHTML=xmlDoc.getElementsByTagName("from")[0].childNodes[0].nodeValue;
document.getElementById("message").innerHTML=xmlDoc.getElementsByTagName("body")[0].childNodes[0].nodeValue;
}
</script>
</head>

<body onload="loadXML()">
<h1>W3Schools Internal Note</h1>
<p><b>To:</b> <span id="to"></span><br />
<b>From:</b> <span id="from"></span><br />
<b>Message:</b> <span id="message"></span>
</p>
</body>
</html>

I'm doing my best to hack

mskristinahall - November 28, 2007 - 20:44

I'm doing my best to hack this on the very little knowledge I have. :( I hate not knowing enough but I truly do wish to succeed in doing what my guild wants and needs. Hopefully I'm a few steps closer this time....

FYI my MSN is ms [dot] kristina [dot] hall [at] gmail [dot] com ... I would really appreciate speaking with someone knowledgable directly.

ON PAGE IN DRUPAL

<?php

// Load the XML source
$xml = new DOMDocument;
$xml->load('collection.xml');
xml-stylesheet type="text/xsl" href="guildss.xsl";
xmlDoc.selectNodes(//guildKey[@name='Forsaken Deity'])

$xsl = new DOMDocument;
$xsl->load('http://www.wowarmory.com/guild-info.xml');




// Configure the transformer
$proc = new XSLTProcessor;
$proc->importStyleSheet($xsl); // attach the xsl rules


echo trim($proc->transformToDoc($xml)->firstChild->wholeText);


?>

EXAMPLE XML from http://www.wowarmory.com/guild-info.xml?r=Boulderfist&n=Forsaken+Deity&p=1 as I cannot view the XML directly from http://www.wowarmory.com/guild-info.xml

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/layout/guild-info.xsl"?><page globalSearch="1" lang="en_gb" requestUrl="/guild-info.xml">
  <guildKey factionId="1" name="Forsaken Deity" nameUrl="Forsaken+Deity" realm="Boulderfist" realmUrl="Boulderfist" url="r=Boulderfist&amp;n=Forsaken+Deity"/>
  <guildInfo>
    <guild>
      <members filterField="" filterValue="" maxPage="1" memberCount="172" page="1" sortDir="a" sortField="">
        <character class="Druid" classId="11" gender="Male" genderId="0" level="70" name="Obsydien" race="Tauren" raceId="6" rank="0" url="r=Boulderfist&amp;n=Obsydien"/>
        <character class="Shaman" classId="7" gender="Female" genderId="1" level="70" name="Daingea" race="Troll" raceId="8" rank="1" url="r=Boulderfist&amp;n=Daingea"/>
        <character class="Druid" classId="11" gender="Male" genderId="0" level="70" name="Maximoo" race="Tauren" raceId="6" rank="2" url="r=Boulderfist&amp;n=Maximoo"/>
...
...
...
      </members>
    </guild>
  </guildInfo>
</page>

XSL STYLESHEET
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
 
   <table border="1">
    <tr bgcolor="#000000">
      <th align="left">Name</th>
      <th align="left">Race</th>
      <th align="left">Class</th>
      <th align="left">Level</th>
      <th align="left">Rank</th>
    </tr>
    <xsl:for-each select="guildInfo/guild/members/character">
    <tr>
      <td><a href=" link to detailed char info somehow"><xsl:value-of select="name"/></a></td>
      <td><xsl:value-of select="race"/></td>
      <td><xsl:value-of select="class"/></td>
      <td><xsl:value-of select="level"/></td>
      <td><xsl:value-of select="rank"/></td>
    </tr>
    </xsl:for-each>
    </table>

</xsl:template>

</xsl:stylesheet>

I've wrote for myself a

Djuxa - March 11, 2009 - 11:42

I've wrote for myself a couple of modules for a guild site, basicly, a raidplanner, which is much like the phpraider, and a guild roster. But i didn't find a way how to put them up on drupal.org.

I would really appreciate

sunstone - March 29, 2009 - 11:48

I would really appreciate your work. Could you send me the modules? Email is writesunstone@gmail.com

 
 

Drupal is a registered trademark of Dries Buytaert.