WRX Module

Xoops / eXoops integration forum

WRX Module

Postby mdeshane » Sun Dec 10, 2006 8:43 am

Well good news for any of you using Xoops or thinking about using Xoops. I've been working on a WoW Roster port for the Xoops CMS Portal. I'll be making the appropriate changes to the module according to the new Roster 1.7.2 beta and begin final testing of the WoW Roster X for Xoops. Anyone else interested in this let me know.
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

WRX Module

Postby Gyffes » Sun Dec 17, 2006 7:25 pm

Rear one I would have interresse at an integration too exoops it also gladly would test: -)
Last edited by Gyffes on Sun Dec 17, 2006 7:27 pm, edited 1 time in total.
User avatar
Gyffes
WR.net Apprentice
WR.net Apprentice
 
Posts: 45
Joined: Wed Sep 20, 2006 2:05 am

WRX Module

Postby pyrran » Fri Dec 29, 2006 3:49 pm

Yes most definitely - was going to hack it in myself, but why re-invent the wheel ;-) will be awating the module with interest!
pyrran
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Thu Dec 21, 2006 5:44 am

Re: WRX Module

Postby mdeshane » Mon Jan 01, 2007 12:03 am

Good news! I've almost completed the module... Still trying to work out bugs, but the module does work on my Dev. Server and I have tried it 3 or 4 times just to make sure! Hopefully I'll have it uploaded soon to the Xoops CVS so you all can test it.
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Re: WRX Module

Postby mdeshane » Mon Jan 01, 2007 8:13 pm

Well it's finally done! WRX 1.25 (RC1) is now available. Just click the links below!!!

WRX 1.25(RC1) Full
WRX 1.25(RC1) No Imagepack
Interface Imagepack 2.0.1

The imagepack is the same as on this site, this download is more available for the Xoops Community than the WoWRoster Community.

Let me know how it works!!! I have only tested it on a New Xoops 2.0.16 Install running Apache 2.2.3 (Win32) and MySQL 5.0.27-community-nt with PHP 5.2.0

Also works on Live Xoops 2.0.16 Install running FreeBSD with Apache ?.?.?, MySQL 4.0.16 and PHP 4.4.1

You can check out a live version here!
Explicit Lyricists
Last edited by mdeshane on Thu Jan 04, 2007 3:37 pm, edited 5 times in total.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

WRX Module

Postby Gyffes » Tue Jan 02, 2007 10:18 am

Hi

I have a problem whit the wrx

i have eXV2 Vers. 2.0.4.3

i have the pack unzipped and upload in my moduls root
Im going on my admin modul site from exoops and install the wrx modul
thats ok

than i go to config the modul and have a error

Fatal error: Class wowdb: Cannot inherit from undefined class xoopsdatabase in /xxxxx/xxx/xx/modules/wowrosterx/lib/wowdb.php on line 30


what can i do

Thanx for help and sorry for my enlgish

i'm speak it a littel bit
Last edited by Gyffes on Wed Jan 03, 2007 9:04 am, edited 1 time in total.
User avatar
Gyffes
WR.net Apprentice
WR.net Apprentice
 
Posts: 45
Joined: Wed Sep 20, 2006 2:05 am

Re: WRX Module

Postby mdeshane » Tue Jan 02, 2007 4:30 pm

Gyffes wrote:Hi

I have a problem whit the wrx

i have eXV2 Vers. 2.0.4.3

i have the pack unzipped and upload in my moduls root
Im going on my admin modul site from exoops and install the wrx modul
thats ok

than i go to go to config the modul and have a error

Fatal error: Class wowdb: Cannot inherit from undefined class xoopsdatabase in /xxxxx/xxx/xx/modules/wowrosterx/lib/wowdb.php on line 30


what can i do

Thanx for help and sorry for my enlgish

i'm speak it a littel bit


Well, I'm not sure as this was made for Xoops 2.0.16. I'm not very familiar with the eXoops system however I know it is based off the Xoops system. If I get the time I'll look at making this into an eXoops module as well.

And the best thing I can tell you for now is that it probably has something to do with the database naming, in WRX, the wowdb class extends the xoopsDatabase class, and that may be what's causing your error.

It may be that you will need to change all the xoopsDB related coding to whatever eXoops uses. The good part is, all the xoopsDB coding is in wowdb.php.

I hope that helps you get to a solution and I will look into integrating the roster into eXoops.
Last edited by mdeshane on Tue Jan 02, 2007 4:40 pm, edited 1 time in total.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

WRX Module

Postby Gyffes » Tue Jan 02, 2007 6:16 pm

oh

thanks

xoops and exoops two different syteme

surprise me only it so far be installed could
thanks you nevertheless for the development of this integration

much-calibrated times someone brings one preserves in such a way integration for exoops (exv2) gentleman out.
User avatar
Gyffes
WR.net Apprentice
WR.net Apprentice
 
Posts: 45
Joined: Wed Sep 20, 2006 2:05 am

Re: WRX Module

Postby mdeshane » Tue Jan 02, 2007 6:54 pm

Alright, after doing a little research on eXoops I've learned that it was based off the old Xoops 1.3.x line and has been on it's own since, meanwhile Xoops went with the SmartyTemplates and eXoops did not.

But what you would be more interested in knowing is that eXoops is 90% Xoops, which is why it installed, etc. However, eXoops still uses $db where Xoops now uses $xoopsDB.

If you look in your lib/wowdb.php file make the following changes:

class wowdb extends xoopsDatabase -> class wowdb extends AbsDatabase

