Welcome, Guest. Please Login or Register.
April 28, 2024, 05:25:04 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] Collapsable Category Mod ->v0.4.1X<- « previous next »
Pages: 1 ... 6 7 [8] Reply Ignore Print
Author Topic: [Done] Collapsable Category Mod ->v0.4.1X<-  (Read 11089 times)
Horseman
YaBB God
*****
Posts: 784


'MAS VALE CABALLO QUE CAUDAL!'

ICQ - 44729151 WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #105 on: August 18, 2002, 12:01:08 AM »
Reply with quote

the boardIndex.php from yabbse 1.4.1 have not this line:
while ($row_cat = mysql_fetch_array($result))
Logged
sensovision
Full Member
***
Posts: 100


WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #106 on: March 06, 2003, 11:36:24 PM »
Reply with quote

Hi KenTeamBG, I'm actually looking for the selection categories mod and find your post, did you plan to do such mod for 1.5.1RC1? as I've check post provided by Nemesis and find out that mod provided there doesn't support thisfeature :(
also if there a mod which allow to select categories can anyone give me a tip where it could be found?
Logged

Denis

Are you good with the graphic? check out our design logo contest!
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #107 on: March 07, 2003, 07:02:16 AM »
Reply with quote

The mod already excists for 1.5.1Rc1B44 (I installed it a few days ago on yabb.nl), but I have a question about implementing this in combination with the different category icons mod :

I have to do this :

<search for>
     // if this is a new category
     if ($row_board['ID_CAT'] != $curcat)
     {
        $curcat=$row_board['ID_CAT'];
        echo "<tr> <td colspan=\"5\" class=\"catbg\" height=\"18\">\n";
        echo "<a name=\"$row_board[ID_CAT]\"><b>$row_board[catName]</b></a></td>\n</tr>\n";
     }
</search for>

<replace>
     // if this is a new category
     if ($row_board['ID_CAT'] != $curcat)
     {
        $curcat=$row_board['ID_CAT'];
        echo "<tr> <td colspan=\"5\" class=\"catbg\" height=\"18\">\n";
        if (($row_board['isCollapsable']) && ($username != 'Guest'))
        {
           if (!isset($collapseInfo[$row_board['ID_CAT']]))
           {
              echo '<img src="'.$imagesdir.'/cat_collapse.gif" alt=""><a name="'.$row_board['ID_CAT'].'"> </a><a href="'.$scripturl.'?action=collapsecat;cat='.$row_board['ID_CAT'].'">';
           }
           else
           {
              echo '<img src="'.$imagesdir.'/cat_expand.gif" alt=""><a name="'.$row_board['ID_CAT'].'"> </a><a href="'.$scripturl.'?action=expandcat;cat='.$row_board['ID_CAT'].'">';
           }
           echo '<b>'.$row_board['catName'].'</b></a>';            
        }
        else
        {
           echo '<a name="'.$row_board['ID_CAT'].'"><b>'.$row_board['catName'].'</b></a>';
        }
        echo "</td>\n</tr>\n";
     }
</replace>


Where there is in BoardIndex.php :

     // if this is a new category
     if ($row_board['ID_CAT'] != $curcat)
     {
        $curcat=$row_board['ID_CAT'];

// Begin Diff Cat Icon Mod
 if ($row_board[iconon] == "") $row_board[iconon] = "on.gif";
   $on = "<img src=\"$imagesdir/$row_board[iconon]\" alt=\"$txt[333]\" border=\"0\">";
 if ($row_board[iconoff] == "") $row_board[iconoff] = "off.gif";
   $off = "<img src=\"$imagesdir/$row_board[iconoff]\" alt=\"$txt[334]\" border=\"0\">";

if($modSettings['iconsEnable'])
{
 echo '<tr>';

 if($row_board[iconon] != "on.gif" && $row_board[iconoff] != "off.gif")
 {
   echo "<td colspan=\"2\" class=\"catbg\" bgcolor=\"$color[catbg]\" height=\"18\"><a name=\"$row_board[ID_CAT]\"><font size=\"2\"><b>$row_board[name]</b> </font></td>\n";
   echo "<td nowrap colspan=\"2\" class=\"catbg\" bgcolor=\"$color[catbg]\" height=\"18\"><font size=\"1\">$on  $txt[333]</font></td>\n";
   echo "<td nowrap class=\"catbg\" bgcolor=\"$color[catbg]\" height=\"18\"><font size=\"1\">$off  $txt[334]</font></td>\n";
 }
 else
 {
   echo "<td colspan=\"6\" class=\"catbg\" bgcolor=\"$color[catbg]\" height=\"18\"><a name=\"$row_board[ID_CAT]\"><font size=\"2\"><b>$row_board[name]</b></font></td>\n";
 }

 echo "</tr>\n";

}
else
{
 echo "<td colspan=\"6\" class=\"catbg\" bgcolor=\"$color[catbg]\" height=\"18\"><a name=\"$row_board[ID_CAT]\"><font size=\"2\"><b>$row_board[catName]</b></font></td>\n";
}
// End Diff Cat Icon Mod



Is there anybody who can help me out here ?

I already asked this in the German section, but there has been no reply yet  :'(
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #108 on: March 07, 2003, 07:33:16 AM »
Reply with quote

Isn't there another mod written by Sniper that is still being updated? You might want to try that.
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #109 on: March 07, 2003, 08:32:46 AM »
Reply with quote

With those 2 mods combined in one ?!

Would be great.

....link....?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
sensovision
Full Member
***
Posts: 100


WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #110 on: March 07, 2003, 11:34:19 AM »
Reply with quote

Hi Webby, do you mean that this link you gave me containg Mod which will make possible to select only certain categories to display?
Quote from: Webby on March 07, 2003, 07:02:16 AM
The mod already excists for 1.5.1Rc1B44 (I installed it a few days ago on yabb.nl), ....
Logged

Denis

Are you good with the graphic? check out our design logo contest!
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #111 on: March 07, 2003, 02:36:44 PM »
Reply with quote

yes and no, it is the link to the mod which can collapse certain categories, so that you can't really see them.  They aren't hidden, but they are just collapsed.

Check the post, and the result at yabb.nl (register first to see what it does)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
sensovision
Full Member
***
Posts: 100


WWW
Re:[Done] Collapsable Category Mod ->v0.4.1X<-
« Reply #112 on: March 07, 2003, 03:18:51 PM »
Reply with quote

Hi Webby thankx for suggestion, I register and check this mod on yabb.nl and it's not what I'm looking for actually as main feature which I need is to have a link to some category like this http://www.teambg.net/forum/?c=12 provided by KenTeamBG in one of the previous post which allow to show only one category to my guests... do you have an idea how to do this?
Logged

Denis

Are you good with the graphic? check out our design logo contest!
Pages: 1 ... 6 7 [8] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Collapsable Category Mod ->v0.4.1X<- « 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.035 seconds with 21 queries.