Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Starred Posts Details »
Starred Posts
Mod Version: 1.6.2, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (9 votes - 4.67 average) Installs: 28
Released: 21 Jul 2016 Last Update: 01 Apr 2017 Downloads: 112
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

Overview:

This product is designed to give your users the ability to create/manage a list of starred/favorite posts so they can easily locate them in the future. Some users may have limited time when browsing your site, and wish to earmark posts to which they will want to reply later when they have more time. This product will allow them to tag these posts and easily find them later.

Upon installing the product a new table is added to your database to store the data pertaining to the user lists, and a new column is added to your user table to store the number of posts in each user's list.

Users with permission to use the system will see a star icon in the postbits just above the signature and to the far right that allows them to add the posts to their list. Once a post has been added, a checkmark appears next to the star icon to indicate that that post is already on their list, and if this is clicked the post is removed from the list. The icons have tooltips to indicate what will happen upon clicking them, as do all buttons and checkboxes used by the system.



In the search results and forum thread listings, an icon is shown to users to indicate which threads have posts in their starred list, and the icon has a tooltip indicates how many posts in the thread are in the user's starred list.



Under the "Quick Links" menu, users who have permission to use the system, will find a link titled "My Starred Posts" which will take them to a custom page which displays their starred posts and allow for posts to be removed. Each post has detailed information regarding the post, with links to the forum, thread and to the post itself. There are controls that allow the user to select posts for removal from the list, and to expand the post content so they can review the entire post(s) right there and to reply to the post with a quote. Post content can be expanded/collapsed one a per post basis, or all at once. Each postbit can be collapsed as well.



Users who have a limit imposed on the number of posts in their list will be shown additional information in the redirect messages that tell them how many additional posts they can add to their list. Once a user has added the maximum number of posts in their list, they will no longer see the star icon in the postbits with threads to add posts...they will only see the icon fro removing posts from their list.

In the product settings, you may select the usergroups that have permission to use the system, set a limit to the number of posts a user may have in their list, excempt usergroups from this limit, give limits based on usergroups, and set the persistence of user lists so that users who are inactive for longer than the number of days you have set will have their list removed from the database via a daily cron job. You may also set the maximum height of the elements containing the list of posts, and the post content within each list postbit.



This product is fully phrased, and stylevars are used so that the CSS for the custom page can be customized per style.

Updates:

Version 1.1:
  • Added reply button.
  • Online location processed.

Version 1.2:
  • Fixed issue with postbit star icon not displaying.
  • Added icon to threadbits to show users which threads haev posts in the starred list.

Version 1.3:

Version 1.3.1:
  • Fixed Thread/Post authors in postbits.

Version 1.4:
  • Deleted posts removed from the lists of all users.
  • Posts moved to areas where users do not have permission to view are removed from the lists of those users.
  • User lists are updated when posts/threads are merged.
  • Unapproved posts and posts within unapproved threads are removed from the lists of users who are not moderators of the forum in which the affected posts reside.
  • Stylevar added for the margins of the postbit icon.

Version 1.5:
  • Usernames escaped to avoid db errors.
  • Postbit icon now appears at the lower right of the post content element when using legacy postbit, regardless of the post length.
  • Postbit icon CSS moved to template.

Version 1.6:
  • Added setting to allow for limits per usergroup.

Version 1.6.1:
  • Guests shown no permission message if trying to access the external script.

Version 1.6.2:
  • Users not part of the allowed usergroups shown no permission message if trying to access the external script.

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.

Support for this product can be found here:

Download Now

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

Screenshots

Click image for larger version

Name:	markfl_sp_postbiticon.png
Views:	1025
Size:	8.5 KB
ID:	155217   Click image for larger version

Name:	markfl_sp_list.png
Views:	983
Size:	40.3 KB
ID:	155229   Click image for larger version

Name:	markfl_sp_threadbiticon.png
Views:	956
Size:	13.3 KB
ID:	155231   Click image for larger version

Name:	markfl_sp_acp.jpg
Views:	568
Size:	96.2 KB
ID:	155630  

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.
  #46  
Old 17 Jan 2017, 23:54
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Auto-select based on tagged usernames

I would like very much to be able to 'tag' users so posts they make are automatically included in my Starred Posts. Can that be put on your wish list?
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #47  
Old 18 Jan 2017, 15:35
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Snowhog View Post
I would like very much to be able to 'tag' users so posts they make are automatically included in my Starred Posts. Can that be put on your wish list?
That isn't really part of the intended purpose of this product, which is to be able to bookmark posts as you read them. You can already search for posts by username.
__________________
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
  #48  
Old 20 Jan 2017, 00:32
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
I do understand that, but I think you may understand my wish. Your MOD, as written, requires that you actually click on a post and then mark it as a Starred Post; you are already 'reading' it when you click on it.

I know that I, and others, would love to be able to tag users we want to track, and this MOD, if it were modified to do so, would be perfect for this. It would put posts made by those tagged users in to our Starred Posts. In my way of seeing things, this would be way more useful.

Just my 2-cent observation.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #49  
Old 07 Feb 2017, 17:47
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Creates a conflict with...

...DragonByte Tech's Thread / Post Bookmarking MOD. At least that MOD no longer works at here.

The button and icon (Thread / Post) are present, as well as the clickable entries for them in the user's Settings. But, while in a thread, clicking on either button does not result in the Thread and/or Post being added.

It's an assumption on my part that these two MODs are in conflict, with your's 'breaking' his. Can you confirm? For the moment I've disabled DB Tech's MOD.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #50  
Old 07 Feb 2017, 17:58
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I don't have that product installed, and I am swamped with other issues right now.
__________________
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
  #51  
Old 07 Feb 2017, 18:15
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Totally understand. It isn't a big deal.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #52  
Old 07 Feb 2017, 18:17
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Snowhog View Post
Totally understand. It isn't a big deal.
When I get some time, I will install DBTech's product on my local dev site and see if I can resolve the conflict.
__________________
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
  #53  
Old 07 Feb 2017, 18:17
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
That would be great. Thank you.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #54  
Old 31 Mar 2017, 18:39
DSemen DSemen is offline
 
Join Date: Sep 2010
Help me please. DB Error. Very good and useful mod, for a long time can someone tell me how to make it work on 4.1.3
Database error in vBulletin 4.1.3:

Invalid SQL:

SELECT starposts.dateline AS stardateline, post.*, thread.title AS threadtitle, thread.postusername as postusername, thread.postuserid AS postuserid, thread.dateline AS threaddateline, thread.replycount AS replycount, thread.views AS views, thread.postercount AS threadpostercount, thread.lastpost AS threadlastpost, forum.forumid AS forumid, forum.title AS forumtitle, forum.description AS forumdescription, forum.parentlist AS forumparents
FROM starposts AS starposts
LEFT JOIN post AS post
ON post.postid = starposts.postid
LEFT JOIN thread AS thread
ON thread.threadid = post.threadid
LEFT JOIN forum AS forum
ON forum.forumid = thread.forumid
WHERE starposts.userid = 1
ORDER BY starposts.dateline ASC;

MySQL Error : Unknown column 'thread.postercount' in 'field list'
Error Number : 1054
Request Date : Friday, March 31st 2017 @ 09:35:00 PM
Error Date : Friday, March 31st 2017 @ 09:35:00 PM
Script : http://forum.mysite.net/mystarpost.php
__________________
Sorry, Google translation
Reply With Quote
  #55  
Old 31 Mar 2017, 18:57
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by DSemen View Post
Help me please. DB Error. Very good and useful mod, for a long time can someone tell me how to make it work on 4.1.3
I don't have access to vB 4.1.x to test, but that column is a part of the thread table by default in vB 4.2.x.

After a quick check, I see it is not present in vB 3.8.11, so perhaps it was added in vB 4.2.x.

The quickest solution here would be for you to update to vB 4.2.4 (or vB 4.2.5 if you want to upgrade to PHP 7.x)
__________________
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
  #56  
Old 31 Mar 2017, 19:00
DSemen DSemen is offline
 
Join Date: Sep 2010
Unfortunately it will not be possible to update. Many mods require a serious alteration. I already tried several times to update myself and it always ended in failure. I ask you, I am ready to pay, help me.
__________________
Sorry, Google translation
Reply With Quote
  #57  
Old 31 Mar 2017, 19:22
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by DSemen View Post
Unfortunately it will not be possible to update. Many mods require a serious alteration. I already tried several times to update myself and it always ended in failure. I ask you, I am ready to pay, help me.
Locate the following code in the file "mystarpost.php":


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change if to read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now, in the template "markfl_starpost_postbit", locate the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And remove it.

Let me know if this works.
__________________
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
  #58  
Old 31 Mar 2017, 19:45
DSemen DSemen is offline
 
Join Date: Sep 2010
DB error has disappeared. But nowhere is there a reference to mystarpost.php
Also, when clicking on a link that is also not found anywhere (enter in the address bar) on the starpost.php forum posts:
vBulletin Message
DSe, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
"Go To Post" - Does not lead to a message, but leads to the first page
__________________
Sorry, Google translation

Last edited by DSemen; 31 Mar 2017 at 19:56.
Reply With Quote
  #59  
Old 31 Mar 2017, 19:55
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
The file "mystarpost.php" is accessed via the navbar, under "Quick Links." It could be that vB 4.1.x is incompatible with this...this is one of many reasons I marked this product for vB 4.2.x.

I'm sorry, but I just don't have the time to rewrite this product for vB 4.1.x. There are simply too few people still using it to make it worth the effort for me. vB 4.1.x is obsolete, and I would recommend anyone still using it to upgrade.
__________________
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
  #60  
Old 31 Mar 2017, 20:04
DSemen DSemen is offline
 
Join Date: Sep 2010
Adding to the navigation bar is not a problem at all, I'll do it myself. The problem remains that by clicking the transfer is done not to the selected post, but to the first message in the topic.
__________________
Sorry, Google translation
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 18:41.

Layout Options | Width: Wide Color: