Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Easy mod, but i'll post it here anyway. If you don't want your sub-forums listed at the top of a main forum listing, just modify the /templates/default/postlist.tpl file as follows:

Find:

Code

{* SUBFORUM LISTING *}

That is the beginning of the area to cut out.

Select all text from that line down to:

Code

{* END SUBFORUM LISTING *}

Cut it out and paste below this line:

Code

{if $modlist}{$lang.USER_MOD}: {$modlist}{/if}

This will display your sub-forums below the moderator list for the main forum and just above the 'Display Options'

If you also want your gallery forums to do likewise, do the same thing to the file /templates/default/gallerylist.tpl (ty Rose)

Hope it helps wink

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nice, would be helpful for subforums that are archives, etc smile


- Allen wavey
- What Drives You?
Joined: Sep 2006
Posts: 75
Power User
Power User
Offline
Joined: Sep 2006
Posts: 75
SD, if the gallery forum has subforums, your mod has to be applied to gallery.tpl ... smile

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
ty Rose (again) ! wink

actually gallerylist.tpl

updated original post

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Many thanks sirdude.

This would be nice if it was an option for each forum (ideally as stock).


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Cheers SD
Will give this a go wink


BOOM 7.6.+ rocks....
Joined: Jul 2007
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2007
Posts: 2
Hi. I just applied this mod to my board exactly as it is described below. My sub-forums totally disappeared from view inside the "Parent Forum", but are still visible from the forums list and on the "Hop To" drop-down menus.

Any suggestions on how I can fix this?? Here's a LINK. The subforums are supposed to be shown in the Oceania Zone.

Thanks!
John
Originally Posted by sirdude
Easy mod, but i'll post it here anyway. If you don't want your sub-forums listed at the top of a main forum listing, just modify the /templates/default/postlist.tpl file as follows:

Find:

Code

{* SUBFORUM LISTING *}

That is the beginning of the area to cut out.

Select all text from that line down to:

Code

{* END SUBFORUM LISTING *}

Cut it out and paste below this line:

Code

{if $modlist}{$lang.USER_MOD}: {$modlist}{/if}
This will display your sub-forums below the moderator list for the main forum and just above the 'Display Options'

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
I went to have a look at which version of threads you were using, but there does not appear to be a link in the footer - this is required under your licence - unless you have permission from the authors to remove it.

Incidentally this works fine, as all you are doing is moving {* END SUBFORUM LISTING *} further down the page - make sure that you have put it in the correct place and that there is no other mod or changes reming it out.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jul 2007
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2007
Posts: 2

Hey thanks! I was cutting the text from between {* SUBFORUM LISTING *} and {* END SUBFORUM LISTING *} instead of including them in the cut and paste process. I've redone the mod and everything works as desired now.

Regarding the ubb link that should be in my footer. The person who originally helped setup my board pulled that link out saying that it wasn't necessary. He is no longer in the picture, but I will be more than happy to put the UBB link back ASAP. If someone can post the code and placement that I need I'll get to it pronto!

By the way - the tips and support offered on the UBB and UBBDev sites is priceless. Thanks to all who contribute...

John


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)