Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 ... 14 15 16 17 [18] 19 20 21 22 ... 33   Go Down

Author Topic: Upload applet (JUpload) : the easiest upload !  (Read 689958 times)

0 Members and 1 Guest are viewing this topic.

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #340 on: December 10, 2007, 01:13:50 pm »

So this mod has anyone who can upload allowed access to this jupload? Do you already have a system to make it only people part of a group? My last jupload integration had this and it is a must have.

Ok here is your code:
Code: [Select]
// Check to see if user can upload pictures.  Quit with an error if he cannot.
if (!USER_CAN_UPLOAD_PICTURES && !GALLERY_ADMIN_MODE && !USER_ADMIN_MODE) {
    $msg =
    str_replace(
'$1',
'login.php?referer=plugins/jupload/jupload.php',
$lang_jupload_php['perm_denied'])
;

    cpg_die(ERROR, $msg, __FILE__, __LINE__);   
}

Here is example of my code that already features group permissions that can be integrated into yours either HARD code or plugin style:
Code: [Select]
// Check to see if user can upload pictures.  Quit with an error if he cannot.
if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_USE_JUPLOAD && !GALLERY_ADMIN_MODE && !USER_ADMIN_MODE) {
    $msg =
    str_replace(
'$1',
'login.php?referer=plugins/jupload/jupload.php',
$lang_jupload_php['perm_denied'])
;

    cpg_die(ERROR, $msg, __FILE__, __LINE__);   
}

Now you can either keep the can upload pictures or just delete it and have jupload override. You will need to edit the template so the button or text does not show unless USER_CAN_USE_JUPLOAD. It would be very easy to integrate if you want the code. It has been around for 4 years. You can also look at my old thread for the FULL instructions on how to add it HARD code wise. Only would need to transfer that to your mod so it is not hard coded anymore. The admin control panel within the groups settings is where you allow that group to be able to use or not here is an image to show you. Now you can put the button where ever you want I just decided to put it there.


Also I am getting this error:

Code: [Select]
04:25:48.750 [INFO] Debug level set to 0
04:25:48.765 [INFO] Current debug output file: C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36685_log.txt
04:25:48.765 [WARN] Invalid int value: true, using default value: 0
04:25:48.875 [WARN] Invalid int value: , using default value: 0
04:25:48.875 [INFO] JUpload plugin for coppermine version 2.6.4
04:26:51.531 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36686.tmp)
04:26:52.359 [INFO] Start of metadata managing, for DSC00432.JPG
04:26:53.718 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36687.tmp)
04:26:54.546 [INFO] Start of metadata managing, for DSC00433.JPG
04:26:55.781 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36688.tmp)
04:26:56.593 [INFO] Start of metadata managing, for DSC00434.JPG
04:26:57.812 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36689.tmp)
04:26:58.640 [INFO] Start of metadata managing, for DSC00435.JPG
04:26:59.875 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36690.tmp)
04:27:00.703 [INFO] Start of metadata managing, for DSC00436.JPG
04:27:01.937 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36691.tmp)
04:27:02.750 [INFO] Start of metadata managing, for DSC00437.JPG
04:27:03.984 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36692.tmp)
04:27:04.796 [INFO] Start of metadata managing, for DSC00438.JPG
04:27:06.000 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36693.tmp)
04:27:06.812 [INFO] Start of metadata managing, for DSC00439.JPG
04:27:08.046 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36694.tmp)
04:27:08.859 [INFO] Start of metadata managing, for DSC00440.JPG
04:27:10.109 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36695.tmp)
04:27:10.937 [INFO] Start of metadata managing, for DSC00441.JPG
04:27:12.187 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36696.tmp)
04:27:13.140 [INFO] Start of metadata managing, for DSC00442.JPG
04:27:14.390 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36697.tmp)
04:27:15.218 [INFO] Start of metadata managing, for DSC00443.JPG
04:27:16.484 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36698.tmp)
04:27:17.312 [INFO] Start of metadata managing, for DSC00456.JPG
04:27:18.578 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36699.tmp)
04:27:19.421 [INFO] Start of metadata managing, for DSC00457.JPG
04:27:20.671 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36700.tmp)
04:27:21.500 [INFO] Start of metadata managing, for DSC00458.JPG
04:27:22.765 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36701.tmp)
04:27:23.593 [INFO] Start of metadata managing, for DSC00459.JPG
04:27:24.875 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36702.tmp)
04:27:25.828 [INFO] Start of metadata managing, for DSC00460.JPG
04:27:31.453 [INFO] Debug level set to 1
04:27:31.453 [INFO] Current debug output file: C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36685_log.txt
04:27:47.000 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
04:27:47.000 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
04:27:47.000 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
04:27:47.000 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
04:27:47.000 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
04:27:54.281 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response (An error occured during log management (readingHttpBody))
04:27:54.281 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
04:27:54.281 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1052)
04:27:54.281 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:542)
04:27:54.328 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
« Last Edit: December 10, 2007, 01:56:40 pm by AWJunkies »
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #341 on: December 10, 2007, 01:42:47 pm »

