coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: jazz123 on July 03, 2005, 06:54:26 AM

Title: SMF 1.1 beta 3
Post by: jazz123 on July 03, 2005, 06:54:26 AM
I did a quick search, but couldn't find anything.  Has anyone done any modifications to smf.inc.php to make it compatible with smf 1.1?  I've been searcheing, and applying modifications myself, but I can't seem to get it to work.
Title: Re: SMF 1.1 beta 3
Post by: kegobeer on July 03, 2005, 03:19:09 PM
Is this a postnuke question?
Title: Re: SMF 1.1 beta 3
Post by: jazz123 on July 04, 2005, 01:15:40 AM
SMF 1.1?  No...  Would you be able to move the thread to the correct place or let me know where to post it?
Title: Re: SMF 1.1 beta 3
Post by: kegobeer on July 04, 2005, 02:44:04 AM
One of the devs moved it to the correct board.

Until 1.1 goes final, we won't make a bridge.  Once it does, I'm sure Nibbler will work on one when he gets a chance.
Title: Re: SMF 1.1 beta 3
Post by: Joachim Müller on July 04, 2005, 08:17:17 AM
This has been discussed widely on the SMF forums (some threads being "charter members only" though), see http://www.simplemachines.org/community/index.php?topic=40085.msg293962#msg293962 e.a. (use the SMF search (http://www.simplemachines.org/community/index.php?action=search))
Title: Re: SMF 1.1 beta 3
Post by: jazz123 on July 06, 2005, 10:12:10 AM
Quote from: GauGau on July 04, 2005, 08:17:17 AM
This has been discussed widely on the SMF forums (some threads being "charter members only" though), see http://www.simplemachines.org/community/index.php?topic=40085.msg293962#msg293962 e.a. (use the SMF search (http://www.simplemachines.org/community/index.php?action=search))

Unfortunately I'm not a Charter Member yet.  I've made the following changes to the includes in smf.inc.php:

// other includes
cm_include_smf_funcs($sourcedir . '/Load.php', array('reloadSettings', 'loadUserSettings', 'cache_get_data', 'cache_put_data'));
cm_include_smf_funcs($sourcedir . '/Subs.php', array('db_affected_rows'));
cm_include_smf_funcs("$sourcedir/Subs.php", array("updateMemberData", "updateStats", "updateSettings", "writeLog"));


It's almost working.  It recognizes me logged in once logged into SMF, and it allows me to browse the gallery.  There is just a one line error at the top of the page that says the following:

Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource in /home/carmmcom/public_html/cpg/bridge/smf.inc.php(126) : eval()'d code on line 5

That message will go away if I reload the page a few times.  Is there anything that I need to change that may help me get rid of that error?
Title: Re: SMF 1.1 beta 3
Post by: jazz123 on July 07, 2005, 04:49:57 AM
Anyone know the answer to this?
Title: Re: SMF 1.1 beta 3
Post by: snork13 on July 07, 2005, 05:11:01 AM
Quote from: jazz123 on July 07, 2005, 04:49:57 AM
Anyone know the answer to this?


i have 1.1 beta  and 1.4 gallery...


http://forum.coppermine-gallery.net/index.php?topic=17088.20
Title: Re: SMF 1.1 beta 3
Post by: donnoman on July 07, 2005, 07:25:47 AM
http://forum.coppermine-gallery.net/index.php?topic=17088.msg79829#msg79829