[ABD] Collapsible Categories

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [Beta] Collapsible Categories

Post by Neuropass » Thu Dec 10, 2009 2:14 pm

Brf wrote:Why do I need to check someone else's topic?

I'm not sure about this but it seems way easier to use that mod. just a couple of edits for the same result..

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf » Thu Dec 10, 2009 2:35 pm

You cannot get the "same result" without storing the collapse info somewhere. That requires some sort of PHP edits.

Seriously though, have you checked out the Demo page? I would not rely on someone whose demo page has javascript errors.

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [Beta] Collapsible Categories

Post by Neuropass » Thu Dec 10, 2009 3:16 pm

Brf wrote:You cannot get the "same result" without storing the collapse info somewhere. That requires some sort of PHP edits.

Seriously though, have you checked out the Demo page? I would not rely on someone whose demo page has javascript errors.

hum... but is it only a question of a template edit? what does php edit have to do with style in this case..?

check this style here please: http://demo.phpbb3styles.net/Milky+Way

that is only a template edit.. what do you think about it?

Thanks for your time...

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf » Thu Dec 10, 2009 3:18 pm

My mod stores your collapse info in a Custom Profile field. Therefore, you can login from anywhere and still have your categories collapsed as you like them. You cannot do that with a simple style edit.

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [Beta] Collapsible Categories

Post by Neuropass » Thu Dec 10, 2009 3:42 pm

Brf wrote:My mod stores your collapse info in a Custom Profile field. Therefore, you can login from anywhere and still have your categories collapsed as you like them. You cannot do that with a simple style edit.

Ok i got it now. Thanks for the explanation...

alf007
Registered User
Posts: 36
Joined: Sun Mar 13, 2005 5:46 pm
Location: France (78)

Re: [Beta] Collapsible Categories

Post by alf007 » Sat Jan 02, 2010 5:53 pm

Nice mod,
though a few errors in last version (0.3.0a):

- first you should name the main MODX xml file as install.xml for AutoMod ;)

- lines 144 and 145 there's incorrect name for graphic files:

Code: Select all

<file from="root/styles/prosilver/theme/images/cc_open.gif " to="styles/prosilver/theme/images/cc_open.gif " />
      <file from="root/styles/prosilver/theme/images/cc_close.gif " to="styles/prosilver/theme/images/cc_close.gif " />
should be

Code: Select all

<file from="root/styles/prosilver/theme/images/cc_down.gif " to="styles/prosilver/theme/images/cc_down.gif " />
      <file from="root/styles/prosilver/theme/images/cc_up.gif " to="styles/prosilver/theme/images/cc_up.gif " />
- then line 148 you mistype à _ for a /

Code: Select all

<open src="includes_functions_display.php">
should be

Code: Select all

<open src="includes/functions_display.php">
- finally line 181

Code: Select all

<find><![CDATA[		'U_MARK_FORUMS'		=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $root_data['forum_id'] . '&mark=forums') : '',
]]></find>
should be replaced by

Code: Select all

<find><![CDATA[		'U_MARK_FORUMS'		=> ]]></find>
at least for phpbb 3.0.6

Ah the same for subsilver2.xml, which should be located in contrib folder,
line 84 and 85 for the graphic filenames.

8-)

bipenett
Registered User
Posts: 90
Joined: Sun Nov 15, 2009 2:01 am

Re: [Beta] Collapsible Categories

Post by bipenett » Fri Jan 08, 2010 2:13 pm

Hi everytbody who's reading this! :D

I have just uploaded the whole mod to my FTP, but in the ACP I can't see the option to install this mod in the AutoMOD page.

Does it works with AutoMOD?

Thank's since now!

WhiteRaven101
Registered User
Posts: 17
Joined: Fri Jan 15, 2010 12:36 pm

Re: [Beta] Collapsible Categories

Post by WhiteRaven101 » Tue Jan 19, 2010 12:40 am

Hi,

If you would bother to help me with your mod called "Collapsible Categories" I would be very happy. I love the mod, but have some issues.

I got some questions;

1. If you take a look on my site http://teknoportalen.no. See the mod of yours in action? How can I remove the grey box around the actualt icon?

2. Is this mod supposed to have a "remembering"-feature that remembers how categories are collapsed/opened, even those that are not configured in my profile?

Thanks in advance.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf » Tue Jan 19, 2010 12:53 am

1. It looks like your style is putting some padding around the buttons. Try changing the background color and see if that helps:

Code: Select all

.ccopen{
	background: #888888 url("./styles/reaction/theme/images/cc_down.gif") no-repeat center center;
	width: 25px;
	height:25px;
	border: thin solid #666666 
}

.ccclose{
	background: #888888 url("./styles/reaction/theme/images/cc_up.gif") no-repeat center center;
	width: 25px;
	height:25px;
	border: thin solid #666666
}
Remember to refresh your style and F5 your webbrowser.

2. Yes. The users's collapse settings are stored in that custom profile field you setup as part of the installation.

WhiteRaven101
Registered User
Posts: 17
Joined: Fri Jan 15, 2010 12:36 pm

Re: [Beta] Collapsible Categories

Post by WhiteRaven101 » Tue Jan 19, 2010 11:51 pm

Brf wrote: 2. Yes. The users's collapse settings are stored in that custom profile field you setup as part of the installation.
Yes, if I set category 1 (in profile setup) to be collapsed as default, it surely is when refreshing the page. But if I DON'T configure anything in the profile field and fx. collapses category 1, then it automaticly reopens when I go to another subforum and return again. Did I make myself understandable?

Perhaps its not a feature that it'll remember the settings even they are not set in the profile field, I'm just wondering.

Anyway, thank you for taking time to help me here :D

EDIT: I got the image to look great! I found the code you referred to, but instead of editing the color I changed the size of the icon. The image itself is only 15x15 px while it says 25x25px in the code. Now it looks perfect.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf » Wed Jan 20, 2010 1:10 am

The requested URL /ajax_update_collapse.php was not found on this server
Apparently, you did not copy up the executable.

WhiteRaven101
Registered User
Posts: 17
Joined: Fri Jan 15, 2010 12:36 pm

Re: [Beta] Collapsible Categories

Post by WhiteRaven101 » Wed Jan 20, 2010 4:29 pm

Ahh, thanks. You're right I didn't upload it properly. However, I don't feel any difference.

Still when I collapse a category, enter some link, and then return again, the category will be reopened (this is ofcourse still just when I haven't configured anything in the profile field).

You know what I'm doing wrong?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf » Wed Jan 20, 2010 4:39 pm

Is your custom profile field properly defaulted to 0 ?
What happens when you browse directly to the ajax routine?

http://teknoportalen.no/ajax_update_collapse.php?cset=1
for instance?

WhiteRaven101
Registered User
Posts: 17
Joined: Fri Jan 15, 2010 12:36 pm

Re: [Beta] Collapsible Categories

Post by WhiteRaven101 » Wed Jan 20, 2010 6:38 pm

Nevermind. It's working like a charm now! Don't know how, it just do.

Very nice mod. Kepp up the good work!

And now when I remember it; when editing the profile field for this mod, why do I have to make a line like this for closing the categories on my index page: 1,3,7,9,13,18,21,23,25.. Why isn't it 1,2,3,4,5,6,7,8,9....?

Thanks in advance!

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51889
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf » Wed Jan 20, 2010 9:20 pm

Those would be the forum_id for each category.

Locked

Return to “[3.0.x] Abandoned MODs”