![]() |
i will try
/edit. yes enabling the view forum restriction option fixed it! thank you very much. |
You're welcome.;)
|
Fab...just what I need. I've had an influx of spammers join lately posting rubbish. This should slow them down a little.
|
There are a few issues with the PM limitations part of this add-on (they are trivial to circumvent), please see my post here:
https://vborg.vbsupport.ru/showpost....&postcount=178 |
due to a rash of spammers showing up recently and sending PM's to my membrs are they've met their posts count requirements I'd like to extend this mod to also include a minimum number of days that someone must be a forum member before they can send PM's.
can someone give me some guidance as to how to add this code? thanks in advance. |
Quote:
Code:
$min_days = 3; Then add "AND ($days_registered >= $min_days)" in the appropriate places. You could also create a new option and use it to set $min_days (or in place of $min_days) instead of using a constant. |
Quote:
thanks in advance. |
Quote:
I don't want to post the entire solution because I've been told some mod authors don't like that. |
well I did find this module that looks like the once that needs to be modifed
PHP Code:
|
OK, if you create a new options called apboupc_pm_days and a new phrase called apboupc_pm_note_days, you might do something like this:
PHP Code:
|
tried this to no avail...
PHP Code:
|
That looks like maybe it would work but I think you have a paren problem. I think that one by itself under the word "split" should go down one line so that $min_days has two after it.
Edit: except one other thing...if you were to set $vbulletin->options['apboupc_pm_amount'] option to 0 it wouldn't kick in even if they days registered was too low. |
thanks - but I don't think so....unless I'm really missing something here:
here's the standard code - I did not change the original condition in the if statement with the ANDS, I just spread it out to make it more readable. PHP Code:
PHP Code:
you wrote: Edit: except one other thing...if you were to set $vbulletin->options['apboupc_pm_amount'] option to 0 it wouldn't kick in even if they days registered was too low. you are correct - I have it set to 15 and I'm the only person who touches the admin panel so this is not a concern of mine. ps: thank you for you help thus far - it is much appreciated. |
Well, it's obvious something's wrong with the parens just from looking at these lines:
Code:
or ($days_registered <= $min_days) For it to be correct, the closing paren for the very first opening one after 'if' has to be the last thing before the '{', and you can see that it's not. |
thanks for the fast reply. I fail to see what I'm missing for instance:
PHP Code:
|
Quote:
That's not correct syntax. An if statement has to be Code:
if (expr) so all parts of the expression have to be inside the outer set of parentheses. What you have is Code:
if (expr) or (expr) |
kh99 - thank you for all your help. trying to insert the code into the mod was taking too long so I just added a few lines to code to private.php - not my first choice of how to do things but it works for now and perhaps 4.0 has a mod I can use when I upgrade soon.
|
This mod is awesome...thanks for you work on this!
Quick question: Can I use this mod in conjunction with VB paid subscriptions? I only allow new threads to be created if a user has X number of posts (this mod works great for that). But if a member chooses to do so, they can pay to be bumped up to a usergroup that is allowed to create new threads. Just I guess I'm really asking which of the two overrides the other....usergroups vs. Cyb-Advanced Perms Thx Brandon |
I have identified 2 bugs on this product. Hope Valter or any other programmer could share with us the patch instructions:
[BUG 1] If you have enabled the restriction "Post Links/Images/emails" with a minimum post count of X (we'll use X=5 in this example) then a member with less than 5 posts is in fact unable to post any link. But what happens when he wants to report a post? The system will allow him to send the report, however it will not get posted on the moderators forum. Guess why? Yes, because the reports contain links in their body and since this member has lees than 5 posts the system will prevent his report from being posted. Instead of posting the report on the predefined forum it is being sent to all the moderators through email which isn't the expected behavior. [BUG 2] If you have enabled the restriction "Post Links/Images/emails" with a minimum post count of X (we'll use X=5 in this example) then a member with less than 5 posts is in fact unable to post any image. But what happens if our smart member makes use of "https" in their image link instead of "http"? Something like this: https://vborg.vbsupport.ru/. Answer is easy: the image will get posted bypassing the restriction of the 5 minimum posts to post images. Unfortunately 4.4 is the latest vB 3.x version of this mod. The current version is 5.2.1 but only available for vB 4.x series. I don't know if version 5.2.1 still have these bugs but maybe the programmer want to check. Please fix these bugs and share with us the patch instructions. |
Valter or any other programmer could fix those bugs please?
|
thanks for sharing this mod
|
The stop links for users is exactly what I've been looking for! I've tried numerous different ones on http://www.saverscene.com.au/forum.php - but they all flash up the message so fast unless you know what it says no one has time to read it and real users tried posting and then just left.
With this mod they actually know what's happening and real users stay around, spam bots get blocked. Perfect!!! |
Hi, is there any similar product for VB 4.x ? Thanks
|
Quote:
|
How would I go about adding iTrader? I want it where a user cannot use iTrader before they have at least 10 posts.
|
can we do a pay with a tweet / pay with a like integration?
Allow users to download only after they tweet or like it? |
It would be great if there is an option for inactive users, who had many posts earlier but now inactive. So, that you can put restrictions on those who have less than 1 post per week for example, and restrict them for a day.
|
can u please add option
Usergroup can not creat new thread or post before *** hourse of last post in some forums another option Usergroup less than **** post they can not be creat new thread or post before approved by management in some forums any upgrade for 3.8.8 |
i think its available for vBulletin 4.x.x also can someone provide me link and its fully compatible with latest version ?
|
Quote:
|
thanks forewer vBulletin :)
|
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|