So this mod has anyone who can upload allowed access to this jupload? Do you already have a system to make it only people a person part of a group? My last jupload integration had this and it is a must have.

Hi,

  I don't understand your qestion.

Do you mean: restrict access to JUpload ?
If this is your question, you should go to the JUpload configuration page. Some available parameters could correspond to your question.

Also I am getting this error:

  Please, put debug on and send me the debut output.

For a howto, take a look at the available doc.

Etienne
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #342 on: December 10, 2007, 02:01:12 pm »

Also how about a users available space bar within the upload template. Here is the code for it that is already in my old jupload system.

Here is the function:
Code: [Select]
// Opens all data for the users quota
function startquotadata(){
global $CONFIG;
global $USER_DATA;

$results = cpg_db_query("SELECT sum(total_filesize) FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id = " . USER_ID);
$record = mysql_fetch_array($results);
        $total_space_used = $record[0];
$total_space_used = round($total_space_used / 1048576, 2);
$quota = $USER_DATA['group_quota'];
$quota = round($quota/1024, 2);
if($quota == 0) {
//User has no quota, so don't display quota message.
}
else {
$percentage = round(100 * ($total_space_used / $quota), 2);
if($percentage <= 60) {
$color = '#00A000';
$color1 = '#FFFFFF';
}
elseif($percentage > 60 && $percentage < 80) {
$color = '#FFD300';
$color1 = '#FFD300';
}
elseif($percentage >= 80) {
$color = '#FF0000';
$color1 = '#FF0000';
$upgrade_now = '<a href="upgrade.php"><font color="#FF0000">Upgrade NOW!</a>';
}
$prog_width = round($percentage, 0);
if ($prog_width > 100) {
$prog_width = 100;
}
starttable("100%", "<div align=center><b>You are currently using $total_space_used MB <font color=$color1>($percentage%)</font> of your $quota MB of storage. $upgrade_now</b></div>", "2");
echo '<tr><td class="tableh2"><div align="left" style="display:block; margin-top:5px; margin-bottom:5px; width:100%; border:1px solid #000000; height:10px;">';
echo '<div align="left" style="display:block; background-color:'.$color.'; width:'.$prog_width.'%; height:10px; color:#000000;"></div>';
echo '</div>';
echo '</div></td></tr>';
endtable();
echo '<br>';
}
}

Then you just put startquotadata(); wherever you want it to display here is example picture.

The first image jupload2.jpg is from my old mod

The second image quotabar.jpg is added to your mod

It is as easy as 1 2 3 and you can even set for it to display or not in your control panel. It only was editing 2 files of yours which it only added a function and a one liner.
« Last Edit: December 10, 2007, 03:20:46 pm by AWJunkies »
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #343 on: December 10, 2007, 02:19:12 pm »

Hi,

  I don't understand your qestion.

Do you mean: restrict access to JUpload ?
If this is your question, you should go to the JUpload configuration page. Some available parameters could correspond to your question.

  Please, put debug on and send me the debut output.

For a howto, take a look at the available doc.

Etienne

See you only have restrictions 3 which none allow for people to still upload the normal way but people with added benefits say donators or higher group get to use jupload. That is reason for the mod I don't want everyone even the people who are allowed to post allowed to use jupload. I am suggesting usergroup which is already done and working with this mod back 4 years ago. To integrate it as another option would be as easy as 1 2 3. I have all the coding you just need to add it to mod. I can add it now and show you a test site version of it so you can see what I am talking about. Along with the quota box.

File attached is FULL details below is the actual errors.

