Search found 50 matches

by naim
Sun Oct 16, 2011 4:46 pm
Forum: [3.x] Discussion
Topic: SQLite "Cleanup"
Replies: 9
Views: 7560

SQLite "Cleanup"

When using SQLite database engine, the database files are not "clean" and can be optimized.

What i propose to do, is to add a "Optimize" button (to the "ACP > System") that will trigger the SQLite "VACUUM" command - on big files it can take a bit of time, but it lets the database engine faster.
by naim
Sun Oct 16, 2011 4:28 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC] Contact Page
Replies: 87
Views: 139265

Re: [RFC] Contact Page

IP addresses change very often, and what if someone is connected to a network (workplace/internet-cafe)?
by naim
Sun Oct 16, 2011 2:44 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC] Contact Page
Replies: 87
Views: 139265

Re: [RFC] Contact Page

The whole point of the contact us page is to let anyone contact support in-case there is a problem with the site, so if there would be a problem, wouldn't it effect the contact sheet to?! And in phpBB there are no spam filters against spammers (at least no yet), so what if a spammer starts sending r...
by naim
Sat Oct 15, 2011 9:08 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Human Readable URLs
Replies: 132
Views: 212866

Re: [RFC] Human Readable URLs

So change the $q = $_GET['q']; to $q = request_var('q', null); it is safe to set to $_GET. because we are dealing with numbers. so it is very simple! after determining what page is required, all you have to do is require_once 'viewtopic.php'; oh, and about the other pages, $q = explode("/", request_...
by naim
Sat Oct 15, 2011 8:11 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC] Contact Page
Replies: 87
Views: 139265

Re: [RFC] Contact Page

Its a contact page for support, if there is any problem with a forum, (the forum is not usable...)
by naim
Sat Oct 15, 2011 8:06 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Human Readable URLs
Replies: 132
Views: 212866

Re: [RFC] Human Readable URLs

Whats the problem to get the request, look it up on a table, and set the $_GET['f'], $_GET['t'], $_GET['p'] ??? add to index.php: <?php // ... function lookup($url) { // Connect to DB, SELECT forum_id, topic_id FROM phpbb_lookuptable WHERE url=$url; // Result with $arr. return $arr; } if (!isset($_G...
by naim
Sat Oct 15, 2011 6:42 pm
Forum: [3.x] Discussion
Topic: Forums depending on users language
Replies: 15
Views: 13924

Re: Forums depending on users language

Sorry for not giving a bit more details, What i propose is to do is: Add a "Language Selector" to all pages (a combo box, or a list of languages). When $_REQUEST['lang'] is set to an existing Language ISO, display the page in that language. Add a new column to the phpbb_forums table named lang , typ...
by naim
Sat Oct 15, 2011 6:01 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC] Contact Page
Replies: 87
Views: 139265

Re: [RFC] Contact Page

Notes: 1) A CAPTCHA cannot be used on this page due to accessibility issues. Who is going to start writing up Q & A? By System Font i meant a font that all platforms have built in core, and anyway what system can't render and serve a small image?! All we want is to verify that the user getting the ...
by naim
Sat Oct 15, 2011 5:19 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC] Contact Page
Replies: 87
Views: 139265

Re: [RFC] Contact Page

What about protecting the e-mail address with an image (just an image, not a captcha.) This would eliminate the possibility to copy the address to the clipboard. Or what would you type if you encounter a picture with an ambiguous font typing of Ill______O0@rnmwvvw.net (in another font type: Ill____...
by naim
Sat Oct 15, 2011 4:50 pm
Forum: [3.x] Discussion
Topic: WYSIWYG editor
Replies: 104
Views: 112560

Re: WYSIWYG editor

http://wysiwygbbcode.codeplex.com/ it is lightweight and is perfect for phpBB. may be it looks fine, but have a lot of faults, the main problem is that is not phpbb integrated : 1) Doesn't take into account permissions or if some of the bbcodes are not allowed 2) Doesn't take into account custom bb...