Author |
Message |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Mon Oct 23, 2006 9:15 am |
  |
Hi,
I've just finished porting the PHPBB "Approve Posts" mod to Nuke 7.x (dev done on 7.6).
This mod allows you to specify forums, topics and users to place on moderation (ie: to have their posts approved by a moderator before being publicly viewable). You can moderate new posts, replies and edits. Other options include notification of moderators when a post needs approval and notification of users when their post is approved. You can see the original PHPBB port here.
Use at your own risk and test it first please, but you are entitled to a full refund of the price you paid for it
Download the Nuke port here
Not sure where to put this post or if it should be an announcement - moderators please move or make a news item as appropriate. Thanks! |
|
|
   |
 |
v3x
Support Mod


Joined: Oct 19, 2004
Posts: 1041
Location: UK
|
Posted:
Thu Oct 26, 2006 4:37 am |
  |
|
    |
 |
nuevonuke
Corporal


Joined: Aug 30, 2005
Posts: 64
|
Posted:
Fri Nov 03, 2006 2:48 pm |
  |
Thank you very much by the work. It took to time looking for a MOD of this type to moderate some conflicting users. He is very interesting and I am going to prove if it works. |
|
|
   |
 |
mike1985
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6
|
Posted:
Mon Dec 18, 2006 2:14 am |
  |
very nice and easy to install mod, work 99.9%, except when the mod/admin receives a PM telling him there is a topic they need to approve of, the linking system is wrong, it seems alot like the regular linking to what phpbb has, and not to what bbtonuke forums use, can you help me on that? i think that the problem is in the posting.php file where the code to send the link out is...
thanks |
|
|
   |
 |
mike1985
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6
|
Posted:
Tue Dec 19, 2006 7:20 pm |
  |
anyone know what i am talking and willing to help please?
Thanks |
|
|
   |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Wed Dec 20, 2006 8:37 am |
  |
Oh, yes, I noticed that too. I'll fix it tonight and post a fix for it in this thread. |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Wed Dec 20, 2006 12:09 pm |
  |
Right, I know what the fix is but it's going to take me more time than I have right now to rewrite the code block.
I'll do it sometime over christmas and re-release the mod.
But in the meantime, if you're handy with PHP, open the Install-Nuke.txt included in the zip and find:
// Begin Aprove_Mod Block : 5
in there you'll see the code that generates the emails and private messages.
To specifically, quick-hack fix the moderator pm notification find:
Code: |
$privmsg_message = $lang['approve_notify_link'] . "\n" . $server_protocol . $server_name . $server_port . $script_name . '?'. POST_POST_URL . '=' . $post_id . '#' . $post_id; |
and change it to:
Code: |
$privmsg_message = 'http://www.YOURSITE.COM/modules.php?modules.php?name=Forums&file=viewtopic&p='.$post_id; |
obviously changing the domain to your own website.
And of course this only changes the installation mod file, you'll need to make this mod to your forum code.
I'll post a full fix shortly, if you don't understand what I'm on about. |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
mike1985
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6
|
Posted:
Wed Dec 20, 2006 2:17 pm |
  |
as a quick fix it works fine, looking forward to the full fix of the linking, also noticed that in the admin panel, there are some bad links when trying to add a user to moderate, or viewing there profile in the admin panel of this mod.
thanks... |
|
|
   |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Tue Mar 22, 2011 6:16 am |
  |
I know this post is ages old but here is the fix for the E-Mail Links (Mind you the moderate link takes you to login first, its what is required on my site):
Open: Forums/posting.php
Replace:
Code: |
$emailer->msg = $board_config[\'sitename\'] . \"\\n\" . $lang[\'approve_notify_link\'] . \"\\n\" . $server_protocol . $server_name . $server_port . $script_name . \'?\'. POST_POST_URL . \'=\' . $post_id . \'#\' . $post_id;
// $emailer->msg .= \"\\n\\n\" . $lang[\'approve_notify_approve_link\'] . \"\\n\" . $server_protocol . $server_name . $server_port . $script_name . \'?\'. POST_POST_URL . \'=\' . $post_id . \'&app_p=\' . $post_id . \'#\' . $post_id;
|
With this:
Code: |
$emailer->msg = $board_config[\'sitename\'] . \"\\n\" . $lang[\'approve_notify_link\'] . \"\\n\" . $server_protocol . $server_name . $server_port . \'modules.php?name=Forums&file=viewtopic&p=\'. $post_id;
$emailer->msg .= \"\\n\\n\" . $lang[\'approve_notify_approve_link\'] . \"\\n\" . $server_protocol . $server_name . $server_port .\'modules.php?name=Your_Account\';
|
|
|
|
   |
 |
LadyCherry
Lieutenant


Joined: Aug 12, 2003
Posts: 190
|
Posted:
Tue Mar 22, 2011 6:20 am |
  |
not sure why the board is tossing backslashes into my post grrr |
|
|
   |
 |
Slackervaara
Captain


Joined: Sep 13, 2003
Posts: 355
|
Posted:
Sat Apr 02, 2011 9:36 pm |
  |
Thanks, LadyCherry!
Your fix worked fine! |
|
|
   |
 |
doffer
Nuke Soldier


Joined: Nov 02, 2007
Posts: 17
Location: Holland
|
Posted:
Thu Jul 14, 2011 11:01 am |
  |
I just finished the installation of this mod.. I have enabled the options in the cp of the forum.. so everything seems to be okey
but the users still can post without my approve.. the new topics and replay are being on the forum before I can approve...
do I have to do somthing els except enable the options in the forum cp ? the installatie of the mod went good and I dont see errors.
any help would be great
thanks |
|
|
   |
 |
Slackervaara
Captain


Joined: Sep 13, 2003
Posts: 355
|
Posted:
Thu Jul 14, 2011 6:49 pm |
  |
First you have to enable this mod in the Forum administration for each forum part, which is pretty labourius, if you have many sections in the forum.
Then to initiate the Mod you have to click om Moderate user for a certain user or activate it for a certain thread. After that it worked for me, but Moderators had to use SubSilver theme of the forum, because older forum themes for older themes for PHP-Nuke did not work for my moderators.
Also for me initially this Mod did not work properly, so I uploaded the files again and after that it worked. I had a test site on my PC, where I tested the files first, so I knew they were working. |
|
|
   |
 |
doffer
Nuke Soldier


Joined: Nov 02, 2007
Posts: 17
Location: Holland
|
Posted:
Fri Jul 15, 2011 11:26 am |
  |
it works now.. but I see many broken icons/links... and I wonder how can I refuse a new topic/post ?
I wish the maker can make a fixed version because it is a great mod |
|
|
   |
 |
xiaozhengmmm

Joined: Sep 23, 2014
Posts: 0
|
Posted:
Mon Sep 22, 2014 11:53 pm |
  |
|
   |
 |
|