Welcome, Guest. Please Login or Register.
April 26, 2025, 05:04:08 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.x & 1.3.x] Speedup your Boardindex NEW Version 2! « previous next »
Pages: 1 [2] 3 4 ... 10 Reply Ignore Print
Author Topic: [Done 1.4.x & 1.3.x] Speedup your Boardindex NEW Version 2!  (Read 25680 times)
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[Beta 1.4.1]Faster boardindex
« Reply #15 on: August 20, 2002, 12:18:53 AM »
Reply with quote

That seems to be the fix! Thank you for your innovation and inventivness!
Logged

Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:[Beta 1.4.1]Faster boardindex
« Reply #16 on: August 20, 2002, 05:52:00 AM »
Reply with quote

Great! I'll make it a version 0.92
Logged

Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:[Beta 1.4.1]Faster boardindex
« Reply #17 on: August 21, 2002, 05:28:47 PM »
Reply with quote

I guess it's time to release the final version. Have phun!
Logged

Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #18 on: August 21, 2002, 05:31:46 PM »
Reply with quote

Phantastic!
Logged
Keng
Noobie
*
Posts: 19


Web Thai

ICQ - 11470350kengracing@msn.com WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #19 on: August 21, 2002, 05:43:40 PM »
Reply with quote

download link don't work
http://www.kyrandia.nl/test/SpeedUpBoardIndex-1.0.zip
Logged

visit our website at: RacingWeb.NET, Thai YaBB SE Thai Language, Forums test Mods
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #20 on: August 21, 2002, 05:49:09 PM »
Reply with quote

it should work now  :)
(sorry for the inconvenience)
Logged

Keng
Noobie
*
Posts: 19


Web Thai

ICQ - 11470350kengracing@msn.com WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #21 on: August 21, 2002, 09:52:46 PM »
Reply with quote

why page boardindex don't show guest name in last post
Logged

visit our website at: RacingWeb.NET, Thai YaBB SE Thai Language, Forums test Mods
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #22 on: August 22, 2002, 05:06:01 AM »
Reply with quote

should work if you replace:
      SELECT DISTINCT c.name AS catName,c.ID_CAT,b.ID_BOARD,b.name AS boardName,b.description,b.moderators,b.numPosts,b.numTopics,c.memberGroups,m.posterName,m.posterTime,m.subject,t.ID_TOPIC,t.numReplies,mem.realName,IFNULL(lb.logTime,0) AS boardTime,IFNULL(lmr.logTime,0) AS markReadTime
by:
      SELECT DISTINCT c.name AS catName,c.ID_CAT,b.ID_BOARD,b.name AS boardName,b.description,b.moderators,b.numPosts,b.numTopics,c.memberGroups,m.posterName,m.posterTime,m.subject,t.ID_TOPIC,t.numReplies,IFNULL(mem.realName,m.posterName) AS realName,IFNULL(lb.logTime,0) AS boardTime,IFNULL(lmr.logTime,0) AS markReadTime
Logged

Eloya
Full Member
***
Posts: 127


Magistrat

nschunter@eloya.net WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #23 on: August 22, 2002, 01:53:24 PM »
Reply with quote

Great work - I've taken o major overhaul to the database tables, including converting some DB types and applying your mod to my YaBB SE 1.40. With a little bit creativity this is not a prob. What? AH - its very very fast - like a ferrari *g*. Now I've times of 3 seconds for a collapsed forum with over 27 different forums on one engine fpr building up the boardindex. Great work!!!

Regards,

Nico
Logged

"Der Unterschied zwischen Magie und Alltag ist die Betrachtungsweise!"
http://www.travar.de
phark
Sr. Member
****
Posts: 482


Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #24 on: August 22, 2002, 02:15:52 PM »
Reply with quote

Nice work, Compuart!  The difference is amazing!  Zoom!!!   ;D
Logged

I'm not scared of dying, I just don't want to.
Eloya
Full Member
***
Posts: 127


Magistrat

nschunter@eloya.net WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #25 on: August 22, 2002, 04:03:28 PM »
Reply with quote

Just one question - everything is fine but when I post in a board and go back correctly to the index then my post willl show up to me as new. Anybody an idea about this? I think it has to do with this lines:

