Version: 1.00, by magnus
Developer Last Online: Feb 2012
Version: 3.0.0
Rating:
Released: 01-27-2004
Last Update: Never
Installs: 15
No support by the author.
Ban Ignored/Specified Users from Replying v2.0
Description
This hack will prevent ignored users from replying to your threads, as well as give you the option to ban additional users without adding them to your ignore list.
Information
This hack was previously titled "User-Defined Posting Bans (Ban specified users from replying)"
Tested on RC4, should work on RC1+
Version History
v1.0 - Initial Release
v2.0 - Added auto-ban of ignored users, created installer script for convenience
If nothing else, I can wait to see someone else with RC4 give it a try.
I am on RC4!
It misses a sentence one would say (see screen) another thing, at the time of the edition of a station or the user was banished, one cannot nothing to modify (screen2)
It misses a sentence one would say (see screen) another thing, at the time of the edition of a station or the user was banished, one cannot nothing to modify (screen2)
You're missing a sentence because either a phrase is missing, more specifically:
[SQL]INSERT INTO `phrase` VALUES (17189, 0, 'banned_users_desc', 'List of users, separated by commas, who cannot reply to this thread. (ie. user1,user2)', 152);[/SQL]
or you forgot to add 'postingbans' to the $phrasegroup variable in newthread.php.
Also, you cannot modify the banned users by simply editing the first post -- you must edit the thread itself via "Thread Tools" -> "Edit Thread".
not, I have to check I have to add this request sql well
PHP Code:
INSERT INTO `phrase` VALUES (17189, 0, 'banned_users_desc', 'List of users, separated by commas, who cannot reply to this thread. (ie. user1,user2)', 152);
indeed, I had to forget to add:
PHP Code:
'postingbans'
veiled, after addition of that, I obtains this when I click on "newthread":
PHP Code:
Database error in vBulletin 3.0.0 Release Candidate 4:
Invalid SQL:
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_threadmanage AS phrasegroup_threadmanage,
language.phrasegroup_posting AS phrasegroup_posting,
language.phrasegroup_postingbans AS phrasegroup_postingbans,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
FROM user AS user
INNER JOIN userfield AS userfield ON (user.userid = userfield.userid)
INNER JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
WHERE user.userid = 1
mysql error: Champ 'language.phrasegroup_postingbans' inconnu dans field list
mysql error number: 1054
AND, you known as to find this:
PHP Code:
'title' => STR
But there are 2 text of this: ligne 472 and ligne 987, is it necessary to make the changes 2 times or right at the first ?
I remake the installation supplements 2 times, while checking well to have executer all the requests on virgin Rc4 of hack and your hack does not function, I always have same error SQL.
Then, please, take your txt file, to install Rc4 new locally and known as moa if you arrived has to make it function bus me, I do not arrive there !
I remake the installation supplements 2 times, while checking well to have executer all the requests on virgin Rc4 of hack and your hack does not function, I always have same error SQL.
Then, please, take your txt file, to install Rc4 new locally and known as moa if you arrived has to make it function bus me, I do not arrive there !
I just installed this on my recently upgraded RC4 install, in fact, I was so confident I did it on my live forum. I followed my instructions, step-by-step, and it works flawlessly.
I would be glad to help you fix this, if you'd like. I'm sure it's a simple mistake. Could you create a temporary login/pass so I could check the edited files?
I just installed this on my recently upgraded RC4 install, in fact, I was so confident I did it on my live forum. I followed my instructions, step-by-step, and it works flawlessly.
I would be glad to help you fix this, if you'd like. I'm sure it's a simple mistake. Could you create a temporary login/pass so I could check the edited files?
the problem, I work locally for the moment, I waits left the version Gold de Vbulletin
I will test once again because the doubt takes to me, thank you has you to grant your time to me, I appreciate Socrate friendship
I see that you have to modify your joined file, you should still checking it because the request which follows does not exist, this:
Code:
// get special phrase groups
$phrasegroups = array('threadmanage');
does not exist in the template "newthread.php"
your texte :
PHP Code:
*** File: newthread.php
Find:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage');
##############################################################
Replace with:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage', 'postingbans');
##############################################################
I see that you have to modify your joined file, you should still checking it because the request which follows does not exist, this:
Code:
// get special phrase groups
$phrasegroups = array('threadmanage');
does not exist in the template "newthread.php"
your texte :
PHP Code:
*** File: newthread.php
Find:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage');
##############################################################
Replace with:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage', 'postingbans');
##############################################################
Man, I need to stop drinking early in the afternoon. Yes, I modified the file earlier. That should be 'postings.php' -- not 'newthread.php'. It's fixed now. The added line, however, has no effect on functionality. It simply allows phrases to be used when editing the thread via Thread Tools.