ImgPay - Earn up to $6/1,000 views!

Status
Not open for further replies.
Tnx. I hope this will not turn out like imgmoney.

Update: Zip upload doesn't work at all. And can you increase the Ajax files to 150-200? It's almost impossible to upload large galleries and remember which 30 pics you've done.

As Zip upload doesn't work, is it possible to have pictures being output as a small thumbnail when using Ajax? There is not a lot of 'seduction' to tempt the visitor to clickthrough if the thumb is so large.
 
Last edited:
Tnx. I hope this will not turn out like imgmoney.

Update: Zip upload doesn't work at all. And can you increase the Ajax files to 150-200?

I have just updated the website. I set the zip upload limit to 50 MB.
That should be plenty, let me know if it works.
 
Thanks. Unfortunately a lot of galleries are 200+ MB. I will test.

Update: I tested zip upload with a 38MB zip but after upload only the dollar logo shows up. No links or code.
 
Last edited:
Thanks. Unfortunately a lot of galleries are 200+ MB. I will test.

Update: I tested zip upload with a 38MB zip but after upload only the dollar logo shows up. No links or code.

Alright thank you. I'll try to get this fixed ASAP. I believe it has something to do with my hosting provider. Believe it or not, we're currently on shared hosting.(With 25,000+ images hosted.)

The shared hosting account limits the upload, even if I was to set the max upload to a GB. It would not allow it.


I've been meaning to go off shore anyways, i'll be transferring the website this week to VPS.
 
Real disappointing then. Perhaps it has something to do with the PHP settings of your host. Could you, till the move is completed, set Ajax to 300 and enable the thumbnail option to '100x100'? If not, then I'll have to move on :(
 
Real disappointing then. Perhaps it has something to do with the PHP settings of your host. Could you, till the move is completed, set Ajax to 300 and enable the thumbnail option to '100x100'? If not, then I'll have to move on :(

I'm already speaking to a hosting provider. The website will be transferred by today.

As for setting Ajax to 300, I can't seem to find an option for that, when you tried uploading 300 images to ajax, did it say something like "Sorry max upload is 300" or did it just not upload?

If it just didn't upload it's because of the shared hosting.

I'm working on upgrading right now.
 
It said 'queue is full Max = 30'.

I think there should be a setting for thumbnail size. This is a screenshot from the scammers of imgmoney. They use the same script I suppose and I think to remember I uploaded like 270 pics at a time.

imgmoney.jpg
 
Its the imgshot script, the ajax can be setup to like 500 at the most from what I remember when I was using it on a private imagehost last year.
 
First of all, how do you expect to run a smooth image hosting whit a shared hosting plan?
You can edit ajax setting on your index.php.

Real disappointing then. Perhaps it has something to do with the PHP settings of your host. Could you, till the move is completed, set Ajax to 300 and enable the thumbnail option to '100x100'? If not, then I'll have to move on :(

I'm already speaking to a hosting provider. The website will be transferred by today.

As for setting Ajax to 300, I can't seem to find an option for that, when you tried uploading 300 images to ajax, did it say something like "Sorry max upload is 300" or did it just not upload?

If it just didn't upload it's because of the shared hosting.

I'm working on upgrading right now.
 
First of all, how do you expect to run a smooth image hosting whit a shared hosting plan?
You can edit ajax setting on your index.php.

I'm already speaking to a hosting provider. The website will be transferred by today.

As for setting Ajax to 300, I can't seem to find an option for that, when you tried uploading 300 images to ajax, did it say something like "Sorry max upload is 300" or did it just not upload?

If it just didn't upload it's because of the shared hosting.

I'm working on upgrading right now.

We have just upgraded the servers. It should be running much more smoothly now.
 
Its the imgshot script, the ajax can be setup to like 500 at the most from what I remember when I was using it on a private imagehost last year.



Do you know where this can be set?

There are only 2 ajax files and they look like this:

Ajaxup.php
Code:
<?php
require_once('config.php');
    $dbconnect = new db();
    $dbconnect->connect();

    if(isset($_GET['session_id'])){
        session_id($_GET['session_id']);
        session_start();
    }
    
    $upload = new upload();
    //print_r($_FILES);

    if(isset($_FILES['uploaded']) && $_FILES['uploaded']['error'] == 0) {
        $_POST['thumb_size_contaner'] = 2;

        if(isset($_POST['adult']) && is_numeric($_POST['adult']) && $_POST['adult'] >= 0 && $_POST['adult'] <= 1){ // it's doubled, i may delete this
            // print_r($_POST);
        } else {
            $_POST['adult'] = 1;
        }

        if(MULTISERVER == 0) {
            function randomServer(){
                return 0;
            }
        } elseif(MULTISERVER == 1) {
            $q = "SELECT id FROM ftp_logins WHERE active = 1";
            $result = mysql_query($q);
            while($rowArr = mysql_fetch_assoc($result)){
                $numbers[] = $rowArr['id'];
            }
            $numbersCount = count($numbers)-1;
            //echo "Number_array: {$numbersCount}<br />";
            function randomServer(){
                global $numbersCount;
                global $numbers;
                $arrNumber = $numbers[rand(0,$numbersCount)];
                return $arrNumber;
            }
            //echo $numbers[$arrNumber];
        } elseif(MULTISERVER == 2) {
            $q = "SELECT id FROM ftp_logins WHERE active = 1";
            $result = mysql_query($q);
            while($rowArr = mysql_fetch_assoc($result)){
                $numbers[] = $rowArr['id'];
            }
            $numbersCount = count($numbers)-1;
            //echo "Number_array: {$numbersCount}<br />";
            function randomServer(){
                global $numbersCount;
                global $numbers;
                $numbersCount++;
                $numbers[] = 0;
                //print_r($numbers);
                $arrNumber = $numbers[rand(0,$numbersCount)];
                return $arrNumber;
            }
            //echo $numbers[$arrNumber];
        }

        echo "<div id='ajaxup'>";
    $upload->regular_upload('uploaded', randomServer());
        echo "</div>";
    } else {
    echo "error";
    }
?>

and there's also

ajax_upload which is located in include

Code:
<?php if(UPLOAD_ONLY_REGISTERED == 0 || isset($_SESSION['user_id'])) { ?>
<div style='display:none;' class="ui-progressbar ui-widget ui-widget-content ui-corner-all" id="progressbarOver">
    <div style="width: 0%; height:20px;" class="ui-progressbar-value ui-widget-header ui-corner-left" id="progressbar"></div>
</div>

<br />

<input id="file_upload" type="file" name="file_upload" />
<br />


<div class="index_box">
    <a href="index.php?adult=0#tabs-3" class="button white" ><span>Clean</span></a>
    <a href="index.php?adult=1#tabs-3" class="button white" ><span>Adult</span></a>
</div>



<?php } ?>
    

<br />
    <div style='display:none;' id="ajax_allbbcodes">
All BB Codes:<br />
<textarea onclick="this.select();" class='ajaxbbcodes' id="ajax_bbcodes" rows="5" cols="50"></textarea><br /><br />
All HTML Codes:<br />
<textarea onclick="this.select();" class='ajaxbbcodes' id="ajax_HTMLcodes" rows="5" cols="50"></textarea><br /><br />
All Direct Links:<br />
<textarea onclick="this.select();" class='ajaxbbcodes' id="ajax_DirectLinks" rows="5" cols="50"></textarea><br /><br />
        <?php if(DIRECT_LINK_SHOW == 1) { ?>
            All Direct Links to Images:<br />
            <textarea onclick="this.select();" class='ajaxbbcodes' id="ajax_DirectLinkToImgs" rows="5" cols="50"></textarea><br /><br />
        <?php } ?>
    </div>

<div id="testajax"></div>

I cannot seem to find settings for the upload limit.
 
The login function seems to be bugged right now. I'm working on fixing this. Please bare with us while I get everything set up.
 
You can change it on line 108 of index.php Its the number for
queueSizeLimit
Code:
 <script type="text/javascript">
      // <=!=[=C=D=A=T=A=[
      $(document).ready(function() {
          $('#file_upload').uploadify({
              'uploader'  : 'js/uploadify/uploadify.swf',
              'script'    : 'ajaxup.php<?php if(isset($_SESSION['user_id'])) { echo "?session_id=" . session_id() ; } ?>',
              'cancelImg' : 'css/img/cancel.png',
              'auto'      : true,
              'displayData' : 'speed',
              'multi'       : true,
              'fileDataName' : 'uploaded',
              'fileExt'     : '*.jpg;*.gif;*.png;*.jpeg',
              'fileDesc'    : 'Image Files',
              'queueSizeLimit' : 30,
              'simUploadLimit' : 1,
              'sizeLimit'   : 5024*1024,
              'scriptData'         : {'adult' : '<?php echo $javaadult; ?>'},
 
Hey guys just a quick update.

My hosting provider is having trouble with some stuff. They said they're working on the website.


I'm sorry for the downtime we're currently having.
I'm honestly devastated by it. All of our images are offline right now sadly. It sucks.

As soon as we're back up i'm going to payout everyone and raise the rates by a bit to get people posting again so please bare with us.
 
Status
Not open for further replies.
Back
Top