continienzo
2008-04-14T01:12:28Z
Hi, what about to give to the admin the possibility to ban the signature or for example the homepage link for a specific user?
For example i would like to don't give the possibility to insert a signature or a homepage to an user that constantly put in them spam!!
Is this possible?
Kinds regards
Sponsor
test2005
2008-04-14T12:39:44Z

For an easy "quick fix", try a simple REPLACE string function, feed by an XML file. In the signature page, in the save event, stick in a function to read an "exclusion" XML file and replace "unwanted" content with whatever you want!


.....the man in black fled across the desert..........and the gunslinger followed.....
continienzo
2008-04-14T21:29:15Z
test2005 wrote:


For an easy "quick fix", try a simple REPLACE string function, feed by an XML file. In the signature page, in the save event, stick in a function to read an "exclusion" XML file and replace "unwanted" content with whatever you want!



Yes, of course i could create an Xml and read it, but not for az replace in the signature, my idea was replace all the signature for 1 or more specifics users. Maybe the admin have a check in the user options to disable the signature for that user...
Don't know if I explained good 🙂
test2005
2008-04-17T01:40:01Z

So you want ot BAN signatures BY USER ?
.....the man in black fled across the desert..........and the gunslinger followed.....
continienzo
2008-04-17T02:49:10Z
test2005 wrote:


So you want ot BAN signatures BY USER ?


I (as admin) would like to check/uncheck if a user can have a signature shown or not.. like for the homepage.
Cause for example an user put in the signature spam, yes I should get ride of it, but he can re-put it...
So for that user could be usefull check the "unable signature!"
test2005
2008-04-17T21:56:42Z
Well, you would have to modify the administrative pages dealing with users. Add in a checkbox that Admin/Mods can set. Also add the assosiated bit value to the users table (IE: BanSignature, bit). Then modify the SP retreiving the signature and add in WHERE clause (WHERE AllowSignature = -1) so if the user is banned the SP returns nothing.

And/Or

On the user profile page, add in a line of code to check this flag and, if true, hide the signature input field (don't forget to clear it's text value).

HTH

.....the man in black fled across the desert..........and the gunslinger followed.....
continienzo
2008-04-17T22:02:40Z
test2005 wrote:

Well, you would have to modify the administrative pages dealing with users. Add in a checkbox that Admin/Mods can set. Also add the assosiated bit value to the users table (IE: BanSignature, bit). Then modify the SP retreiving the signature and add in WHERE clause (WHERE AllowSignature = -1) so if the user is banned the SP returns nothing.

And/Or

On the user profile page, add in a line of code to check this flag and, if true, hide the signature input field (don't forget to clear it's text value).

HTH



Pratically yes, you got it mate :)
So for the users that always put spam in the signature it will appear the string (Signature banned by moderator) for example.

Thanks.
Enzo
oh help
2008-05-05T10:41:58Z
Would be easier if you could put them in a group that can NOT show personal details msn/homepage etc (as i have just had to manually do it) ... we have a similar problem of people trying to take our users for their message boards etc ...:(
Excuse typing, I may be one handed, fighting off a toddler that wishes to type too :)
Thanks to all those that work on the code, but we would like LOTS of changes, when is the new version? 🙂
test2005
2008-05-05T11:49:19Z

Either assigning this to specific user, or assigning a group, either way, your dealing with a single person. I guess it depends on your situation!

:-P
.....the man in black fled across the desert..........and the gunslinger followed.....

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved