This is a PHP/XHTML Flat File Forums And Chat Script with many advanced features.
i hope you guys enjoy this release and support me in anyway you can.
IE: suggestions/bug reports/feedback etc. at http://coding-talk.com
INSTALLATION
Upload all files to your server (except this readme.txt file)
REMEMBER to upload the .htaccess file that comes with the script.
it creates protection for your .txt files and other things 🙂
Goto yoursite.tld/INSTALL.php (yoursite.tld = your site address)
and follow the instructions there. (Delete INSTALL.php Once Finished)
Change info inside config.php to your sites needs (located in core folder)
thats it. installation complete.
Goto yoursite.tld to enjoy your new site (yoursite.tld = your site address)
FEATURES
Functions (located in core/includes folder)
Sessions
Registration (Upper/Lower Case Chars, _ And - Symbols Allowed, And 3-15 Chars Long)
Login
Encrypted Passwords
Rank Class
Staff Tools (Better Written/Working)
10 Forums
11 Chatrooms (10 Rooms 1 Staffroom)
Private Messages
Shoutbox
Member Profiles (Hidden to Guests)
BBCodes (located in functions)
Smileys
Avatars
Censorship/Word Filtering (located in functions)
Anti-Flood filtering
Online/Offline Checks
Newest Members
IpBan (located in functions)
IpLogging
Delete Threads
Delete Thread Posts
Move Threads
Delete Single Chat Messages
Search Function
Update/Change Passwords
File Upload Capabilities
AND MUCH MUCH MORE.......
CHANGES/MODIFICATIONS/ADDITIONS
(BEFORE V1 RELEASE)
(New) Forums Added (10 Total)
Forums Can Create Threads With Pagination
Reply To Threads
Create Lists Of Threads With Pagination
Show Last Modified Thread At Top Of List With Time/Date/Username
Show Last Post With Time/Date/Username In Main Forum Page
Show Thread Created/Replied By Username in Thread Lists
Preview Profile/Private Message Straight From Threads
Count Threads Created Per Forum
Count Posts Per Forum
(New) Delete Thread Tool Added
(New) Delete Single Thread Posts Tool Added
Members Post Count Decreases by 1 When A Post Is Deleted
Members Thread And Post Count Decreases by 1 When A Thread Is Deleted -
Plus All Members Who Posted In That Thread Will Recieve A Decrease Of 1 Post Count
(New) Delete Single Chatroom Posts Tool Added
Fixed Coding, More Stable On Strict Error Reporting Servers
Created A list Page For Chatrooms
(New) Added Anti-Flood/Spam Filter To Thread Replies, Shouts, And Chat Messages -
(Will Look Into A Better Solution In Future)
Added Forum Users Online Count/Display Functions
(Redone) The Members Create System. Now Creates A Folder With Members Name And Has -
3 Files In Total Inside, Their Profile File, Their Thread Posts Count File -
And Their Threads Created Count File.
(New) Created A Quote Member Tool For Thread Posts
Added Private Alerts To Forums And All Files Throughout Script
Added Inbox To Forums
Added Update Profiles To Forums
(New) Created A Move Thread Tool -
Move Thread Tool Takes Advantage Of The PHP Function rename() -
Which Allows Us To Keep The Original Files Last Modified Time Intact -
And Then Deletes The Original File Location Without Having To Call PHP's unlink() Function
Added Options To Allow All 3 Staff Ranks To Delete Threads, Move Threads, Delete Thread Posts -
Within The config.php file Located In Core Folder -
Config.php Options Are As Follows:
/** Move Threads Permission
(Function Will Appear In Threads) /
$Owner_Move_Threads = 'yes';
$Admin_Move_Threads = 'no';
$Mod_Move_Threads = 'no';
/* Delete Thread Posts Permission
(Function Will Appear In Threads) /
$Owner_Delete_Thread_Posts = 'yes';
$Admin_Delete_Thread_Posts = 'no';
$Mod_Delete_Thread_Posts = 'no';
/* Delete Threads Permission
(Function Will Appear In Threads) */
$Owner_Delete_Threads = 'yes';
$Admin_Delete_Threads = 'no';
$Mod_Delete_Threads = 'no';
(Redone) Bbcode Coding. Now Uses 1 preg_replace() for all bbcode Calls -
rather than 1 preg_replace per bbcode.
(New) Created A Search Function To Search Through Forums For Specific String Searches.
Made Cosmetic Changes To Shoutbox
(New) Added An Update/Change Password Function To Update Profiles.
(New) Added File Upload Capabilities, Opens in New Window, With Close Window Button.
Added Option To Turn File Uploading On And Off Inside Config.php File.
(New) Added Download BBCode To Forums.
Added bbcodes.php and smileys.php File To Forums, Viewable From Reply.php and Create.php Files.
Rewrote Pm System To Allow Use Of Textarea Boxes And New Lines.
Created Piece Of Code To Add A Random Number To Files Being Uploaded That -
Conflict With Existing Filenames, Not Sure How Reliable This Is, So Will See How It Goes.
Demo: CodeMafia.us.to (Demo Has Magic Quotes Turned On, But It Is Only A Demo)
thanks to Riderz for hosting this demo.
Ghost wrote:
lets hope so 😉 id really like to see this take off and get people involved in it more. only time will tell.
thanks for the positive feedback.
Hey buddy thx for the mail, well i know im going to use this for my site. You know im behind your scriptsv100%
help please...my site error in forum.
Warning: file_get_contents(../ core/databases/members/zaky/ created_thread_count.txt) [function.file-get-contents]: failed to open stream: No such file or directory in/home/ u981479117/public_html/ core/includes/functions.php on line1082 Warning: file_get_contents(../ core/databases/members/zaky/ thread_post_count.txt) [function.file-get-contents]: failed to open stream: No such file or directory in/home/ u981479117/public_html/ core/includes/functions.php on line1087
zaky wrote:
help please...my site error in forum.
Warning: file_get_contents(../ core/databases/members/zaky/ created_thread_count.txt) [function.file-get-contents]: failed to open stream: No such file or directory in/home/ u981479117/public_html/ core/includes/functions.php on line1082 Warning: file_get_contents(../ core/databases/members/zaky/ thread_post_count.txt) [function.file-get-contents]: failed to open stream: No such file or directory in/home/ u981479117/public_html/ core/includes/functions.php on line1087
i would need to know a little more about how you manage to get this warning.
but basically it is saying that the files do not exist within your folder.
a simple fix would be to goto:
core/databases/members/zaky folder
then creating the 2 files:
created_thread_count.txt
thread_post_count.txt
and add permission chmod 777 to them.
although like i said i would like to know a little more about what you did before you got these errors as registration is perfect and creates/chmods these files on register.
Ghost wrote:
i would need to know a little more about how you manage to get this warning.
but basically it is saying that the files do not exist within your folder.
a simple fix would be to goto:
core/databases/members/zaky folder
then creating the 2 files:
created_thread_count.txt
thread_post_count.txt
and add permission chmod 777 to them.
although like i said i would like to know a little more about what you did before you got these errors as registration is perfect and creates/chmods these files on register.
This Is A Pretty Big List, Last Updated (25.01.2013)
(New) - Name Change To GhostCommunity, Previously GhostForums. -
(Reason For Name Change) Feels More Like A Community Since Also Has Multi-Chatrooms.
(New) - Image Added To Index.php Page - Thanks To Metulj For Original Image And wap2k For Making It Transparent
(Added) New Theme Colors To Css Stylesheet
(Added) - Code To All <head> Tags, To Support Devices With Zoom Features, Such As Android. - Thanks To Kevk3v
(New) - Added A Pin Thread Tool, Then Modified It Abit More. Also Added Option In Config.php
To Turn Pin/Unpin On And Off To Certain Staff Ranks - Thanks To wap2k For Original Code/Time/Add-On
(Rewrote) - Functions, Cleanse(), Cleanse_Name(), Cleanse_Post() -
Cleanse_Post() Has Biggest Change Now Detects Whether magic_quotes_gpc() Is Turned On Or Not
Before Deciding Whether Or Not stripslashes() Should Be Used On Posts.
(Fix) - Added strtolower To Uploaded file Names, Seems Uploader Didnt Like Files With Full
Capitol Lettered Names, When Trying To Download Them They Could Not Be Found.
(Added) - Links To Bbcodes.php, Smileys.php For The Shoutbox.
(Rewrote) - Cpanel And Staff Tools, Cpanel Runs Throughout Site And Opens In New Window.
Cpanel Now Is Located In Core/Tools Folder And All Links Inside Script Point To 1 Single File - (Makes Script Smaller)
(Cosmetic) - Removed Reload Link At Top Of Main.php, And Added It Above Shoutbox In Same File.
(Added) - Code Into Update Profile To Remember Your Original Choices, So No Longer Have To Fill Out Whole
Profile Everytime You Update Profile.
(Removed) - Deleted <li> (List) Tags From Scan_Directory() Function. Which Tidies Up The Look A Little.
(Fix) - Corrected Problem With Forum Tools, Delete Posts, Delete Threads, Move Threads,
Somehow Basic Users Are Able To Find A Way To Activate The Tools Without Permission - Thanks To wap2k For Reporting This
(Fix) - Corrected An Issue With Adding Own Avatar From Url, Now Works Corectly - Thanks To wap2k For Helping Out
(Fix) - Modded The Way A Random Number String Is Added To Existing Uploaded Filenames,
Downloading File Would Sometimes Fail Due To () And # Symobls Being Added.
(Rewrote) Smileys.php, BBCodes.php, Avatars.php, Upload.php, These Files Are Now Set In
Core/Includes, Core/Tools Folders, Deleted All Duplicate Files Made In Other Folders, And Pointed
All Links In Script That Require These Files To New Single Files. - (Makes Script Smaller)
(Cosmetic) Slight Changes Made To Forum Tools Located Inside The Thread.php Page. And Chatroom Delete Post Tool
(Added) Title Tags To Forum/Thread Name Links. Now When Hover Mouse Over Them They Display Full Thread Names Etc.
(Fix) Issues With Online Listing Updates. Script Now Performs/Updates Alot Faster When Users Are Moving Around The Site
(New) Added Rank Legend To Bottom Of Main.php
(Rewrote) The Download BBCode, And The Reversal Download BBcode For Quoted Posts. And Created A New Css Style For It.
(Added) Rank Colors To Users Names On Online List In Main.php, Also Added Title Tags To Names To Show Where User Is On
Hover Of The Mouse Over The Name. (Mostly For Pc Users)
(Added) Clickable Usernames With Rank Color For Latest Reply On Main.php/Show_Latest_Modified() function.
(Added) Clickable Usernames With Rank Color For Thread Started/Latest Reply On list.php/Scan_Directory() function.
(Added) Rank Colors To Users Names In Chatroom Users Online List
(Added) Rank Colors To Users Names In Members List (From Index.php Page)
(Added) Rank Colors To Users Names In Online (From Index.php Page)
(Added) Rank Colors To Users Names In Private Messaging
(Rewrote) Censorship Tool, Now Produces The Same Length Of *(Stars) As The Length Of The Censored Word.
Censor Array Added To Config.php For Easy Access To Adding Words To Be Censored.
(New) Added Jquery/Ajax To Refresh Shoutbox Div Only, Function Has 3 Different Roles Depending On How The Browsers Reacts,
If A User Is Not Jquery/ajax Compatable, Then They Will Have To Revert Back To Using The Reload Button Above Shoutbox.
Thanks wap2k For Helping Out.
(Rewrote) The Way Inbox Messages Get Written/Displayed For Future Modding, Now Displays "Sent To: Username" And
"Received From: Username" Instead Of Ghost->Username, Username->Ghost Etc, And Posts Start On New Line Away From
The Usernames Now Also.
(New) Created A Delete Privates Message Tool For All Users To Delete Posts They Dont Want To Keep,
The Maximum Displayed Pm's Is 25, Any Older Messages Than This Will Not Be Displayed Again Until Some Of The
25 Newest Pm's Are Deleted First.
Ghost wrote:
This Is A Pretty Big List, Last Updated (25.01.2013)
(New) - Name Change To GhostCommunity, Previously GhostForums. -
(Reason For Name Change) Feels More Like A Community Since Also Has Multi-Chatrooms.
(New) - Image Added To Index.php Page - Thanks To Metulj For Original Image And wap2k For Making It Transparent
(Added) New Theme Colors To Css Stylesheet
(Added) - Code To All <head> Tags, To Support Devices With Zoom Features, Such As Android. - Thanks To Kevk3v
(New) - Added A Pin Thread Tool, Then Modified It Abit More. Also Added Option In Config.php
To Turn Pin/Unpin On And Off To Certain Staff Ranks - Thanks To wap2k For Original Code/Time/Add-On
(Rewrote) - Functions, Cleanse(), Cleanse_Name(), Cleanse_Post() -
Cleanse_Post() Has Biggest Change Now Detects Whether magic_quotes_gpc() Is Turned On Or Not
Before Deciding Whether Or Not stripslashes() Should Be Used On Posts.
(Fix) - Added strtolower To Uploaded file Names, Seems Uploader Didnt Like Files With Full
Capitol Lettered Names, When Trying To Download Them They Could Not Be Found.
(Added) - Links To Bbcodes.php, Smileys.php For The Shoutbox.
(Rewrote) - Cpanel And Staff Tools, Cpanel Runs Throughout Site And Opens In New Window.
Cpanel Now Is Located In Core/Tools Folder And All Links Inside Script Point To 1 Single File - (Makes Script Smaller)
(Cosmetic) - Removed Reload Link At Top Of Main.php, And Added It Above Shoutbox In Same File.
(Added) - Code Into Update Profile To Remember Your Original Choices, So No Longer Have To Fill Out Whole
Profile Everytime You Update Profile.
(Removed) - Deleted <li> (List) Tags From Scan_Directory() Function. Which Tidies Up The Look A Little.
(Fix) - Corrected Problem With Forum Tools, Delete Posts, Delete Threads, Move Threads,
Somehow Basic Users Are Able To Find A Way To Activate The Tools Without Permission - Thanks To wap2k For Reporting This
(Fix) - Corrected An Issue With Adding Own Avatar From Url, Now Works Corectly - Thanks To wap2k For Helping Out
(Fix) - Modded The Way A Random Number String Is Added To Existing Uploaded Filenames,
Downloading File Would Sometimes Fail Due To () And # Symobls Being Added.
(Rewrote) Smileys.php, BBCodes.php, Avatars.php, Upload.php, These Files Are Now Set In
Core/Includes, Core/Tools Folders, Deleted All Duplicate Files Made In Other Folders, And Pointed
All Links In Script That Require These Files To New Single Files. - (Makes Script Smaller)
(Cosmetic) Slight Changes Made To Forum Tools Located Inside The Thread.php Page. And Chatroom Delete Post Tool
(Added) Title Tags To Forum/Thread Name Links. Now When Hover Mouse Over Them They Display Full Thread Names Etc.
(Fix) Issues With Online Listing Updates. Script Now Performs/Updates Alot Faster When Users Are Moving Around The Site
(New) Added Rank Legend To Bottom Of Main.php
(Rewrote) The Download BBCode, And The Reversal Download BBcode For Quoted Posts. And Created A New Css Style For It.
(Added) Rank Colors To Users Names On Online List In Main.php, Also Added Title Tags To Names To Show Where User Is On
Hover Of The Mouse Over The Name. (Mostly For Pc Users)
(Added) Clickable Usernames With Rank Color For Latest Reply On Main.php/Show_Latest_Modified() function.
(Added) Clickable Usernames With Rank Color For Thread Started/Latest Reply On list.php/Scan_Directory() function.
(Added) Rank Colors To Users Names In Chatroom Users Online List
(Added) Rank Colors To Users Names In Members List (From Index.php Page)
(Added) Rank Colors To Users Names In Online (From Index.php Page)
(Added) Rank Colors To Users Names In Private Messaging
(Rewrote) Censorship Tool, Now Produces The Same Length Of *(Stars) As The Length Of The Censored Word.
Censor Array Added To Config.php For Easy Access To Adding Words To Be Censored.
(New) Added Jquery/Ajax To Refresh Shoutbox Div Only, Function Has 3 Different Roles Depending On How The Browsers Reacts,
If A User Is Not Jquery/ajax Compatable, Then They Will Have To Revert Back To Using The Reload Button Above Shoutbox.
Thanks wap2k For Helping Out.
(Rewrote) The Way Inbox Messages Get Written/Displayed For Future Modding, Now Displays "Sent To: Username" And
"Received From: Username" Instead Of Ghost->Username, Username->Ghost Etc, And Posts Start On New Line Away From
The Usernames Now Also.
(New) Created A Delete Privates Message Tool For All Users To Delete Posts They Dont Want To Keep,
The Maximum Displayed Pm's Is 25, Any Older Messages Than This Will Not Be Displayed Again Until Some Of The
25 Newest Pm's Are Deleted First.
Thanks Man
i really appreciate these
Your script works 100%
but please when do we have these update and how could we add facebook,twitter share to its forum.....
raddien wrote:
Thanks Man
i really appreciate these
Your script works 100%
but please when do we have these update and how could we add facebook,twitter share to its forum.....
i will be doing a little bit more modding/testing to the script to make sure ive not missed or messed up anything
before i actually release the next version. shouldn't be too long as the script seems to be preforming better than
i could of expected.
as for the facebook and twitter share i really couldn't say,
ive never used either of them, their evil.. just watch a movie called "Catfish"
or look for the tv show version also called "Catfish", you'll see lol.
Good work bro. I am also an flatfile db lover. And your script ain't great in mobile. But in pc , it's like han with burger. And try to put good css .up. And great work.
My work: http://wtfhost.tk
And it's old script. Latest one has pm, private chat, forum etc
mobihack wrote:
Good work bro. I am also an flatfile db lover. And your script ain't great in mobile. But in pc , it's like han with burger. And try to put good css .up. And great work.
sorry if the scripts aint great with some mobiles but im not able to do live mobile tests as i no longer have
a mobile phone to connect to the net with. i have to do all my work from pc now.
you can see al my latest updates live here CodeMafia.uk.to (as long as my computer is on)
mobihack wrote:
Good work bro. I am also an flatfile db lover. And your script ain't great in mobile. But in pc , it's like han with burger. And try to put good css .up. And great work.
Lol what do u mean it aint great in mobile u have to be using an ANCIENT pre-2008 mobile device to say its not good on mobile. The css is good nothing wrong with it. .... I guess its more to do with phones that have upright screens that will have issues.
Ghost wrote:
i will be doing a little bit more modding/testing to the script to make sure ive not missed or messed up anything
before i actually release the next version. shouldn't be too long as the script seems to be preforming better than
i could of expected.
as for the facebook and twitter share i really couldn't say,
ive never used either of them, their evil.. just watch a movie called "Catfish"
or look for the tv show version also called "Catfish", you'll see lol.
Thanks Man would be waiting patiently
also if you could gve helping hand to me how to fix the fb share on the forum
in order to share forum topics to fb ......