PDA

View Full Version : 2 things really


wolfe
09-30-2002, 12:49 AM
1 is there a way to add a table in the user table or in its own.

where i can have a spam post counter.

i have a forum where i let members spam to get there posts up but i want to know how much they have spammed so can this be done and update it with the posts that are alreay posted.

also can i add a block on the forum so users can only post so much in that forum a day and they get an error message.

Xenon
09-30-2002, 10:05 AM
try the searchengine

a spam post counter must be in release forums

and a block request was answered in the requestforum i think

Erwin
09-30-2002, 10:30 AM
Do you mean add a column in the user table?

Run this query:

ALTER TABLE user ADD spamcount

That would add a column called "spamcount".

You can also use a custom user profile field for this, which is easier to handle. Just go to the Admin CP, and add a custom user profile field. Make it not editable and not viewable, so only mods can see it in the CP. You can then add to it for spamming.

Alternatively, use g-force's excellent warning hack, which does this all for you and much more.

wolfe
09-30-2002, 10:32 AM
whats the link d00d

Erwin
09-30-2002, 10:55 AM
You do realize that there is a Search feature here. :)

Here's the link:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=43265

g-force2k2
09-30-2002, 10:57 AM
wolfe you can also try this one ;)

https://vborg.vbsupport.ru/showthread.php?s=&threadid=40648

it includes a spam counter and a way to define it... well if you want you can use certain pieces from the hack to get the effect you're looking for...

regards...

g-force2k2

wolfe
09-30-2002, 12:59 PM
d00d i don't want to kill the spam or stop it i am allowing people to do spam but i want to set it so they can only do as much as i allow a day is this possible

g-force2k2
09-30-2002, 04:32 PM
wolfe did you read the post?

i said that you can use certain pieces from the hack to get the effect that you're looking for... i never stated to 'use' the hack... :p

regards...

g-force2k2

wolfe
09-30-2002, 08:20 PM
oh lol sorry d00d can u tell me which part i aint very good with PHP :(