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
Good mod, thanks for sharing. Keep up.
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.';
@ youconfess
the edit in language file dinnt go well,
attach ur modification.english.php from /themes/default/languages
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.
ok try this, ;)
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.
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
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
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
I did what you suggested and now my forum is down with the message
Template Parse Error!
???
what did u change ??
attach ur index.english.php , if possible
code now removed
code now removed
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.......
Hi - I edited my previous posts.
Hope that is better?
$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 )
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
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
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!!!
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 )
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!
@ 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 )
Thanks Pro
stuff i've been searching for...glad to know not only me to think about...thanks for the great mod guy..
Hi S-Ace,
If you could package this for use on v2.0 RC2 this dusty old bear would be very grateful. :)
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
Oops, I forgot to add, for the Curve theme. It seems a very popular choice amongst SMF Users. :)
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.
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 ?
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.
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.
You don't have to edit it in the code though. Admin > Configuration > Languages > Edit Language...
Hi Arantor,
So far so good. Um, which of the options do I click next?
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
Thanks, Ace.
Can I enter a phrase such as...
Not Only But Also
before the word 'boards'?
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.
Hmm, I've tried it twice but each time Child is still there.
I'm using Curve theme.
did u clear the file cache ?
Yes, both times.
What language are you using? Did you edit the language that is currently selected for you?
can you supply a admin acc ( via pm )
Will do...
Hi Arantor,
Yes, the only language installed is English.
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.
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
Browsing through the mods I discovered this has now been updated for 2.0 RC3. A huge thankyou, S-Ace. :)
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?
Attach the file i ll make the edit for you.
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?
./Themes/{theme}/BoardIndex.template.php
Didn't I attatch that one?
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>
';
ah thanks. and all the other things too?
Any update for RC4 or will the current version work?
Should work in RC4 as well,
Thanks S-Ace.
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."
try version emulate to RC3,
I'm sorry, I'm not sure what that means. Is that a special package I can download?
Admin > Browse packages > scroll to the end and click " Advanced options" and input "SMF 2.0 RC3" and apply
Thanks very much
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
please attach the boardindex.templte.php file
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?
from current theme please
Attached....
IN .php format please,
Simply download the file using FTP or cPanel's File manager
..themes/custom-theme-name/BoardIndex.template.php
ok, I think I did it right.... I am very new to all this....
Here you go
Ok, so I am assuming I just replace the current file with this one?
Replaced it but can not find where to change the names....
I thought you said you installed the mod.
Install it first,
HAHA......told you I am a newbie.....let me install the mod now...
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
YOu have to input the new name in ACP > Configuration > theme settings
I have current themes and theme layouts..... no theme settings...
Current Theme :P
yep.... nothing in there for this.....
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
All I see is a red x
What was the failed test file ?
boardindex.php
A screen shot of the current theme settings would help.
Here ya go
The theme has a separate settings.template.php file,
Please attach it.
here ya go
TRy now
still didnt work..... should I try unistalling it and reinstalling?
you dont see a new setting input area ?
No, looks the same as it did before...
Please pm me a temp admin account details.
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
.rar package not good,
upload in .zip
yeah, Package Manager only allows zip, tgz, tar.gz. not rar
rar removed and zip added
thanks for telling me ;)
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
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
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)
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
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
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
the fixed version 2.2 is out now
you can download it from the mod site
works now! :)
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
2.4 released
!fixed a bug on board index displaying raw bbc codes
*coding improved
screenshot of board index added
2.5 released
+Support smf 2.0.2
!changed redirect path and text
+added readme
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.
what colon?
can you gimme some screenshot examples
(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.
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), '
That will break it! The : in there is absolutely required.
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
update, the previous code has been updated, tested working fine
Thank you very much
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.
2.6
+Support smf 2.0.3 (Should support all future updates)
!Updated codes
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
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
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
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)
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.
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?
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
2.7 released
+Added support for child boards of child board
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
Yes, thanks! I'm not old enough for grandchildren. I don't even have children! I have lots of subforums though :)
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.
Hi, this mod doesn't display its configuration options correctly in the SMF 2.0.11+ admin controls.
Shows just fine for me.
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.