photo album software
  EncapsGallery     Demo     Download     Buy     Support     HowTo     Contact  

Ask a question...
 

From: Guest   Date: December 06 2007, 21:33
Using your application, can you integrate paypal and then send link to download the picture?
      
From: Encaps   Date: December 07 2007, 07:08
Actually, paypal is already integrated, but download link is not implemented.

From: Guest   Date: November 30 2007, 17:53
1. how to change 3x3 orientation of pics to 4x5 in the EncapsGallery-1.9.4? tnx.

2. when i scan for new uploads, /rwx_gallery/album1/someimage.jpg is not read.
the exact message:
Scanning [../rwx_gallery/] directory for new uploads...
New file detected: ../rwx_gallery/best03
Thumbnail failed for [../rwx_gallery/best03]
Added to the catalog: ../rwx_gallery/best03
...scan is finished.

tnx for your time.
      
From: Encaps   Date: December 01 2007, 06:43
1) The orientation is configured from the html-template and config-file, for example 3x3 orientation is :
1) config.ini.php, "$config["pager_items_per_page"] = 9"
2) html/gallery.html, "$count++ % 3" :
<? foreach($html['items'] as $item){ if( $count++ % 3 == 0 ) { ?>

so, 4x5 orientation will be:
1) $config["pager_items_per_page"] = 20
2) "$count++ % 4"
<? foreach($html['items'] as $item){ if( $count++ % 4 == 0) { ?>

2) the gallery does not scan subdirectories inside "rwx_gallery"
            
From: Guest   Date: December 01 2007, 11:28
but in the previous version of encaps, the gallery did scan for subdirectories in the rwx_gallery
                  
From: Encaps   Date: December 01 2007, 16:04
You are right, this feature was disabled for easily maintenance
                        
From: Guest   Date: December 01 2007, 19:34
oh i see. can i change the php script to enable this feature or do i have to buy the whole thing?
                              
From: Encaps   Date: December 02 2007, 14:42
This feature was completely removed from the gallery source code,so if you'd like to do customization by yourself, you may purchase the gallery sources.
                                    
From: Guest   Date: December 03 2007, 17:26
ok. tnx.

From: Guest   Date: November 29 2007, 20:26
Hi,

My web hosting company changed the server my site and my encaps gallery are on.

Now when I enter the URL I was using...it points me to the encaps Admin username/password prompt. I enter it and it lets me in. However, when I attempt to do anything, I get a red box and an error that says

"Unable to connect the database host localhost with username xxxxxxx and password xxxxxx"

(Please note the xxxxxxx's are in place to disguise my real username and password).

So my gallery is completely down now. Do I need to reinstall from scratch and start all over? I have many many hours of work invested in this. All my images and database files are still on there server...I just can't access them.

Please help!
Bret
      
From: Guest   Date: November 29 2007, 21:37
Well I have lost the database and am forced to start over...sigh...

This is the error I am now getting from the server:

"The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log. "


What does this mean?
            
From: Encaps   Date: November 30 2007, 08:24
I think if your hosting company did not delete the database, it's possible to restore it. Just ask them for new database parameters.
If you got an error on installing new database, let me look at the error online .
                  
From: Guest   Date: November 30 2007, 12:35
go to: www.sandimascharvel.com/album
                        
From: Encaps   Date: December 01 2007, 05:58
Ok,please send me ftp parameters by e-mail
                        
From: Encaps   Date: December 02 2007, 15:03
I revised the files by ftp - it's fixed now. There was something wrong with the directory "album" permissions. I just removed the directory and created it once again.
                              
From: Guest   Date: December 02 2007, 18:10
Thank you so much for your generous time and assistance.

It is hard to believe someone would take time to help others as you did with me.

Bret


From: Guest   Date: November 28 2007, 14:01
Hello!
How can I display the number of all images in my site? I would like to display it on gallery's frontpage. Thanks a lot! Adam.
      
From: Encaps   Date: November 28 2007, 18:44
Hello Adam, I will implement the total number of images with new Encaps Gallery release.
            
From: Guest   Date: November 29 2007, 15:01
Thank you. When expected the new version?
      
From: Encaps   Date: December 01 2007, 09:02
Adam,
for output the total number of images you can do something similar to:
$res = $db->query("SELECT COUNT(*) FROM gallery WHERE visible='on'");
echo $res[0][0];
            
From: Guest   Date: December 01 2007, 15:06
Uhh, it's good looking! One last question: which file do I have to edit? I would like the nuber appearing on the "index.php". Thank you very much! Adam.
                  
From: Guest   Date: December 14 2007, 15:17
Hello Andrew! I guess you have a lot of work, that's the reason why don't you answer me. Please answer my question, if you have a little time for me :) Thanks for your time! Adam.
                        
From: Encaps   Date: December 14 2007, 17:14
Hello Adam, sorry for the delay in response. Show me your index.php source code, I will tell you where and how to output the total number of images.

From: Guest   Date: November 28 2007, 08:56
Hello

Call you make the shopping cart in gallery go back to the last visited page after the updating the shoppoing cart
becuase now it goes back to the main "index.php" page after you press contuine shopping. I also found a trird party script to send images download after success paymant be the IPN look like you but is different. You can find the soruce code here. http://***.belahost.com/files/free_download.zip Let me know if this stuff can be fix
      
From: Encaps   Date: November 28 2007, 18:46
I will modify the shopcart for go back to the last visited page, as you described. Thank you for the idea.
            
From: Guest   Date: November 29 2007, 08:23
I use a java to go one back in the history. still need help with the ipn code to send back a download after successful payment:

<?php
/**
* #################################################################################
* Belahost.com Free Digital Download Solution
* Copyright (c) BelaHost.com, 2007
* Developer: Sergey Petkevich
* #################################################################################
*/

require_once('/include/config.php');
require_once(SITE_ROOT.'include/Core.php');
$core = new Core;
$core->dbConnect();


if(phpversion() <= "4.0.6") { $_POST = ($HTTP_POST_VARS); }

if (!$_POST['txn_type'])
{
header("Status: 404 Not Found");
$core->dbDisconnect();
exit();
}
else
{
header("Status: 200 OK");
}

$postvars = array();

foreach ($_POST as $ipnvars => $ipnvalue)
$postvars[] = $ipnvars;

$postipn = 'cmd=_notify-validate';
$orgipn = '<b>Posted IPN variables in order received:</b><br><br>';

for ($x=0; $x < count($postvars); $x++)
{
$y=$x+1;
$postkey = $postvars[$x];
$postval = $$postvars[$x];
$postipn.= "&" . $postkey . "=" . urlencode(stripslashes($postval)); $orgipn.= "<b>#" . $y . "</b> Key: " . $postkey . " <b>=</b> " . $postval . "<br>";
}


if(2 == PAYPAL_MODE)
{
$socket = fsockopen ("www.belahost.com", 80, $errno, $errstr, 30);
$header = "POST /pp/ HTTP/1.0\r\n";
$header.= "Host: www.belahost.com\r\n";
$header.= "Content-Type: application/x-www-form-urlencoded\r\n";
$header.= "Content-Length: " . strlen($postipn) . "\r\n\r\n";
}
else if(3 == PAYPAL_MODE)
{
$socket = fsockopen ("www.sandbox.paypal.com", 80, $errno, $errstr, 30);
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header.= "Host: www.sandbox.paypal.com\r\n";
$header.= "Content-Type: application/x-www-form-urlencoded\r\n";
$header.= "Content-Length: " . strlen($postipn) . "\r\n\r\n";
}
else
{
$socket = fsockopen ("www.paypal.com", 80, $errno, $errstr, 30);
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header.= "Host: www.paypal.com\r\n";
$header.= "Content-Type: application/x-www-form-urlencoded\r\n";
$header.= "Content-Length: " . strlen($postipn) . "\r\n\r\n";
}

if (!$socket && !$error)
{
echo "Problem: Error Number: " . $errno . " Error String: " . $errstr;
$core->dbDisconnect();
exit;
}
else
{
fputs ($socket, $header . $postipn);
while (!feof($socket))
{
$reply = fgets ($socket, 1024);
$reply = trim ($reply);
}


$report = "$noteipn<br><b>IPN Reply:$reply</b>";
if($_POST['mc_gross'] < 0.01)
{
$_POST['mc_gross'] = $_POST['payment_gross'];
}


if('Completed' != $_POST['payment_status'] or (PAYPAL_ACCOUNT != $_POST['receiver_email']) or (abs($_POST['mc_gross']-$itemDownload[$_POST['item_number']]['price']) > 0.01))
{
exit(); // Exit untill payment is made or echeck is cleared
}

if (!strcmp ($reply, "VERIFIED"))
{
echo $report;
$core->successfulTransaction($_POST, $thankYouSubject, $thankYouEmail);
}
elseif (!strcmp ($reply, "INVALID"))
{
echo "Invalid: $report";
}

fclose($socket);
$core->dbDisconnect();
exit();
}

?>


here's the index php



<?php
/**
* #################################################################################
* Belahost.com Free Digital Download Solution
* Copyright (c) BelaHost.com, 2007
* Developer: Sergey Petkevich
* #################################################################################
*/

require_once(':/home/content/s/y/m/symmetry123/html/gallery/free_download/include/config.php');
require_once(':/home/content/s/y/m/symmetry123/html/gallery/free_download/include/Core.php');
?>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title><?php echo SITE_NAME;?></title>
</head>

<body>
<table border="0" width="600">
<?php
foreach($itemDownload as $key=>$val)
{
$byuNowButton = Core::generatePayPalStandBuyNow($key, $val['name'], $val['price']);
echo'
<tr>
<td>'.$val['name'].'</td>
<td> $'.$val['price'].'</td>
<td>'.$byuNowButton.'</td>
</tr>';
}
?>
</table>
</body>

</html>


here's the download

<?php
/**
* #################################################################################
* Belahost.com Free Digital Download Solution
* Copyright (c) BelaHost.com, 2007
* Developer: Sergey Petkevich
* #################################################################################
*/

include('include/config.php');
require_once(SITE_ROOT.'/include/Core.php');

$core = new Core;
$core->dbConnect();

$found = 0;

$file = mysql_escape_string($_GET['file']);
$sid = mysql_escape_string($_GET['sid']);

$strsql = 'SELECT Product_id, Product_name, Email FROM downloads where Autoincr = \''.$file.'\' and Sid = \''.$sid.'\'';
$rs = mysql_query($strsql, $conn);

while ($row = mysql_fetch_assoc($rs))
{
$prodictId = $row['Product_id'];
$productName = $row['Product_name'];
$email = $row['Email'];
$found = 1;
}
mysql_free_result($rs);


if($found < 1)
{
$notes = '<font color="#FF0000"><b>Sorry, that download link is not available.</b></font>';
echo $notes;
}
else
{
$ext = split("\.", $itemDownload[$prodictId]['location']);
$file_ext = $ext[1];

$filesize = filesize(SITE_ROOT.'/download/'.$itemDownload[$prodictId]['location']);

if('zip' == $file_ext)
{
$mine = 'application/x-zip-compressed';
}
else
{
$mine = 'application/octet-stream';
}

$productName = str_replace(" ", "_", $productName);

header ("Content-length: $filesize\n");
header ("Content-Disposition: attachment; filename=$productName.$ext[1]\n");
header ("Content-type: $mine\n\n");
readfile(SITE_ROOT.'/download/'.$itemDownload[$prodictId]['location']);

}
?>

Please help you can download the full file http://www.belahost.com/files/free_download.zip

From: Guest   Date: November 27 2007, 18:51
After i installed encaps and fiddling around a bit i have some questions:

1) are there any special "no no's" when i want to integrate the system into my site's layout or is it completely configurable (CSS and HTML).

2) can i translate it into another language (meaning the words such as "categories", "buy" etc...?

or do i also have to mess about in the DB on the server side for that?

Btw, great app!!!!!!!!!!!!!!!!
      
From: Encaps   Date: November 28 2007, 18:54
Hello, thank you for the feedback.
- you may put your site layout into the "catalog_head.html" and "catalog_foot.html", or modify the templates HTML or/and CSS
- you may translate the templates (HTML), no need to change the database or server-side php

From: Guest   Date: November 26 2007, 22:07
I've uploaded the files to my server and set the permissions. After that i created user and password in the admin/catalog_db_install.php file and the admin/catalog_cfg.php file. But i still get "Unable to connect the database host localhost with username XXXX and password XXXXX".

What am i missing?
      
From: Encaps   Date: November 27 2007, 04:02
Are you sure the database user and password are valid? Actually the database should be configured before install Encaps Gallery, please make sure the database user and password are valid.
            
From: Guest   Date: November 27 2007, 07:47
"Are you sure the database user and password are valid? Actually the database should be configured before install Encaps Gallery, please make sure the database user and password are valid."

erhm.... i'm at a loss... do i have to install the database manually or how do i have to do that?

tnx
                  
From: Encaps   Date: November 27 2007, 11:55
please ask your hosting provider for a valid database connection parameters
                        
From: Guest   Date: November 27 2007, 14:24
Which parameters would that be? I already have some working MySql databases on my site so i'm thinking the problem is on my end but i can't seem to resolve it :-(
                              
From: Guest   Date: November 27 2007, 18:17
oops.... figured it out.... indeed wrong parameters lol.

tnx!!!

From: Guest   Date: November 26 2007, 07:36
Unable to connect the database host http://***.*******.com/*****/ with username root and password *****

What should I be looking for? I am using a remote server

Thanks

David
      
From: Encaps   Date: November 26 2007, 12:43
Hello David,
you should configure valid username and password for access your database
            
From: Guest   Date: November 26 2007, 15:08
I will email you the link if ok. so that you can see where am going wrong.

Thanks

From: Guest   Date: November 26 2007, 07:31
Hi IEncaps

I am impressed by your work. I am looking to buy buy the code as soon as I get my trial working.

However I am stuck, I cant seem to mhave my database server dns-name or ip-address accepted or even the password. What am I doing wrong?

Thanks

Plus how much is it to have it customised for me in future
      
From: Encaps   Date: November 26 2007, 16:28
I guess database connection parameters are not valid.

From: Guest   Date: November 25 2007, 16:15
Hi,

I don't understand how to change the attributes to "rwx rwx rwx" for rwx_gallery" directory and config.ini.php file.

I am new to installing software like this and need help.


arthur
      
From: Encaps   Date: November 26 2007, 04:17
Hello Arthur,
take a look at the screenshots for how to change permissions: http://www.encapsgallery.com/

« 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »

Encaps Team © 2005-2008 EncapsGallery | Demo | Download | Buy | Support | HowTo | Contact