coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: BoneDaddy on November 20, 2003, 03:08:58 PM

Title: Has Anyone tried to get XP Publish working in Nuke?
Post by: BoneDaddy on November 20, 2003, 03:08:58 PM
Just for grins  :D  :D  I tried to call up the XP_Publish.PHP file located in my coppermine folder (located at this URL: http://www.theilingfamily.com/modules/coppermine/xp_publish.php ), and recieved this message:

QuoteFatal error: Call to undefined function: is_user() in /home/kcdinga2/public_html/modules/coppermine/include/init.inc.php on line 37

This might be a nice feature for my family to use...has anyone gotten it to work?  It looks like it might be snagging on the fact that my users are being called up from my nuke_users account rather than a cpg_users account...but I am somewhat new to PHP, so I could be way off here...I will keep working on it on my own too and let you know what I find.

Any help would be greatly appreciated  :lol:

Thanks,

BoneDaddy  8)
Title: Has Anyone tried to get XP Publish working in Nuke?
Post by: DJMaze on November 22, 2003, 01:32:03 AM
The file is far away from protection and not tested by any of us.

require_once("../../mainfile.php");
is missing at the top + much more.
Title: Has Anyone tried to get XP Publish working in Nuke?
Post by: BoneDaddy on November 22, 2003, 04:43:48 AM
:D Ahh, so basically I failed to notice the number one main thing a php-nuke file calls to..hehe

ok, showing my newbie colors (and my lack of programming experience.hehe)

...Its not really a feature that is really needed...just wondering if anyone else was looking at it.

Thanks,

BD
Title: I used it on that OTHER photo gallery program...
Post by: bmasella on December 02, 2003, 11:40:10 PM
I find it quite useful.  If anyone happens to tackle this one I have plenty of stuff to test it on since I am in the process of converting a site to Nuke AND Coppermine at the same time.

-= Bill =-