Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Featured Threads Details »
Featured Threads
Mod Version: 1.9.7, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Jun 2020 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (12 votes - 4.75 average) Installs: 42
Released: 01 Oct 2015 Last Update: 13 Nov 2015 Downloads: 225
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

Overview

This product is designed to allow for the creation, display and management of a list of threads that you wish to feature on your site. It gives you a convenient means of showcasing especially good thread content on your forum and give it the increased visibility to registered users and visitors alike that you likely already feel it so richly deserves. You will find that when the featured threads list is displayed on its static page, then the block element is not collapsible since it does not share space with any other content, otherwise it is collapsible so that users will not have to scroll past this list to get to other parts of the page it they wish not to. This is consistent with the behavior of other vBulletin elements.

You may choose to manage this list yourself, or allow others on your staff to share in or even take over the management duties. Some or all of your members may even be allowed and encouraged to be a part of the process by their nominations of threads for the list. You can choose to allow nominations via this product, or use vBulletin's intrinsic thread rating system, or use a combination of both systems. You may also choose to display the most replied threads as well. In this way you could elect to implement a threads of the week or month etc. by popular vote. This product makes all of this possible and easy to accomplish.

You will find that you have a great deal of flexibility in where and how the list is displayed. Those you designate as managers of the list can add, remove, and set the display order of the threads in the list. Also, you may choose to allow your managers to auto-create voting polls to narrow down the selection of nominated threads to be added as featured threads, which is posted to a forum of your choosing. This forum may be private so that only staff is involved in the final voting, or a public forum may be selected so that everyone may vote. All actions performed by users and managers are confirmed with a standard vBulletin redirect message.

Upon installation, two tables are added to your database, one to store the list of featured threads, and one to store the nominations data. Queries are joined so that the latest data for all threads is displayed in the lists and to minimize the redundancy of stored data. If the product is uninstalled, then naturally the two added tables are removed.

The product settings are conveniently sub-divided into the following six categories:

Location Of "Featured Threads" List



You may choose to have the featured threads list displayed on every page, either below the navbar or above the footer. You are given the option to exclude any scripts that you choose. For example you may not want the featured threads list to display on pages whose associated script names are inlinemod, member or online.

In addition to displaying the list on all pages, you may choose one or more of the following options:
  • Display the list on your forum home page, either above or below the forums.
  • Display the list on your forum display pages, either above or below the threads.
  • Display the list on your show thread pages, either above or below the posts.
Note, the above 3 options will be effectively disabled if you have chosen to display on all pages to prevent duplication of content, unless you have set them as excluded scripts for displaying on all pages. This gives you increased control over these 3 pages. For example, you may wish for the featured threads list to display at the top of the page everywhere except on your home page, and so you could have it displayed below the forums there instead.

In addition to, or instead of these options, you may choose to display the list on its own static page. If you have chosen to display on all pages, that will naturally be disabled on the static page to prevent duplication of content. You then have the option to either create your own link to the page using the "Navigation Manager" or you may opt to have a link to the page auto-added as either a navtab:



A navlink on the navbar:



Or as a link in either the "Community" or "Quick Links" drop-down menus on the navbar:





Appearance Of "Featured Threads" List



You may choose to give the "Featured Threads" list element a custom title. This title will be used in the header of the list element, as the link text to the static page on the nav bar, and as the page title for the static page.

You may set a maximum height for the list that applies when it shares space with other content, that is, when it is not on the static page. A vertical scroll-bar is introduced when the list is taller than the maximum height you set. This height does not inlude the header element, just the table of data.

You may set the left/right margins of the list element as a percentage of the parent element. For example, if you wish for the list element to be 75% as wide as the parent element, and centered, then you would enter 12.5 for both the left and right margins. If you want the element to still be 75% as wide as the parent, but all the way on the right, then you would enter 25 for the left margin and 0 for the right margin.

You may set the background color for the "Featured Threads" element, using an HTML color picker.

You may define the CSS for the borders of the list element. This includes both the outer border and the inner borders of the table containing the data. The table cells are only given borders on the right.

You are given an HTML color picker for the color of the Forum/Thread links in the list, as well as the option to give any additional CSS for these links. You may also set the alignment for the thread links (left/center/right).

You may choose how the featured threads are sorted (by Thread Id/Thread Title/Date/Time Added To List/Thread Author User Id) and whether to sort in ascending or descending order. Note that when one of your managers imposes an order for the threads, then that ordering will take precedence.

You may chose to include optional thread information to be displayed, including Replies, Views, Last Poster, Forum, and Prefixes. Thread authors and titles are always displayed. The thread author has a tooltip showing when they created the thread. The replies has a tooltip giving a breakdown of everyone who posted in the thread, sorted in descending order by the number of posts, and then by user id in the case of ties in the number of posts. The last poster has a tooltip that shows when they posted that last post. All usernames in both lists (featured threads and nominated threads) are shown using their current HTML markup. And finally the thread has a tooltip showing a preview of the content of the first post. The number of characters is that which you have set in the AdminCP's general settings.

You can set the maximum number of characters of each thread's forum name to be displayed since these can be long and take up a lot of space. To display the complete forum names, set this maximum to zero. All forum titles that are truncated will have a tooltip that shows the complete forum name on mouse hover.

You are given the option to have an alternating row background color be given to the rows (in all thread tables) to make reading each row easier. You may choose either not to have the alternating backgrounds at all, to have them only for your managers who will benefit more from them because of thread selections while managing the list, and for everyone to see them. An HTML color piker allows you to choose this alternate background color.



"Featured Threads" Icon



You may choose to display an image icon for the featured threads in several places. You are given a choice of 5 included icons, or you may upload your own and give its filename in the settings. You must upload your custom icon to the "markfl_featuredthreads/icons" folder. The icons are appropriately sized depending on the location they are displayed.

If you choose to use an icon, then they are displayed in the thread listing when viewing forums, to the immediate right of the thread titles for those threads in the featured threads list.



Support for this product can be found here:

(continued in post #2)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	markfl_ft_navbartab.jpg
Views:	2298
Size:	15.7 KB
ID:	153417   Click image for larger version

Name:	markfl_ft_navbarlink.jpg
Views:	2291
Size:	15.3 KB
ID:	153418   Click image for larger version

Name:	markfl_ft_navbarcommunity.png
Views:	2303
Size:	16.5 KB
ID:	153419   Click image for larger version

Name:	markfl_ft_navbarquicklinks.png
Views:	2303
Size:	23.4 KB
ID:	153420  

Click image for larger version

Name:	markfl_ft_listuser.jpg
Views:	2334
Size:	54.4 KB
ID:	153422   Click image for larger version

Name:	markfl_ft_forumdisplay.jpg
Views:	2319
Size:	79.2 KB
ID:	153424   Click image for larger version

Name:	markfl_ft_acp_section1.jpg
Views:	1792
Size:	133.8 KB
ID:	153660   Click image for larger version

Name:	markfl_ft_acp_section2.jpg
Views:	1782
Size:	107.7 KB
ID:	153661  

Click image for larger version

Name:	markfl_ft_acp_section3.png
Views:	1775
Size:	75.7 KB
ID:	153662  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #151  
Old 31 May 2017, 05:36
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by chloe101 View Post
You may never want to talk with me again. Those forums were only deactivated, not deleted. I obviously need some sleep Profuse apologies for wasting your time. That's 2 boxes of chocolate now
LOL! No worries...I have been known to edit plugins that have been disabled, or edit the wrong version of an external script, and then pull my hair out when the changes have no effect.

And at least you are conscientious enough to admit your minor oversight, rather than simply walking away from it like nothing happened.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #152  
Old 31 May 2017, 05:52
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Originally Posted by MarkFL View Post
LOL! No worries...I have been known to edit plugins that have been disabled, or edit the wrong version of an external script, and then pull my hair out when the changes have no effect.

And at least you are conscientious enough to admit your minor oversight, rather than simply walking away from it like nothing happened.
Ok, now that's funny lol. Thanks for the laugh before going to get some zzzzzs! Now I don't feel so awful but I still apologize for wasting your time
Reply With Quote
  #153  
Old 03 Jun 2017, 03:08
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Theme Problem

Hi Mark, Another day, another request if this isn't asking too much because my new problem is with the theme I'm currently using as our default. I didn't even realize this was a problem until I saw that featured threads get a star in the default & in a theme I'm adding but not in my main theme. I can't ask the theme author because he dropped out of site a few years ago. Is it possible to get your star to show up in front of the title?

(Edited to remove images)

Last edited by chloe101; 03 Jun 2017 at 13:08. Reason: removed images
Reply With Quote
  #154  
Old 03 Jun 2017, 06:57
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Unfortunately when a custom theme changes the HTML layout of a template such that certain elements are no longer present, then my code to append the star to the thread title isn't going to work.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #155  
Old 03 Jun 2017, 13:09
chloe101 chloe101 is offline
 
Join Date: Dec 2007
I was afraid of that. Thanks for replying
Reply With Quote
  #156  
Old 03 Jun 2017, 14:55
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
It may be possible to edit your "SHOWTHREAD" template for that style to add dummy span elements around the title to get it to work.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #157  
Old 04 Jun 2017, 22:32
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Hah! I just logged in to ask you if you had any hints for a determined person who wanted to try on their dev site and you beat my question to it with an answer waiting. I'm going to try- expecting miracles but not holding my breath since this really isn't my forte

Thank you Mark!
Reply With Quote
  #158  
Old 07 Jun 2017, 00:20
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
hey Mark - is there a time limit before threads are automatically cleared? I have noticed that threads will delete (I am checking other settings / users that might be playing with the mod)
Reply With Quote
  #159  
Old 07 Jun 2017, 01:09
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Thread stay in the featured threads list until either a manager removes them or the thread gets deleted.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #160  
Old 20 Jul 2017, 13:41
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
This might sound a sill question but how do you nominate a thread?

Installed fine but I don't see as admin any option.
Reply With Quote
  #161  
Old 20 Jul 2017, 15:12
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Follow:

AdminCP -> MarkFL: Featured Threads -> Nominations

By default, nominations are not enabled, so you have to define the settings how you want.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #162  
Old 20 Jul 2017, 16:26
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
Thanks Mark worked that out afterwards.
Reply With Quote
  #163  
Old 20 Jul 2017, 16:32
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
Mark,

Just created a poll and received this error?

PHP Warning: mysql_insert_id(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in ..../featuredthread.php on line 334

PHP Warning: mysql_insert_id(): A link to the server could not be established in ..../featuredthread.php on line 334

Any ideas?
Reply With Quote
  #164  
Old 20 Jul 2017, 17:01
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, I've attached as a hot fix, a replacement for the "featuredthread.php" script. Please replace the file on your server, and let me know if that fixes the poll creation issue.
Attached Files
File Type: php featuredthread.php (21.3 KB, 2 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #165  
Old 20 Jul 2017, 17:02
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
Will do.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:46.

Layout Options | Width: Wide Color: