summary refs log tree commit diff stats
path: root/pages/admin.php
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Admin's movePending post deletion bugStarla Insigna2008-12-191-5/+5
| | | | | | | | | | | | Certain posts, when moved around, were strangely deleted from the pending queue. This was actually two seperate bugs, both causing the same problem. 1. When looking for the post to swap with, the movePending command would search for the next post with an ID greater than or less than the current ID, but it wouldn't actually sort the results correctly so that the corrent posts wouldn't neccessarily always be the post shown. This resulted in a seemingly random pending posts being deleted. This has been fixed by adding a simply "ORDER BY" clause to the SQL "SELECT" commands. 2. When re-inserting the pending posts into the queue (after swapping IDs), if one of the posts contained invalid characters requiring escaping, MySQL would reject the post without error and simply not insert it, resulting in one or more of the posts involved in the switch to be deleted. This has been fixed by wrapping the text of the post in the mysql_real_escape_string() function.
* Fixed Admin's movePending EIIEOIAFOA syndromeStarla Insigna2008-12-191-4/+4
| | | | | The admin panel's movePending was suffering the same Every Item Is Exactly One ID Away From One Another syndrome that the main blog was facing in changeset 8c0096629f88 (Fixed blog post Next/Previous links)
* Fixed Admin's movePending outputStarla Insigna2008-12-191-18/+11
| | | | | | | | | | | | The movePending command is used to re-arrange the pending queue. However, it's output had two errors: 1. If the move completed sucessfully, the pending queue would be shown again. However, the URL would still be the movePending command, with it's parameters. Because of this, if the user refreshed, it would try to re-arrange the queue again, which could cause some strange things to happen as the post in question had already been moved. This problem has been fixed by redirecting to the managePending command after executing the movePending command instead of simply running the managePending command internally as used to be the problem. 2. As a collary of the preceding error, if the move failed, the error would simply back up the browser's history and refresh. If the previous page was the output of a sucessful movePending command, strange things would happen. This was fixed dually by the previous solution and the fact that now the error messages simply link to the managePending command.
* Added an emoticon parsing systemStarla Insigna2008-12-171-3/+3
| | | | | I decided that, because I use the :) emoticon so often, I might as well replace it with an actual image. I've added a Smiley parsing system to complement the BBCode parsing one.
* Optimized postingStarla Insigna2008-12-131-12/+9
| | | | | Previously, Four Island posted a blog, and then searched through the table looking for it so it could retrieve its ID. Now, the "mysql_insert_id()" function is used instead.
* Replaced all "www" subdomain linksStarla Insigna2008-12-101-1/+0
| | | | | For some reason, the source is full of www subdomain links. The rewriting engine doesn't seem to rewrite correctly, so most www subdomain links forward to the original URL, not the rewritten URL, which is the base of the Pingback error.
* Redid multiple tag systemStarla Insigna2008-12-071-16/+44
| | | | | | This new tag system has a seperate table for tags. This way, a tag cloud can be made much more easily than if using the previous system. This changeset requires manual maintinence.
* Added support for a variable amount of tagsStarla Insigna2008-12-071-28/+36
| | | | | | Previously, the blogging engine only allowed for three tags per post, and it also stored each in seperate fields. Now, all tags are stored in one field and there can be more than three. The only functionality that has been removed because of this is that now, on archive pages, tags are not shown next to the current month's posts as they used to be, because the Four Island templating system does not yet support sub-blocks of sub-blocks.
* Created the 6th layoutStarla Insigna2008-11-221-1/+69
|
* Fixed a few code nagsStarla Insigna2008-11-191-0/+1
|
* Removed 'wiki' moduleStarla Insigna2008-11-191-65/+0
| | | | Since MediaWiki was introduced to Four Island, the old wiki module hasn't been used, so it is not necessary to be present.
* Improved Quotes Admin moduleStarla Insigna2008-11-191-2/+9
| | | | | Fixed the Quotes Management module in the admin panel so that comments with line breaks in them would actually show up on individual lines. Also, the quotes can be distinguished from one another by every other row in the table being shaded differently.
* Fixed permissionsStarla Insigna2008-11-191-0/+0
|
* Imported sourcesStarla Insigna2008-11-191-0/+661