I am looking for any and all "World of Warcraft" modules...Or "Generic MMORPG" modules that can work with any Online RPG type PostNuke site...Some module types I am looking for in particular are:
A server Status module - A module to check the status of either one, or ALL the WoW servers.
A guild Bank Module - A pretty basic module I would imagine..Just used to display how much gold is in the guild fund...Updated through an admin.
Guild Roster - I have seen a few made FOR EQ, but they can't really be fiddled with to make it work for a WoW guild..because EQ is much more complicated than WoW currently is..and if it COULD be done..It's beyond my level of expertise.
Anyone know if any of these exists?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
World of Warcraft Modules
-
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Nov 22, 2006
- Posts: 53
For the server status, I found a PHP script on one of the wow forums. I just put it into a block, and it parses the server status page from worldofwarcraft.com
As for the guild roster I can offer 2 options there. I converted an old EQ module over to WoW. I still have the files somewhere, and I can get those to you. The other option is to use the wowprofiler system. http://wowprofiler.sourceforge.net . I use that system now with PostWrap to wrap it into our postnuke site. You can see my example at www.blitzguild.org -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 26, 2005
- Posts: 36
Quote
For the server status, I found a PHP script on one of the wow forums. I just put it into a block, and it parses the server status page from worldofwarcraft.com
As for the guild roster I can offer 2 options there. I converted an old EQ module over to WoW. I still have the files somewhere, and I can get those to you. The other option is to use the wowprofiler system. http://wowprofiler.sourceforge.net . I use that system now with PostWrap to wrap it into our postnuke site. You can see my example at www.blitzguild.org
Kandiil, Very nice looking site! Actually the way you have your server status is exatly what I want, but for the feathermoon realm...I tried looking around on the official WoW forums, but no luck finding the thread...
As for the roster, if you still have the files you converted, and if they run on the newer PN, I would greatly appreciate it if you could send those to me. Mainly because I haven't quite figured out those "Wrap" modules..I'm new to PN in general and still just figuring out my way around on the themes..heh..So, as far as modules go..unless it's simple plug-n-play, at this point it tends to confuse me..heh
Quote
PNClansite will be able to do the last or there are some other rosters out there you could use.
for the rest, I have no clue.
Thanks Silverscout, I may look into that if the other options bottom out on me. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Nov 22, 2006
- Posts: 53
Go into administration and create a new PHP block. Then paste in the following code.
Quote
// World of Warcraft Server Status
// Ver 1.4
// Copyright 2004 Nick Schaffner
// http://ink.ph/questions3
// Set the following varibles, make sure to remain
// within the quotes. You can substitute any varible
// (except Server Name) with a URL to a picture.
$server = "Stormrage";
$up = 'Up';
$down = 'Down';
$hig = 'High';
$med = 'Medium';
$low = 'Low';
// PHP Magic Below, Don't Edit
$HTML = file_get_contents('http://www.worldofwarcraft.com/serverstatus/');
$server = str_replace("'", "'", $server);
$length = strlen($server);
$pos = strpos($HTML, $server);
$serverstatus = stristr(substr(substr($HTML, -(strlen($HTML) - $pos + 154)), 0 ,4), "up");
if ($serverstatus == false) {$serverstatus = "down"; $length = $length + 2;}
$servertype = substr(substr($HTML, -(strlen($HTML) - ($pos + $length + 117))), 0, 3);
if ($serverstatus == "up") $fontcolor=("FFFF00");
if ($serverstatus == "down") $fontcolor=("FF0000");
if ($servertype == "(RP") {$length = $length + 1; $servertype = "Roleplay";}
else if ($servertype == "Nor") {$length = $length + 3; $servertype = "Normal";}
else {$length = $length + 2; $servertype= "PVP";}
$serverpop = strtolower(substr(substr($HTML, -(strlen($HTML) - ($pos + $length + 256))), 0, 3));
if ($serverpop == "hig") $fontcolr=("FF0000");
if ($serverpop == "med") $fontcolr=("FFFFFF");
if ($serverpop == "low") $fontcolr=("FFFF00");
$serverstatus = $$serverstatus; $serverpop = $$serverpop;
////////////////////////////////////////// Output, Edit at your own risk:
echo<<<end>$server
Server Status:
<font color="\"$fontcolor\"">
$serverstatus
Server Load:
<font color="\"$fontcolr\"">
$serverpop
END;
</end>
Just change the server name to whatever server you are on. YOuc an also change the words like up and down if you wish. Only thing I did to this code was add the coloring to the up and down and server load featuers.
I have to dig out those files for you on the roster system. I'll try nad find those tonight and get ya a link to download them. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 26, 2005
- Posts: 36
Hmmmm...I'm getting the following error when putting this block up..
Quote
Parse error: parse error, unexpected T_SL, expecting ',' or ';' in /home/.alcatraz/taftianc/taftian.com/guild/includes/blocks/php.php(55) : eval()'d code on line 45
Anyone know what's causing this? something I am doing wrong? Something on my Servers end? -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Nov 22, 2006
- Posts: 53
Not sure on that error. Might double check and make sure that you are adding the block the right way.
Administration -> Blocks -> New Block
Give it a title like Server Status in teh Block drop down menu make sure you select Core/PHP Script
If that's what you have done, then not sure what to tell ya. Sorry. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 26, 2005
- Posts: 36
Yea, I did it right...Can't figure it out..Leaves me baffled. Oh well, woulda been nice but not a big deal really..Mainly cosmetic So I can live without it unless someone else knows whats causing the problem and how I can correct it.
Thanks anyway for trying! :) Greatly appreciated..Hopefully I have better luck with the Roster..
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 842
The last chunk of code (that begins with echo<<<end and="and" ends="ends" with="with" looks="looks" very="very" the="the" function="function" in="in" lang="en" xml:lang="en" title="PHP: Hypertext Preprocessor">PHP is meant to return a value from an array but as there's no array described after the END appears, something's wrong. Try this instead:
Code
$myContent = '<u>'.$server.'</u><br>
<b>Server Status:
<font color =\"'.$fontcolor.'\">
'.$serverstatus.'</font><br>
Server Load:
<font color =\"'.$fontcolr.'\">
'.$serverpop.'</font></b>' ;
$output->Text($myContent) ;
As I don't have a PHP capable machine with me ATM, I can't test that for you, but if it doesn't work, let me know.</end> -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 26, 2005
- Posts: 36
Nope, that didn't work either...
The thing that get's me is it works just FINE Kandiils site, and I assume what he gave me was prolly taken directly from his site...But, for whatever reason when I add it in a PHP core block I get the error I mentioned earlier..
I did some searching around on the error, and it seems most of the time the error is caused by a space after "echo<<PHP configured or something? Or mebbe it's running on a different version? I'm stumped..Completely and totally. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Nov 22, 2006
- Posts: 53
Your right tater. I copied that straight out of my Block. The "echo<<PN .750 gold. I don't know if maybe you are running a different version or something like that. It's got me baffled since it works fine on my site. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 842
Done some more research and now I understand what the original script is doing. Try this:
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 26, 2005
- Posts: 36
I'm not sure off hand what version of PN I am using..the newest version, whatever that is..I downloaded it just a few days ago...
As for the code alteration..I get the same error..Mebbe I'm misunderstanding you, or maybe it just won't work..
I have the last chunk reading..
Code
Is that what you mean?
If so, then..Oh well..For whatever reason it just won't run..maybe it's how dreamhost has things configured on their end..It wouldn't be the first time I couldn't get a script to run correctly on there. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 842
Nah, kill the first and last line of the code you quoted above. The "Here Document" style of programming is specialized and I suppose there could be issues with a host. The translation I gave you is as basic as PHP gets and if that doesn't work, there's something up that we can't help you with here.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
