You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Mod Ported: Approve Posts mod [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Mon Oct 23, 2006 9:15 am Reply with quoteBack to top

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 Smile

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!
Find all posts by EndeavourView user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Thu Oct 26, 2006 4:37 am Reply with quoteBack to top

Great work!

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
nuevonuke
Corporal
Corporal


Joined: Aug 30, 2005
Posts: 64


PostPosted: Fri Nov 03, 2006 2:48 pm Reply with quoteBack to top

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.
Find all posts by nuevonukeView user's profileSend private message
mike1985
Nuke Cadet
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6


PostPosted: Mon Dec 18, 2006 2:14 am Reply with quoteBack to top

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
Find all posts by mike1985View user's profileSend private message
mike1985
Nuke Cadet
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6


PostPosted: Tue Dec 19, 2006 7:20 pm Reply with quoteBack to top

anyone know what i am talking and willing to help please?

Thanks
Find all posts by mike1985View user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Wed Dec 20, 2006 8:37 am Reply with quoteBack to top

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.
Find all posts by EndeavourView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Wed Dec 20, 2006 12:09 pm Reply with quoteBack to top

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.
Find all posts by EndeavourView user's profileSend private message
mike1985
Nuke Cadet
Nuke Cadet


Joined: Dec 18, 2006
Posts: 6


PostPosted: Wed Dec 20, 2006 2:17 pm Reply with quoteBack to top

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...
Find all posts by mike1985View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.408 Seconds - 284 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::