Error
Code: [Select]
05:14:19.171 [DEBUG] --------- Response Body End ---------
05:14:20.781 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
05:14:20.796 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
05:14:20.796 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
05:14:20.796 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
05:14:20.796 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
05:14:20.796 [DEBUG] FileUploadThread: within run().finally
05:14:20.796 [WARN] Temporary file not deleted

And later
Code: [Select]
05:14:22.343 [DEBUG] Using non SSL socket, direct connection
05:14:25.453 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response (An error occured during log management (readingHttpBody))
05:14:25.453 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
05:14:25.453 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1052)
05:14:25.453 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:542)
05:14:25.453 [DEBUG] Sent to server: POST http://www.allwheeljunkies.com/awphotos/index.php?file=jupload/jupload&action=log_error HTTP/1.1
« Last Edit: December 10, 2007, 02:27:45 pm by AWJunkies »
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #344 on: December 10, 2007, 02:41:49 pm »

Ok tested it on others browsers and here is the results:

Opera Version
9.24
Build
8816
Platform
Win32
System
Windows XP
Java
Sun Java Runtime Environment version 1.5
Works PERFECT!

IE version
7.0.5730.11
JAVA Version 1.5.0 (build 1.5.0_06-b05)

Once I click the Jupload link that is on navbar I get a huge error:
Microsoft Visual C++ Runtime Library
Runtime error!
Program: C:\Program Files\Internet Explorer\iexplore.exe
abnormal program termination
and I click ok and it closes the browser.

FireFox Version 2.0.0.11
JAVA Version 1.5.0 (build 1.5.0_06-b05)
I get the error that is posted above in the last few posts.

Any ideas what is going on here?

Header related??? I tried another theme untouched and it has same errors on all browsers.
I reverted back the old jupload and still same errors. Does this mod use any files off the coppermine system that I might have edited that are causing this issue. I have few mods like fade in our images and custom image URL forum coding under image. But none of this has anything to do with upload system. I am stumped is there some settings I needed to set first for the mod. I see some file under user that says put config file here or something what is this about? I don't see anywhere in instructions to do anything with this.
« Last Edit: December 10, 2007, 03:56:51 pm by AWJunkies »
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #345 on: December 10, 2007, 04:12:09 pm »

It looks like it is not passing that I am logged in. If you look at the error file you will see the output page doesn't show me logged in because it is showing the register and log in button. Does this have any effect? I am not sure how you have this mod passing the user id and password which were required with old jupload mod.

By the way I have Vb bridge on. I will try turning it off and see what happens to rule that out as well.
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #346 on: December 10, 2007, 04:35:05 pm »

YEP found the problem for why FF is not working. It is the bridge once I turned it off the mod worked. So it has to do with whatever you are doing with passing the userid and pass (cookies/sessions etc). I have to look more into your mod. Any input would be great! I am going to look into your coding more and see if I can not fix this right up  ;D

The issue with IE is still there when I reverted back so any input on that would be great. So weird how opera worked and FF did not and not sure really what is happening. Just know the bridge is not helping the situation.

PLEASE ANY MOD OR ADMIN MERGE MY POSTS or delete as necessary. Some of this is very informative and addon suggestions with proof etc you know the drill.

I am lost I still don't know why IE would go crazy and throw up that error. No luck with FF yet either.
« Last Edit: December 10, 2007, 05:34:08 pm by AWJunkies »
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #347 on: December 10, 2007, 07:36:36 pm »

DUDE I just went to your test site and IE throws a FATTY message same as mine when I installed! IS this not compliant? Will test Fx as well on your test and see what happens.

I figured out one big issue your mod says 1.5 java or higher. BUT this is wrong you need 1.6 the latest and greatest java 6 for this mod to work in all browsers.

My question to you is this are you doing testing for these mods on a MAC? and in what browsers? and what java?

So far java 6 IE7 and Fx work on your test site now. 1.5 the does NOT. This is on a PC not MAC. Mac for some reason is different. I have friend testing it on a mac and there are errors within the java applet with Fx and IE but not with Opera. Why is Opera so dam cool.

Now IE and Fx work for my site but get same error as above which I think is linked to the bridge system. Presuming it is the Auth function where you are getting the userid and password to pass to jupload for it to upload. If you can help point me to how you are getting those variables and passing them. I have been looking at code and cant find it. Been up all night so may have passed it 10 times and didn't realize it. Let me know about integrating these other features to the mod as well. I have both functioning on my site now.

NOTE: With or without the mods I did to your mod I get same issue so don't make it lead towards that being issue.
« Last Edit: December 10, 2007, 08:15:01 pm by AWJunkies »
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload)
« Reply #348 on: December 10, 2007, 09:21:45 pm »

Probably caused by the bridge; vb's session cookie is not being sent to Coppermine by jUpload so it can't recognise you. Try allowing anonymous uploading on the groups page.

Now I did what Nibbler said and it does work as in goes through all the stages and the files go into the to be moderated section on admin panel.

Here is the code for the function session extraction for vbulletin.inc file for bridge:
Code: [Select]
// definition of how to extract id, name, group from a session cookie
function session_extraction()
{
if (isset($_COOKIE[$this->cookie_name . 'sessionhash'])) {
$session_id = addslashes($_COOKIE[$this->cookie_name . 'sessionhash']);

$sql = "SELECT u.{$this->field['user_id']}, u.{$this->field['password']}, u.{$this->field['grouptbl_group_id']}+100 AS usergroupid FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE s.{$this->field['user_id']}=u.{$this->field['user_id']} AND s.sessionhash='$session_id'";

$result = cpg_db_query($sql, $this->link_id);

if (mysql_num_rows($result)){
$row = mysql_fetch_array($result);
return $row;
} else {
    return false;
}
}
}
And here is the code standard within coppermine.inc:
Code: [Select]
        // definition of how to extract id, name, group from a session cookie
        function session_extraction()
        {
            global $CONFIG;

                // Default anonymous values
                $id = 0;
                $pass = '';

                // Get the session cookie value
                $sessioncookie = $_COOKIE[$this->client_id];

                // Create the session id by concat(session_cookie_value, client_id)
                $session_id = $sessioncookie.$this->client_id;

                // Lifetime of 'remember me' session is 2 weeks
                $rememberme_life_time = time()-(CPG_WEEK*2);
       
                // Lifetime of normal session is 1 hour
                $session_life_time = time()-CPG_HOUR;
       
                // Delete old sessions
                $sql = "delete from {$this->sessionstable} where time<$session_life_time and remember=0;";
                cpg_db_query($sql, $this->link_id);
       
                // Delete stale 'remember me' sessions
                $sql = "delete from {$this->sessionstable} where time<$rememberme_life_time;";
                cpg_db_query($sql, $this->link_id);
       
                // Check for valid session if session_cookie_value exists
                if ($sessioncookie) {
       
                    // Check for valid session
                    $sql =  'select user_id from '.$this->sessionstable.' where session_id=md5("'.$session_id.'");';
                    $result = cpg_db_query($sql);
       
                    // If session exists...
                    if (mysql_num_rows($result)) {
                        $row = mysql_fetch_assoc($result);
                        mysql_free_result($result);
       
                        $row['user_id'] = (int) $row['user_id'];
       
                        // Check if there's a user for this session
                        $sql =  'select user_id as id, user_password as password ';
                        $sql .= 'from '.$this->usertable.' ';
                        $sql .= 'where user_id='.$row['user_id'];
                        $result = cpg_db_query($sql, $this->link_id);
       
                        // If user exists, use the current session
                        if ($result) {
                            $row = mysql_fetch_assoc($result);
                            mysql_free_result($result);
       
                            $pass = $row['password'];
                            $id = (int) $row['id'];
                            $this->session_id = $sessioncookie;
       
                        // If the user doesn't exist, use default guest credentials
                        }
       
                    // If not a valid session exists, create a new session
                    } else {
       
                        $this->create_session();
                    }
       
                // No session exists; create one
                } else {
       
                    $this->create_session();
                }

                return ($id) ? array($id, $pass) : false;
        }

As you can see they are very different. Any ideas how to integrate this with your process of jupload? I have it working with my jupload and can show you how I did it. But I used jupload to auth not coppermine if that makes sense. I will explain more once you respond to all this.

Attached is the data for when I allow global everyone to upload. So it seems it has to do with passing the user session.

I see you are using the java program itself to send the $Cookie value. So there is something wrong with the program grabbing the cookie in the first place and outputting the wrong one or just outputting the wrong one OR? ? ? ? ?? ? ? ? It would be nice to have some help :) Still trying to figure out how you set this whole thing up. Totally different then older jupload integrations from years ago.
« Last Edit: December 11, 2007, 05:27:52 am by AWJunkies »
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Upload applet (JUpload) : the easiest upload !
« Reply #349 on: December 11, 2007, 08:09:51 am »

