[symfony-users] Multiple Upload directories?

2008-06-06 Thread Peter Bowyer
Is it possible to have two upload directories? For most files uploaded having them in web/uploads is fine as I don't mind who sees them; however some files must only be accessible by authenticated users, and i would prefer them to be located outside the web root. I'm planning to set another

[symfony-users] ysfDimensiondsPlugin - APC

2008-06-06 Thread [EMAIL PROTECTED]
Dear Dustin, i love your plugin, once i tried it in the last days. I have a question regarding the cache. In the docs APC is mentioned to save the settings. In the fixtures directory there is also a complete example project and i can see, the sample app (dimensions) has an cache setting in

[symfony-users] Please help on exclude template

2008-06-06 Thread cu_teo_Sj
Hi guys, I need help on how to exclude template on a page that I have. Goal: To exclude template not apply header and footer on a single page. My search will return a list of all the title on the right pane and when user click on each of the question Ajax will show question details as well as

[symfony-users] Re: ysfDimensiondsPlugin - APC

2008-06-06 Thread Dustin Whittle
Michael, I am glad you fine the plugin fits your needs. The cache factory comes from my branch. This can be safely ignored in the sample app. There is no setting for caching config files in apc instead of disk. In mose cases, this does not make sense, as the cached files contain php code and not

[symfony-users] symfony 1.1 - Radio box - Forms

2008-06-06 Thread jmazzi
I have the following code: controller $this-packages = PackagePeer::doSelect($c); view foreach($packages as $package) { } I want to loop through those packages with each item being echoed as a radio element. How can i do this using the new form framework?

[symfony-users] sfPropel13 Plugin and Symfony 1.0.16 error

2008-06-06 Thread Reynier Perez Mira
Hi every, I follow all the steps in sfPropel13Plugin wiki to install it. I upgrade the Propel libraries to Propel 1.3 Beta2. So because schema.yml haven't any changes between Propel 1.2 and Propel 1.3 I not recreate again the file. This mean I don't use the command: # symfony

[symfony-users] Re: Multiple Upload directories?

2008-06-06 Thread arhak
well, if it isn't a very confidential issue, you might upload the files to the same public upload directory and move the file later how do you think to serve the file once it is requested by an authenticated user? you will have to make it some how accessible via http or https, I think there will

[symfony-users] how can I count online users? (what about user offline because of timeout?)

2008-06-06 Thread arhak
how can I count online users? what about user offline because of timeout? I've read about session storage making possible working with SELECTs, but... what happens when users go offline because of timeout? I would like to be able to show an accurate online users count even more, I would like to

[symfony-users] Re: how can I count online users? (what about user offline because of timeout?)

2008-06-06 Thread Tom Haskins-Vaughan
How about you have a little ajax script that pings every few seconds? Assume that if a user is pinging he is online and if he is not pinging he is not online. You might want to also have a timeout so that someone who has left his browser window open while he goes shopping is not considered

[symfony-users] Re: how can I count online users? (what about user offline because of timeout?)

2008-06-06 Thread arhak
thanks, it doesn't sounds bad at all but... is there a timeout for AJAX? how? I already have AJAX scripts every few minutes, but while the browsers stays open in that page the request is done how can I detect the user is there no longer? On Jun 6, 10:08 pm, Tom Haskins-Vaughan [EMAIL PROTECTED]

[symfony-users] Re: how can I count online users? (what about user offline because of timeout?)

2008-06-06 Thread James
YOu really can't Essencially you need to keep track of the user on the server side, via cronjob if you don't see an update say ever minute or two then the user isn't there anymore. There is no sure way to know when a user has left the site. James On Jun 6, 2008, at 10:35 PM, arhak