PDA

View Full Version : New Posting Features - Thread Descriptions


MarkFL
02-18-2017, 10:00 PM
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/attachment.php?attachmentid=155851&stc=1&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/attachment.php?attachmentid=155853&stc=1&d=1487476987

https://vborg.vbsupport.ru/attachment.php?attachmentid=155852&stc=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/attachment.php?attachmentid=155856&stc=1&d=1487476987

https://vborg.vbsupport.ru/attachment.php?attachmentid=155855&stc=1&d=1487476987

https://vborg.vbsupport.ru/attachment.php?attachmentid=155857&stc=1&d=1487476987

https://vborg.vbsupport.ru/attachment.php?attachmentid=155854&stc=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:


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


https://vborg.vbsupport.ru/attachment.php?attachmentid=155874&stc=1&d=1487565439

Support for this product can be found here:


MHB - Thread Descriptions (http://mathhelpboards.com/vbulletin-products-61/thread-descriptions-21764.html)
TAZ - Thread Descriptions (https://theadminzone.com/threads/thread-descriptions.144955/)

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
I tested it on "local" before going live forum, it works fine everywhere but I had this error on index page :

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

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
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

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
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
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.


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
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.

MarkFL
02-19-2017, 05:05 PM
Update - Version 1.0.3:


Second attempt to resolve reported CSS issue on Show Thread page.

Stratis
02-19-2017, 05:21 PM
For me css is ok now. thank you :)

elsa23
02-19-2017, 05:46 PM
Resolved for me too, thanks again :up:

Is it possible to put it above button facebook like ? :o

MarkFL
02-19-2017, 06:04 PM
Update - Version 1.0.4:


Attempt to position description directly below title on Show Thread page.

elsa23
02-19-2017, 06:47 PM
Thanks a lot, Mark
Can you, please, increase the space between description and facebook button :up:

MarkFL
02-19-2017, 07:02 PM
Thanks a lot, Mark
Can you, please, increase the space between description and facebook button :up:

You can increase the space there by editing the PageTitle StyleVar and give it the amount of bottom padding you want. :)

edit: On second thought...that would put space beneath the fb buttons...I will address this issue (along with some new settings) in the next upgrade, due out in the next 24 hours. :)

MarkFL
02-20-2017, 02:39 AM
Update - 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.

elsa23
02-20-2017, 09:01 AM
Again - good job, it's great! Thank you so much! :up:
I love adding description on home page

I have a new issue :
When I create a new thread, I can add thread description, but when I edit the thread, I see not the box where to modify desciption

Stratis
02-20-2017, 10:39 AM
When I create a new thread, I can add thread description, but when I edit the thread, I see not the box where to modify desciption
same to me. :)

MarkFL
02-20-2017, 12:12 PM
Update - Version 1.1.1:


Resolved reported issue with editing thread descriptions.

elsa23
02-20-2017, 01:46 PM
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.

MarkFL
02-20-2017, 02:08 PM
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.

X-or
02-22-2017, 12:42 AM
this mod has a lot of potential :up:

I might download and install

Gn_Snake
02-23-2017, 08:50 AM
This is very good for SEO...i try immediately

Gn_Snake
02-23-2017, 01:31 PM
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?

MarkFL
02-23-2017, 01:54 PM
You may need to use the "!important" modifier to override some CSS attributes, such as "font-family." :)

RichieBoy67
02-23-2017, 08:23 PM
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!

Gn_Snake
02-28-2017, 06:26 AM
Hi Mark,
these days the mysql database gives me these errors:

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

MarkFL
02-28-2017, 06:35 AM
Hi Mark,
these days the mysql database gives me these errors:

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?

Gn_Snake
02-28-2017, 07:20 AM
What are you doing when you get that error?

This is the complete log:

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

MarkFL
02-28-2017, 12:10 PM
Update - Version 1.1.3:


Attempt to resolve reported db error.

Gn_Snake
02-28-2017, 02:03 PM
Thanks i try it and let you know

thenicehorizon
02-28-2017, 02:03 PM
thank you very much
is this useful for SEO ?

Gn_Snake
02-28-2017, 02:08 PM
thank you very much
is this useful for SEO ?

I'm not trying to be a little but I think it is very useful for SEO, but it is important to limit access to expert users

MarkFL
02-28-2017, 02:09 PM
thank you very much
is this useful for SEO ?

I can't say what, if any, effect this would have on SEO. :)

thenicehorizon
02-28-2017, 02:23 PM
thank you , i will try
I'm not trying to be a little but I think it is very useful for SEO, but it is important to limit access to expert users

i hope it will be a good addition for my forum
thank you again Mr MarkFL
I can't say what, if any, effect this would have on SEO. :)

Stratis
02-28-2017, 02:41 PM
Update - Version 1.1.3:

Attempt to resolve reported db error.

Confirm, there is no db error at least for me.
I was using edited plugin "Remove Thread Descriptions On Thread Delete"
As I see, inlinemod script is not present :)

Thanks for the update. Nice of you.


thank you very much
is this useful for SEO ?
I used an old modification, and changed with this one.
They have good SEO effect, at least to me. All descriptions are out there in search condition by google, etc

MarkFL
02-28-2017, 02:57 PM
Confirm, there is no db error at least for me.
I was using edited plugin "Remove Thread Descriptions On Thread Delete"
As I see, inlinemod script is not present :)

Thanks for the update. Nice of you...

You were right about "$threadid" being the only thing needed there, as apparently the function containing that hook is called for each thread being deleted. I should have listened to you in the first place. :)

Gn_Snake
03-01-2017, 10:18 AM
Thanks i try it and let you know


With the update problems seem solved
thank you:up: