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

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

Category: Show Thread Enhancements - Version: 4.2.x Rating:
Released: 07-16-2016 Last Update: 08-01-2016 Installs: 15
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Overview:

This product is designed to allow you to select usergroups/users who can make notes concerning threads which only they can see, providing a means for your staff to privately discuss a thread within the thread itself. Users who have access to the system may add notes, and edit/delete their own notes, while those you add as managers can edit/delete everyone's notes (as well as add their own).



A navtab or Quick Links item is added for those who have access to the system to allow for the review and management of all thread notes.



In the forum and search results displays, an icon is added to show which threads have thread notes, and the tooltip for the icon tells how many notes there are.



Upon installation a new table is added to your database to store the thread notes data, and a new column is added to your thread table to store the number of notes each thread has (this allows unnecessary queries to be avoided). This product is fully phrased, and CSS can be customized for each style via stylevars. Any CSS entered into the product settings will be inline and will therefore take precedence.

From the product settings, you may enable/disable the product, select the forums in which the system is active, select usergroups who have access to the system, select system managers who will be allowed to edit/delete all thread notes, set whether all actions are recorded in the moderator log, define CSS for the entire thread notes block, define CSS for the element containing the thread notes (which excludes the header), define the maximum height of the element containing existing thread notes, define the maximum height of the element on the custom page that contnais the thread notes blocks, set whether the thread notes block displays above or below the posts on the showthread page, and set whether the "All Thread Notes" link is a Navtab or in the Quick Links menu.



Updates:

Version 1.1:
  • Fixed issue with thread notes displayed below posts for non-moderator users.

Version 1.2:
  • Fixed issue with collapse button.

Version 1.3:
  • Fixed issue with Navtab permission.
  • Custom page now shows "No Permission" if URL to custom page manually entered into browser.

Version 1.4:
  • Phrased the new notes placeholder.
  • Added phrased alert when attempting to save blank note.
  • Added redirection messages.

Version 1.4.1:
  • Fixed PHP warnings.

Version 1.5:
  • Added code to delete thread notes associated with hard-deleted threads.
  • Added code to update threadids of notes associated with a threads merged into other threads.

Compatibility:

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

Backup/Warning:

This product does alter 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. Upload the files from the "upload" folder to your root folder on your server.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

Special acknowledgement goes to the administrators of Christianity Haven for the general idea of this product and for their feedback and testing through all phases of development. :up:

Support for this product can be found here:

Download Now

File Type: zip MarkFL - Thread Notes v1.5.zip (12.5 KB, 46 views)

Screenshots

File Type: jpg markfl_tn_acp.jpg (63.9 KB, 0 views)
File Type: png markfl_tn_threadicon.png (16.3 KB, 0 views)
File Type: png markfl_tn_allblocks.png (21.9 KB, 0 views)
File Type: png markfl_tn_block.png (13.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
alcazarx, In Omnibus, RichieBoy67

Comments
  #12  
Old 07-21-2016, 06:56 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.3:
  • Fixed issue with Navtab permission.
  • Custom page now shows "No Permission" if URL to custom page manually entered into browser.
Reply With Quote
  #13  
Old 07-22-2016, 03:29 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.4:
  • Phrased the new notes placeholder.
  • Added phrased alert when attempting to save blank note.
  • Added redirection messages.
Reply With Quote
  #14  
Old 07-25-2016, 04:10 AM
babyv0x babyv0x is offline
 
Join Date: Jan 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i view all thread notes (threadnotes.php)

i get :
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\agribank1\threadnotes_functions.ph p on line 6

Strict Standards: Only variables should be passed by reference in D:\xampp\htdocs\agribank1\threadnotes_functions.ph p on line 205

Strict Standards: Only variables should be passed by reference in D:\xampp\htdocs\agribank1\threadnotes_functions.ph p on line 205

VBB 4.2.2 PL4
Reply With Quote
  #15  
Old 07-25-2016, 04:19 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark, following issues:
a) With IE11 cannot edit notes, with 1.2 version i did not have this problem.
b) When deleting a note i get two phrases same time.
(1 selected thread note(s) have been deleted. 1 edited notes have been saved to the database. )

c) Visitors cannot see the notes, but Navtab is visible and clickable. (redirects them to threadnotes.php of cource not able to see notes)

Thank you
Reply With Quote
  #16  
Old 07-25-2016, 04:26 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 babyv0x View Post
When i view all thread notes (threadnotes.php)

i get :
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\agribank1\threadnotes_functions.ph p on line 6

Strict Standards: Only variables should be passed by reference in D:\xampp\htdocs\agribank1\threadnotes_functions.ph p on line 205

Strict Standards: Only variables should be passed by reference in D:\xampp\htdocs\agribank1\threadnotes_functions.ph p on line 205

VBB 4.2.2 PL4
Update - Version 1.4.1:
  • Fixed PHP warnings.
Reply With Quote
  #17  
Old 07-25-2016, 04: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 Stratis View Post
Mark, following issues:
a) With IE11 cannot edit notes, with 1.2 version i did not have this problem.
Sorry, I don't support IE...I only support modern standards compliant browsers.

Quote:
Originally Posted by Stratis View Post
b) When deleting a note i get two phrases same time.
(1 selected thread note(s) have been deleted. 1 edited notes have been saved to the database. )
Is this also using IE? If I only select a thread for deletion without having double-clicked a note to edit it, it shows in the redirect message 1 note deleted, 0 notes edited. If you double-click a note to edit it, but don't make any changes, this still counts as an edit.

Quote:
Originally Posted by Stratis View Post
c) Visitors cannot see the notes, but Navtab is visible and clickable. (redirects them to threadnotes.php of cource not able to see notes)
How are you testing to see if visitors can see the Navtab? Do you log out and the click the "Forum" tab, or do you simply log out and see the tab still there?
Reply With Quote
  #18  
Old 07-25-2016, 04:48 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Sorry, I don't support IE...I only support modern standards compliant browsers.
No comment, thank you.


Quote:
Originally Posted by MarkFL View Post
Is this also using IE? If I only select a thread for deletion without having double-clicked a note to edit it, it shows in the redirect message 1 note deleted, 0 notes edited. If you double-click a note to edit it, but don't make any changes, this still counts as an edit.
No i do not double click for edit, tested again.


Quote:
Originally Posted by MarkFL View Post
How are you testing to see if visitors can see the Navtab? Do you log out and the click the "Forum" tab, or do you simply log out and see the tab still there?
i am not even logged in, i test this with browser EDGE, tested just right now with all other browsers. (logged out, refresh forum and still see the tab)


Thank you for your patient
Reply With Quote
  #19  
Old 07-25-2016, 04:54 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try testing with Firefox or Chrome...
Reply With Quote
  #20  
Old 07-25-2016, 05:02 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tested in IE 11, and it doesn't display the placeholder in the new note textarea, and won't even recognize when text has been entered there. It did somehow manage to delete a note and give the correct redirect message though.
Reply With Quote
  #21  
Old 07-25-2016, 05:28 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Try testing with Firefox or Chrome...
I mention above that i tested in all browsers, i will find a way to work as it is.
IE is not my option, but user and mod-smods use him rather than FF that closes every time, this is other discuss


Thank you very much
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 09:23 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.08654 seconds
  • Memory Usage 2,357KB
  • Queries Executed 26 (?)
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
  • (8)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
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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