wimg Posted December 23, 2010 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
Adriano Faria Posted January 10, 2011 Author 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.
Adriano Faria Posted January 10, 2011 Author Posted January 10, 2011 Just reinstall the XML file in Manage Hooks.
Adriano Faria Posted January 10, 2011 Author Posted January 10, 2011 No. It was just a template edit.
Tony W Posted January 12, 2011 Posted January 12, 2011 Awesome, thank you very much. Most used hook on my forum.
BognorRidges Posted January 27, 2011 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 :)
Adriano Faria Posted January 28, 2011 Author 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.
Isoka Posted February 11, 2011 Posted February 11, 2011 It is possible to allow to the supermod to change topic author?
Adriano Faria Posted February 11, 2011 Author 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' ); }
Adriano Faria Posted February 11, 2011 Author 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>
Isoka Posted February 11, 2011 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
Isoka Posted February 11, 2011 Posted February 11, 2011 oh thank's i do not watch your second post EDIT: thank's so much ^__________^
Mysterioux Posted June 19, 2011 Posted June 19, 2011 Yes it works. Im sorry for not stating whats not working. the "Change Author & Copy Topic" is not working.
Adriano Faria Posted June 19, 2011 Author Posted June 19, 2011 Did you upload the PHP file in zip archieve to your host ?
Mysterioux Posted June 19, 2011 Posted June 19, 2011 Oh ffs! i uploaded tons of stuff yesterday, i forgot to upload that folder. Sorry! it works perfectly now.
Adriano Faria Posted August 6, 2011 Author 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.