PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
fredbloggs
New Member
New Member


Joined: Apr 01, 2008
Posts: 10

PostPosted: Tue Apr 01, 2008 8:05 am Reply with quote Back to top

Hello all, I migrated from a phpBB2.xx Forum to plain vanilla PHPNUKE v8.0 sometime ago (never again!) and I have a couple of features that I could do with implementing if anyone can help please?

Sometimes a member or two may get a bit "excited" and I used to be able to suspend their posting rights for a few days or hours in phpBB2 to allow time to "cool off". I do not seem to be able to find a way to do this in the phpBB/phpnuke embedded version of the Forum script. The Forum is v2.19, I believe.

Can anyone suggest a way to do a temporary suspension of posting rights please? I had thought about changing a members password but this means more work for an already overstretched admin. The admin would have to remember to send the member his new password when the suspension was finished etc.... Any ideas please? Thanks! Cool
View user's profile Send private message
bprsk8r4272
Regular
Regular


Joined: Jan 23, 2007
Posts: 86
Location: Rochester, Ny

PostPosted: Tue Apr 01, 2008 8:14 am Reply with quote Back to top

phpBB2 doesnt come with it built in but there is a mod i believe on there forums you can try to install it and see if it will work but make a backup first.
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
fredbloggs
New Member
New Member


Joined: Apr 01, 2008
Posts: 10

PostPosted: Tue Apr 01, 2008 8:16 am Reply with quote Back to top

Wow, that was quick! I wasn't sure if a phpBB2.xx mod would work on a "nuked" version. Thanks, I reckon it's worth a try. We did have this functionality in the "standalone" phpBB2.xx we had, I can't thiunk if it was a mod or not though!

Thank you!
View user's profile Send private message
Susann
Spouse Contemplates Divorce


Joined: Dec 19, 2004
Posts: 2176
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Tue Apr 01, 2008 8:22 am Reply with quote Back to top

For example I had for a limited time the Jail mod/Bantron mod installed and it worked more or less.
Users can still login but they donīt see anything in your forums and they canīt use private messages or post. There are a few bugs in this mod but it works.
You īll find at phpBB some other mods wich bans temporary. Maybe they work also with BB2Nuke with some modifications.


Last edited by Susann on Tue Apr 01, 2008 8:26 am; edited 1 time in total
View user's profile Send private message Visit poster's website
fredbloggs
New Member
New Member


Joined: Apr 01, 2008
Posts: 10

PostPosted: Tue Apr 01, 2008 8:24 am Reply with quote Back to top

Thank you Susann, I'll go take a look over there. Thanks for the great support!
View user's profile Send private message
fredbloggs
New Member
New Member


Joined: Apr 01, 2008
Posts: 10

PostPosted: Tue Apr 01, 2008 9:03 am Reply with quote Back to top

fredbloggs wrote:
Thank you Susann, I'll go take a look over there. Thanks for the great support!
Hmmm, the "Jail mod" link is broken at-
Only registered users can see links on this board!
Get registered or login to the forums!


There is this little hack (below) which, if it works, would suit me just fine! No idea if it is anything like compatible with a nuked Forum, I guess I'll just have to try it and find out. Thanks.

Quote:
## MOD Title: Ban_User_from_Posting
## MOD Author: Noobarmy <chip_anthony@hotmail.co.uk> (Anthony Chu)
Only registered users can see links on this board!
Get registered or login to the forums!

## MOD Description: Adds a function to stop a user from posting
## MOD Version: 0.1.0
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit:
## Included Files:
## License:
Only registered users can see links on this board!
Get registered or login to the forums!
GNU General Public License v2
##############################################################
## For security purposes, please check:
Only registered users can see links on this board!
Get registered or login to the forums!

## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at
Only registered users can see links on this board!
Get registered or login to the forums!

##############################################################
## Author Notes:
## (none)
##############################################################
## MOD History:
##
## 2006-05-29 - Version 1.0.0
## - Initial Coding complete
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
ALTER TABLE phpbb_banlist ADD ban_userid_post mediumint(Cool
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]------------------------------------------
#
if (!defined('IN_PHPBB'))
{
die('Hacking attempt');
}
#
#-----[ AFTER ADD ]------------------------------------------
#
//find out if user is banned from posting. if true then error message will appear
include($phpbb_root_path . 'includes/banned.'.$phpEx);
if banned(($userdata['session_logged_in']) ? $userdata['user_id'] : '')
{}
else{
//user isn't banned so this can continue
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE ADD ]------------------------------------------
#
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
View user's profile Send private message
slackervaara
Worker
Worker


Joined: Aug 26, 2007
Posts: 105

PostPosted: Tue Apr 01, 2008 1:42 pm Reply with quote Back to top

Approx 5-10 % of my members that registers can't access forums at all. This is caused by that they upon registration of some reason is becoming inactive user i.e user_active is 0 instead of 1. In Forum admin you can search for a member and change that member to inactive and he will be blocked from forum and private messages. You can also change this with phpMyAdmin.
View user's profile Send private message
fredbloggs
New Member
New Member


Joined: Apr 01, 2008
Posts: 10

PostPosted: Wed Apr 02, 2008 1:16 am Reply with quote Back to top

slackervaara, thank you. Yes, I recall that in the "standalone" phpBB2.xx that I used, that is exactly what we used to do. The functionality is broken in the nuked version that I have in my phpnuke8.0 website. It could be something that happened in the database conversion from phpbb to phpnuke. Thank you for the comment it has given me a new avenue to explore. Regards.
View user's profile Send private message
Susann
Spouse Contemplates Divorce


Joined: Dec 19, 2004
Posts: 2176
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Apr 02, 2008 5:56 am Reply with quote Back to top

The prefix phpbb_ doesnīt exist in Nuke so you need to change this always whenever you try out a non converted mod.
The Jail mod is old and contains some bugs quess thats the reason why he was removed but there are other mods e.g. Yellow Card mod" etc. so just try some out and donīt forget to backup all your files and the database table.
View user's profile Send private message Visit poster's website
fredbloggs
New Member
New Member


Joined: Apr 01, 2008
Posts: 10

PostPosted: Wed Apr 02, 2008 6:34 am Reply with quote Back to top

Thank you Susann, appreciated very much.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest Đ 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is Đ copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum