Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Help! Change open() to fopen()! (Read 2586 times)
123flashchat
New Member
*
Offline


I Love YaBB 2!

Posts: 10
Joined: Jan 26th, 2010
Help! Change open() to fopen()!
Mar 1st, 2010 at 6:23am
Print Post  
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.
  
Back to top
 
IP Logged
 
123flashchat
New Member
*
Offline


I Love YaBB 2!

Posts: 10
Joined: Jan 26th, 2010
Re: Help! Change open() to fopen()!
Reply #1 - Mar 3rd, 2010 at 9:01am
Print Post  
Is there anybody to help me, please?
I really need your help. Please.

Thank you.
  
Back to top
 
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Help! Change open() to fopen()!
Reply #2 - May 13th, 2010 at 11:56pm
Print Post  
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 .
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint