Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Plugin • Lightbox Gallery 'MyGallery'
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Plugin • Lightbox Gallery 'MyGallery'
Author Message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
Hey Sid,

im getting this error: >> Wrong file format `application/force-download`! Please select a .zip or .jpg file!
Thu Jul 31, 2008 7:57 am View user's profile Send private message
Guest








Please login to hide the ads.

bongda



Joined: 29 Jul 2008
Posts: 9

Post Reply with quote
man, I still have that same problem that some of the guys had; and even though I already tried to CMOD all the required folders to 777, it's still not working.
I wonder if anybody has the same problem that I do. Basically, if i click on the MyGallery Manager, I will see the login box:
I tried to to use admin and pass for the username and password; but it doesn't do anything.

Does anaybody have any ideas why?
Thu Jul 31, 2008 5:58 pm View user's profile Send private message
bongda



Joined: 29 Jul 2008
Posts: 9

Post Reply with quote
man, I still have that same problem that some of the guys had; and even though I already tried to CMOD all the required folders to 777, it's still not working.
I wonder if anybody has the same problem that I do. Basically, if i click on the MyGallery Manager, I will see the login box:
I tried to to use admin and pass for the username and password; but it doesn't do anything.

Does anaybody have any ideas why?
Thu Jul 31, 2008 6:02 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
Partyism wrote:
Hey Sid,

im getting this error: >> Wrong file format `application/force-download`! Please select a .zip or .jpg file!


Any Idea? Im using winrar
Tue Aug 05, 2008 10:52 am View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Partyism wrote:
Partyism wrote:
Hey Sid,

im getting this error: >> Wrong file format `application/force-download`! Please select a .zip or .jpg file!


Any Idea? Im using winrar


Try this. Open 'gallery.inc.php' and look for the following code:
Code:
$_FILES['mgfile']['type']=="application/zip"

and change it to read:
Code:
$_FILES['mgfile']['type']=="application/zip" || $_FILES['mgfile']['type']=="application/force-download"


That should do it for you.
Tue Aug 05, 2008 9:15 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
thnx allot!
Tue Aug 05, 2008 10:46 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
Is there a way we can add a album into a sertain news post?!
Wed Aug 20, 2008 4:11 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Partyism wrote:
Is there a way we can add a album into a sertain news post?!

You can try this as you include the gallery into your posts:
Code:
<?php
$_REQUEST['mggal'] = 1; // set this to the id of the gallery you would like to include
include('path/to/cutenewsru/plugins/mygallery/gallery.inc.php');
?>


That should do it for you.
Thu Aug 21, 2008 4:10 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
i guess i need the PHP in templates plugin?!
Fri Aug 22, 2008 12:06 am View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
sidtheduck wrote:
Partyism wrote:
Partyism wrote:
Hey Sid,

im getting this error: >> Wrong file format `application/force-download`! Please select a .zip or .jpg file!


Any Idea? Im using winrar


Try this. Open 'gallery.inc.php' and look for the following code:
Code:
$_FILES['mgfile']['type']=="application/zip"

and change it to read:
Code:
$_FILES['mgfile']['type']=="application/zip" || $_FILES['mgfile']['type']=="application/force-download"


That should do it for you.


Hi Sid,
We fixed this before but now im getting this error:s >> Wrong file format `application/octetstream`! Please select a .zip or .jpg file!
Fri Aug 29, 2008 6:02 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Partyism wrote:
sidtheduck wrote:

Try this. Open 'gallery.inc.php' and look for the following code:
Code:
$_FILES['mgfile']['type']=="application/zip"

and change it to read:
Code:
$_FILES['mgfile']['type']=="application/zip" || $_FILES['mgfile']['type']=="application/force-download"


That should do it for you.


Hi Sid,
We fixed this before but now im getting this error:s >> Wrong file format `application/octetstream`! Please select a .zip or .jpg file!
Ah, screw it then.

Change:
Code:
$_FILES['mgfile']['type']=="application/zip"

to:
Code:
substr($_FILES['mgfile']['filename'], -4,4)==".zip"


We'll let pclzip figure out if it can unzip it or not since your server's mimetypes seem to keep changing Razz
Fri Aug 29, 2008 8:02 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
yeah i dont know but i changed it to application/octect_stream ..

But have you already found a way to include a album into a news post because the first option doesnt work, you cant have php in your newspost
Fri Aug 29, 2008 8:09 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Partyism wrote:
But have you already found a way to include a album into a news post because the first option doesnt work, you cant have php in your newspost
I'm still working on that (and it probably won't work until the next release of MyGallery) because the current code will only allow a single instance of MyGallery per page (has conflict issues). I have a workaround in mind, but I need to find time to actually code it. Razz
Fri Aug 29, 2008 8:27 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 284

Post Reply with quote
haha its hard to find some time yeah.
Well im bored as f*ck at the moment, if i could code i'd will haha
Fri Aug 29, 2008 8:30 pm View user's profile Send private message
Goberg



Joined: 18 Jan 2007
Posts: 43

Post Reply with quote
is it possible to integrate JW FLV Media Player with this. I would love to be able to upload flv files (note: I don't need the server to encode videos to flv) and make some sort of gallery out of it
Tue Sep 02, 2008 8:23 am View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Page 11 of 12

 
Jump to: 
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.