Quote$latestPostName = $txt[470];
$latestPostTime = $txt[470];
$latestPostID = '-1';
$latestModTime = $subject = $topicID = '';
$numReplies = 0;
$latestPostName = $row_board['posterName'];
      $latestPostID = $row_board['ID_MEMBER'];
      $latestPostTime = $row_board['posterTime'] > 0 ? $row_board['posterTime'] : 0;
      $subject = $row_board['subject'];
      $topicID = $row_board['ID_TOPIC'];
      $numReplies = $row_board['numReplies'];
      $latestPostRealName = $row_board['realName'];
      $log1 = ($row_board['boardTime'] > $latestPostTime) ? 1 : 0;
      $log2 = ($row_board['markReadTime'] > $latestPostTime) ? 1 : 0;
$latestEditTime = $latestModTime = $latestPostTime;


         $themoderators = explode(",",$row_board['moderators']);
         for ($i = 0; $i < sizeof($themoderators); $i++){
            $themoderators[$i] = trim($themoderators[$i]);
            if ($themoderators[$i]!=''){
            LoadRealName($themoderators[$i]);
            $euser=urlencode($themoderators[$i]);
            $themoderators[$i] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><acronym         title=\"$txt[62]\">{$realNames[$themoderators[$i]]}</acronym></a>";
            }
         }

         $showmods = implode (", ",$themoderators);
         if ($showmods!='')
         {
                 if (sizeof($themoderators)>1)
                  $showmods = "<BR><font size=\"1\"><i>$txt[299]: $showmods</i></font>";
                 else
                  $showmods = "<BR><font size=\"1\"><i>$txt[298]: $showmods</i></font>";
         }else{
            $showmods = "";}

         // set it to off, only turn it on if there are posts and they are new.
         $new = "<img src=\"$imagesdir/off.gif\" alt=\"$txt[334]\">";
         if ($latestPostTime != $txt[470] && $log1=='' && $log2=='' && $username != 'Guest')
               $new = "<img src=\"$imagesdir/on.gif\" alt=\"$txt[333]\">";

         if ($latestPostName != $txt[470] && $latestPostID != '-1') {
            $euser=urlencode($latestPostName);
            $latestPostName = "<a href=\"$scripturl?action=viewprofile;user=$euser\">$latestPostRealName</a>";
         }
         if ($latestPostTime != $txt[470])
            $latestPostTime = timeformat($latestPostTime);
Logged

"Der Unterschied zwischen Magie und Alltag ist die Betrachtungsweise!"
http://www.travar.de
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #26 on: August 22, 2002, 04:34:59 PM »
Reply with quote

it has to do with the fact ur using a 1.4.1 mod for 1.4.0 ;) :P

replace:
if ($latestPostTime != $txt[470] && $log1=='' && $log2=='' && $username != 'Guest')

by:
if ($latestPostTime != $txt[470] && $log1==0 && $log2==0 && $username != 'Guest')

btw: this only applies to 1.4.0
I might release a special 1.4.0 version of this mod (if there's enough people interested)
« Last Edit: August 22, 2002, 04:35:54 PM by Compuart » Logged

PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #27 on: August 22, 2002, 04:49:40 PM »
Reply with quote

Am still using 1.31 (mainly because I am too chicken to upgrade!!)

Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #28 on: August 22, 2002, 05:10:13 PM »
Reply with quote

hmmm, 1.3.1, 1.4.0... :o
are there more people using these versions that want to use this mod?
Logged

Eloya
Full Member
***
Posts: 127


Magistrat

nschunter@eloya.net WWW
Re:[Done 1.4.1] Speedup your Boardindex by 50%
« Reply #29 on: August 22, 2002, 05:34:45 PM »
Reply with quote

Grin.... yes, yes I know *g*

OK I tried your change compuart but the same thing - topics startet by myself or answers to existing threads are still marked as new if I return back to the boardindex.

Any idea? I looked at tbe topic - table but it seems alright then...

URL: http://www.travar.de/koops/edxzine

Strange and weird....

Nico
Logged

"Der Unterschied zwischen Magie und Alltag ist die Betrachtungsweise!"
http://www.travar.de
Pages: 1 [2] 3 4 ... 10 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.x & 1.3.x] Speedup your Boardindex NEW Version 2! « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.019 seconds with 18 queries.