Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Eudemon on June 03, 2009, 02:23:17 AM

Title: Customize 'Child board'
Post by: Eudemon on June 03, 2009, 02:23:17 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=1867)

This Module is now open source, feel free to contribute: https://github.com/Eudemon/SMF-custom_child_board

Description:
This mod allows the admin to rename and customize " child boards : " to whatever you like . (for index page )
New Feature:(only for 2.x)
You may also use bbc codes: image, flash, music, color, font, size etc.

Setting:
Admin Control Panel >> Current Theme >> Enter the desired alternate for "Child Boards"

Official Support:
http://eudemon.org (http://eudemon.org)

Install:
uninstall any old version first before you install a newer version

Changelog:
2.7
+Added support for child boards of child board

2.6
+Support smf 2.0.3 (Should support all future updates)
!Updated codes

2.5
+Support smf 2.0.2
!changed redirect path and text
+added readme

2.4
!fixed a bug on board index displaying raw bbc codes
*coding improved

2.3 - july 2, 2011
!bbc support removed for 1.x ver
*minor code changes
+spanish es/latin language added

2.2 - july 1, 2011
!fixed a bug with global variable
*some minor changes

2.1 - july 1, 2011
+bbc code support added
*2.0 gold compatible
*development taken over by Eudemon

2.0 - may 10, 2010 : compatibility for 2.0 series and new screen shots, more theme friendly
1.2 - 14/aug/2009 : works with 1.1.10
1.1 - 9/jun/2009 : 1x,2x manual edits posted

Original author: S-Ace | Developer: Eudemon
Title: Re: Rename Child board | S-Ace
Post by: alex30 on June 03, 2009, 10:49:41 PM
Good mod, thanks for sharing. Keep up.
Title: Re: Rename Child board | S-Ace
Post by: youconfess on June 04, 2009, 08:24:19 AM
I installed this mod to www.youconfess.net and now get the following on the top of every page???
I uninstalled but has not helped.

// S-Ace mod $txt['scn1'] = 'Enter the desired alternate for "Child Boards"'; $txt['scn2'] = 'Here you can enter the text which will appear in place of child board on board index.';
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 04, 2009, 08:47:44 AM
@ youconfess

the edit in language file dinnt go well,

attach ur modification.english.php from /themes/default/languages
Title: Re: Rename Child board | S-Ace
Post by: youconfess on June 05, 2009, 12:42:19 AM
Thanks for this because atm I can't modify php files.

I attached 2 files one has a ~

I can be emailed at [email protected]

Thanks again.
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 05, 2009, 12:53:57 AM
ok try this,  ;)
Title: Re: Rename Child board | S-Ace
Post by: youconfess on June 05, 2009, 05:57:54 AM
Thank you so much, that worked perfectly.

I will certainly follow and use your mods because they are great mods and you service is 100%

Thanks again.
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 05, 2009, 07:41:21 AM
Quote from: youconfess on June 05, 2009, 05:57:54 AM
Thank you so much, that worked perfectly.

I will certainly follow and use your mods because they are great mods and you service is 100%

Thanks again.

happy to help dear
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 06:25:17 AM

Hi

I uploaded your Mod to my 2.0 RC 1-1

It had errors uploading but I read the parser notes and was ready to manually change the files.

But, none of the text you state to change actually appears in the files on my system.

So, should I just add that text to the php files stated - if so, where should it be pasted please?

Thanks
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 07, 2009, 07:09:44 AM
Quote from: philcross on June 07, 2009, 06:25:17 AM

Hi

I uploaded your Mod to my 2.0 RC 1-1

It had errors uploading but I read the parser notes and was ready to manually change the files.

But, none of the text you state to change actually appears in the files on my system.

So, should I just add that text to the php files stated - if so, where should it be pasted please?

Thanks


bro this aint for 2x, its only for 1x
the 2x has this language editor in built, so go to ur admin cp, lang editor , find /Themes/default/languages/index.English.php

and edit $txt['parent_boards'] = 'Child Boards';

i hope this helps, cause i was advised not to make a 2x version because of this
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 07:42:20 AM

I did what you suggested and now my forum is down with the message

Template Parse Error!

???

Title: Re: Rename Child board | S-Ace
Post by: sAce on June 07, 2009, 08:00:46 AM
what did u change ??

attach ur index.english.php , if possible
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 08:06:14 AM

code now removed
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 08:14:01 AM

