Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Thread Descriptions Details »»
Thread Descriptions
Version: 1.1.3, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.2.x Rating:
Released: 02-18-2017 Last Update: 02-27-2017 Installs: 16
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

Overview:

This product allows your users to add descriptions to threads which display below the title on various pages. You may define CSS to be applied to the description, the maximum length allowed for the thread descriptions (1-256 characters), and if you want an icon to be displayed to the left of the thread descriptions you may enter the path to the image file. You may also enter any CSS you want to be associated with the icon.

When a user posts a new thread, they will find a text field below the thread title field into which they may enter a description for the thread.



To change a thread's description, one may either edit the first post of a thread, or edit the thread via the "Administrative" drop-down menu in the "Thread Controls" element on the Show Thread page.





A thread's description will show up on the forum home page, the forum display pages, the search results pages and the show thread pages.









If a thread is deleted, then it's description is removed from the custom table added on installation. If two threads are merged, only the description of the destination thread is retained.

Updates:

Version 1.0.1:
  • Attempt to resolve reported db error on index page.

Version 1.0.2:
  • Attempt to resolve reported CSS issue on Show Thread page.

Version 1.0.3:
  • Second attempt to resolve reported CSS issue on Show Thread page.

Version 1.0.4:
  • Attempt to position description directly below title on Show Thread page.

Version 1.1:
  • Added setting for "Active Display Areas" (Select the places where you want thread descriptions to display).
  • Added setting for "Active Forums" (Select the forums in which you want thread descriptions permitted).
  • Added setting for "Permitted Usergroups" (Select the usergroups allowed to use thread descriptions).
  • Added a bottom margin to the thread description element on the Show Thread page when the facebook like button is present.

Version 1.1.1:
  • Resolved reported issue with editing thread descriptions.

Version 1.1.2:
  • Resolved reported issue of description being removed on quick edit.

Version 1.1.3:
  • Attempt to resolve reported db error.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product alters your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Thread Descriptions v1.1.3.zip (6.4 KB, 56 views)

Screenshots

File Type: jpg markfl_threaddescriptions_newthread.jpg (17.1 KB, 0 views)
File Type: png markfl_threaddescriptions_editthread.png (23.9 KB, 0 views)
File Type: png markfl_threaddescriptions_editpost.png (6.8 KB, 0 views)
File Type: png markfl_threaddescriptions_showthread.png (12.1 KB, 0 views)
File Type: png markfl_threaddescriptions_forumdisplay.png (16.3 KB, 0 views)
File Type: png markfl_threaddescriptions_forumhome.png (7.9 KB, 0 views)
File Type: jpg markfl_threaddescriptions_search.jpg (43.3 KB, 0 views)
File Type: jpg markfl_threaddescriptions_acp.jpg (75.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
elsa23

Comments
  #22  
Old 02-20-2017, 01:46 PM
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mark, when I edit (quickedit) the first post of a thread that had a description, the description is deleted.
Advanced edit keep the description.
Reply With Quote
Благодарность от:
MarkFL
  #23  
Old 02-20-2017, 02:08 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elsa23 View Post
Hi Mark, when I edit (quickedit) the first post of a thread that had a description, the description is deleted.
Advanced edit keep the description.
Good catch! :up:

Update - Version 1.1.2:
  • Resolved reported issue of description being removed on quick edit.
Reply With Quote
Благодарность от:
elsa23
  #24  
Old 02-22-2017, 12:42 AM
X-or X-or is offline
 
Join Date: Nov 2005
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod has a lot of potential :up:

I might download and install
Reply With Quote
  #25  
Old 02-23-2017, 08:50 AM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very good for SEO...i try immediately
Reply With Quote
  #26  
Old 02-23-2017, 01:31 PM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark, i noticed that the css to the type of description of the font is not applied, i'm wrong or something i need to adjust the css of my style?
Reply With Quote
  #27  
Old 02-23-2017, 01:54 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may need to use the "!important" modifier to override some CSS attributes, such as "font-family."
Reply With Quote
  #28  
Old 02-23-2017, 08:23 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could be great for seo but I think some forum users would be to lazy to use it. lol

Great work Mark! I am going to try this!
Reply With Quote
  #29  
Old 02-28-2017, 06:26 AM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mark,
these days the mysql database gives me these errors:

Code:
Invalid SQL:

    DELETE FROM HG_markfl_threaddescriptions
        WHERE threadid IN ()

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
Reply With Quote
  #30  
Old 02-28-2017, 06:35 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gn_Snake View Post
Hi Mark,
these days the mysql database gives me these errors:

Code:
Invalid SQL:

    DELETE FROM HG_markfl_threaddescriptions
        WHERE threadid IN ()

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
What are you doing when you get that error?
Reply With Quote
  #31  
Old 02-28-2017, 07:20 AM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
What are you doing when you get that error?
This is the complete log:

Code:
Invalid SQL:

    DELETE FROM HG_markfl_threaddescriptions
        WHERE threadid IN ();

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
Error Number  : 1064
Request Date  : Tuesday, February 28th 2017 @ 09:06:07 AM
Error Date    : Tuesday, February 28th 2017 @ 09:06:07 AM
Script        : http://www.hardwaregame.it/forum/cron.php?rand=1488272764
Referrer      : http://www.hardwaregame.it/forum/login.php?do=login
IP Address    : 79.52.154.51
Username      : Non Registrato
Classname     : vB_Database_MySQLi
MySQL Version :
but errors that are initiated from Monday indicate different actions
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07107 seconds
  • Memory Usage 2,348KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete