
Change the permissions on config.php to be writable by all (666 or -rw-rw-rw- within your FTP Client).
Phpbb3 archive#
Phpbb3 how to#
I wonder can anyone give me a guide how to sync the upload file of CK & phpbb3? A simple demo program or some tutor articles would be more than prefer.If you have basic knowledge of using FTP and are sure your hosting service or server will run phpBB3 you can use these steps to quickly get started. I used to write C/C++, not familar with PHP and never touched JS before. But frankly I am not quite understand them in the BrowseUrl & UploadUrl setting parts and I do not get why should I set them? I did read some of articles for CK upload like (Uploader) and.

(It seems that phpbb3 did not save the image files into its database under preview mode and it saves the image till after the user hit 'submit' button so I guess the image was saved in cache during preview, and how JS does the same? Btw, I am still tracing phpbb3 to understand how did it select the image out from its DB to display in certain post at the moment.) Also in my testing, I have skipped the bbcodes part and use HTML directly to display the output of CK. However, I have problem to syncronize the 'uploaded' image of CK with phpbb3 in between them CK use Javascript and phpbb use PHP. In my testing phpbb3 forum at localhost I have replaced the 'textarea' with CKEditor and I have enabled the HTML after 'submit'.
Phpbb3 software#
There are a few minor loose ends I still need to tie up, but for the most part, far as I can tell CKEditor works and interacts with the forum software just fine. There are probably similar countermeasures on phpBB.Īnyway, those are the two things I did. I know on Invision, most of the obvious security holes are still blocked even with HTML posting on (i.e., users can't post anything with tags in it or dynamic images, etc.). As long as you trust your users, I don't think it should be a big deal. If it isn't, and you try to use CKEditor to make a post, you'll just see a bunch of HTML code in the post instead of what you wanted to see. This is said to be a security risk, but there's no way to use CKEditor unless HTML posting is allowed. Then CKEditor will load into whatever element that the standard phpBB editor generates so long as you have the element's id attribute inputted as per above.Īfter you have that squared away, the 2nd thing you'll need to do is set your forum so that HTML is enabled on all posts by default. If there isn't a element, but instead something like a call to load phpBB's built-in post editor, include the above code somewhere appropriately after that call.



After, add this code:Īnd change "Post" to whatever the id attribute is of the element. Somewhere in that template will likely be a element. Your 1st order of business will be to open up the templates that phpBB uses to generate the pages for submitting and editing posts. I imagine the process I went about doing this wouldn't be too dissimilar for phpBB, so I'll go ahead and share. I use Invision Power Board and was able to get CKEditor to work on it with a little bit of rigging.