and change all instances of $xoopsDB -> $db

All changes should be between lines 30 and 318

I hope this helps you, if you have problems I can make the changes and post the file for you to re-upload to your site.



Patch files for WRX 1.25(RC1):

WRX 1.25 (RC1) Xoops Patch - **Updated!** Fixes three bugs with WRX 1.25

WRX 1.25 (RC1) eXoops Patch - **Updated!** Fixes three bugs as well as enable the database to work with eXoops.

To install the patch refer to the patch note.txt file included.
Last edited by mdeshane on Thu Jan 04, 2007 3:40 pm, edited 3 times in total.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Re: WRX Module

Postby MonkeyBubbles » Wed Jan 03, 2007 2:32 am

Not sure if anyone else will be affected by this, but utilization of this module conflicts with my ability to see the "View Account" page. With the module active, my user.php or userinfo.php pages both come up blank. With this module deactivated, they come up fine.

Beyond that, this module is great. Installed, configured, and running without any issues.
MonkeyBubbles
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Jan 03, 2007 2:20 am

Re: WRX Module

Postby mdeshane » Wed Jan 03, 2007 2:37 am

MonkeyBubbles wrote:Not sure if anyone else will be affected by this, but utilization of this module conflicts with my ability to see the "View Account" page. With the module active, my user.php or userinfo.php pages both come up blank. With this module deactivated, they come up fine.

Beyond that, this module is great. Installed, configured, and running without any issues.


I'm glad you let me know that because I am having the same problem here. I'm not sure what's causing it, however it probably has something to do with the xoopsUser class.

This bug will be fixed in the final version, which should be released 01/16/2007.

**** I have found the issue! It is a problem with the roster search function.

To fix the bug edit the following:

In xoops_version.php on lines 132-135, change

Code: Select all
// Search things
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "lib/search.inc";
$modversion['search']['func'] = "wrx_search"

to this

Code: Select all
// Search things
$modversion['hasSearch'] = 0;
//$modversion['search']['file'] = "lib/search.inc";
//$modversion['search']['func'] = "wrx_search"; 


This will disable the WRX Search feature, however it wasn't really used to begin with. I hope to make the proper changes to the search function for the final release. Until then this will get your user profiles back.
Last edited by mdeshane on Wed Jan 03, 2007 2:55 am, edited 1 time in total.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

WRX Module

Postby Gyffes » Wed Jan 03, 2007 7:41 am

Hi and Thanks for your work

i have edit the file and the old error is away
i have a new error messages

the error massages is

Fehlernummer: 2 [Warnung]
Fehlermitteilung: Missing argument 1 for connect()
in Datei: /xxxxx/xxx/xx/class/database/mysql.php
in Zeile: 32


Fehlernummer: 2 [Warnung]
Fehlermitteilung: Missing argument 2 for connect()
in Datei: /xxxxx/xxx/xx/class/database/mysql.php
in Zeile: 32


Fehlernummer: 2 [Warnung]
Fehlermitteilung: Missing argument 3 for connect()
in Datei: /xxxxx/xxx/xx/class/database/mysql.php
in Zeile: 32


Fehlernummer: 2 [Warnung]
Fehlermitteilung: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
in Datei: /xxxxx/xxx/xx/class/database/mysql.php
in Zeile: 33


Fehlernummer: 2 [Warnung]
Fehlermitteilung: mysql_errno(): supplied argument is not a valid MySQL-Link resource
in Datei: /xxxxx/xxx/xx/class/database/mysql.php
in Zeile: 170


Fehlernummer: 2 [Warnung]
Fehlermitteilung: mysql_error(): supplied argument is not a valid MySQL-Link resource
in Datei: /xxxxx/xxx/xx/class/database/mysql.php
in Zeile: 170

settings.php: line[153]
Could not connect to database "XOOPS_DB_NAME"
MySQL said:
:

Thanks for the great help
User avatar
Gyffes
WR.net Apprentice
WR.net Apprentice
 
Posts: 45
Joined: Wed Sep 20, 2006 2:05 am

Re: WRX Module

Postby mdeshane » Wed Jan 03, 2007 4:11 pm

Okay, this one is gonna take a little longer. I'm creating an eXoops Install on my Dev. server so I can better troubleshoot the various errors of re-porting a module. I hope to have a working solution by tomorrow or sooner.
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

WRX Module

Postby Gyffes » Wed Jan 03, 2007 5:34 pm

great thanks to you


only none hurries has intended also different things to do than this module for Scripten

greet
Gyffes
User avatar
Gyffes
WR.net Apprentice
WR.net Apprentice
 
Posts: 45
Joined: Wed Sep 20, 2006 2:05 am

Re: WRX Module

Postby mdeshane » Thu Jan 04, 2007 3:30 pm

Great news! I have made changes to a few files on the module (3) and re-downloading the WRX 1.25 eXoops Patch should fix the database connection problems. I have not fully tested the eXoops version, however it seemed fully functional.

The WReX 1.25 (Final) Module will be released along with the WRX 1.25 (Final) Module.

Thank you for your support and your testing! Without all of you this module would still be broken! :thumleft:
Image
Accounts Addon - Roster v2 User Account Addon

PKC Dev Site - http://dev.pkcomp.net
My Roster Dev Site - http://myroster.dontexist.net
User avatar
mdeshane
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 204
Joined: Sun Dec 10, 2006 4:54 am
Location: Grand Rapids, MI USA
Realm: Khadgar (PvE) - US

Next

Return to Xoops / eXoops

Who is online

Users browsing this forum: No registered users and 1 guest

cron