wimg Posted December 23, 2010 Share Posted December 23, 2010 Sorry, I can't get it to work with 3.1.4 completely. ` Change author: works fine Copy topic: works fine Move topic: Seems to work, but clicking th eMove thsi topic button results in: Fatal error: Call to a member function topicMove() on a non-object in /home/fpnadmin/public_html/forum/admin/applications/forums/modules_public/moderate/moderate.php on line 2518 Delete topic: doesn't work, results in an error screen with the message: [#4030] You appear to have submitted an invalid forum. Rename topic: seems to work, but the fields aren't all displayed properly. When trying to edit, however, I do get a database error (driver error). Set invisible: generates a driver error straight away. Pin topic: Fatal error: Call to a member function topicPin() on a non-object in /home/fpnadmin/public_html/forum/admin/applications/forums/modules_public/moderate/moderate.php on line 885 Close topic:Fatal error: Call to a member function topicClose() on a non-object in /home/fpnadmin/public_html/forum/admin/applications/forums/modules_public/moderate/moderate.php on line 1966 Any ideas, tips or suggestions? Thank you in advance! Kindest regards, Wim Great stuff, got it to work now. I had to disable One-click Ban, and now everything is fine. Thank you very much for sharing this great add-on! Kindest regards, Wim Link to comment
Adriano Faria Posted January 10, 2011 Author Share Posted January 10, 2011 Hook updated to fix the bug when changing topic author. If you use another APP as first page (such as portal or IP.Content), you were redirected to the first page and the author wasn't changed. Link to comment
tekguru Posted January 10, 2011 Share Posted January 10, 2011 What is the upgrade procedure? Link to comment
Adriano Faria Posted January 10, 2011 Author Share Posted January 10, 2011 Just reinstall the XML file in Manage Hooks. Link to comment
tekguru Posted January 10, 2011 Share Posted January 10, 2011 No need to reupload the files at all? Link to comment
Adriano Faria Posted January 10, 2011 Author Share Posted January 10, 2011 No. It was just a template edit. Link to comment
tekguru Posted January 11, 2011 Share Posted January 11, 2011 My thanks :) Updated with no issues, Link to comment
Tony W Posted January 12, 2011 Share Posted January 12, 2011 Awesome, thank you very much. Most used hook on my forum. Link to comment
elendell Posted January 13, 2011 Share Posted January 13, 2011 Thanks Adriano ! :thumbsup: Link to comment
BognorRidges Posted January 27, 2011 Share Posted January 27, 2011 I don't trust non of my moderators adriano.. So you must have group permisions for that hook... Sorry but this is the truth,and is so nice and cool hook :) Link to comment
Adriano Faria Posted January 28, 2011 Author Share Posted January 28, 2011 But it's based on moderator's permission! If the moderator has no permission to close or move topics, this option won't appear. Link to comment
Isoka Posted February 11, 2011 Share Posted February 11, 2011 It is possible to allow to the supermod to change topic author? Link to comment
Adriano Faria Posted February 11, 2011 Author Share Posted February 11, 2011 In adminapplicationsforumsmodules_publicadvancedmanage.php, methods _showChangeAuthorForm and _saveNewAuthor, find: if ( !$this->memberData['g_access_cp'] ) { $this->registry->getClass( 'output' )->showError( 'no_permission' ); } Change to: if ( !$this->memberData['g_is_supmod'] ) { $this->registry->getClass( 'output' )->showError( 'no_permission' ); } Link to comment
Adriano Faria Posted February 11, 2011 Author Share Posted February 11, 2011 One more edit! Open the XML for this hook and find: <if test="$this->memberData['g_access_cp']"> <li><a href='{parse url="app=forums&module=advanced&section=manage&f={$topic['forum_id']}&t={$topic['tid']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mudar_autor_title']}'><img src='{$this->settings['img_url']}/user.png' alt='{$this->lang->words['mudar_autor_title']}' title='{$this->lang->words['mudar_autor_title']}' /> {$this->lang->words['mudar_autor_title']}</a></li> </if> Change to: <if test="$this->memberData['g_is_supmod']"> <li><a href='{parse url="app=forums&module=advanced&section=manage&f={$topic['forum_id']}&t={$topic['tid']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mudar_autor_title']}'><img src='{$this->settings['img_url']}/user.png' alt='{$this->lang->words['mudar_autor_title']}' title='{$this->lang->words['mudar_autor_title']}' /> {$this->lang->words['mudar_autor_title']}</a></li> </if> Link to comment
Isoka Posted February 11, 2011 Share Posted February 11, 2011 i have ipb3.1.4 and also with this modification the group that are super mod can not change topic author Please help me Link to comment
Isoka Posted February 11, 2011 Share Posted February 11, 2011 oh thank's i do not watch your second post EDIT: thank's so much ^__________^ Link to comment
Mysterioux Posted June 18, 2011 Share Posted June 18, 2011 This doesnt work with 3.1.4 :( Link to comment
Mysterioux Posted June 19, 2011 Share Posted June 19, 2011 Yes it works. Im sorry for not stating whats not working. the "Change Author & Copy Topic" is not working. Link to comment
Adriano Faria Posted June 19, 2011 Author Share Posted June 19, 2011 Did you upload the PHP file in zip archieve to your host ? Link to comment
Mysterioux Posted June 19, 2011 Share Posted June 19, 2011 Oh ffs! i uploaded tons of stuff yesterday, i forgot to upload that folder. Sorry! it works perfectly now. Link to comment
Coach Young Posted August 6, 2011 Share Posted August 6, 2011 Does this work with 3.2? Link to comment
Adriano Faria Posted August 6, 2011 Author Share Posted August 6, 2011 No, there's a 3.2 version already released for this for a month or more... Just search for "Easy Topic Moderation" and you'll find it. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.