summary refs log tree commit diff stats
path: root/includes
Commit message (Collapse)AuthorAgeFilesLines
* Backported [nosmilies] from Layout 8Starla Insigna2010-10-153-7/+41
|
* Added [thumb3] BBCodeStarla Insigna2010-10-101-0/+1
| | | | This is a hack to get a thumbnail image floating to the left of a list. It's a really bad hack and I just can't wait to get to Four Island 3.
* Added stripslashes to title of related postsStarla Insigna2010-10-081-1/+1
|
* Removed POTW from sidebarStarla Insigna2010-09-221-2/+0
|
* Stripped slashes from Affiliates and Website ProjectsStarla Insigna2010-09-061-2/+2
|
* Make poll question a link to poll pageStarla Insigna2010-09-061-0/+1
|
* Merged unforgiving heads (and...)Starla Insigna2010-08-1796-18053/+281
|\ | | | | | | | | Also updated public and private keys for reCAPTCHA. As well as the use of the new keys, Four Island now stores the private key along with the other protected information that is not source controlled, instead of with the public key.
| * Added back reCAPTCHAStarla Insigna2010-08-1796-18053/+282
| | | | | | | | | | | | Because of the lifting of the jail around my server, it can once again use reCAPTCHAs for security. Backed out changeset 9332c237adcd
* | Added HTML quoting to parsing processStarla Insigna2010-08-131-0/+1
| | | | | | | | Because HTML quoting was not done, text in between angle brackets would disappear because it would be thought that they were real.
* | Added [imgright] bbcodeStarla Insigna2010-07-171-0/+1
| | | | | | | | This is sort of cheating because I don't have SSH access to my server right now and I want to upload a file. Instead, during the time that I don't have access, I will use a remotely hosted file.
* | Installed TweetboardStarla Insigna2010-07-081-0/+1
| |
* | Fixed some stylistic problemsStarla Insigna2010-05-2494-0/+0
| | | | | | | | Including padding around posts on layouts 4.5 and 6.2, corner rounding on The Fourm and duplicate profile links on The Fourm on layout 6.2.
* | Fixed (temporarily) Memorial Day's dateStarla Insigna2010-05-231-1/+1
| | | | | | | | | | | | | | Because Memorial Day falls on the LAST Monday of May, rather than a specific week number like the fourth week, and May can sometimes have four mondays and sometimes have five mondays, this is quite dangerous because in 2012, May will only have four Mondays, which will render this code invalid. However, Four Island 3.0 should hopefully be out by 2012, which will hopefully not contain this bug (a.k.a. by allowing a date to be specified as a the last day of a month as well as during a specific week).
* | Added fallthrough for [audio] in JavaScript-less environmentStarla Insigna2010-05-231-1/+1
| |
* | Added [audio]Starla Insigna2010-05-221-0/+1
| |
* | Added [hr]Starla Insigna2010-05-221-0/+1
| |
* | Added April Fools Day jokeStarla Insigna2010-03-285-52/+87
|/
* Added working CAPTCHAStarla Insigna2010-03-1296-282/+18053
| | | | | After a little digging, it turned out that the reason that reCAPTCHA always failed was because the reCAPTCHA server was blocked to the server. This should've been obvious as the reCAPTCHA always worked on the development server.
* Fixed Unicode-mangling bugStarla Insigna2010-01-271-1/+1
| | | | For the longest time, special Unicode characters have been showing up as nonsense. It turned out that my homegrown BBCode parser was at fault.
* Removed XHTMLStarla Insigna2010-01-152-26/+20
| | | | | | | XHTML was causing so many problems that it was simply unbearable. Four Island 3.0 will be sure to have no traces left of this annoyance. Also, a lot of files are showing up as being changed because this commit was on the server and I had to modifiy permissions for files (all of the files that were new since my last server commit) so I could commit.
* Organized blog moduleStarla Insigna2009-11-281-3/+8
| | | | | Previously, welcome.php was always loaded if no module was specified. Because of this, the index page blog section was there, while the rest of the blog code (plus archive code) was in blog.php. Now, the all of the blog is in blog.php and all of the archive is in archive.php.
* Added Fouripedia compatibilityStarla Insigna2009-11-265-17/+81
| | | | Made many strutural changes to Four Island allowing for the reinclusion of Fouripedia.
* Added :P emoticonStarla Insigna2009-11-151-0/+1
|
* Fixed voting issueStarla Insigna2009-10-031-15/+0
| | | | | | | | Because XHTML was accidentally disabled in the previous changeset, a new error was found that, when in HTML mode (required for IE and layouts prior to 7), voting did not work due to the encoded ampherstand in the query string. This is odd because what works in XHTML should also work in HTML. So, to fix this, XHTML was re-enabled and now the ampherstand is only encoded when XHTML mode is on. Also fixed some positioning errors with the tails of bubbles.
* Created Theme SwitcherStarla Insigna2009-10-033-272/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rewrote the way layouts work. Now, each layout requires a "layout.tpl" file (which contains the header and footer for the layout) and a "style.php" file (which contains and can include other files that contain the CSS for the layout). Each layout has it's own folder in theme/layouts and you can switch between them using a combo box in the Hatbar. Layouts 6.2 and 4.5 have been modified to work with new Layout 7 features such as AJAX, and they should be relatively free of bugs. Layout 3 has not yet been transferred because since it is pre-The New Four Island, it will be very difficult to do so. This changeset requires manual external code changes: * The line below must be added above the functions.php include in The Fourm's funnctions.php require('/svr/www/hatkirby/fourisland/main/includes/session.php'); * The block of Four Island code in The Fourm's page_header() function should be replaced with: global $fi_pagetitle; $fi_pagetitle = $page_title; ob_start(); * The block of Four Island code in The Fourm's page_footer() function should be replaced with: global $fi_pagetitle; $content = ob_get_contents(); ob_end_clean(); $noRightbar = 1; $onFourm = 1; $pageCategory = 'fourm'; if ($fi_pagetitle == 'Index page') { $title = 'The Fourm'; } else if (strpos($fi_pagetitle, 'View topic') !== FALSE) { $title = str_replace('View topic - ', 'Topic: ', $fi_pagetitle) . ' - The Fourm'; } else if (strpos($fi_pagetitle, 'View forum') !== FALSE) { $title = str_replace('View forum - ', 'Fourm: ', $fi_pagetitle) . ' - The Fourm'; } else if (strpos($fi_pagetitle, 'Viewing profile') !== FALSE) { $title = str_replace('Viewing profile - ', 'Member: ', $fi_pagetitle) . ' - The Fourm'; } else { $title = $fi_pagetitle . ' - The Fourm'; } if ($_GET['view'] != 'print') { include('/svr/www/hatkirby/fourisland/main/includes/layout.php'); } else { echo $content; } Closes #117
* Fixed #116Starla Insigna2009-10-021-0/+5
|
* Fixed HTML Entites problemStarla Insigna2009-10-023-12/+12
| | | | | | When the poll escaping problem was fixed, a whole ton of other similar bugs were found which were also fixed here. Fixes #115
* Databasified Affiliates and Website ProjectsStarla Insigna2009-08-172-0/+34
| | | | | | | | The following database changes must be made ASAP: * Import the links.sql script into the database Closes #114
* Rewrote Admin panelStarla Insigna2009-08-131-1/+8
| | | | | | | | | | The following database changes must be made: * A TEXT column called "text" must be added to the end of "polloftheweek" * The transferPollRss.php script must be run * The "pollrss" table must be dropped Closes #113
* Added IE supportStarla Insigna2009-08-091-71/+76
| | | | Because IE doesn't support XHTML, Four Island checks to see if the browser is IE and if it is, changes the Content Type to HTML. It also displays a warning at the top of the screen telling the user that their browsing experience will be much better with a better browser.
* Created layout 7Starla Insigna2009-08-097-262/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes were also made in this revision: * All HTML was changed to XHTML and a !DOCTYPE was included to reflect this * Rewrote quotes tracking system to be much less complicated and actually working * Changed quotes rendering to look more like Chirpy than Rash * Fixed comment textarea bug * Rewrote a ton of CSS so it's not as bloated * Added a JavaScript confirmation when deleting a comment * AJAXified voting on the POTW * AJAXified voting and flagging quotes * AJAXified commenting * AJAXified voting on posts * Added DateFinder back after it was accidentally deleted in Layout 4.5 The following database changes must be performed as soon as possible: * Fix title of NO <!DOCTYPE> post (the &lt; is missing the semicolon) * Restore post Frasty Tha Snaman from a backup * Reset "flag" field of all rows in "rash_quotes" to 0 * Remove the "vote" and "flag" columns of "rash_tracking" * Rename the "quote_id" column of "rash_tracking" to "vote" The following external code changes must also be performed as soon as possible: * Add the following line to the end of the // Four Island block in The Fourm's functions.php: require('/svr/www/hatkirby/fourisland/main/includes/specialdates.php');
* Allowed admin user to use site during maintenanceStarla Insigna2009-06-031-1/+1
|
* Fixed poll sidebar commentsStarla Insigna2009-05-181-1/+1
|
* Added poll comments to sidebarStarla Insigna2009-05-181-1/+14
|
* Tweaked Easter holidays againStarla Insigna2009-04-041-3/+2
| | | | It turned out that there actually was a problem with the algorithm.
* Improved rendering in IEStarla Insigna2009-03-281-3/+9
| | | | | Now, Four Island doesn't look downright disgusting in IE, even though there are still a couple more problems to be fixed. Also, a small amount of CSS housekeeping was done.
* Tweaked Easter holidaysStarla Insigna2009-02-251-5/+3
| | | | | | | | | | Easter holidays were coming a day late, so a day was ticked off of the Easter fourmula. It does concern me, however, that this issue wasn't discovered last year. Either there was another Easter bug last year (maybe during the time all Easter holidays were a month late?) or my fourmula's wrong. I also cleaned up some of the Special Dates code.
* Added comment editing and deletingStarla Insigna2009-02-212-0/+30
|
* Fixed [pre] tagStarla Insigna2009-01-181-1/+1
|
* Added [quote] bbcodeStarla Insigna2009-01-081-0/+1
|
* Changed comments' user indexStarla Insigna2009-01-053-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the comments table referenced users by username. However, if user ever changed their username, everything would become messed up. To fix this, the index has been changed to the user ID. This change obviously requires maintenance: This SQL must be run: "ALTER TABLE `comments` ADD `user_id` INT( 11 ) NOT NULL AFTER `page_id`;" This PHP will generate some SQL that must be run: <?php $getusers = "SELECT DISTINCT username FROM comments WHERE is_anon = 0"; $getusers2 = mysql_query($getusers); while ($getusers3 = mysql_fetch_array($getusers2)) { $getuser = "SELECT * FROM phpbb_users WHERE username = \"" . $getusers3['username'] . "\""; $getuser2 = mysql_query($getuser); $getuser3 = mysql_fetch_array($getuser2); echo("UPDATE comments SET user_id = " . $getuser3['user_id'] . " WHERE username = \"" . $getuser3['username'] . "\" AND is_anon = 0;<BR>"); } $getusers = "SELECT * FROM anon_commenters"; $getusers2 = mysql_query($getusers); while ($getusers3 = mysql_fetch_array($getusers2)) { echo("UPDATE comments SET user_id = " . $getusers3['id'] . " WHERE username = \"" . $getusers3['username'] . "\" AND is_anon = 1;<BR>"); } ?> This SQL must be run: "ALTER TABLE `comments` DROP `username`;"
* Improved anonymous commentingStarla Insigna2009-01-052-45/+33
| | | | | There was a bug where, if an anonymous commenter used a username that was being used by an actual member, Four Island would think the anonymous commentor was actually the member.
* Restricted Admin panel to AdminsStarla Insigna2009-01-051-1/+1
| | | | | Previously, when phpBB3 was integrated, the user group 2 was mistaken as the Admin group when it was actually the Registered group, thus allowing anyone who could log in to access the admin panel.
* Added Admin link to navbarStarla Insigna2009-01-051-0/+5
|
* Integreated Fourm usersStarla Insigna2009-01-055-62/+91
|
* Modified some image ALTsStarla Insigna2009-01-031-3/+3
|
* Added :D smileyStarla Insigna2009-01-031-0/+1
|
* Added revision stampingStarla Insigna2008-12-301-0/+2
|
* Fixed some more HTML validation errorsStarla Insigna2008-12-261-4/+4
|
* Fixed many HTML validation errorsStarla Insigna2008-12-212-6/+6
|