View Full Version : So What Do You Think...
achtungbaby
08-06-2002, 09:46 PM
This poll is based on the functionality of the forums-only.
With the exception of the cooler smileys and the "post icons," what kind of added functionality did the new boards add? I guess it looks kinda nicer...
I miss how you used to be able to click on the entire field area to view a thread 'stead of clicking on the subject name.
Also, the polls are kinda strange since once you enter the poll, the question doesn't appear directly above the poll choices.
Hmmm...
Alex
achtungbaby
08-07-2002, 01:13 AM
Originally posted by Arex@Aug 7 2002, 12:43 AM
With the exception of the cooler smileys and the "post icons," what kind of added functionality did the new boards add? I guess it looks kinda nicer...
I miss how you used to be able to click on the entire field area to view a thread 'stead of clicking on the subject name.
Also, the polls are kinda strange since once you enter the poll, the question doesn't appear directly above the poll choices.
Hmmm...
Alex
Actually, that's a compliment, that the old forums are somewhat comparable to the new one, because the old forums, out of the box, is nothing like what we had. If anything, everything had been hacked, chopped up and shoved into something that *attempted* to be more like what we have now, but wasn't.
Primarily, the main difference that got my motor running was speed. Invisionboad makes the most of the number of queries it uses (I'm still not quite sure how it does it): for example, running the old forums index page typically required around 18 queries, whereas it's about 10 here. Also has to do with the number of requests per second, or something. I'm not going to pretend to understand, but I do know that Invisionboard is pretty much widely considered the fastest free bulletin board out there.
And sticking with the phpBB2 modification (which was what we were running) wasn't so hot an idea, considering the modification had: 1) never been officially supported by PHP-Nuke; 2) never been benchmarked against larger stress loads (yellowworld.org was one of the largest forums using the modification, no other testing had been done); 3) the guys who created the modification have not been responsive to any requests for reversing the process (taking the mod back to the standalone phpBB2).
As far as the other features go...I'll get around to listing them one of these days, but I'll just tell ya -- it's almost a fact that invisionboard, out of the box, has twice the features that phpBB2 has. While you can install various hacks and fixes to emulate those out of the box features, they only serve to slow the forum down eventually because of added SQL queries (which is what happened...)
achtungbaby
08-07-2002, 02:06 AM
BTW...I added the click-cell thing to the main forums :D
tapestrybabe
08-07-2002, 04:41 AM
I was wondering.. is there a way you can synchronize the post in this new forum... to synchronize with the scrolling recent posts on the front cover of the Yellow_World??
achtungbaby
08-07-2002, 05:52 AM
You read my mind. I'm working on this right now. I'm not sure if I can make it as slick as the current one but I'll see what I can do.
achtungbaby
08-07-2002, 12:08 PM
Okay, the "recent forum posts" block is finished. Wanna know how fun it was?:)
// let's get down to bitness
if(!$ibr_db_connection) // if another one of my excellent mods hasn't already made a connection :)
{
$ibr_db_connection = mysql_connect($ibr_sql_host, $ibr_sql_user, $ibr_sql_password);
if(!$ibr_db_connection)
{
echo "<div style=\"font-color:#ff0000; font-weight:bold;\">Error: Could not connect to database server</div>";
}
else
{
$ibr_db = mysql_select_db($ibr_sql_dbname, $ibr_db_connection);
if(!ibr_db)
{
echo "<div style=\"color:#ff0000; font-weight:bold;\">Error: Could not select database</div>";
}
}
}
if ($HTTP_COOKIE_VARS["member_id"] == 0) // if we don't have a member ID
{
// Yer a guest
$ibr_group_id = "2";
}
else
{
// Validate the user
if ($ibr_global_user == "yes")
{
// if we have the global user function then the user is already validated.
if ($guest == 1)
{
// if the Global User function decided that the user is a guest, then they're a guest
$ibr_group_id = "2";
}
else
{
// we can use the $r array to find out the group number.
$ibr_group_id = $r['g_id'];
}
}
else
{
$ibr_query = mysql_query("SELECT mgroup FROM ".$ibr_table_prefix."members WHERE id=".$HTTP_COOKIE_VARS['member_id']." AND password='".$HTTP_COOKIE_VARS['pass_hash']."'", $ibr_db_connection);
if(!$ibr_query)
{
echo "<div style=\"color:#ff0000; font-weight:bold;\">Error: Could not Verify Member Group: ".mysql_error()."</div>";
}
else
{
if (mysql_numrows($ibr_query) == 0)
{
$ibr_group_id = "2";
}
else
{
$ibr_result = mysql_fetch_row($ibr_query);
$ibr_group_id = $ibr_result[0];
}
}
}
}
// Finally, let us now grab the top ten topics!
$ibr_query = mysql_query("SELECT DISTINCT t.tid, t.title, t.last_poster_name, t.last_poster_id, t.forum_id, t.last post, f.read_perms FROM ".$ibr_table_prefix."topics t INNER JOIN ".$ibr_table_prefix."forums f ON t.forum_id = f.id ORDER BY t.last_post DESC LIMIT ".$ibr_limit, $ibr_db_connection);
if (!$ibr_query)
{
$show .= "<div style=\"color:#ff0000; font-weight:bold;\">Error: Could not execute topic lookup query</div>";
}
else
{
while($ibr_result = mysql_fetch_array($ibr_query))
{
$ibr_allow = "no";
if ($ibr_result['read_perms'] == "" OR $ibr_result['read_perms']==" " OR $ibr_result['read_perms'] == "*")
{
// permissions are set to "all"
$ibr_allow = "yes";
}
else
{
$ibr_read_perms = explode(",", $ibr_result['read_perms']);
for($i = 0; $i < sizeof($ibr_read_perms); $i++)
{
if($ibr_group_id == $ibr_read_perms[$i])
{
$ibr_allow = "yes";
}
}
}
if($ibr_allow=="yes")
{
$content .= "<b>»<a href=\"/".$ibr_ibf_path."?act=ST&f=".$ibr_result[4]."&t=".$ibr_result[0]."&view=getnewpost\">".$ibr_result[1]."</a></b> <i>by ";
if($ibr_result[3] != 0)
{
$content .= "<a class=\"quicklinks\" href=\"".$ibr_ibf_path."?act=Profile&CODE=03&MID=".$ibf_result[3]."\">".$ibr_result[2]."</a></i><br/><br/>\n";
}
else
{
$content .= $ibr_result[2]."</i><br/><br/>\n";
}
}
}
mysql_free_result($ibr_query);
}
// the end.
?>
Of course, I didn't author the code, just modified it to work with our website.
<!--EDIT|achtungbaby|Aug 7 2002, 12:09 PM-->
SunWuKong
08-07-2002, 01:38 PM
wow, most of that code is actually going into whether or not the user is allowed to view specific posts.
achtungbaby
08-07-2002, 09:21 PM
Originally posted by SunWuKung@Aug 7 2002, 01:38 PM
wow, most of that code is actually going into whether or not the user is allowed to view specific posts.
Damn straight! Can't have everyone reading my private love posts to the moderators :D
deez nuts
08-08-2002, 04:56 AM
It kicks ass, AB. But why so blue. Are we switching from yellowworld to blueworld?
Danny
08-08-2002, 09:21 AM
WHy is the time all funky?
achtungbaby
08-08-2002, 10:28 AM
Originally posted by Chasiubao_Boy@Aug 8 2002, 04:56 AM
It kicks ass, AB. But why so blue. Are we switching from yellowworld to blueworld?
Nay. We stay to yellowworld.
achtungbaby
08-08-2002, 10:28 AM
Originally posted by Danny@Aug 8 2002, 09:21 AM
WHy is the time all funky?
It is? What's wrong with it?
Danny
08-08-2002, 11:09 AM
Originally posted by achtungbaby@Aug 8 2002, 06:28 PM
Originally posted by Danny@Aug 8 2002, 09:21 AM
WHy is the time all funky?
It is? What's wrong with it?
maybe I am missing a setting or something... but my time is set for like Austrailian time or something, it is 210pm here in FL and my time is reading 1006am
achtungbaby
08-08-2002, 11:24 AM
Hmmm...that's just bizarro! The date/time here looks okay to me. If you're referring to the old forums, then yeah, it's a bug. You can go into your Profile and edit the date/time there.
Danny
08-08-2002, 02:03 PM
Originally posted by achtungbaby@Aug 8 2002, 07:24 PM
Hmmm...that's just bizarro! The date/time here looks okay to me. If you're referring to the old forums, then yeah, it's a bug. You can go into your Profile and edit the date/time there.
yeah my date time is all fucked up... 500pm (wait, I should be leaving work now), but it reads 542am on the posting time...
ahh... I'll look into it more when I get home...
no worry... I just figured it out... it was set to Grenwich Mean Time.... Fixed it... Doh'
<!--EDIT|Danny|Aug 8 2002, 05:04 PM-->
achtungbaby
08-09-2002, 01:46 PM
Thanks to SWK's super-human efforts, the "recent forum posts" block is now fixed! :D
tapestrybabe
08-09-2002, 02:04 PM
this is like a wee bit tad very very minor irk I have. And wellz, i was wondering.. is there a way you can condense the layout of the forum when it comes to the top section of it.. cuz the way it is now... i have to scroll... from left to right.. if i want to click onto the yellowworld home.
how about being able to make is so we can click onto the y_w banner.. in order to direct us to its front page... Anyways, I told you.. its just a very very minor thing. I can deal having to scroll.. its no biggie... :)
achtungbaby
08-09-2002, 02:28 PM
Behold:) It is as you requested:P
I also added links to the Forum Guidelines and yet another to the main site, just to ease navigation.
Thanks for the tips...keep the requests comin!
tapestrybabe
08-11-2002, 07:48 AM
Just a question about registering.
It more has to be concerned with new members and not me... but when ppl register.. do they have to register twice... first on y_w and then register here in the y_w forum?? Cuz i'm thinking, that may kinda confuse ppl... like with the latest member Bluemnm...
i wonder if there's a way to make registration easier... and make it so.. ppl only have to register once...
achtungbaby
08-11-2002, 10:11 AM
Originally posted by tapestrybabe@Aug 11 2002, 07:48 AM
Just a question about registering.
It more has to be concerned with new members and not me... but when ppl register.. do they have to register twice... first on y_w and then register here in the y_w forum?? Cuz i'm thinking, that may kinda confuse ppl... like with the latest member Bluemnm...
i wonder if there's a way to make registration easier... and make it so.. ppl only have to register once...
Just to clarify: newbies need not register twice. It's not imperative, anyway. If you want to be able to submit content or upload pictures on the main site, then yes, you will need to register.
Until the PHP-Nuke developers get off their ass and finally decide on a *real* forum to include out of the box, we're sort of stuck with the piecemeal approach. I'm not sure for how long it'll be like this, but as a temporary solution I thought it was acceptable, since the vast majority of us use the forums only anyway.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.