| Author |
Message |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
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 |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
bongda
Joined: 29 Jul 2008 Posts: 9
|
|
|
|
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 |
|
 |
bongda
Joined: 29 Jul 2008 Posts: 9
|
|
|
|
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 |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
 |  | 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 |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  |  |  | 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:
 |  | $_FILES['mgfile']['type']=="application/zip" |
and change it to read:
 |  | $_FILES['mgfile']['type']=="application/zip" || $_FILES['mgfile']['type']=="application/force-download" |
That should do it for you.
|
|
| Tue Aug 05, 2008 9:15 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
thnx allot!
|
|
| Tue Aug 05, 2008 10:46 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
Is there a way we can add a album into a sertain news post?!
|
|
| Wed Aug 20, 2008 4:11 pm |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  | 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:
 |  | <?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 |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
i guess i need the PHP in templates plugin?!
|
|
| Fri Aug 22, 2008 12:06 am |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
 |  |  |  |  |  | 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:
 |  | $_FILES['mgfile']['type']=="application/zip" |
and change it to read:
 |  | $_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 |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  |  |  |
Try this. Open 'gallery.inc.php' and look for the following code:
 |  | $_FILES['mgfile']['type']=="application/zip" |
and change it to read:
 |  | $_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:
 |  | $_FILES['mgfile']['type']=="application/zip" |
to:
 |  | 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 
|
|
| Fri Aug 29, 2008 8:02 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
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 |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  | 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. 
|
|
| Fri Aug 29, 2008 8:27 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 284
|
|
|
|
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 |
|
 |
Goberg
Joined: 18 Jan 2007 Posts: 43
|
|
|
|
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 |
|
 |
|