| View previous topic :: View next topic |
| Author |
Message |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Fri Dec 07, 2007 7:42 pm Post subject: So...... |
|
|
One thing I want to get going is a "fast reply" option. It shouldn't be very long and I'll have that going.
There are some gui elements that I need to improve just a little bit.
Anything you feel would be of benefit, please post it here. This forum is MUCH more customizable than the ProBoards one was.
|
|
| Back to top |
|
 |
Segep

Joined: 10 Nov 2007 Posts: 221
|
Posted: Sat Dec 08, 2007 3:19 pm Post subject: Board Start Date |
|
|
Man, is this place looking great! I see you had no problems styling the advanced bbcode box.
Now about changing the board start date....
Open up your favorite code editor (you DO have a code editor, don't you?) and paste this code into a new file. Save as 'datefix.php' and upload it to the root of you phpBB installation--in other words where index.php is located. click on http://kizzume.com/forum/datefix.php to change the start date of this forum to December 1, 2007 at midnight.
DELETE DATEFIX.PHP AFTER YOU DO THIS!
(and delete the above link to it, too )
| Code: | <?php
/***************************************************************************
* db_update.php
* -------------------
*
* copyright : ?2003 Freakin' Booty ;-P & Antony Bailey
* project : http://sourceforge.net/projects/dbgenerator
* Website : http://freakingbooty.no-ip.com/ & http://www.rapiddr3am.net
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . append_sid("login.$phpEx?redirect=datefix.$phpEx", true));
exit;
}
if( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, 'You are not authorised to access this page');
}
$page_title = 'Updating the database';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
echo '<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">';
echo '<tr><th>Updating the database</th></tr><tr><td><span class="genmed"><ul type="circle">';
$sql = array();
$sql[] = "INSERT INTO `" . $table_prefix . "config` VALUES('board_startdate', ' 1196485200')";
for( $i = 0; $i < count($sql); $i++ )
{
if( !$result = $db->sql_query ($sql[$i]) )
{
$error = $db->sql_error();
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#FF0000"><b>Error:</b></font> ' . $error['message'] . '</li><br />';
}
else
{
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#00AA00"><b>Successful</b></font></li><br />';
}
}
echo '</ul></span></td></tr><tr><td class="catBottom" height="28"> </td></tr>';
echo '<tr><th>Installation Complete</th></tr><tr><td><span class="genmed">Please be sure to delete this file now.<br />If you require any further assistance, please visit the <a href="http://www.foxymods-phpbb.com/support-forums.html">FoxyMods Support Forums</a>.</span></td></tr>';
echo '<tr><td class="catBottom" height="28" align="center"><span class="genmed"><a href="' . append_sid("index.$phpEx") . '">Go back to your index page</a>.</span></td></table>';
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?> |
|
|
| Back to top |
|
 |
Segep

Joined: 10 Nov 2007 Posts: 221
|
Posted: Sat Dec 08, 2007 3:35 pm Post subject: |
|
|
lol nevermind I see you already got it figured out and you have December 1, 2007 at 9pm as the start date.
|
|
| Back to top |
|
 |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Sat Dec 08, 2007 6:04 pm Post subject: |
|
|
It's my join date that needs work.... 
|
|
| Back to top |
|
 |
jq

Joined: 02 Dec 2007 Posts: 1124
|
Posted: Sat Dec 08, 2007 6:54 pm Post subject: |
|
|
The only thing I miss (though it may be here and I simply didn't see it) is the "20 most recent posts." Especially if it became "25 most recent posts." Man would THAT be badass 
|
|
| Back to top |
|
 |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Sat Dec 08, 2007 6:59 pm Post subject: |
|
|
I will look into that. The actual buttons are already made--it's just figuring out what the link would be to put into it. It's the fact that it's the latest 20 messages, not just the headers for them. I'll definitely check into that. It looked cool there too.
|
|
| Back to top |
|
 |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Sat Dec 08, 2007 7:21 pm Post subject: |
|
|
Well, I have a cheap version there for now--it's near the bottom--it says View Recent Posts. Normally the option doesn't show up unless you're in the main index. I'd like it to show up closer to the forum area on the top, but all I could immediately get it to do was be just underneath the other buttons (faq search memberllist etc..) at the top instead of being just above the forum area. I'm sure I'll figure out a way.
|
|
| Back to top |
|
 |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Sat Dec 08, 2007 7:30 pm Post subject: |
|
|
Well, it's not so cheap now, but I'm not sure if I like the extra space at the top.... hmmm......
|
|
| Back to top |
|
 |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Sat Dec 08, 2007 7:31 pm Post subject: |
|
|
Okay, how does that look with it at the top? I want it to not stick out quite as much as the other buttons. The reason it looks so much different is that before there were dividing lines between graphics--on this one it's a fade to black, so the extra buttons below I need to make sure don't stand out as much as the ones at the top (as much as the FAQ Search Memberlist etc..).
Is the color right on it, or should I go with another hue.... as you come back to the page, you'll probably see a bunch of versions of it....
|
|
| Back to top |
|
 |
Kizzume Site Admin

Joined: 31 Dec 1969 Posts: 2831 Location: Tacoma, WA USA
|
Posted: Mon Dec 10, 2007 12:03 pm Post subject: |
|
|
Okay--well, how are these two images at the top? Do these do a close enough of a thing to what they did on the other forum, or should I keep looking into ways of making it display the same types of results as on the other board? For me, these things cover it better than the ProBoards forum, but I may search things differently than others do.
Please let me know. 
|
|
| Back to top |
|
 |
|