Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
September 17, 20204 yr Author Hello, 12 hours ago, James101 said: Does this setting mean it will automatically pin the entered post number? - http://prntscr.com/uif1so Yes 12 hours ago, James101 said: If yes, how do I find post number? Just count the posts 12 hours ago, James101 said: Will all first replies have the same post number? Yes 10 hours ago, FFXIV Admin said: Hello, I've updated to the latest version, and this issue seems to persist. Hello, From which version did you updated? If you don't have pinned posts you can reinstall the plugin
September 17, 20204 yr Hi @newbie LAC - Thank you for answering my questions. I am facing an issue. The pinned posts works fine when the post is posted manually. I have Auto-Reply to Topics by Adriano Faria installed and set up to post replies in certain forums. The auto replies are not getting pinned but only the manual replies are getting pinned.
September 17, 20204 yr Author 26 minutes ago, James101 said: The pinned posts works fine when the post is posted manually. I have Auto-Reply to Topics by Adriano Faria installed and set up to post replies in certain forums. The auto replies are not getting pinned but only the manual replies are getting pinned. As I said above I don't know how his application works. I need to see the code.
September 22, 20204 yr On 9/16/2020 at 10:03 PM, newbie LAC said: On 9/16/2020 at 11:27 AM, FFXIV Admin said: Hello, I've updated to the latest version, and this issue seems to persist. Hello, From which version did you updated? If you don't have pinned posts you can reinstall the plugin I was on version 1.0.12 previously. Pinned posts were showing up when I did my IPS 4.4 to 4.5 upgrade, and then broke after I updated the plugin to the latest version. My community had made use of pinned posts previously and I'd like to retain them if possible, but if it's easier to uninstall the plugin and erase its data and then reinstall it, I can post an update to advise users to re-pin their content as needed.
September 23, 20204 yr Author Hello, 10 hours ago, FFXIV Admin said: I was on version 1.0.12 previously. Pinned posts were showing up when I did my IPS 4.4 to 4.5 upgrade, and then broke after I updated the plugin to the latest version. My community had made use of pinned posts previously and I'd like to retain them if possible, but if it's easier to uninstall the plugin and erase its data and then reinstall it, I can post an update to advise users to re-pin their content as needed. PM me and I'll give you sql-queries to fix the issue and retain the pinned posts
December 12, 20204 yr Hello, I have a huge topic (1500 posts). I need to "pin" about 40 posts and show them only at the beginning of the topic (these will be pages 1 and 2), and not on all pages. Will this plugin be useful to me? Thank you 🙂
December 13, 20204 yr Author Hello, 6 hours ago, Viktor Levytskyi said: Will this plugin be useful to me? I guess you can use conditions + css {{if request.page > 2}} <style> #nbPinnedSeparatorTop, #nbPinnedSeparatorBottom, .cNbPinnedPost { display: none; } </style> {{endif}}
December 13, 20204 yr I bought plugin and tried to test it. I used provided example of code, but with "request.page > 1" (because I need to show pinned posts only on the 1 page). As a result - the second page is empty... How to reproduce: try to create a topic with 35 comments and "pin" comments from 14 to 27 (I use the setting "14 messages per page").
December 14, 20204 yr Author I can not reproduce. Where did you add the code? I added in core - global - plugins - nbPinnedPostsSeparators
December 14, 20204 yr I tried to add this code to template nbPinnedPostsSeparators too - the same result. Easy example: just try to imagine, that you pinned all comments in the topic. Yes, this is stupid, but this will show you the problem: Page 1: topic message + all comments Page 2: all comments Page N: all comments Let's try to add provided code: Page 1: topic message + all comments Page 2: empty page (because all messages are pinned) Page N: empty page (because all messages are pinned) And one more problem: direct link to post (do=findComment&comment=ххх) will redirect me to empty page 🤐 I found a simple workaround that solved all my problems: I simply disabled plugin for all pages except first (file nbPinnedPostsPosts.php, function "comments") if ( \IPS\Request::i()->page > 1) { return $comments; } After that we can "pin" for example 30 messages out of 1500 messages and everything will work fine ☺️ Edited December 14, 20204 yr by Viktor Levytskyi
March 4, 20213 yr Hi @newbie LAC In your latest versions you have moved the data into a separate database table. Before I could return pinned posts by the php command return $content->nbpinned; How can i return those posts now? Also, before we had a setting to unpin all the posts, this setting has been removed, how to unpin all posts then? Also, before we could pin all the first posts with the setting "Pin first post ", but since this setting has been changed to Pin entered pids (post number), how can we pin all the first posts of the already existing topics? (I was updating from the 1.0.12, and the update stuck for a minute or so: I was thinking that there was a connection issue with the marketplace, so I have updated the page. - as the result - I have lost some data, because that time the data was transferring from forums_posts table to a new specific table. I didn't know that you have moved the data to another table in the latest versions of your plugin 😞 😞 So I'd suggest to mention such a case in the "Previous changes" menu (e.g. "The data moved to a new table"), so the people will be more careful when updating. Thank you.)
November 20, 20222 yr Hello, Same question as for AS Manager : are you going to update Pinned Posts for Invision 4.7+ and PHP8? Thank you in advance for your answer ^^
December 15, 20222 yr PHP Fatal error: Cannot use "parent" when current class scope has no parent in Hello guys, It seems this plugin is not compatible with Invision 4.7.5, PHP 8 😒
December 15, 20222 yr 4 hours ago, Viktor Levytskyi said: It seems this plugin is not compatible with Invision 4.7.5, PHP 8 😒 I'm afraid you shouldn't expect an update:
January 10, 20232 yr Anyone knows how to repair this plugin to make it PHP8 compatible?? I’m willing to pitch in some money. Thanks.
February 15, 20231 yr On 1/10/2023 at 10:36 PM, mtlurb said: Anyone knows how to repair this plugin to make it PHP8 compatible?? I’m willing to pitch in some money. Thanks. You could use the recommend post feature to achieve something very similar.
February 15, 20231 yr In case recommended posts won't work for what you need, I've updated this modification for some clients before. Unfortunately, I can't redistribute it in the marketplace since it's not my plugin. If you PM me, we can talk further about it.
February 17, 20231 yr On 2/15/2023 at 12:48 PM, teraßyte said: In case recommended posts won't work for what you need, I've updated this modification for some clients before. Unfortunately, I can't redistribute it in the marketplace since it's not my plugin. If you PM me, we can talk further about it. Check your inbox