code now removed
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 07, 2009, 08:15:19 AM
well what language r u on ??

and  2nd file is not complete, data missing in the  end

please edit ur posts and put code bbc , its relly looks crapy reading a post this long.......
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 08:37:55 AM

Hi - I edited my previous posts.

Hope that is better?
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 07, 2009, 08:43:00 AM

$txt['parent_boards'] = 'sub boards'; you edited this right ??

i see no error , it looks fine in both files ,

can u plzz post ur forum url, so i can chek, and if you are geting the error , there must be deatils as well, can u tell me those?

i ll will make this for 2x as well , but tomoro, now just the code, ( update in 1st post in 15 mins )
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 08:45:10 AM
yep I did edit it, but when I got the error I went in and changed it back to try to sort it.

my forum is at -- removed.
Thanks
Title: Re: Rename Child board | S-Ace
Post by: philcross on June 07, 2009, 09:26:10 AM

My error has now been fixed after some live chat support from S-Ace

This guy is a great asset to SMF !!!

Thank You S-Ace

Title: Re: Rename Child board | S-Ace
Post by: Calcricho on July 09, 2009, 12:00:13 PM
Tengo la vercion 1.1.9 y el theme Black rain v.2 y cuando busco las lineas para modificar en mi tema no existen... 

Agradecere cualquier ayuda al respecto..

Saludos!!!
Title: Re: Rename Child board | S-Ace
Post by: sAce on July 09, 2009, 01:09:28 PM
Quote from: optimus on July 09, 2009, 12:00:13 PM
Tengo la vercion 1.1.9 y el theme Black rain v.2 y cuando busco las lineas para modificar en mi tema no existen... 

Agradecere cualquier ayuda al respecto..

Saludos!!!

I didnt get you my friend, i cant undersatnd the language you used, but i got that you want to install this mod in black rain v2 theme.

please attach these files from blackrainv2 theme

BoardIndex.template.php
MessageIndex.template.php
modification.yourlanguage.php
Settings.template.php ( if the theme has one, or the same from default theme )
Title: Re: Rename Child board | S-Ace
Post by: Calcricho on July 09, 2009, 01:22:26 PM
Quote from: S-Ace on July 09, 2009, 01:09:28 PM
Quote from: optimus on July 09, 2009, 12:00:13 PM
Tengo la vercion 1.1.9 y el theme Black rain v.2 y cuando busco las lineas para modificar en mi tema no existen... 

Agradecere cualquier ayuda al respecto..

Saludos!!!

I didnt get you my friend, i cant undersatnd the language you used, but i got that you want to install this mod in black rain v2 theme.

please attach these files from blackrainv2 theme

BoardIndex.template.php
MessageIndex.template.php
modification.yourlanguage.php
Settings.template.php ( if the theme has one, or the same from default theme )

I vercion 1.1.9 and the theme Black Rain v.2 and when seeking to modify the lines in my topic did not exist ...

Would appreciate any help in this regard ..

Greetings!
Title: Re: Rename Child board | S-Ace
Post by: sAce on July 10, 2009, 09:26:45 AM
@ optimus

"lines in my topic ? ''

please attach the files i specified in here
( Por favor, adjuntar los archivos i pidió a negro lluvia tema forder )
Title: Re: Rename Child board | S-Ace
Post by: the-punisher on October 17, 2009, 08:34:48 AM
Thanks Pro
Title: Re: Rename Child board | S-Ace
Post by: fathur on November 06, 2009, 12:41:40 PM
stuff i've been searching for...glad to know not only me to think about...thanks for the great mod guy..
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 13, 2010, 07:01:32 PM
Hi S-Ace,

If you could package this for use on v2.0 RC2 this dusty old bear would be very grateful. :)
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 15, 2010, 01:47:57 AM
Quote from: YogiBear on January 13, 2010, 07:01:32 PM
Hi S-Ace,

If you could package this for use on v2.0 RC2 this dusty old bear would be very grateful. :)

sure, give me few days, i ll update it
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 15, 2010, 09:08:09 AM
Oops, I forgot to add, for the Curve theme. It seems a very popular choice amongst SMF Users.   :)
Title: Re: Rename Child board | S-Ace
Post by: Arantor on January 15, 2010, 09:20:12 AM
Why do you need to update the package? The ability to rename language strings in 2.0 is a built in feature of the language editor that's available out of the box.
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 15, 2010, 10:56:59 AM
Quote from: Arantor on January 15, 2010, 09:20:12 AM
Why do you need to update the package? The ability to rename language strings in 2.0 is a built in feature of the language editor that's available out of the box.

i know, but i will still avail another option.

no harm in that right ?
Title: Re: Rename Child board | S-Ace
Post by: Arantor on January 15, 2010, 11:18:49 AM
There's no harm in it, I just fail to see the point of writing something that duplicates something that's already there and functional.
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 09:46:08 AM
The thing is the mention of editing language strings strikes terror into some of us, Arantor. We'll get there in the end but an easily installable/uninstallable mod is so welcome.
Title: Re: Rename Child board | S-Ace
Post by: Arantor on January 19, 2010, 10:07:00 AM
You don't have to edit it in the code though. Admin > Configuration > Languages > Edit Language...
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 01:04:13 PM
Hi Arantor,

So far so good. Um, which of the options do I click next?
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 19, 2010, 01:15:24 PM
Admin > Configuration > Languages > Edit Language...
select english
then from drop down list select " general strings"

then find " child boards" and change

then save and clear files cache from maintainance area
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 01:22:42 PM
Thanks, Ace.

Can I enter a phrase such as...

Not Only But Also

before the word 'boards'?
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 19, 2010, 01:29:44 PM
Quote from: YogiBear on January 19, 2010, 01:22:42 PM
Thanks, Ace.

Can I enter a phrase such as...

Not Only But Also

before the word 'boards'?

sure what ever suits your requirement.
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 01:37:10 PM
Hmm, I've tried it twice but each time Child is still there.

I'm using Curve theme.
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 19, 2010, 01:39:25 PM
did u clear the file cache ?
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 01:40:58 PM
Yes, both times.
Title: Re: Rename Child board | S-Ace
Post by: Arantor on January 19, 2010, 01:47:35 PM
What language are you using? Did you edit the language that is currently selected for you?
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 19, 2010, 01:48:49 PM
can you supply a admin acc ( via pm )
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 01:52:33 PM
Will do...
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 19, 2010, 01:58:04 PM
Hi Arantor,

Yes, the only language installed is English.
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on January 26, 2010, 04:45:39 AM
As an update to this I tried Admin > Languages > General Strings then changed the name Child to Extra, saved then cleared the cache but nothing changed and Ace himself was kind enough to come and try but no success.

I'm too nervous to edit code at this point so if an update for v2.0 RC2 can be done I'm sure many would be so grateful.
Title: Re: Rename Child board | S-Ace
Post by: sAce on January 26, 2010, 05:13:00 AM
Quote from: YogiBear on January 26, 2010, 04:45:39 AM
As an update to this I tried Admin > Languages > General Strings then changed the name Child to Extra, saved then cleared the cache but nothing changed and Ace himself was kind enough to come and try but no success.

I'm too nervous to edit code at this point so if an update for v2.0 RC2 can be done I'm sure many would be so grateful.

apologies, i totally forgot,

do this one more time
all the steps are same just , use ftp or cpanel and CHMOD /themes/dufault/lang/index.english.php to 777
and then try, if still doesnt work, just attach the file i will edit the file for you
Title: Re: Rename Child board | S-Ace
Post by: YogiBear on August 02, 2010, 07:31:50 PM
Browsing through the mods I discovered this has now been updated for 2.0 RC3. A huge thankyou, S-Ace.  :) 
Title: Re: Rename Child board | S-Ace
Post by: Glowbot on October 30, 2010, 07:48:44 AM
I am concerned as I can't find this part;

./Themes/default/BoardIndex.template.php
Code: (find) [Select]
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</spa

in order to edit it. I have 1.1.11, use a theme of DilberMC.

Shall I go ahead and change the other parts?
Title: Re: Rename Child board | S-Ace
Post by: sAce on October 30, 2010, 11:40:28 AM
Attach the file i ll make the edit for you.
Title: Re: Rename Child board | S-Ace
Post by: Glowbot on October 30, 2010, 02:04:02 PM
Quote from: S-Ace on October 30, 2010, 11:40:28 AM
Attach the file i ll make the edit for you.

sorry what? which file?
Title: Re: Rename Child board | S-Ace
Post by: sAce on October 30, 2010, 05:20:00 PM
./Themes/{theme}/BoardIndex.template.php
Title: Re: Rename Child board | S-Ace
Post by: Glowbot on November 07, 2010, 02:58:38 PM
Didn't I attatch that one?

Title: Re: Rename Child board | S-Ace
Post by: sAce on November 07, 2010, 09:24:33 PM
nope,

<td class="middletext" valign="middle" align="center" width="30%">
                        <b>', $txt['parent_boards'], ':</b>
                     ';


to

<td class="middletext" valign="middle" align="center" width="30%">
                        <b>', !empty($settings['scn']) ? $settings['scn'] : $txt['parent_boards'], ':</b>
                     ';
Title: Re: Rename Child board | S-Ace
Post by: Glowbot on November 08, 2010, 06:50:50 PM
ah thanks. and all the other things too?
Title: Re: Rename Child board | S-Ace
Post by: choloman05 on November 15, 2010, 01:48:30 PM
Any update for RC4 or will the current version work?
Title: Re: Rename Child board | S-Ace
Post by: sAce on November 15, 2010, 08:22:14 PM
Should work in RC4 as well,
Title: Re: Rename Child board | S-Ace
Post by: choloman05 on November 19, 2010, 10:56:52 AM
Thanks S-Ace.
Title: Re: Rename Child board | S-Ace
Post by: choloman05 on November 19, 2010, 11:57:25 AM
edit: can't install via package manage bc "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: Rename Child board | S-Ace
Post by: sAce on November 19, 2010, 12:20:45 PM
try version emulate to RC3,
Title: Re: Rename Child board | S-Ace
Post by: choloman05 on November 19, 2010, 01:40:35 PM
I'm sorry, I'm not sure what that means. Is that a special package I can download? 
Title: Re: Rename Child board | S-Ace
Post by: sAce on November 19, 2010, 07:50:37 PM
Admin > Browse packages > scroll to the end and click " Advanced options" and input "SMF 2.0 RC3" and apply
Title: Re: Rename Child board | S-Ace
Post by: choloman05 on November 20, 2010, 02:07:38 AM
Thanks very much
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 24, 2011, 07:22:27 PM
I have tried to install this into 1.1.14 theme pdx-dk 1.1.9v1 using the package upload and had no success with being able to find how to change the names.  I then tried rewriting the code on the default theme and completely messed it up.  Can someone please help me get this installed?  I really hate my forum saying child boards.

Thanks
Mike
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 03:07:20 AM
please attach the boardindex.templte.php file
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 08:52:19 AM
Quote from: sAce on June 25, 2011, 03:07:20 AM
please attach the boardindex.templte.php file

Which one?  The default or the current theme I am running?
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 09:54:05 AM
from current theme please
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 11:29:39 AM
Attached....
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 12:09:46 PM
IN .php format please,

Simply download the file using FTP or cPanel's File manager

..themes/custom-theme-name/BoardIndex.template.php
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 12:30:52 PM
ok, I think I did it right.... I am very new to all this....
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 01:15:37 PM
Here you go
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 01:20:36 PM
Ok, so I am assuming I just replace the current file with this one?
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 01:24:53 PM
Replaced it but can not find where to change the names....
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 01:29:54 PM
I thought you said you installed the mod.

Install it first,
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 01:48:40 PM
HAHA......told you I am a newbie.....let me install the mod now...
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 01:57:38 PM
OK.....  deleted the one you wrote and uploaded the original....  then I installed the mod and got test failed on the boardindex.php but I still installed it.  I then deleted the original boardindex and reinstalled the one you wrote and I still dont see the change.  What did I do wrong?

Thanks
Mike
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 02:04:01 PM
YOu have to input the new name in ACP > Configuration > theme settings
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 02:31:16 PM
I have current themes and theme layouts..... no theme settings...
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 02:32:47 PM
Current Theme :P
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 02:33:54 PM
yep.... nothing in there for this.....
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 02:38:15 PM
Quote from: mudskipper on June 25, 2011, 02:33:54 PM
yep.... nothing in there for this.....

http://custom.simplemachines.org/mods/index.php?action-download;mod=1867;id=144645;image
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 02:39:19 PM
All I see is a red x
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 02:39:22 PM
What was the failed test file ?
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 02:43:33 PM
boardindex.php
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 02:46:09 PM
A screen shot of the current theme settings would help.
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 02:53:25 PM
Here ya go
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 03:14:45 PM
The theme has a separate settings.template.php file,

Please attach it.
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 03:22:30 PM
here ya go
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 03:45:37 PM
TRy now
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 04:48:03 PM
still didnt work..... should I try unistalling it and reinstalling?
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 25, 2011, 05:05:12 PM
you dont see a new setting input area ?
Title: Re: Rename Child board | S-Ace
Post by: mudskipper on June 25, 2011, 05:10:11 PM
No, looks the same as it did before...
Title: Re: Rename Child board | S-Ace
Post by: sAce on June 26, 2011, 12:31:24 AM
Please pm me a temp admin account details.

Title: Re: Rename Child board | S-Ace
Post by: Eudemon on July 01, 2011, 12:18:33 PM
2.1 upgrade
2.0 compatible
new feature:
bbc code support

haven't tested the new feature on 1.x ver, let me know if you encounter any problem
Title: Re: Customize 'Child board' ver 2.1
Post by: sAce on July 01, 2011, 02:18:16 PM
.rar package not good,

upload in .zip
Title: Re: Customize 'Child board' ver 2.1
Post by: Jessica. on July 01, 2011, 02:25:03 PM
yeah, Package Manager only allows zip, tgz, tar.gz. not rar
Title: Re: Customize 'Child board' ver 2.1
Post by: Eudemon on July 01, 2011, 02:49:35 PM
rar removed and zip added
thanks for telling me  ;)
Title: Re: Customize 'Child board' ver 2.1
Post by: Jessica. on July 01, 2011, 04:01:04 PM
when I change it to "Sub-Forum" I get this error on the index page

Fatal error: require_once() [function.require]: Failed opening required '/Subs-Editor.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jessicat/public_html/forum/Sources/Load.php(2527) : eval()'d code on line 232
Title: Re: Customize 'Child board' ver 2.1
Post by: Eudemon on July 01, 2011, 04:21:33 PM
the code is unable to open Subs-Editor.php, looks like the path has problem
can you gimme more details about this issue?
url of ur site, version of ur smf etc

just tested again on my other smf site
ok, i see the problem, let me find a solution
Title: Re: Customize 'Child board' ver 2.1
Post by: Spoogs on July 01, 2011, 04:29:31 PM
Quote from: Jessica. on July 01, 2011, 04:01:04 PM
when I change it to "Sub-Forum" I get this error on the index page

Fatal error: require_once() [function.require]: Failed opening required '/Subs-Editor.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jessicat/public_html/forum/Sources/Load.php(2527) : eval()'d code on line 232
Disable template evaluation.. Admin>> Configuration>> Server Settings>> General.. uncheck the box (save), then clear your error log and report back with any new errors (if any)
Title: Re: Customize 'Child board' ver 2.1
Post by: Eudemon on July 01, 2011, 04:36:20 PM
to convert bbc to html
i use this code to call the subs-editor
require_once($sourcedir . '/Subs-Editor.php');
but for some reason it can't recognize the path

altho it works in my wamp server
Title: Re: Customize 'Child board' ver 2.1
Post by: Jessica. on July 01, 2011, 05:09:09 PM
Quote from: Spoogs on July 01, 2011, 04:29:31 PM
Quote from: Jessica. on July 01, 2011, 04:01:04 PM
when I change it to "Sub-Forum" I get this error on the index page

Fatal error: require_once() [function.require]: Failed opening required '/Subs-Editor.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jessicat/public_html/forum/Sources/Load.php(2527) : eval()'d code on line 232
Disable template evaluation.. Admin>> Configuration>> Server Settings>> General.. uncheck the box (save), then clear your error log and report back with any new errors (if any)

it's already unchecked. It's never been checked :S
Title: Re: Customize 'Child board' ver 2.1
Post by: Eudemon on July 01, 2011, 05:33:07 PM
ok i found the solution

it's because $sourcedir is not declared as global in custom theme's boardindex

i will update the mod right now
Title: Re: Customize 'Child board' ver 2.1
Post by: Eudemon on July 01, 2011, 06:03:28 PM
the fixed version 2.2 is out now
you can download it from the mod site
Title: Re: Customize 'Child board' ver 2.2
Post by: Jessica. on July 01, 2011, 06:43:10 PM
works now! :)
Title: Re: Customize 'Child board' ver 2.2
Post by: Eudemon on July 02, 2011, 01:15:42 PM
2.3 released
!bbc support removed for 1.x ver
*minor code changes
+spanish es/latin language added (thanks to Kiel D-04)

please upgrade it if you're using 1.x smf (tested bbc feature unsupported in 1.x)

