Welcome, Guest. Please Login or Register.
June 17, 2024, 08:00:50 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Collapsable YaBB « previous next »
Pages: 1 [2] 3 Reply Ignore Print
Author Topic: [Done 1.5.2] Collapsable YaBB  (Read 14028 times)
rickc
Jr. Member
**
Posts: 55


My Tsi rules!

WWW
Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #15 on: September 18, 2002, 08:09:29 AM »
Reply with quote

ps, the closest thing I found to the italian site is this,



http://www.teambg.net/forum/?c=group3


I herd that it will be out with 1.41


Logged
snYpir
Jr. Member
**
Posts: 65


I'm a llama!

Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #16 on: September 18, 2002, 08:05:52 PM »
Reply with quote

Quote from: rickc on September 18, 2002, 07:53:12 AMOk I just wanna start off by saying it was more than likely me, but...after I installed this mod & ended up with nothing that was Collapsable.

Given that u are the first to mention it I would think that it is more than likley you or your board ;)

More information plz! Did the boardmod install conflict? Have you gone to the forum settings and prefs page and adjusted any settings?


QuoteI found it on the Italian site, & it exactly what I had in mind........

They are simply using different buttons for the expand/collapse. You could upload the same images as expanded.gif and collapsed.gif and your board will look the same.


QuoteIs this a cruel joke & I was the last to get it???Or  is my mod 1/2 installed& I never did have it??

what do you think? :-X

sorry if this mod isn't what you're after - its simple, small and worked for me and a bunch of others.
Logged

Check out:
  • Enhanced Ban
  • Collapsable YaBB
  • UnDelete
  • View All
  • Topic Solved
  • Topic Summary
rickc
Jr. Member
**
Posts: 55


My Tsi rules!

WWW
Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #17 on: September 19, 2002, 05:25:16 AM »
Reply with quote

Sorry about not providing all the details...
Yes I did get some errors on step 5 & 7.
I do have the "Add Different Category Icons" mod installed. But even if I uninstall it, I still get an error on step 5 that is...
search for

$result_boards = mysql_query ("SELECT c.name as catName, c.ID_CAT, b.ID_BOARD, b.name as boardName, b.description, b.moderators, b.numPosts, b.numTopics, c.memberGroups FROM {$db_prefix}categories as c LEFT JOIN {$db_prefix}boards as b ON (b.ID_CAT=c.ID_CAT)$condition ORDER BY c.catOrder, c.ID_CAT, b.boardOrder, b.ID_BOARD");


and add after
// collapsable yabb mod - get collapsed categories for this user

   if($allowcollapsemod)

   {

      $request = mysql_query("SELECT collapseCatStatus FROM {$db_prefix}members WHERE memberName='$username' LIMIT 1");



      if (mysql_num_rows($request) != 0)

      {

         $collapseCatStatus = mysql_fetch_row($request);

         $collapseCatStatus = preg_split("/\|/", $collapseCatStatus[0]);

      }



      // get number of categories

      $numcat = mysql_num_rows(mysql_query("SELECT * FROM {$db_prefix}categories"));



      // first time for this user or number of categories changed?

      if ( $collapseCatStatus[0] == "-1" || $numcat != count($collapseCatStatus) - 1 )

      {

         for( $_=0,$tmp = ""; $_<$numcat; $_++) { $tmp .= "1|"; }

         $request = mysql_query("UPDATE {$db_prefix}members SET collapseCatStatus='$tmp' WHERE memberName='$username'");

         $collapseCatStatus = preg_split("/\|/", $tmp);

      }

   }

   $catcount = -1;

   // end collapsabe yabb mod

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I looked to add myself, but this is all I found
   
$result_boards = mysql_query ("SELECT c.name as catName, c.ID_CAT, b.ID_BOARD, b.name as boardName, b.description, b.moderators, b.numPosts, b.numTopics FROM {$db_prefix}categories as c LEFT JOIN {$db_prefix}boards as b ON (b.ID_CAT=c.ID_CAT) WHERE ('$settings[7]'='Administrator' || '$settings[7]'='Global Moderator' || FIND_IN_SET('$settings[7]',c.memberGroups)!=0 || c.memberGroups='') ORDER BY c.catOrder, b.boardOrder");

I tried to do  it after, but had no luck......
« Last Edit: September 19, 2002, 05:26:56 AM by rickc » Logged
snYpir
Jr. Member
**
Posts: 65


I'm a llama!

Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #18 on: September 19, 2002, 07:23:53 AM »
Reply with quote

 :o dude that is a huge change to category selection!

sorry but i am going to put this one on the 'too hard' basket - i would have to install the same mods you have and create a work around in the code to suit, which I am just not going to do (no time I am afraid) :-\

this is a perfect example of a boardmod install working (with a bit of modification) but the mod won't work in runtime due to the way in which your boardindex operates.

sorry ;) if someone else wants to write a compatible version then feel free - email it to me and i'll host it.

Perhaps try Vory's version of the mod (grab it from the new mods page)
Logged

Check out:
  • Enhanced Ban
  • Collapsable YaBB
  • UnDelete
  • View All
  • Topic Solved
  • Topic Summary
rickc
Jr. Member
**
Posts: 55


My Tsi rules!

WWW
Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #19 on: September 19, 2002, 09:51:33 PM »
Reply with quote

ok I'll install a new one & only use your mod, I'll let ya know how it goes....
b.t.w
will your mod work with ver 1.41???


thanks again for all your help:)
rickC
« Last Edit: September 20, 2002, 06:35:55 AM by rickc » Logged
rickc
Jr. Member
**
Posts: 55


My Tsi rules!

WWW
Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #20 on: September 20, 2002, 07:03:17 AM »
Reply with quote

Ok I upgraded to 1.41 and installed your mod. it works like a charm, thanks a million.  ;D


now if there was onny a way to get it to be collapsed by default. I think I'll add a login to my homepage, this way the user is logged in when they start...How to do this I dont know:(
« Last Edit: October 10, 2002, 04:52:51 AM by rickc » Logged
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #21 on: September 20, 2002, 01:24:57 PM »
Reply with quote

Ok apart from the above step I can confirm this mod is compatable with the following provided you add the above step in manually by searching for the end of the string (the board ID part)

and adding in two carriage returns and then the mod script.

1.4.1 additonal bug fixes.

Speed up board index

Quick reply box

Quicker IM bug fix by Andrea

Split/merge

More smilies

Multiple topic mover

Logged


 
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #22 on: October 17, 2002, 10:48:20 PM »
Reply with quote

I have a problem I installed this mod great it worked a charm UNTILL.

I started adding and removing catagories once I did this I was confronted with an error invalid mysql resource.

Is this due to the fact the database is only ammended for what sections are there when the mod is installed?

I can put up the part of my PhP where it says they error is but I am lead to beleive its a Dbase problem because it only occurs when I try to collapse boards not when they are all expanded.
Logged


 
rickc
Jr. Member
**
Posts: 55


My Tsi rules!

WWW
Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #23 on: October 23, 2002, 05:06:36 AM »
Reply with quote

I just wanted to thank snYpir
 for this, mod, it made my board 100% better, thanks snYpir ;D


« Last Edit: October 23, 2002, 05:29:24 AM by rickc » Logged
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta 1.4.1] Collapsable YaBB 1.1
« Reply #24 on: October 24, 2002, 12:43:43 AM »
Reply with quote

If anyone gets the error I described simply expand all and mark all as read and then it will work.  It is a rare bug and probably to do with how heavilly modded our board is.  This is indeed a great mod.

Logged


 
snYpir
Jr. Member
**
Posts: 65


I'm a llama!

Re:[Done 1.5.0] Collapsable YaBB
« Reply #25 on: December 31, 2002, 10:16:06 AM »
Reply with quote

1.5 compatible version included in the zip. Let me know if there are any problems.

As a mod maker let me just say that I was amazed at the differences from 1.4.1 to 1.5 - it took quite awhile to convert this relatively simple mod :o

 ;D
Logged

Check out:
  • Enhanced Ban
  • Collapsable YaBB
  • UnDelete
  • View All
  • Topic Solved
  • Topic Summary
guinevieve
Noobie
*
Posts: 3


I'm a llama!

Re:[Done 1.5.1] Collapsable YaBB
« Reply #26 on: February 02, 2003, 09:27:15 PM »
Reply with quote

Hello.

Can anyone help me?
I tried to install this mood but i can't. At step 5, it says it cannot find this string:


ORDER BY c.catORDER, c.ID_CAT, b.boardOrder, b.ID_BOARD") or database_order(_FILE_,_LINE_0;

The forum's version is 1.5.1
and the BoardMod 1.1(?)

Please, i hope someone helps ^^;
Thanks!

Logged
PoohBear
Jr. Member
**
Posts: 66


Re:[Done 1.5.1] Collapsable YaBB
« Reply #27 on: February 03, 2003, 06:15:16 AM »
Reply with quote

I tried to intergrate this with the New BoardIndex & MessageIndex look by Spaceman-Spiff but it didn't work  :(  

Oh well, I guess you can't have everything, I will stick with the BoardIndex look!  :D
« Last Edit: February 11, 2003, 02:10:35 PM by PoohBear » Logged
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:[Done 1.5.1] Collapsable YaBB
« Reply #28 on: February 22, 2003, 12:54:30 PM »
Reply with quote

This mod went in great into my board SE1.5.1
However, i also have "Allowed user Mod 1.2.151rc1 by Daniel Volk installed.

I have found that when a member has just normal access this mod works fine. But when I give access to a member to a private board, everytime they collaspe they get this error

Quote2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
(/home/.sites/58/site34/web/forum/Sources/BoardIndex.php ln 250)

I find I can get this to stop showing the error by unchecking the "Show 'new' icon at end of category name when collapsed" box in the mod settings.

Any clues on the best way to solve this problem, as I feel that having the new icon is really needed.
Thanks
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
snYpir
Jr. Member
**
Posts: 65


I'm a llama!

Re:[Done 1.5.2] Collapsable YaBB
« Reply #29 on: May 03, 2003, 06:29:03 AM »
Reply with quote

works in 1.5.2 - GWP i'll look into it if i get a chance.
Logged

Check out:
  • Enhanced Ban
  • Collapsable YaBB
  • UnDelete
  • View All
  • Topic Solved
  • Topic Summary
Pages: 1 [2] 3 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Collapsable YaBB « 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.072 seconds with 20 queries.