Dragonfly CMS v9 ⇒ Gamers Modules & Blocks ⇒ Guild Event Manager/GEMPHP for DF version 1.0.4 available! ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexModules & BlocksGamers Modules & Blocks

Guild Event Manager/GEMPHP for DF version 1.0.4 available! Reply to topic


Hey all! Ported version 1.0.4 of GEMPHP to DF.

New this version:
  • A block which will list 10 upcoming events
  • An admin control panel - doesn't anything yet but will be for the settings - instead of hacking the config file 9version 1.0.4.1)
  • cleaned up the DF installer - there were soem sloppy Database issues in previous version
  • Module should be completely DF compliant now

How to use: Basically upload the files, install in the DF admin control panel/Module and upload your lua file. Thats it!

The block functions as a normal block. PLEASE NOTE: If you install this in a folder other than "modules/gem" you will need to edit the block. It is pretty simple and is noted in the code where to edit.

If you're using version 1.0.3.1 you should run the upgrade instead of the install.

Working version at oi-guild.com/index.php?name=gem

Support Forum specifically for this module:
www.sanctidamnatus.com...um&f=4
or from this thread.

I would love some feedback!

Download from this site:
dragonflycms.org/Downl...d=394.html
Other download locations:
oi-guild.com/index.php...&id=11
www.sanctidamnatus.com...s&id=2

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


He I noticed a small error in the SQL lines of the installer - this has been fixed.

Also corrected the OK button in the upload screen.

Sorry!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Looks great, it's ashame that's geared toward one game though Razz

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.4.27-2-686/Apache 1.3.34/5.0.19-Debian_2/4.4.2/Dragonfly 9.0.6.1


I just port...LOL

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I can't get it to work! =(

I followed the install instructions, but when I try to upload, I get this:



Can you help me out?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
XP/1.3.37/4.1.21/4/9.0.6.1


My bad!

Check the "config.php" file. You still have to set time zone and server there. My next version will have that in the admin control panel.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks for helping me out, but it's still not working! Sad

My server is Ragnaros (Europe), and I noticed there's no enGB... just enUS.

Would that have anything to do with it?

Is it impossible to use this DF Gem if you're on a European server?

EDIT:
I'll include the stuff I changed.

// Localization setting. Possible languages at the moment ( deDE | enUS ) $gem_lang = 'enUS'; // Timezone settings 0=GMT,UTC $mytc=+1; //DaylightSavingTime (Sommerzeit) this gets added to your time $mydst=1; //some more settings $realm='Ragnaros'; //for realms containing ' replace ' with \' $realm='Kel\'Thuzad'; //Offset for Blizzards Raidresetdays should be 6 for US, -1 for EU, 1 for Asia $resetoffset=-1; //debug statements ( 1 on | 0 off ) $debug=0;

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
XP/1.3.37/4.1.21/4/9.0.6.1


Try deDE for german and frFR for french. The files are in the /localization/ directory.

What kind of issue are you having? I tried to register to see whats happening.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I keep getting the same error, the same as in the screenshot a few posts up, though "Draka" has changed to "Ragnaros".
I'll approve you on the website.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
XP/1.3.37/4.1.21/4/9.0.6.1


I tried to upload a a file from Draka and it rightly told me there was no data. A few things

1 - try enabling debugging (see the setting in config.php)
2 - "No Events found for Realm Ragnaros did you use the correct GuildEventManager2.lua?
Should be C:/Program Files/World of Warcraft/{expletive removed}/Account//SavedVariables/" ... Are you sure you pointed to GuildEventManager2.lua?
3 - Try opening the GuildEventManager2.lua file and confirm the data exists.
4 - I cannot find a Ragnaros realm: www.worldofwarcraft.co...almstatus/. Please confirm the spelling.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


If you edit the lua file you will see an entry like this:

GEM_Events = { ["my_bcast_offset"] = 84, ["debug"] = 0, ["MinimapTexture"] = "Spell_Nature_TimeStop", ["next_event_id"] = 6, ["MinimapArcOffset"] = 227, ["realms"] = { ["Icecrown"] = { .... Stuff here.... ["Draka"] = {

Any realm you log into will show here. If you have some sort of coding type editor (like dreamweaver, sciTE, etc) then use that to view the file. Otherwise Notepad will do.

Confirm what the name of the realm is.

Finally I haved my GuildEventManager2.lua file and replaced Draka with Ragnaros and it uploaded correctly. So I am thinking you have the wrong file or your copy of GEM is not parsing data properly.

I am attaching mine so you can se what a properly formatted one looks like.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I guess this will not work with current GEM version?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.33 (Unix)/4.1.21-standard-log/4.4.4/9.0.1.1


Why not?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I can install it ok, but nothing gets imported. I don't get any warnings about the file being empty though.

I did turn on the warnings and get a load of:

"Notice line 62: Undefined offset: 0"

from modules\gem\lib\luaparser.php

Any ideas on this?

Many Thanks,

Pugro_

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Win2K3/IIS6/MySQL 4.1.22/PHP 4.4.2/9.1.1


Managed to get an updated lua parser from another project and use that instead....if I enable warning an errors get a load more issues but seems to basically work now Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Win2K3/IIS6/MySQL 4.1.22/PHP 4.4.2/9.1.1

All times are UTC


Jump to: