vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Thread Descriptions (https://vborg.vbsupport.ru/showthread.php?t=324478)

MarkFL 02-18-2017 10:00 PM

Thread Descriptions
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/attachmen...&d=1487476987]

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.

https://vborg.vbsupport.ru/attachmen...1&d=1487476987

https://vborg.vbsupport.ru/attachmen...1&d=1487476987

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.

https://vborg.vbsupport.ru/attachmen...1&d=1487476987

https://vborg.vbsupport.ru/attachmen...1&d=1487476987

https://vborg.vbsupport.ru/attachmen...1&d=1487476987

https://vborg.vbsupport.ru/attachmen...1&d=1487476987

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.

https://vborg.vbsupport.ru/attachmen...1&d=1487565439

Support for this product can be found here:

elsa23 02-19-2017 07:39 AM

Thanks so much for your wonderful work!!! https://vborg.vbsupport.ru/external/2017/04/2.gif https://vborg.vbsupport.ru/external/2017/04/2.gif

elsa23 02-19-2017 08:07 AM

1 Attachment(s)
I tested it on "local" before going live forum, it works fine everywhere but I had this error on index page :

Code:

PHP Warning: mysqli_query(): (42000/1064): 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 3 in ....\includes\class_core.php on line 1394
Code:

Database error in vBulletin 4.2.3:

Invalid SQL:

                SELECT *
                FROM elo4_markfl_threaddescriptions AS markfl_threaddescriptions
                WHERE threadid =;

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 3

Classname    : vB_Database_MySQLi
MySQL Version : 5.6.12-log


Stratis 02-19-2017 09:05 AM

1 Attachment(s)
I must change all my threads(that have description) because I use other mod "thread description" we discussed in other thread. :(


* The above error comes up to me, when try to delete that thread with description.
Actually error comes up and thread does not deleted.


* Description we see in postbit under title, for me its ok only I default skin.
In all other skin css problems

Attachment 155860

MarkFL 02-19-2017 12:58 PM

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

Edit: I have no issue with deleting threads...will wait to see if others report any issue deleting threads with descriptions. :)

elsa23 02-19-2017 03:22 PM

1 Attachment(s)
It works now, db error on index page resolved :up:
I have no issue with deleting threads :)

Just, for the style, can you please make it appear under thread title (outside the orange section on my joined image)

http://forum-elodiefrege.com/

MarkFL 02-19-2017 03:28 PM

Can you link to the thread where that's happening? I have a fix in mind, but I want to be sure...:)

elsa23 02-19-2017 03:55 PM

Quote:

Originally Posted by MarkFL (Post 2582598)
Can you link to the thread where that's happening? I have a fix in mind, but I want to be sure...:)

I am still testing on "local" forum :o

MarkFL 02-19-2017 04:08 PM

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

Quote:

Originally Posted by elsa23 (Post 2582600)
I am still testing on "local" forum :o

That's always a great idea...please try version 1.0.2 to see if this resolves the issue. :)

elsa23 02-19-2017 04:20 PM

Quote:

Originally Posted by MarkFL (Post 2582602)
Update - Version 1.0.2:
  • Attempt to resolve reported CSS issue on Show Thread page.



That's always a great idea...please try version 1.0.2 to see if this resolves the issue. :)

Nothing change with the new version.


All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01196 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete