View Full Version : Max ads limit
December 20th, 2010, 09:50 AM
On this feature, is it a lifetime thing or per day/month/year??
We want to have an option to say let qualified users to have x amount of ads per month and the premium members to have unlimited? Is that somehting we can use this feature for??
December 20th, 2010, 11:06 AM
well ad durations vary so users ads will fluctuate but the limit is max ads just like worked all there ads no timeframe. It is based on the daily photo limit in our gallery product so you could change your limit by altering the query in the upload script to add some timeframe if you wish.
December 20th, 2010, 01:54 PM
Ok I can work with that. WHile I have you, I have users that are not only posting pictures in the software properly but are also posting them in the discription, big pictures?? lol is thier anyway i can take that option away, or can limit the size of the pictures they put in their?
December 20th, 2010, 01:59 PM
HMM how are they posting them. we do not allow harmful stuff like embed or object etc
In the pp-inc.php file up top is this line
$string = strip_tags($string, "<b><table><tr><td><strong><i><em><u><a><div><span><p><blockquote><ol><ul><li><font><img><br><h1><h2><h3><h4><h5><h6>");
if they are posting simple img tags you could say remove the img tag in the line of allowed tags
December 20th, 2010, 02:07 PM
They are hotlinking pictures into the discription area. Some of the pics they are using are huge and screwing up the layout of the forum.
December 20th, 2010, 02:23 PM
Like I said remove the img tag from the allowed tags should solve that if they are using that tag otherwise I would need more specific information.
December 20th, 2010, 02:25 PM
Ok so then it would be all or not? no way of lowering the size? also where do I access that file you are refering to. here is a link
Message - PhotoPost Classifieds (http://www.reeffrontiers.com/classifieds/showproduct.php?product=38&title=acans-2c-chalice-2c-green-toadstools&cat=4)
December 20th, 2010, 02:40 PM
people have to be registered to see your content but I will say this. Your dealing with an html img tag in a description. You can either remove it with the suggestion I noted to not show img tags or allow them.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.