Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 13:26

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Buffer and Captcha
PostPosted: 31. Jul 2008, 13:55 
Offline

Joined: 31. Jul 2008, 13:50
Posts: 4
Hi Michael,
By far the best script i've seen so far! I do have 2 questions though.
1. I have a video online of 150 mb that is downloaded entirely in WMP before playing. Is there a way to activate buffering?

2. I would like to add CAPTCHA to the comments in the Gallery. Is there an easy way to do this?


Top
 Profile  
 
 Post subject:
PostPosted: 31. Jul 2008, 15:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
1. This depends on your server. set $linktowvx=false; to true. then I generate a playlist file and if your server does support streaming then it does. this is not the default because you have to make the folder where the videos are in writeable because I generate a playlist file and this cannot be done on the fly.

2. I have this at the ratings already. You whould only have to adopt the code there to the other page. The code for the captcha is already in the i_tacs.inc.php.
there are a couple of additional security things for comments like only enable comments for registered users or tracking the ip.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 31. Jul 2008, 18:50 
Offline

Joined: 31. Jul 2008, 13:50
Posts: 4
Thanks for the fast response!
1.
I tried it and noticed that there is an "<file>.jpg.wvx" created after adding the $linktowvx=true; to the video.php. Should it work if this file is created? If i manually change it to "<file>.wvx" a new file with "<file>.jpg.wvx" is created again but the buffering still doesn't start.

2.
I noticed the captcha file in the i-frame folder but somehow the captcha doesn't work for my ratings either. I couldn't find anything in the FAQ/howto about the enabling of captcha. Has it got something to do with the iframe enabling? Or perhaps with the fact that I enabled this function: $php_include=true;
$install_dir="../Gallery/"; Maybe that has something to do with it?

Best regards, Bart


Top
 Profile  
 
 Post subject:
PostPosted: 31. Jul 2008, 19:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
1. then your server does not support streaming. Use flv or divx if you like to stream.

2. $show_rating_security_image=false; has to be true if you like a captcha at the rating.

/Michael


Top
 Profile  
 
PostPosted: 12. Aug 2008, 16:36 
Offline

Joined: 31. Jul 2008, 13:50
Posts: 4
Hi Michael,

I've copied and pasted my *ss off but can't seem to get the captcha correctly in the i_kommentar.php file.
Could you publish the adjusted i_kommentar.php file somewhere with captcha included? Or give a few hints on how to get there?


Top
 Profile  
 
 Post subject:
PostPosted: 12. Aug 2008, 16:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You should try to understand it first before you copy and paste :).

You actually have to create a page after a correct input. And you have to pass the data.
If you want a custom version I could do this for you.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Aug 2008, 14:34 
Offline

Joined: 31. Jul 2008, 13:50
Posts: 4
Hi Michael,
I guess i'm not familiar enough with php.. A custom version sounds great! Do I need to take out my wallet for this custom version? :)
/Bart


Top
 Profile  
 
 Post subject:
PostPosted: 15. Aug 2008, 16:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
yes you would.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 45 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy