Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Blogs Automater
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Cheapest Adult Scripts
Cheapest Adult Scripts
Special Offers
Special Offers
Rocket Pinger
Rocket Pinger
Links Organizer
Links Organizer

Haven't registered yet? Do it here now!
Update Interval Randomness

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Automater
View previous topic :: View next topic  
Author Message
crmagicxxx



Joined: 05 Sep 2007
Posts: 24

PostPosted: Tue Nov 06, 2007 4:00 am    Post subject: Update Interval Randomness Reply with quote
Hi.

Can the randomness be limited in some way?

For example I've set update to '5000 minutes radnom' cz I wanted it to be updated once in 3-4 days. But 'random' function choose to update it just tomorrow Very Happy

So if I say 5000 min random, it should be like 4500, 4700, 5300 or something like that and NOT 1000 mins.

So +/- 10% should be more relevant than +/- 90%

Can you please change that in the script?

Thanx
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Tue Nov 06, 2007 12:30 pm    Post subject: Reply with quote
well, it picks random within the specified mins. So it can pick tomorrow, or after 2 days, 3 days and etc..

actually i just looked at the code and i am doing like this:
interval/5=X
Y=X*2
rand(Y,interval)

so in your example with 5000 minutes, it does
5000/5=1000
and picks random between 2000 and 5000

will see if i can do something more about it to give more flexiblity on it..
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
crmagicxxx



Joined: 05 Sep 2007
Posts: 24

PostPosted: Tue Nov 06, 2007 2:32 pm    Post subject: Reply with quote
Atanasis wrote:

interval/5=X
Y=X*2
rand(Y,interval)


Ok, but why not something like this:

rand(interval*0.8,interval*1.2)

So it would be between 4000 and 6000. There is no reason that the given interval should be the top limit.

Or, if you want to give us possibility to pick the randomness, just put the parameter inside campaign creation like 'randomness percentage (20%-80%)' and the user can choose by himself what he want to do. The best is to put the dropdown box with preselected values like 20%, 30%, ... 80%. And the random function could be:

Y=interval*(rndpercentage/100)
rand(interval-Y,interval+Y)

So if I put 5000 minutes and 20% random then the randomness will be:

Y=5000*(20/100)
rand(4000,6000)

Thanx
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Tue Nov 06, 2007 3:10 pm    Post subject: Reply with quote
yeah, i see your point. I will be improving the randomness probably in next version.

thanks for your suggestions!
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
crmagicxxx



Joined: 05 Sep 2007
Posts: 24

PostPosted: Tue Nov 06, 2007 6:20 pm    Post subject: Reply with quote
Thank you man Smile

Very very nice support for excellent piece of software...
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Tue Nov 06, 2007 8:08 pm    Post subject: Reply with quote
you are welcome Smile
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Automater All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group