Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
0 + 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Help please (post from another forum)
by JS on 2005/12/22 0:57:40

Well the module doesn't use group permissions to actualy display information but It just needs to call it's tables in the database and I could go through and recode everything but I was trying to find a nice easy way to not have to recode the module again when they updated the app.

Was just hoping someone had an idea :)
Re: Help please (post from another forum)
by m0nty on 2005/12/22 0:48:23

you cann name the tables whatever you like

$modversion['tables'][0] = "table name here";

but the XOOPS prefix will always be added.

just do a global find/replace with, in all the files to add the prefix..

you're gonna after edit files anyway otherwise you aren't porting it properly, or how will you add group permissions, or xoops_header functions to it so that it works correctly in xoops.
Help please (post from another forum)
by JS on 2005/12/22 0:34:25

I posted this in a different forum and didn't get any responses so maybe I posted inthe wrong forum hopefuly someone can help me here

all I am working on porting an app into a module that someone else created. Because I am not the primary dev team working on this app I want to make the port as easy as possible so that when they upgrade the app and I have to re-port it to XOOPS it will not be a nightmare.

The problem I have is that they don't use any prefex's in there database calls and there is a ton of code that I would have to change in order to get it to use the prefex that XOOPS adds to the database entries when it loads in the sql file to create the databases.

The question I have is there a way to tell XOOPS when it is installing the module to NOT add the prefix to the tables it is creating in the database. If I can do this then this module port will be easy! the module doesn't use accounts so I don't have to worry about that it just has to retieve information from the database tables without a prefex in them.

any help would be wonderful!

Thanks!

Who's Online

204 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 204


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits