Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kane

Pages: 1 [2]
16
Discussion & Troubleshooting / Re: Video Gallery loads sllllooooow
« on: October 22, 2005, 03:30:42 AM »
Thanks a bunch man! It's nice to know that some people here are willing to help.

I'm not a programmer myself, I spent three hours last night searching google and tinkering with the includes/functions file before discovering this code "get_file_extension". I replaced "getimagesize" with "get_file_extension" and now everything loads super fast like it's supposed to. The only negative is that I had to edit my template because the file size in the descriptions of the image no longer listed its correct size. 

17
Discussion & Troubleshooting / Re: Video Gallery loads sllllooooow
« on: October 21, 2005, 04:17:26 AM »
Ok, thanks for the reply. That is what I was looking for, an explanation for why it's happening.

It looks like the cache method makes it a lot faster, though it's still not as smooth as I'd like for it to be. I'm going to try and hack the files myself to see if I can manage a work-around or maybe switch to another script...


edit: Anyone know how I can hack the script to remove getimagesize() and hard code it in to automatically know that every file is a wmv extension?

18
Discussion & Troubleshooting / Re: Video Gallery loads sllllooooow
« on: October 21, 2005, 03:12:27 AM »
I figured out how to activate the cache but it's still slow as crap. I think that this is a glitch/flaw in 4images itself and I'd like to hear from one of the developers what is going on.

19
Discussion & Troubleshooting / Re: Video Gallery loads sllllooooow
« on: October 21, 2005, 03:01:08 AM »
How do I activate caching? I don't see an option for it in the amdin panel.

Also that doesn't explain why this problem would occur in the first place. Does anyone know why?

20
Discussion & Troubleshooting / Re: Gallery loads sllllooooow
« on: October 21, 2005, 01:53:39 AM »
As a test I modified the valid file extensions to only include images and now it's running fast again! But the videos don't work, of course.

21
Discussion & Troubleshooting / Video Gallery loads sllllooooow
« on: October 21, 2005, 01:26:33 AM »
I use my gallery exclusively for videos and it is loading so slow that it's almost unusable. I dont mean the videos are slow, but the actual homepage and the category view. Every other page of my site loads fast except those associated with 4images, so it's not the server.

I use a custom template without the random images thing, so it's not that.

It seems to load slower as I add more video types, when I remove them it loads faster again. Is there a reason for this???

22
Bug Fixes & Patches / Re: [1.7,1.7.1] Security fix in sessions.php
« on: July 08, 2005, 05:52:38 PM »
What about for those os us who have integrated the script with vbulletin?

My line says this

$user_id = ($this->read_cookie_data(COOKIE_PREFIX."userid")) ? $this->read_cookie_data(COOKIE_PREFIX."userid") : GUEST;

What do I change it to?

23
Mods & Plugins (Requests & Discussions) / Re: Syndication:: RSS feed
« on: June 02, 2005, 12:21:18 PM »
There used to be two on the old 4images forum.

Does anyone still have them?

Pages: 1 [2]