| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 < 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');
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Previously, the RSS feed wouldn't display because it attempted to display parsed blog posts, but the parseText() function was not defined as parsers.php was not
included.
|
| |
|
|
|
|
|
| |
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.
|
|\ |
|
|/
|
|
|
| |
Apparently people actually do like the sixth layout. It was just me
being paranoid, they were busy over there.
|
|
|
|
| |
Oh so many people complained at the new, pretty layout. The decision was reached in the Poll of the Week: Layout 6 had to go.
|
|
|
|
|
|
| |
There have been complaints that Four Island is hard to read in the night because all of the text is black. So, for the Blog, whoose only text that is
directly in front of the background is cite text, the cite text has been changed to yellow at night. For the rest, the 4th layout-style center
background has been added back, to greater effect with the fade-out at the top.
|
| |
|
| |
|
|
|
|
|
| |
I still need to bring back the old backgrounds and the style sheet that
decided between them. I'll do that as soon as I can be bothered.
|
| |
|
| |
|
|
|