I haven't used coppermine in a while and just reinstalled the new version.  With the download of the latest version of JUpload, when I select categories and albums, the icon just keeps spinning.  I think I had this problem with a previous issue, but I cannot remember the fix for it.

Here is the url to the JUpload: http://skidpics.com/gallery/index.php?file=jupload/jupload
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #350 on: December 11, 2007, 10:22:53 am »

I am not getting that issue in any of the browsers opera, IE7, Fx on your site.
Logged

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: Upload applet (JUpload) : the easiest upload !
« Reply #351 on: December 11, 2007, 12:35:10 pm »

neither do i.
FF 2.0.0.11, IE7
Logged
Regards,
Farnsi

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Upload applet (JUpload) : the easiest upload !
« Reply #352 on: December 11, 2007, 03:21:51 pm »

just a test site. real site is at skidpics.com

Either way, firefox working fine right now.  IE7 works, but the firefox plugin I was using doesn't (firefox IE plugin)

Last issue, the applet size will not change on my screen even when I change the config options to height 300 and width 450..  the applet stays the same size...
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #353 on: December 12, 2007, 03:19:59 pm »

Also how about a users available space bar within the upload template. Here is the code for it that is already in my old jupload system.

Excellent !

  I added it on my todo list. I'm still fighting to add proper encoding for form parameters. Almost done.

Etienne
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #354 on: December 12, 2007, 03:39:19 pm »

Now I did what Nibbler said and it does work as in goes through all the stages and the files go into the to be moderated section on admin panel.

Here is the code for the function session extraction for vbulletin.inc file for bridge:
<code samples removed>

As you can see they are very different. Any ideas how to integrate this with your process of jupload? I have it working with my jupload and can show you how I did it. But I used jupload to auth not coppermine if that makes sense. I will explain more once you respond to all this.

Attached is the data for when I allow global everyone to upload. So it seems it has to do with passing the user session.

I see you are using the java program itself to send the $Cookie value. So there is something wrong with the program grabbing the cookie in the first place and outputting the wrong one or just outputting the wrong one OR? ? ? ? ?? ? ? ? It would be nice to have some help :) Still trying to figure out how you set this whole thing up. Totally different then older jupload integrations from years ago.

The plugin doesn't take care about session. I let standard Coppermine function works. So I'm suprised that JUpload doesn't work in bridge mode.
  But several people said it. I guess it used to work. I'll look for that after the current work I'm on.

Etienne
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #355 on: December 12, 2007, 04:12:39 pm »

Last issue, the applet size will not change on my screen even when I change the config options to height 300 and width 450..  the applet stays the same size...

I'll check that
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #356 on: December 13, 2007, 02:22:42 am »

Thanks I look forward from hearing from you. So weird that Opera would works (about 70% of the time). Some times it looses the bridge session and causes issues but that is not with your mod it is something else.
Logged

lowkey

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload applet (JUpload) : the easiest upload !
« Reply #357 on: December 17, 2007, 06:47:55 pm »

For the most part, this plugin is working like a breeze for me.  There's only one odd thing that happens.  If I upload an MP3 (or presumably any other media file that doesn't have video/picture data), the mediaplayer pops up as if there is some picture data, and then closes down to just the shuttle controls.  This is not really that big of a deal, but it does change the formatting of the page by leaving empty real estate (it basically goes from large to small, but the space it one occupied is now just occupied by an outline).  I have yet to find any info about this in a search.  This does not happen when I use the standard coppermine upload.  So, I was wondering if there is something in the code I can tweak to fix it?
Logged

lemonlime

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Upload applet (JUpload) : the easiest upload !
« Reply #358 on: December 18, 2007, 05:49:56 pm »

This WAS working great for me, now I get permission errors but I haven't changed anything. I've tried uninstalling and reinstalling it to no avail. Any ideas?
Logged

AWJunkies

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 130
Re: Upload applet (JUpload) : the easiest upload !
« Reply #359 on: December 18, 2007, 07:01:14 pm »

Any new updates before the new year?  ;D
Logged
Pages: 1 ... 14 15 16 17 [18] 19 20 21 22 ... 33   Go Up
 

Page created in 0.033 seconds with 20 queries.