The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Hi guys. I have tried searching for MODS with lots of different phrases but still no result, so I am guessing it isn't possible yet or maybe someone can tell me otherwise. Here's my problem:
I have a trading area on our forum where users can post items for sale. Every now and again someone will come in and post up and advert for their very first post after joining without introducing themselves. My forum members are annoyed that people are using it as a free advert instead of joining in the forum community, but worse still, some people have bought items to find out the guys has taken the money never to be seen again. I have posted warnings and advice but still this happens, so the gerneral concensus was they want me to make it impossible for starting members with less than say 20 posts to post in that one area. I already have the 10 post count limit for emailing members which stopped the spammers so I'm guessing this sort of thing should be possible but I just don't know how to do it myself or cannot find a MOD.
Can anyone help? Thanks in advance.<
I have a trading area on our forum where users can post items for sale. Every now and again someone will come in and post up and advert for their very first post after joining without introducing themselves. My forum members are annoyed that people are using it as a free advert instead of joining in the forum community, but worse still, some people have bought items to find out the guys has taken the money never to be seen again. I have posted warnings and advice but still this happens, so the gerneral concensus was they want me to make it impossible for starting members with less than say 20 posts to post in that one area. I already have the 10 post count limit for emailing members which stopped the spammers so I'm guessing this sort of thing should be possible but I just don't know how to do it myself or cannot find a MOD.
Can anyone help? Thanks in advance.<
نوشته شده در
I've been kicking this around also. Must have minimum of 50 posts and 14 days to Buy/Sell/Trade on the forum. But people don't read and post items for sale anyway. The busier we get (we're growing like wildfire) the more time consuming dealing with these people is, so it would be sweet if they were simply turned down from posting in those forums with less than 50 posts automagically.<
نوشته شده در
What you need to do is turn private forums on and set the authorisation type on the forum you want to restrict access to to "Allowed Member List". Then, in post_info.asp, add a check on the number of posts the member has made when processing their posts and add them to the list for that forum if it equals the requirement.
<
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
<
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
I seem to remember this being done before too... when you searched, did you include the archive?<
نوشته شده در
Shaggy: So post_info.asp is where I need to add code that check for number of posts? Will this not effect all forum areas if I hard code this page to do that? Also, will it only show the forum to the Allowed members list? If this is tha case then it will not help as the area itself is a good draw card to the site and encourages people to become active members.
AnonJr: Sorry mate, I didn't check archived topics. I will do so now.
EDIT... Just spent all morning checking the archive posts and could find nothing there either. Sorry guys.<
AnonJr: Sorry mate, I didn't check archived topics. I will do so now.
EDIT... Just spent all morning checking the archive posts and could find nothing there either. Sorry guys.<
آخرین ویرایش توسط
نوشته شده در
I have not tested this. Add the code in red. Cahnge code in green to the topic number of the topic you wish to protect.
post_info.asp lines 951-6
lines 977-1
<
Code:
if MethodType = "Reply" or MethodType = "ReplyQuote" or MethodType = "TopicQuote" then
'## Forum_SQL
strSql = "SELECT MEMBER_ID, M_LEVEL, M_EMAIL, M_LASTPOSTDATE, M_POSTS, " & strDBNTSQLname
if strAuthType = "db" then
strSql = strSql & ", M_PASSWORD "
end if
Code:
if strPrivateForums = "1" and ForumChkSkipAllowed = 0 then
if not(chkForumAccess(Forum_ID,MemberID,false)) or (rs("M_POSTS")<1 AND TOPIC_ID=15772) then
Go_Result "You are not allowed to post in this forum !", 0
end if
end if
نوشته شده در
Hi phy1729. Thanks for your reply. I am a bit scared to try anything that might not work as I have constant activity on the site as it is a world wide community and can't afford to let it stop working, but my question is it mentions TOPIC_ID as the number I need to change. Is that what the entire "TRADING forum" (The area within the enitire Snitz forums ap that when I created it prompts me to create a new forum) I have is called in the database? It goes by TOPIC_ID as opposed to FORUM_ID? If it is only changing the one topic then I can't really use it as there are probably around 15 new topics added every day.
<
<
نوشته شده در
Ok I'll test it on my forum and all you need to do is change TOPIC_ID to FORUM_ID. I'll let you know how it turns out.<
نوشته شده در
Alright only works if strPrivateForums is 1 so change the second code box to
<
Code:
if strPrivateForums = "1" and ForumChkSkipAllowed = 0 then
if not(chkForumAccess(Forum_ID,MemberID,false)) then
Go_Result "You are not allowed to post in this forum !", 0
end if
end if
if (rs("M_POSTS")<20 AND FORUM_ID=15772) then
Go_Result You are not allowed to post in this forum !", 0
end if
آخرین ویرایش توسط
نوشته شده در
Awesome thanks!
Question though, I have 6 or so forums I need to check for, what's the syntax for that? Do I just put OR in between them? <
Question though, I have 6 or so forums I need to check for, what's the syntax for that? Do I just put OR in between them? <
آخرین ویرایش توسط
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...