topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 7:19 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Modification for MicroChat script  (Read 3231 times)

questorfla

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 570
  • Fighting Slime all the Time
    • View Profile
    • Donate to Member
Modification for MicroChat script
« on: November 02, 2013, 12:47 PM »
This is something that is slightly beyond my capabilities but following the script command order it seems it should be a possibility.
I have a use for the program as is but it would be greatly enhanced by the addition of one other thing.  I need an option for the user at login to choose from a list of available chats as well as start a new one. 
The program is a simple echo to a blank html file named msg.html by default.
I need a way to have more than one of these and allow the person accessing it to choose from a list of them all for which one they want to open.
Since it is a simple PHP script using no real database (and I would like to keep it that way) it would need to have the addition of a menu (just a directory list of available "msg*.html" files.  Preferably I would like to allow the person logging in to be able to choose from those already there or create a new "blank.html" file that they could name as they need.

This is for a specific use and I am not worried about the people using it  abusing that ability.  In addition, the chats are all cleaned out every night.

But where it is used, they have multiple topics and would like to be able to discuss/chat with each other on a "per topic" basis.

I am sure there are far more robust applications out there that may already have this capability but I already have Micro-Chat working perfectly as-is and hate to make things complicated if there is a simple solution.

Thanks for any input.

I could post the msg.php and msg.html as the files are only 1kb but I don't want to waste space unnecessarily. 
www.sourceforge    or     www.phptoys     both have the script available as a 4kb zip file download