for 2.x users, upgrade is optional
Title: Re: Customize 'Child board' ver 2.2
Post by: Eudemon on July 02, 2011, 01:35:33 PM
2.4 released

!fixed a bug on board index displaying raw bbc codes
*coding improved


screenshot of board index added
Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on January 22, 2012, 09:25:03 PM
2.5 released
+Support smf 2.0.2
!changed redirect path and text
+added readme
Title: Re: Customize 'Child board' ver 2.5
Post by: saw on May 25, 2012, 05:42:40 AM
Great mod, thanks.

This is a stupid little thing, but how would I go about removing the : (the colon) which is automatically inserted? This in case I don't want any new name at all.
Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on May 25, 2012, 12:48:37 PM
what colon?
can you gimme some screenshot examples
Title: Re: Customize 'Child board' ver 2.5
Post by: saw on May 25, 2012, 01:18:17 PM
(http://www.notanothercyclingforum.net/pics/childcolon.gif)

For example, I might want this to just say "test board", with no description in front of it, and therefore no need for a colon.

Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on May 25, 2012, 06:24:44 PM
go to BoardIndex.template in your theme
find
<strong>', !empty($settings['scn']) ? $settings['scn'] : $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
change to
<strong>', !empty($settings['scn']) ? $settings['scn'] : $txt['parent_boards'], '</strong> ', implode(', ', $children), '
Title: Re: Customize 'Child board' ver 2.5
Post by: Arantor on May 25, 2012, 06:35:57 PM
That will break it! The : in there is absolutely required.
Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on May 25, 2012, 06:37:12 PM
oopcy wasn't paying attention, i just break the short hand if statement.. lemme change it
thanks for pointing out, i guess too much diablo for me
Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on May 25, 2012, 07:02:01 PM
update, the previous code has been updated, tested working fine
Title: Re: Customize 'Child board' ver 2.5
Post by: saw on May 25, 2012, 11:17:55 PM
Thank you very much
Title: Re: Customize 'Child board' ver 2.5
Post by: FireDitto on December 23, 2012, 12:44:32 AM
Hi, I got a small issue;

Quote
An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.

I wanted to do an uninstall/reinstall to quickly add it to the additional layouts I've included since I first installed the mod.
Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on December 23, 2012, 01:56:52 PM
2.6
+Support smf 2.0.3 (Should support all future updates)
!Updated codes
Title: Re: Customize 'Child board' ver 2.5
Post by: Eudemon on December 23, 2012, 02:03:52 PM
Quote from: FireDitto on December 23, 2012, 12:44:32 AM
Hi, I got a small issue;

Quote
An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.

I wanted to do an uninstall/reinstall to quickly add it to the additional layouts I've included since I first installed the mod.

replace your current files / zip with the updated one
then you should be able to do uninstall and install

lemme know find you find any bug
Title: Re: Customize 'Child board' ver 2.5
Post by: FireDitto on December 24, 2012, 05:28:09 AM
Quote from: Eudemon on December 23, 2012, 02:03:52 PM
Quote from: FireDitto on December 23, 2012, 12:44:32 AM
Hi, I got a small issue;

Quote
An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.

I wanted to do an uninstall/reinstall to quickly add it to the additional layouts I've included since I first installed the mod.

replace your current files / zip with the updated one
then you should be able to do uninstall and install

lemme know find you find any bug

:/ I'm not sure how to go about doing that, sorry. x.x
Title: Re: Customize 'Child board'
Post by: Eudemon on December 24, 2012, 02:05:54 PM
Quote from: FireDitto on December 24, 2012, 05:28:09 AM
:/ I'm not sure how to go about doing that, sorry. x.x

oops, sorry forgot the simplest way is just do an emulate uninstall
go to your package manager, click advance, then enter "SMF 2.0.2", uninstall, then install the newer one
lemme know if it doesn't work for you
Title: Re: Customize 'Child board'
Post by: FireDitto on December 25, 2012, 06:22:36 AM
Quote from: Eudemon on December 24, 2012, 02:05:54 PM
Quote from: FireDitto on December 24, 2012, 05:28:09 AM
:/ I'm not sure how to go about doing that, sorry. x.x

oops, sorry forgot the simplest way is just do an emulate uninstall
go to your package manager, click advance, then enter "SMF 2.0.2", uninstall, then install the newer one
lemme know if it doesn't work for you

It did, thank you.

I have noticed, however, that the mod doesn't do the children of children boards.
It does change the name on the board index, but inside, if the children have inner boards, it doesn't change those ones.

Screenshots;

The board index
(http://i45.tinypic.com/2jc9dg3.png)

The childboard, and it's children.
(http://i47.tinypic.com/2vbqurt.png)
Title: Re: Customize 'Child board'
Post by: badon on December 30, 2012, 04:04:19 PM
This is one of the most important SMF mods. "Child board" is total nonsense to everyone except SMF. It confuses everybody, and leads to very bizarre misunderstandings. The word "board" dates back to the earliest 1960's and 1970's proto-BBS's (bulletin board systems), back at a time when people thought of "posting" like it's posting a note on a cork board with a push pin, for reminders and basic memos.

Since the internet was invented, "posting" became synonymous with communication, and the word "forum" was borrowed from ancient Greek and Latin political forums to describe the venue where the communication took place. In the year 2012, a half century later, the word "board" is not only obsolete, it is definitively wrong. Instead of posting a note on a board and waiting hours, days, or months for someone to read it (with no expectation of a reply), forums are capable of dynamic two-way communication. They're not stiff "boards", they're forums.

When will SMF catch up to the 1990's and stop using the word "boards"? It would be nice if this mod could fix all the wrong "board" words throughout SMF's code, and replace them with "forum". It just makes SMF look backwards and behind the times.

I know a lot of important SMF developers have complained about SMF's lack of progress. I suppose "board" reflects that.
Title: Re: Customize 'Child board'
Post by: Arantor on December 30, 2012, 04:09:54 PM
Actually it's not 'total nonsense', it's just 'mostly nonsense'. Parent-child relationship has a well defined meaning in certain mathematical circles, as subsets of graph theory. Changing it to 'sub-board' would be an improvement.

As far as 'board vs forum', actually the forum community has that pretty much evenly split between board = area, forum = site and vice versa. Whichever you use is ingrained from whichever software you come from first.

QuoteI know a lot of important SMF developers have complained about SMF's lack of progress. I suppose "board" reflects that.

Nah, the important SMF developers are quite happy with the terminology. The problem the important developers have is with the way the project is run, and this is not even remotely close to a 'symptom' let alone a sign of anything major.


ETA: So if you rename each board to a forum, what do you call the site collectively?
Title: Re: Customize 'Child board'
Post by: Eudemon on December 30, 2012, 04:23:36 PM
I suppose majority of the users and developers are happy with the wording or just don't care as of now
that's why I develop this mod for the rest who want to change it

As of other areas, if u have a portal installed the main site (menu part) will automatically changed to 'forum'
since u can modify the category name that part should have no issue
changing stuff like the link e.g 'index.php?board=7.0' i would say it's beyond this mod's capability as this mod is intended to do simple edits

if there are other areas other than what I have listed and what this mod does, that are bothering you feel free to let me know
Title: Re: Customize 'Child board'
Post by: Eudemon on December 30, 2012, 04:46:43 PM
2.7 released
+Added support for child boards of child board
Title: Re: Customize 'Child board'
Post by: FireDitto on January 02, 2013, 01:16:26 AM
Quote from: Eudemon on December 30, 2012, 04:46:43 PM
2.7 released
+Added support for child boards of child board

Brilliant. Many thanks :D
Title: Re: Customize 'Child board'
Post by: badon on January 02, 2013, 08:58:35 PM
Yes, thanks! I'm not old enough for grandchildren. I don't even have children! I have lots of subforums though :)
Title: Re: Customize 'Child board'
Post by: elf_fu on August 28, 2013, 12:35:14 AM
Hello!


There are errors with my MessageIndex.template.php and my BoardIndex.template.php wth the Argentum Enhanced final theme, while Back n Black has none. I've tried parsing and finding the code to replace via note++, but no luck. Would anyone be able to help? This is exactly a mod I am looking for and would love to have it work.
Title: Re: Customize 'Child board'
Post by: badon on October 13, 2016, 03:11:26 PM
Hi, this mod doesn't display its configuration options correctly in the SMF 2.0.11+ admin controls.
Title: Re: Customize 'Child board'
Post by: Steve on October 15, 2016, 10:38:59 AM
Shows just fine for me.
Title: Re: Customize 'Child board'
Post by: Eudemon on March 10, 2017, 01:19:37 PM
Unless there are behavior change on how SMF handles child board output,
this mod should work fine on new versions, assuming other mods did not change the above behavior.
let me know if you still have problem.