The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

31.07.10 at 09:44:32, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Help! Change open() to fopen()! (Read 381 times)
123flashchat
Bloody Novice
*
Offline

Posts: 9



01.03.10 at 06:23:45  
Dear All,

Please help me.
We had designed a chat mod for YaBB: http://www.123flashchat.com/download/yabb_mod_for_123flashchat.zip.

But for the poor knowledge for YaBB, there are some unsuitable points Michael Prager pointed out. And we had modified all most. But there is still a problem:  
Quote:
you're using perls open() function to read YaBB's database files (e.g. to read the user profile files). I highly recommend to use YaBB's fopen() and fclose() versions of this function instead, because they take care of file locking (in case multiple users access the same file at once).


Is there somebody to tell us how to do this, please?

Thank you so much. Waiting for your reply.
 
IP Logged
 
123flashchat
Bloody Novice
*
Offline

Posts: 9



Reply #1 - 03.03.10 at 09:01:14  
Is there anybody to help me, please?
I really need your help. Please.

Thank you.
 
IP Logged
 
Valtiel
Hacker God
*****
Offline

, Bayern, Germany
Posts: 872



Reply #2 - 13.05.10 at 23:56:18  
What's the problem? Open the files of your mod with some text editor and change all open-commands to fopen and all close to fclose either by hand or with the search/replace feature all good editors bring with them Wink .
 
IP Logged
 

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Page Index Toggle Pages: 1
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum