Limiting No. of Description Characters
Limiting No. of Description Characters remaining per usergrp.
Version: 5.1.38
URL:
|
tradenet
Forum Regular Usergroup: Customer Joined: Oct 14, 2004 Total Topics: 45 Total Posts: 111 |
Posted 06/28/10 - 7:30 AM:
Is it possible to limit or adjust the no. of characters remaining per usergroup for a listing description? eg. Usergroup "Member" = 500 characters remaining, or if user is a member of Usergroup "Premium Member" = 1000 characters remaining |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 07/01/10 - 7:46 AM:
If you trust that it's not an automated submission and that they don't have javascript turned off, and you don't allow WYSIWYG descriptions, you can use conditionals. Replace both instances of {DESCRIPLENGTH} in the submit and edit templates with <IF {THISMEMBERUSERGROUP} is 5>1000<ELSE IF {THISMEMBERUSERGROUP} is 6>700<ELSE>500</IF> A more foolproof method (trimming any longer submissions automatically) would require PHP, I could do that for $25. |
|
tradenet
Forum Regular Usergroup: Customer Joined: Oct 14, 2004 Total Topics: 45 Total Posts: 111 |
Posted 07/02/10 - 6:16 AM:
Talking about conditionals. I have been struggling with them. Is it possible to do something like: <IF {THISMEMBERUSERGROUP} is greater than 2 and not 5> |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 07/04/10 - 5:40 AM:
<IF {THISMEMBERUSERGROUP} is greater than 2 and {THISMEMBERUSERGROUP} is not 5> |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print