Childboards as Dropdown

Started by Matthew K., March 12, 2009, 01:04:02 PM

Previous topic - Next topic

Rumbaar

It should display automatically from memory, or there might be an option to enable it per board.  It's been so long, I can't remember ... oops.

But as SMF 2.0 gold has been released I should serious look to get this finalized and working for 2.0.  As their shouldn't be any major template changes now.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

savy118

sounds good for making things look neater rumbaar,

good luck with it , it will probably be the only mod on here.

savy

rölyef


TheListener


Matthew K.

Going to be providing an update for this modification shortly. Rumbaar has graciously allowed me to take over the modification with my plans of updating :)

Matthew K.

Modification completely rewritten. Works for BoardIndex and MessageIndex both now, in addition to not needing JavaScript to use it.

Also there are two very handy settings added via hooks, so there are only three edits all of which are for the template.

I'll being releasing another patch within the next couple days.

teos55

SMF 2.0.2  Simple Portal 2.3.4  Default theme  laguage  other then english utf8

installed the mod. 

Now, I donot have the options displayed in the miscellaneous settings for this mod.

I see the dropdowns in the forum but not executable, only displays no actions taken upon selection.

So I decided to copy main english.php  to my language-utf8.php

all the permissions are ok.

But still nothing displayed on the miscellanous and having errors in errorlog like:

Undefined index: lab360_go  in boardindex.template. php

Undefined index: lab360_board_childeren in boardinedx.template.php

Undefined index: lab360_select_child in boardindex.template.php



What am I missing ?

Matthew K.

The options not being available in the admin panel is an issue if you have other settings in the panel also - It's something I have to fix.

The undefined errors are telling you that the text strings aren't defined...most likely an edit or two were not done.

teos55

     I've uninstalled and wating for the final fix. Most probably everybody has some mod settings in miscellanous.
I've got no error messages during the installation assuming that all editing done via the mod ...

Kreator

Quote from: Labradoodle-360 on January 18, 2012, 11:06:26 AM
The options not being available in the admin panel is an issue if you have other settings in the panel also - It's something I have to fix.

The undefined errors are telling you that the text strings aren't defined...most likely an edit or two were not done.

I have the same problem also, nothing in admin although the child-Boards are showing -- I have renamed them though to Sub-Boards

Matthew K.


lord alibaski

Quote from: Kreator on January 18, 2012, 01:24:43 PM
I have renamed them though to Sub-Boards

I renamed mine too but if you dont want it to say "select a childboard" then edit the main.english.php file in the resources/cad language folder.

Like this
// BoardIndex & MessageIndex Strings.
$txt['lab360_select_child'] = 'Select a Sub-Forum';



Kreator

Just a note: Now getting errors in Errorlog:

8: Undefined index: lab360_go

8: Undefined index: lab360_board_children

8: Undefined index: lab360_select_child

Quote from: Labradoodle-360 on January 18, 2012, 01:34:48 PM
I'll release a patch today.

Still waiting.

Matthew K.

I'm On Hiatus for a reason. Real life comes first.

Matthew K.

Modification Updated. Version 2.0.1 Released.

Here's the changelog.
Quote from: ReadmeChangelog:


v2.0.1 (r1.23.12):

  • !bugfix: Settings conflict with other modifications. (!./resources/hooks.php)

v2.0.0 (r1.12.12):

  • + Complete rewrite
  • ! Modification Renamed

Sorry for the delay in releasing, as I said, Real LifeTM has to come first.

Ken.

Nice Mod, very useful.  8)

But... my install and setup work OK, but when one of the drop down links is selected nothing happens.
http://www.ourfamilyforum.org/FamilyForum/index.php?action=forum


Matthew K.

Hey there Ken.! :)

Thanks for the feedback.

It appears that not all of the modifications were completed, can you go through the files this modification edits and make sure they were completed?

Ken.

Quote from: Labradoodle-360 on January 23, 2012, 05:36:03 PM
Hey there Ken.! :)

Thanks for the feedback.

It appears that not all of the modifications were completed, can you go through the files this modification edits and make sure they were completed?

Hey to you too.  ;D

Will do on the file edits.

Matthew K.

It appears that the strings are missing from the dropdown, which tells me the language is not being loaded from the Source file, which is also where the JavaScript for the redirect is embedded, so without that, you'll get this problem.

Ken.

Just checked the edits and all of them were/are in place.

Advertisement: