Adjust fade away time for _ACTION_LIMIT_REACHED message

Hi, 

Just curious how I can adjust the time before fading away, or even make the _ACTION_LIMIT_REACHED message stay when a user tries to perform an action which they've used up all their amount of allowed actions.

Thanks

crack_foo

Quote · 8 Feb 2012

any ideas?

Quote · 9 Feb 2012

anything? :)

Quote · 16 Feb 2012

anyone?

Quote · 20 Feb 2012

is this possible?

Quote · 2 Mar 2012

As far as i can tell it is not possible. At least not for just that one action limit. Any changes will affect all of them without serious rewrites to the code.

And even if you were ok with changing all of them, it still has to be done in code and i am having problems locating the areas to edit.

Then of course when you go to upgrade dolphin, you most likely will either loose it, or break it depending on how many files were involved in the change.

https://www.deanbassett.com
Quote · 2 Mar 2012

Thanks, I'll keep poking around.

Quote · 14 Mar 2012

When exactly is this snippet shown? I have not seen this myself and I am just curious to know.

Quote · 14 Mar 2012

Can you give us sample account that reached action limit Pm me your admin info too to check member ship level.

Quote · 14 Mar 2012

 

When exactly is this snippet shown? I have not seen this myself and I am just curious to know.

 When you a viewing a user's profile and you click one of the actions... a status/result message expands from the bottom of the action menu then disappears in about 2 seconds later.

Quote · 16 Mar 2012

 

Can you give us sample account that reached action limit Pm me your admin info too to check member ship level.

 It's visible with all actions successful or not. Can see it on the boonex demo site...

 

http://demo.boonex.com/LeonidS

Quote · 16 Mar 2012

@crack_foo

Ok, thats strange, because that snippet is empty in my language file and I dont seem to be missing any text on my site.

Anyway, if you are talking about the time that ajax message stays on the screen after for example clicking the befriend button, then you do that here:

function genAjaxyPopupJS in design.inc.php --> $sRedirect    }, 6000);

I have also increased that number, you can of course change it to whatever you like to.

Still this snippet is a mystery to me..

 

Best,

Eric

Quote · 16 Mar 2012

Thank you for this but this is what I have in my design.inc.php:

 

function genAjaxyPopupJS($iTargetID, $sDivID = 'ajaxy_popup_result_div', $sRedirect = '') {

        $iProcessTime = 1000;

 

        if ($sRedirect)

           $sRedirect = "window.location = '$sRedirect';";

 

        $sJQueryJS = <<<EOF

 
 
 
Is the "iProcessTime" what I'm looking for here? 
Quote · 22 Mar 2012

I'm guessing you figured this out since you found the correct function ... function genAjaxyPopupJS

located in inc > design.inc.php

but as Deano mentioned, any changes will affect the entire site.

I adjusted the "3000" number to 9000 to lengthen the time the Ajax popup is displayed.

http://pkforum.dolphinhelp.com
Quote · 24 Aug 2012

I tried changing that option and it's not really what I was looking for. That makes the message appear in slow motion. Really annoying actually at 9000. I was just looking to see if there was a way to make it stay longer before fading away again...

Quote · 29 Aug 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.