Welcome, Guest. Please Login or Register.
April 27, 2025, 06:30:51 PM
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] Collapsable Category Mod ->v0.4.1X<- « previous next »
Pages: 1 2 3 [4] 5 6 ... 8 Reply Ignore Print
Author Topic: [Done] Collapsable Category Mod ->v0.4.1X<-  (Read 12899 times)
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #45 on: May 14, 2002, 07:01:43 PM »
Reply with quote

Quote from: Structuralist on May 14, 2002, 06:28:35 PMI wrote you privately and offered you my first born grandchild (I'm too old for children any longer and don't have the patients -heck, I'm old enough to be most of your big brother)  8)

I'm sure I speak for all of us who have been waiting patiently for this mod when I thank you from the bottom of my heart.

This should make you all weepy  ;D

I have checked your forum. You need to update your news I think  You are not using YaBB SE 1.1.0 :)

:) And Thank you very much for your email,  anyway I don't quite understand what you are offering me here? You are offering me your first-born child ?  ::) :)

Frankly, My future is yet unknown... and seem so aimless. I don't even know yet what to do for my dissertation :( .. and actually, I am not the citizen of UK, I am only here for just studying.

PS. If you are using v0.3a don't forget to set the defautl value to  the column with the query provided in the first post
« Last Edit: May 14, 2002, 07:08:45 PM by vorapoap (vory) » Logged

On the route to hell...
Structuralist
Noobie
*
Posts: 41


I love YaBB SE!

Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #46 on: May 14, 2002, 07:27:45 PM »
Reply with quote

I was offering you my 13-year old granddaughter. She lives with my wife and I and is a pain in the butt. I'm looking for any excuse to get rid of her (just kidding) and since it is customary to offer a first born - I'm too old at 52 to give you my first born, they are already spoken for. The best I can do is my first born grandchild (I suggest you read O'Henry's Ransome of Red Chief [/u] before you accept the offer.

Actually, I wouldn't trade her for the world, but I thought I was being nice to offer.

BTW, in O'Henry's Ransome of Red Chief [/u] The kidnapper ended up paying to give the child back.

Seriously, thank you for your work on the Collapsabl Cateory Mod - we've been waiting for along time and you delivered. We owe you for that (but I'll keep my grandaughter).

Regards,
The Structuralist
Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #47 on: May 14, 2002, 08:40:20 PM »
Reply with quote

I think I want to use this mod, but I'm not sure...
I've tried to follow this thread, but two things are unclear to me:
- can I have all categories closed as defalt, and user can expand one at the time, or more if he wants to?
- is there any indicator for new messages in a closed category?

If answers are yes to both, I will install it ASAP.
Logged
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #48 on: May 14, 2002, 11:09:58 PM »
Reply with quote

Quote from: lenaP on May 14, 2002, 08:40:20 PM- can I have all categories closed as defalt, and user can expand one at the time, or more if he wants to?
- is there any indicator for new messages in a closed category?

It is strange to close all categories by default.. but you can do it..,  change the query for table update to
ALTER .... ADD COLUMN catTgoggle INT DEFAULT  -2147438648 and UPDATE yabbse_members SET catToggle = -2147438648   ... Instead of doing this I would look forward to close all and open all buttons.

The second option will be done in the next version (maybe around next week)
Logged

On the route to hell...
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #49 on: May 15, 2002, 04:12:14 AM »
Reply with quote

Ok, I'll be waiting for the next version then.
Logged
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #50 on: May 15, 2002, 11:20:33 AM »
Reply with quote

Quote from: vorapoap (vory) on May 14, 2002, 06:49:27 PM
Quote from: PlonkerFish on May 14, 2002, 06:33:17 PMhow can I update from 0.2 to 0.3? I donwloaded the zip and there is no updating script :S??

First you have to undo the old v0.2 with the old Mod file.. u know .... with the BoardMod.. uncheck the mark in front of the mod name.. then overwrite the old mod file with this file.. and re-mark the check box to apply it again .. Don't forget to run the query to upgrade the database. If you don't know how to do I will make the script for that.


Erk, thats eveil!! :'(. I don't have the 0.2 mod anymore. Do you still have it so that i can undo it please?
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Done] Collapsable Category Mod (Server-side) v0.3a
« Reply #51 on: May 15, 2002, 12:03:03 PM »
Reply with quote

I can tell you what to do...

In load.php
      $request = mysql_query("SELECT passwd,realName,emailAddress,websiteTitle,websiteUrl,signature,posts,memberGroup,ICQ,AIM,YIM,gender,personalText,avatar,dateRegistered,location,birthdate,timeFormat,timeOffset,hideEmail,ID_MEMBER,memberName,MSN,catToggle FROM {$db_prefix}members WHERE memberName='$username' LIMIT 1");

change to

      $request = mysql_query("SELECT passwd,realName,emailAddress,websiteTitle,websiteUrl,signature,posts,memberGroup,ICQ,AIM,YIM,gender,personalText,avatar,dateRegistered,location,birthdate,timeFormat,timeOffset,hideEmail,ID_MEMBER,memberName,MSN FROM {$db_prefix}members WHERE memberName='$username' LIMIT 1");
In BoardIndex.php
In the ORIGINAL FILE, FIND THIS

      print <<<EOT
  <tr>
    <td colspan="5" class="catbg" height="18"><a name="$row_cat[ID_CAT]"><b>$row_cat[name]</b></a></td>
  </tr>
EOT;

Then go to the v0.2 modified file. Around the same location, remove all of new code, and put above code back... It should begin with... I am not sure

$VcatBit = $settings[23] & (1 << $row_cat[ID_CAT]); $VcatOpen = true; $Vcatst='open';

and end with

if (!$VcatOpen) continue;

In Register.php Remove
   $request = mysql_query("UPDATE {$db_prefix}members SET catToggle=0 WHERE memberName='$member[user]'");



Ahh at this point I found a mistake in my 0.3a mod file. I thought I have removed this line from it.. but it is still there :(... If you are using this mod.. and has ALTER the TABLE with DEFAULT value.. just remove this line from Register.php (This doesn't do anything wrong.. just a duplication of process, remove it if you can thanks..) The new downloaded is avaiable call v0.3b You may ignore it and wait directly for the next major release.

   $request = mysql_query("UPDATE {$db_prefix}members SET catToggle=0 WHERE memberName='$member[user]'");

BIG SORRY.
ALWAYS MAKE SURE, YOU HAVE OLD MOD FILE WITH YOU, THEN YOU CAN UNDO THE PROCESS, AND APPLY THE NEW VERSION which will be released soon
« Last Edit: May 15, 2002, 12:12:24 PM by vorapoap (vory) » Logged

On the route to hell...
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #52 on: May 15, 2002, 02:06:13 PM »
Reply with quote

 :-* :-* :-* :-* :-* :-* :-* :-* :-* :-* :-* :-* :-*


:D. lol.


Thanks a whole bunch. I'll install it later tonight :), after i've finished studying :'(.
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #53 on: May 15, 2002, 06:18:07 PM »
Reply with quote

OK, thanks again for your help!

I've been able to update it, yay!
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
Structuralist
Noobie
*
Posts: 41


I love YaBB SE!

Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #54 on: May 15, 2002, 06:45:11 PM »
Reply with quote

QuoteIt is strange to close all categories by default.. but you can do it..,  change the query for table update to
[/size]

Actually, this is not as strange as it sounds. When you have a lot of categories filled with boards, expanding all does nothing more than put you back to the original problem - scrolling through too many boards. collapsing all is fine as it will make short work of compressing all of the categories.

The main purpose for expanding a category one at a time is to minimize the amount of scrolling one has to do by restricting the search to only one category rather than all.

I think the expand on at a time and the Collapse All are the most useful features to provide.
Logged
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #55 on: May 17, 2002, 05:17:19 PM »
Reply with quote

I would like to announce that the new version of mod file with all requested features is finished :D

But, I have a problem with my computer, so can't release it yet :(

My Apache server acts very weird now :(
Logged

On the route to hell...
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #56 on: May 17, 2002, 05:22:34 PM »
Reply with quote

erk :S.

Good luck fixing it ;)

Can you reply to the IM i sent you please, lol?
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #57 on: May 17, 2002, 09:22:49 PM »
Reply with quote

Finish!!! :P See the first thread !!
Logged

On the route to hell...
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Done] Collapsable Category Mod (Server-side) v0.3b
« Reply #58 on: May 17, 2002, 09:48:45 PM »
Reply with quote

Quote from: PlonkerFish on May 17, 2002, 05:22:34 PMCan you reply to the IM i sent you please, lol?

Uhmm sorry. I will work on that mod.. that will be the big mod.. so please wait :)
Logged

On the route to hell...
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Done] Collapsable Category Mod ->v0.4<-
« Reply #59 on: May 18, 2002, 07:23:17 AM »
Reply with quote

This was worth waiting for! Very good!

I have a couple of ideas, though.
The first one is probably a quite simple one; add an anchor to the close/open buttons, so that if you expand or collapse a category a bit down on the page, you don't jump back to the top.

The second I don't know if it's possible, and it's just a cosmetic change: If you have 4 pictures, one for closed and no new messages, one closed with new messages, one open with new and one open with no new... and skip the small new picture that is used now.
Since I have changed the colors of the on.gif and off.gif, I will use them instead, just rotate them 1/4 around for closed and as is for open, I'll have 4 pictures.

Do you understand what I mean, and is it possible?
Logged
Pages: 1 2 3 [4] 5 6 ... 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.032 seconds with 18 queries.