Want to get involved in developing SMF, then why not lend a hand on our github!
Started by live627, April 29, 2008, 07:45:20 PM
Quote from: LHVWB on December 21, 2008, 05:40:27 AM@wakewatcher,I am not entirely sure what you want to do. Do you want to redirect users to a certain action when they log in?
I've just installed this mod and I'm having an issue with flashchat. I'm using SMF 2.0. and FlashChat 5.0.10 which is installed into "/chat" withing the SMF folder. When I point the Site Integration to the "/chat" folder it sees the .php files fine and when I save it it makes the actions for each PHP file. The one that runs FlashChat is "flashchat.php". When I click the link for it I get an error:
Quote from: LHVWB on January 26, 2009, 06:34:38 PM@joec88,That sounds like an issue with common function names between SMF and your chat program. PHP doesn't allow you to define more than one function with the same name (when you included that file from SMF), so it returns that error.You should be able to fix it by renaming that function from you 'flashchat.php' file to something like 'flash_reloadsettings', although that will require you to change the name for every time it is called within the flashchat script, otherwise it might have bugs.
Quote from: SunKing on January 26, 2009, 08:30:40 PMIt's not going to be line 301 of Load.php. It's going to be line 301 of the file Load.php is loading.
Quote from: LHVWB on December 21, 2008, 08:47:39 PM@SunKing and wakewatcher,Okay, I can see the issue now. Thanks for pointing that out, I will try to work out the exact issue and update the mod when I find some time.
2: Invalid argument supplied for foreach()File: /home/XXXXXX/public_html/Sources/Who.phpLine: 331
8: Undefined index: siteintegration_actionsFile: /home/XXXXXX/public_html/Sources/Who.phpLine: 331