ahc Posted February 20, 2019 Share Posted February 20, 2019 (edited) Is there a way to set which groups can manage topic covers on existing topics? I'd like to make this an exclusive feature for members of a specific group, however, I'm not able to give them access to upload/update a topic cover on an existing topic or after a topic is created. Never mind, I added an if array statement within the nbTopicCover template and it's done what I needed. Would be a nice built-in feature, though. Edited February 20, 2019 by Alismora Link to comment
ahc Posted February 21, 2019 Share Posted February 21, 2019 1 hour ago, Alismora said: Is there a way to set which groups can manage topic covers on existing topics? I'd like to make this an exclusive feature for members of a specific group, however, I'm not able to give them access to upload/update a topic cover on an existing topic or after a topic is created. Sorry, can't edit my post, but I'd still like to request this feature. I can't get the uploader to work at the top of the topic when I make the change. Link to comment
newbie LAC Posted February 21, 2019 Author Share Posted February 21, 2019 Hello, 7 hours ago, Alismora said: Is there a way to set which groups can manage topic covers on existing topics? What's manage? User can upload cover photo User can remove cover photo User can change position Link to comment
ahc Posted February 21, 2019 Share Posted February 21, 2019 Is there a way that the Manage setting can be group based similar to how permissions are set for topic creation? I only want specific groups to be able to set covers on new topics and existing topics. Currently, turning Manage on will allow all topic authors, regardless of group, to add a topic cover to their topics. Link to comment
newbie LAC Posted February 22, 2019 Author Share Posted February 22, 2019 (edited) 17 hours ago, Alismora said: Is there a way that the Manage setting can be group based similar to how permissions are set for topic creation? Moderators have permissions. I added Edited February 22, 2019 by newbie LAC upd ahc 1 Link to comment
ahc Posted February 22, 2019 Share Posted February 22, 2019 17 hours ago, newbie LAC said: Moderators have permissions. I added Is this coming in a future update? Link to comment
newbie LAC Posted February 23, 2019 Author Share Posted February 23, 2019 Hello, 6 hours ago, Alismora said: Is this coming in a future update? Yes. Next release will include more features Some screenshots 1. Settings 2. Topic view 3. UCP settings ahc 1 Link to comment
LiquidFractal Posted February 28, 2019 Share Posted February 28, 2019 Is this compatible with 4.4? Link to comment
newbie LAC Posted March 1, 2019 Author Share Posted March 1, 2019 Hello, 5 hours ago, liquidfractal said: Is this compatible with 4.4? No. I'll upload new version coming soon Link to comment
ahc Posted March 6, 2019 Share Posted March 6, 2019 On 3/1/2019 at 12:04 AM, newbie LAC said: Hello, No. I'll upload new version coming soon The marketplace listing says this works for 4.4 yes? I just updated your app to the latest version and when someone goes to upload a topic photo, this template error displays within their topic: This displays on our custom theme and the Invision default theme. Disabling the application removes the template error and they can access the topic normally. Link to comment
newbie LAC Posted March 6, 2019 Author Share Posted March 6, 2019 Hello, 2 minutes ago, Alismora said: The marketplace listing says this works for 4.4 yes? I just updated your app to the latest version and when someone goes to upload a topic photo, this template error displays within their topic: I can't reproduce on 4.4.1 Could you give me ACP access? Link to comment
ahc Posted March 7, 2019 Share Posted March 7, 2019 Issue has been resolved! Conflict with another apps coding and the other dev responded promptly with an update, so both are working fine now. Link to comment
Subdreamer Posted March 12, 2019 Share Posted March 12, 2019 This plugin looks like an excellent addition to my site! Is it compatible with IPS 4.4+? Link to comment
newbie LAC Posted March 13, 2019 Author Share Posted March 13, 2019 9 hours ago, Subdreamer said: This plugin looks like an excellent addition to my site! Is it compatible with IPS 4.4+? Hello, On the file page see the compatibility Link to comment
kmk Posted May 31, 2020 Share Posted May 31, 2020 I'm considering buy this, before I would like assure that: 1. Cover for topic page and forum page too? 2. There any demo or website already have it implemented? I would like check how it looks at on the mobile. Link to comment
newbie LAC Posted June 1, 2020 Author Share Posted June 1, 2020 Hello, 14 hours ago, kmk said: 1. Cover for topic page and forum page too? Not sure what you mean. The cover image only displays on the topic page. 14 hours ago, kmk said: 2. There any demo or website already have it implemented? No demo. 14 hours ago, kmk said: I would like check how it looks at on the mobile. I hide the topic cover on mobile But you can use css to display it https://invisioncommunity.com/forums/topic/432553-nb41-topic-cover/?do=findComment&comment=2720246 Link to comment
ahc Posted September 10, 2020 Share Posted September 10, 2020 Hey newbie, I just updated this today after getting the notification via ACP. v1.0.2 Unfortunately, with this app enabled, users are unable to make topics. Members receive the following error after submission: The topic shows in the topic list, but clicking on it throws the same error as above to anyone who tries to view it, including staff. This is the error I get in the logs: Quote OutOfRangeException: (0) #0 /home/***/***/system/Content/Comment.php(402): IPS\Patterns_ActiveRecord::load(NULL) #1 /home/***/***/system/Content/Content.php(417): IPS\Content_Comment->item() #2 /home/***/***/system/Content/Comment.php(187): IPS_Content->checkProfanityFilters(true) #3 /home/***/***/applications/forums/sources/Topic/Post.php(128): IPS\Content_Comment::create(Object(IPS\forums\Topic), '<p>\n\tHi hru all...', true, 'Luxor', NULL, Object(IPS\Member), NULL, NULL, NULL) #4 /home/***/***/init.php(886) : eval()'d code(43): IPS\forums\Topic_Post::create(Object(IPS\forums\Topic), '<p>\n\tHi hru all...', true, 'Luxor', NULL, Object(IPS\Member), NULL, NULL, NULL) #5 /home/***/***/system/Content/Item.php(406): IPS\forums\Topic\cms_hook_Post::create(Object(IPS\forums\Topic), '<p>\n\tHi hru all...', true, 'Luxor', NULL, Object(IPS\Member)) #6 /home/***/***/system/Content/Item.php(133): IPS\Content_Item::createFromForm(Array, Object(IPS\forums\Forum)) #7 /home/***/***/applications/forums/modules/front/forums/forums.php(465): IPS\Content_Item::create(Object(IPS\forums\Forum)) #8 /home/***/***/system/Dispatcher/Controller.php(90): IPS\forums\modules\front\forums_forums->add() #9 /home/***/***/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher_Controller->execute() #10 /home/***/***/index.php(13): IPS_Dispatcher->run() #11 {main} Topic creation works fine without issues when the Topic Cover app is disabled. Link to comment
newbie LAC Posted September 11, 2020 Author Share Posted September 11, 2020 (edited) Hello, 6 hours ago, ahc said: Unfortunately, with this app enabled, users are unable to make topics. Confirmed I'm working on fix Upd. Fixed. Edited September 11, 2020 by newbie LAC ahc 1 Link to comment
ahc Posted September 21, 2020 Share Posted September 21, 2020 On 9/11/2020 at 1:18 AM, newbie LAC said: Hello, Confirmed I'm working on fix Upd. Fixed. Thank you for the fix on the posts. We've run into another issue. Guests who try to register to our site receive an error after they submit their registration form. After long testing and troubleshooting, we've discovered that it only happens when this app is enabled. This is the full log from ACP: Quote REPLACE INTO `core_pfields_content` ( `member_id` ) VALUES ( NULL ) IPS\Db\Exception: Column 'member_id' cannot be null (1048) #0 /home/***/public_html/system/Db/Db.php(979): IPS\_Db->preparedQuery('/*gasrforu_foru...', Array) #1 /home/***/public_html/applications/core/modules/front/system/register.php(627): IPS\_Db->replace('core_pfields_co...', Array) #2 /home/***/public_html/applications/core/modules/front/system/register.php(239): IPS\core\modules\front\system\_register::_createMember(Array, Array, NULL, Object(IPS\Helpers\Form)) #3 /home/***/public_html/applications/core/modules/front/system/register.php(102): IPS\core\modules\front\system\_register->_registrationForm(NULL) #4 /home/***/public_html/init.php(886) : eval()'d code(27): IPS\core\modules\front\system\_register->manage() #5 /home/***/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\front\system\nexus_hook_register->manage() #6 /home/***/public_html/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute() #7 /home/***/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} Backtrace #0 /home/***/public_html/init.php(988): IPS\_Log::log('REPLACE INTO `c...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception)) #2 {main} This is a very critical bug and we have to keep it disabled until this is resolved. The registrations will still go through, however, this bug allows them to bypass email verification and lets them have full access of the website upon leaving the error page. We made several accounts to test this: We used a mixture of real and fake emails. Notice how none of the accounts are awaiting email validation even though they should be. (The cancelled registrations were tests done while the app was disabled.) The test accounts are using fake emails and cannot validate via email, and the two accounts using real email addresses never received an email asking them to validate their account. None of these accounts should have access to the website and should get the "Please confirm your email" page when they log into the site, but I'm able to browse/use the site like a validated user when I log into them. When this app is disabled, registrations go through without the error and they are forced to validate via email as intended. Let me know if you need anymore information! Link to comment
newbie LAC Posted September 21, 2020 Author Share Posted September 21, 2020 Hello, 3 hours ago, ahc said: We've run into another issue. Thank you for detailed report. I'll look into this ahc 1 Link to comment
newbie LAC Posted September 21, 2020 Author Share Posted September 21, 2020 3 hours ago, ahc said: We've run into another issue. I fixed it. If you have ftp access and don't want to wait new version PM me and I'll send you updated file Link to comment
ahc Posted September 25, 2020 Share Posted September 25, 2020 On 9/21/2020 at 9:11 AM, newbie LAC said: I fixed it. If you have ftp access and don't want to wait new version PM me and I'll send you updated file Thank you for the quick fix! I don't mind waiting for the new version to be approved. Link to comment
ImpartialGeek Posted September 4, 2021 Share Posted September 4, 2021 Does this plugin still work with the latest version? Link to comment
ahc Posted December 7, 2021 Share Posted December 7, 2021 @newbie LAC Just wondering if this will be updated for 4.6? We're hitting a snag with this enabled, so we've had to disable it for the time being. Our members/staff cannot create new tabs or edit existing tabs within clubs. Here's what shows in the system logs: ArgumentCountError: Too few arguments to function IPS\forums\_Forum::clubForm(), 1 passed in /home/***/public_html/init.php(903) : eval()'d code on line 166 and exactly 2 expected (0) #0 /home/***/public_html/init.php(903) : eval()'d code(166): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form)) #1 /home/***/public_html/applications/core/modules/front/clubs/view.php(1545): IPS\forums\nbtopiccover_hook_nbTopicCoverForumsForum->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club)) #2 /home/***/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\_view->nodeForm() #3 /home/***/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute() #4 /home/***/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\_view->execute() #5 /home/***/public_html/index.php(13): IPS\_Dispatcher->run() #6 {main} Link to comment
Adriano Faria Posted December 7, 2021 Share Posted December 7, 2021 8 minutes ago, ahc said: Just wondering if this will be updated for 4.6? ahc 1 Link to comment
Recommended Posts