Change suggestion: add forum descriptions to the forum pages

If you are having a problem with logging into the site or with registering, then post under this forum to try to get help, or just use the "contact us" link at the bottom of the page to notify the Site Administrators.
Post Reply
Message
Author
User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Change suggestion: add forum descriptions to the forum pages

#1 Post by JayM »

I know y'all have a lot on your plates right now but in this thread I suggested that the forum's template be altered to make it show the forum descriptions below the title when one clicks on an individual forum or subforum from the board index, as an aid to navigation. This is to make the board tell people what individual forums are meant to be used for and may cut down on the number of off-topic posts. For example, people posting their help requests in Tips&Tricks because they don't know any better. If the subject, the purpose of the Tips&Tricks forum, was shown just below its title, moderators might have less work to do in moving those help-request posts and users browsing the board would have a better experience by finding it full of actual tips and tricks vs. it being full of "help me" posts. Trying to figure out the best forum to post in can be a bit confusing. Maybe this would help.

Today I found out how it can be done:
Edit /styles/BoardTemplateName/template/viewforum_body.html and search for

Code: Select all

<!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
	<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
near the top, and change it to

Code: Select all

<!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
	<!-- IF FORUM_DESC --><div style="color: #105289; font-size: 1.3em; !important">{FORUM_DESC}</div><!-- ENDIF -->
then empty the forum's cache. As you can see, showing descriptions on forum pages is already provided for in the template (it is in prosilver too), just disabled by default (I wonder why?) but easily enabled.

(The color makes the description font the same as that of the title, and the larger font size makes it less likely that it won't be seen, as the original, after merely removing style="display: none' !important", resulted in a rather small, plain-black, nondescript font that was easy to overlook.)

FYI I didn't have time to try to make the forum title float left. It took most of the day just to figure out how to make the description display on forum/subforum pages. It's been so long since I used phpBB as an admin that I'd forgotten about having to clear its cache so I could see changes. :) Fixed now.

Example:
Image

By the way (and off-topic, but) in case y'all would prefer that the subforums be displayed in a vertical column rather than a horizontal row, the extension Show Subforum Images will do this. You don't have to assign an image to each (sub)forum though you can if you want to and it will display those to the left of the subforum links. If you don't specify forum images it will still display subforums in a column below the parent forum on the board index. I tested it with the same version of phpBB that's used here and it works. It may take some tweaking of the style's CSS to cause subforums to appear in a larger font is this extension is used, if you want them to appear larger that is.
Last edited by JayM on Sat Jul 06, 2019 4:43 am, edited 7 times in total.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Jerry3904
Administrator
Posts: 21962
Joined: Wed Jul 19, 2006 6:13 am

Re: Change suggestion: add forum descriptions to the forum pages

#2 Post by Jerry3904 »

Trying to figure out the best forum to post in can be a bit confusing.
A lot of users mention this. @Rich: can we try to do something about this? Let's mull that over...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
richb
Administrator
Posts: 10347
Joined: Wed Jul 12, 2006 2:17 pm

Re: Change suggestion: add forum descriptions to the forum pages

#3 Post by richb »

Worthy of discussion.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Change suggestion: add forum descriptions to the forum pages

#4 Post by JayM »

By the way, here's an exxample of how the board index page might look with that show subforum images extension installed and enabled:
Image

I tried to figure out a way to get it to show subforum descriptions too, but that can't be done without modifying the /includes/functions_display.php file and adding PHP code, which is beyond my abilities. People in the phpBB support forum suggest either making them regular forums instead of subforums, or naming them such that their names are more descriptive of their purposes, as workarounds. The first would mean reorganizing the entire forum and moving posts around, so forget that. The second may cause peoples forum bookmarks to no longer work, so that's probably not a great idea either.

But that extension does give a somewhat neater appearance to the board index page, at the cost of making the page a bit taller/longer. Also I notice that the icon for the parent forum, in this case MX Help, is to the left of the entire group of parent forum and subforums rather than immediately to the left of the parent, although I see that it's the same way with subforums in a horizontal row, it's just not quite as obvious.

I'm just throwing this out there as something that's available for your version of phpBB in case you're interested, as I just happened to find this extension while I was searching for solutions to the forum description issues.

Here's another example of how it might look with subforum icons:
Image
Last edited by JayM on Sat Jul 06, 2019 4:54 am, edited 2 times in total.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Gordon Cooper
Posts: 965
Joined: Mon Nov 21, 2011 5:50 pm

Re: Change suggestion: add forum descriptions to the forum pages

#5 Post by Gordon Cooper »

Overall idea looks good to me. Will need some careful decisions about the Headings used.
Backup: Dell9010, MX-19_B2, Win7, 120 SSD, WD 232GIB HD, 4GB RAM
Primary :Homebrew64 bit Intel duo core 2 GB RAM, 120 GB Kingston SSD, Seagate1TB.
MX-18.2 64bit. Also MX17, Kubuntu14.04 & Puppy 6.3.

Post Reply

Return to “Site Help”