LAST UPDATED 3.23.01 @ 2:42 PM Eastern
This is another request from JJR512. (Hey, he has good ideas. What can I say?
) It prints a list of forums, each linked to the thread list page for that forum, for use in any template. It excludes a) forums that aren't displayed (display order = 0) and b) forums that aren't allowed to have posts (i.e. categories).
There's no image as I couldn't find a good place to put it on my board (a slightly weird layout) so you can take a look at JJR's once he's implemented it if you like.
Hack version number: 0.0.2
Changes since last version (0.0.1): Now also excludes non-active forums (active=0); orders list by parent forum, then by display order.
For version: 2.0.0 beta 3 (possibly beta 1 and beta 2 also, but it is untested with these versions).
Files needed: functionsadd.txt (see attached zip file), functions.php.
Files to edit: functions.php.
Templates to edit: Depends (see instructions).
Instructions
1] Open the file functionsadd.txt from the zip file in a text editor.
2] Open functions.php (in the /admin directory) in a TEXT-ONLY editor (such as Notepad, Wordpad, Simpletext, EditPlus, TextPad, etc. DO NOT USE an HTML editor or WYSIWYG editor (such as HotDog, FrontPage, DreamWeaver, etc.) because it will in all likelyhood screw up the file. If you do use an editor such as these, I will *not* be able to support you.). Right after the "<?php", add the contents of functionsadd.txt.
3] Upload functions.php to your web server, making sure to put it in the admin directory.
3] Edit whichever template you want the forum links in by adding $forumlinks1 where you want the links to appear. It will show a list, separated by (two spaces). You can change this by editing the $forumlinks1 .="&-nbsp;&-nbsp;" line. Change &-nbsp;&-nbsp; to whatever you want to separate each forum name.
4] Save the template.
Instructions are also included in the zip file (forumlinks.txt).
FEEDBACK WANTED!
Likes/dislikes/modification requests all accepted.
EDIT: Added "-" to the &-nbsp; to keep them from turning into spaces. (Why if HTML is disabled do they turn into spaces????)
This is another request from JJR512. (Hey, he has good ideas. What can I say?

There's no image as I couldn't find a good place to put it on my board (a slightly weird layout) so you can take a look at JJR's once he's implemented it if you like.
Hack version number: 0.0.2
Changes since last version (0.0.1): Now also excludes non-active forums (active=0); orders list by parent forum, then by display order.
For version: 2.0.0 beta 3 (possibly beta 1 and beta 2 also, but it is untested with these versions).
Files needed: functionsadd.txt (see attached zip file), functions.php.
Files to edit: functions.php.
Templates to edit: Depends (see instructions).
Instructions
1] Open the file functionsadd.txt from the zip file in a text editor.
2] Open functions.php (in the /admin directory) in a TEXT-ONLY editor (such as Notepad, Wordpad, Simpletext, EditPlus, TextPad, etc. DO NOT USE an HTML editor or WYSIWYG editor (such as HotDog, FrontPage, DreamWeaver, etc.) because it will in all likelyhood screw up the file. If you do use an editor such as these, I will *not* be able to support you.). Right after the "<?php", add the contents of functionsadd.txt.
3] Upload functions.php to your web server, making sure to put it in the admin directory.
3] Edit whichever template you want the forum links in by adding $forumlinks1 where you want the links to appear. It will show a list, separated by (two spaces). You can change this by editing the $forumlinks1 .="&-nbsp;&-nbsp;" line. Change &-nbsp;&-nbsp; to whatever you want to separate each forum name.
4] Save the template.
Instructions are also included in the zip file (forumlinks.txt).
FEEDBACK WANTED!

EDIT: Added "-" to the &-nbsp; to keep them from turning into spaces. (Why if HTML is disabled do they turn into spaces????)
Comment