newbie LAC Posted July 7, 2015 Author Posted July 7, 2015 Hello.Bug detected:After pinning first post in topic, which hasn't another posts, I'm getting error EX2.Log:Tue, 07 Jul 2015 11:14:36 +0000 (Severity: 2) 95.108.132.187 - http://site/forum/topic/8997-tplus-kachestvennyiy-takelazh-dinamicheskie-stropyi-shaklyi/ ErrorException 2: Creating default object from empty value #0 /var/www/offroad4x4club.com/forum/init.php(431) : eval()'d code(57): IPS\IPS::errorHandler(2, 'Creating defaul...', '/var/www/offroa...', 57, Array) #1 /var/www/offroad4x4club.com/forum/applications/forums/modules/front/forums/topic.php(190): IPS\forums\hook71->comments(NULL, NULL, 'date', 'asc', NULL, NULL, NULL, NULL) #2 /var/www/offroad4x4club.com/forum/system/Dispatcher/Controller.php(94): IPS\forums\modules\front\forums\_topic->manage() #3 /var/www/offroad4x4club.com/forum/system/Content/Controller.php(45): IPS\Dispatcher\_Controller->execute() #4 /var/www/offroad4x4club.com/forum/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute() #5 /var/www/offroad4x4club.com/forum/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute() #6 /var/www/offroad4x4club.com/forum/index.php(13): IPS\_Dispatcher->run() #7 {main} Hello,Fixed. I'll upload new version coming soon
newbie LAC Posted July 7, 2015 Author Posted July 7, 2015 Hello,Fixed. I'll upload new version coming soonDone
scaz Posted July 8, 2015 Posted July 8, 2015 Hi, Possible to automatically pin the first post on a selected forum ? thanks
newbie LAC Posted July 8, 2015 Author Posted July 8, 2015 Hi, Possible to automatically pin the first post on a selected forum ? thanksHello,Not in this version.Do you want this feature when topic created?
scaz Posted July 8, 2015 Posted July 8, 2015 Yes, when a topic is create, the first post automatically pinned. I don't know if it's possible for you to add this and maybe I'm only one to want it, but actually in my live forum (my live forum is again on 3.4.. The 4.0 just use for test for the moment) I have a plugin to pin the first post but I need to do that manually..; and it's very very bad for me to do that manually (because take many time), so if you add this in your plugin I will very interested to buy it... If it's possible for you.
newbie LAC Posted July 8, 2015 Author Posted July 8, 2015 (edited) Yes, when a topic is create, the first post automatically pinned. I don't know if it's possible for you to add this and maybe I'm only one to want it, but actually in my live forum (my live forum is again on 3.4.. The 4.0 just use for test for the moment) I have a plugin to pin the first post but I need to do that manually..; and it's very very bad for me to do that manually (because take many time), so if you add this in your plugin I will very interested to buy it... If it's possible for you. No problem. I'l add this feature Edited July 8, 2015 by newbie LAC
scaz Posted July 8, 2015 Posted July 8, 2015 Wahou, you are very fast, thank you very much it's perfect. I buy it now and very happy to see that on the new version
newbie LAC Posted July 8, 2015 Author Posted July 8, 2015 Wahou, you are very fast, thank you very much it's perfect. I buy it now and very happy to see that on the new version I uploaded new version with 2 new settings scaz 1
Wayne B Posted July 29, 2015 Posted July 29, 2015 @newbie LAC I have found a bug in this application.It works perfectly in a 'Discussion' forum however f you try using it in a 'Question' forum the original post that is made to create the topic is duplicated on the thread and then you get the pinned post so it looks like this;QuestionAnswer1Answer2Answer3If I want to pin Answer 3 this is what I get with the plugin;QuestionQuestionAnswer3Answer1Answer2If I then refresh the page or come back to that thread it looks like this;QuestionAnswer1Answer2Answer3 (This one is still showing as pinned as you have the 'Unpin' option yet the post is back in its original place and it hasn't been unpinned.Hope that makes sense.
newbie LAC Posted July 30, 2015 Author Posted July 30, 2015 @newbie LAC I have found a bug in this application.It works perfectly in a 'Discussion' forum however f you try using it in a 'Question' forum the original post that is made to create the topic is duplicated on the thread and then you get the pinned post so it looks like this;Hello,Not tested with questions. But confirmed.How it should look like? We already have the first post (question) that is visible on all pages.
Wayne B Posted July 30, 2015 Posted July 30, 2015 Hello,Not tested with questions. But confirmed.How it should look like? We already have the first post (question) that is visible on all pages.I think it should simply be the first answer on every page
newbie LAC Posted July 30, 2015 Author Posted July 30, 2015 If I want to pin Answer 3 this is what I get with the plugin; Question QuestionAnswer3Answer1Answer2 Fixed If I then refresh the page or come back to that thread it looks like this; Question Answer1Answer2Answer3 (This one is still showing as pinned as you have the 'Unpin' option yet the post is back in its original place and it hasn't been unpinned. I can't reproduce this. Also I removed pin button from questions If you want to test new version PM me.
PRO secrets Posted September 21, 2015 Posted September 21, 2015 (edited) I have error when delete plugin (2S101/J We could not locate the item you are trying to view.). IPS 4.0.13.1. One more request: can you add option for accept pin posts only in user own topic if user have permission for pin? I want permission set only for user's own posts/topics. Edited September 21, 2015 by PROSECRETS.COM
newbie LAC Posted September 21, 2015 Author Posted September 21, 2015 Hello, 5 hours ago, PROSECRETS.COM said: I have error when delete plugin (2S101/J We could not locate the item you are trying to view.). IPS 4.0.13.1. Can't reproduce error. 1. Install the plugin 2. Pinned some posts 3. Deleted the plugin 4. Refreshed the topic page and doesn't see any errors 5 hours ago, PROSECRETS.COM said: One more request: can you add option for accept pin posts only in user own topic if user have permission for pin? I want permission set only for user's own posts/topics. Yes, I can PRO secrets 1
PRO secrets Posted September 21, 2015 Posted September 21, 2015 1 hour ago, newbie LAC said: Yes, I can It would be GREAT! I have error when install and next delete plugin. After page update error dissapear and all seems work properly. Just a visual bug.
newbie LAC Posted September 21, 2015 Author Posted September 21, 2015 1 hour ago, PROSECRETS.COM said: It would be GREAT! Is that what you want? PRO secrets 1
PRO secrets Posted September 21, 2015 Posted September 21, 2015 39 minutes ago, newbie LAC said: Is that what you want? Yes! (At the same time, administrators can pin posts in all topics when switch is on?)
newbie LAC Posted September 21, 2015 Author Posted September 21, 2015 27 minutes ago, PROSECRETS.COM said: Yes! (At the same time, administrators can pin posts in all topics when switch is on?) I think would be better make 1 setting instead of 2 (yes/no + excluded groups) PRO secrets 1
PRO secrets Posted September 21, 2015 Posted September 21, 2015 (edited) Mb something like: Groups can pin / unpin posts everywhere. (for administrators/moderators/etc.) Groups can pin / unpin posts in his own topics only. And switch button: Users from 2. will be able pin / unpin only his own posts if On and all posts in his own topics, if Off. Edited September 21, 2015 by PROSECRETS.COM
newbie LAC Posted September 21, 2015 Author Posted September 21, 2015 27 minutes ago, PROSECRETS.COM said: And switch button: Users from 2. will be able pin / unpin only his own posts if On and all posts in his own topics, if Off. Not sure what you mean. Setting "Groups (GLOBAL)" allow to pin all posts everywhere Setting "Groups (TOPIC OWNER/STARTER)" allow to pin all posts in topic only if member is topic starter If you select group "Members" for both settings the first override the second
PRO secrets Posted September 21, 2015 Posted September 21, 2015 (edited) If selected group "Members" in "Groups (TOPIC OWNER/STARTER)", user can pin not his own posts in his own topics. Switch button for accept/decline pin other users posts in his own topics for "Groups (TOPIC OWNER/STARTER)". Edited September 21, 2015 by PROSECRETS.COM
newbie LAC Posted September 21, 2015 Author Posted September 21, 2015 40 minutes ago, PROSECRETS.COM said: If selected group "Members" in "Groups (TOPIC OWNER/STARTER)", user can pin not his own posts in his own topics. Yes. 40 minutes ago, PROSECRETS.COM said: Switch button for accept/decline pin other users posts in his own topics for "Groups (TOPIC OWNER/STARTER)". Do you want separate setting for this? PRO secrets 1
PRO secrets Posted September 21, 2015 Posted September 21, 2015 2 hours ago, newbie LAC said: Yes. Do you want separate setting for this? That's great!
newbie LAC Posted September 22, 2015 Author Posted September 22, 2015 (edited) 18 hours ago, PRO secrets said: That's great! I'll upload new version coming soon Done Edited September 22, 2015 by newbie LAC PRO secrets 1
PRO secrets Posted September 22, 2015 Posted September 22, 2015 (edited) Remembered! For the following versions: should add the option "Maximum number of pinned posts in the topic". Edited September 22, 2015 by PRO secrets
Recommended Posts