Script Pulse

Trade Pulse => Trade Pulse Feature Requests => Topic started by: EonBlue on December 09, 2008, 12:38:14 PM

Title: Conditional Toplists
Post by: EonBlue on December 09, 2008, 12:38:14 PM
Like in Smart Traffic Trader.

Ex: show trade in toplist if prod > 120%

etc.
Title: Re: Conditional Toplists
Post by: ip0li on December 10, 2008, 12:03:41 AM
please write all conditions you would like to have :)
Title: Re: Conditional Toplists
Post by: EonBlue on December 10, 2008, 08:17:52 AM
Custom conditions using the TP variables - just like in the dynamic skim feature.

So for example - show trade if:

- clicks/out > 1
and/or
- clicks/uniques > 1.2
and/or
- out/in < 1.5

etc., etc.
Title: Re: Conditional Toplists
Post by: Andrew on December 21, 2008, 10:00:56 PM
ip0li,

you already have provided the ability to tie arbitrary php code to the skim calculation - perhaps you could use the same principle here and allow some sort of arbitrary php evaluation per toplist row?  that way, all the 'standard' trade value variables would/could be available as conditions

I already use php in my toplist include files to do things like supress empty trades nicely (eg, on a totally new site I might have a top 40 bllock but fewer than 40 trades so i want to nicely supress the empty slots).  of course that php is executed for every page load - it would certainly be useful if i could limit it to execution once every toplist build.
Title: Re: Conditional Toplists
Post by: ip0li on December 22, 2008, 02:16:55 AM
thnx andrew, we will look into it! I believe it will be done exactly as U said ;)
Title: Re: Conditional Toplists
Post by: oil on January 22, 2009, 04:37:28 PM
hmm good idea from eonblue