photo album software
  PHP Gallery     Android WwWatchdog     Support     How To     Contact  
ArabicBulgarianChineseCroatianCzechDanishDutchEnglishFinnishFrenchGermanGreekHindiItalianJapaneseKoreanNorwegianPolishPortugueseRomanianRussianSpanishSwedishTurkish
»Ask your question«
 

From: Guest   Date: October 30 2009, 10:17
Hello,

Could you please tell me how to expand the catalog_head to fit the entire screen. I am currently testing the new verion.

Please let me know. Thank you
      
From: Encaps   Date: October 30 2009, 10:28
Depends from the template you use. Check the catalog_head.html and relevant css file

From: Guest   Date: October 30 2009, 09:07
Hello, I've purchased the source one week ago and I'm no trying to implement encaps 2.3.17 as a simple shopcart. The code is neat and easy to customize, but I need help regarding SEO optimization. I've found your previous commend on using mod_rewrite with encaps in the answer "From: Encaps Date: June 23 2008, 05:02".

This cannot be applied to encaps 2.3.17 as it loses the path to the image/ directory and the links are not generated correctly. Can you give a howto (the same as previous) but which can be applied to the latest 2.3.17?

Thank you in advance.
      
From: Encaps   Date: October 30 2009, 10:27
Thank you for your feedback

1) I will publish mod_rewrite howto soon

The draft instructions for now:

How to make the urls look like http://***.com/catalog/categoryName/itemName.html instead of http://***.com/catalog.php?categ_id=1&id=2

1. Edit core/catalog_categ.class.php:

add the line #12 under function CatalogCategController():
$this->model->fields["idse"] = null;

add the line #57 under function update():
$fields["idse"] = preg_replace("/[^a-z0-9._-]/i", "-", strtolower($postget["idse"]?$postget["idse"]:$postget["title"]));

2. Edit core/catalog_item.class.php

add the line #25:
$this->model->fields["idse"] = null;

add the line #75 under function update():
$fields["idse"] = preg_replace("/[^a-z0-9._-]/i", "-", strtolower($postget["idse"]?$postget["idse"]:$postget["title"]));

3. Update your database:
ALTER TABLE `catalog_categs` ADD `idse` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `catalog_items` ADD `idse` VARCHAR( 255 ) NOT NULL ;

4. Edit catalog.php add the following code after the line #5:

if(isset($postget["categ_idse"]))
{
$html["categ"] = $catalog->categs->get("WHERE idse='".$postget["categ_idse"]."'");
$postget["categ_id"] = $html["categ"]["id"];
}
if(isset($postget["item_idse"]))
{
$html["item"] = $catalog->items->get("WHERE idse='".$postget["item_idse"]."'");
$postget["id"] = $html["item"]["id"];
}

5. Edit catalog_head.html and replace the lines
<a href="catalog.php?categ_id=<?php echo $categ["id"]?>">
with the following:
<a href="catalog/<?php echo $categ["idse"]?>/">

6. Edit catalog_items.html and replace
<a href="?id=<?php echo $item["id"]?>" >
with
<a href="catalog/<?php echo $categ["idse"]?>/<?php echo $item["idse"]?>" >

7. Add the following lines into .htaccess file (create .htaccess if doesn;t exist)
RewriteRule catalog/([^/]+)/$ catalog.php?categ_idse=$1 [NC]
RewriteRule catalog/([^/]+)/([0-9]+)/$ catalog.php?categ_idse=$1&page=$2 [NC]
RewriteRule catalog/([^/]+)/([^/]+).html$ catalog.php?id=$2 [NC]

8. Edit config.ini.php and set $config['url_root']='http://***.com/';

9. Edit catalog_head.html and set <base href="<?=$config['url_root']?>"> under the <head> tag:
<html>
<head>
<base href="<?=$config['url_root']?>">
</head>
...


2) the releases 2.3.17 and 2.3.18 are not compatible, I can not guarantee it's safe to just overwrite the files (I did not do this before), although you may back up your current files, overwrite new files and try it out - and restore your old files if something is wrong

From: Guest   Date: October 29 2009, 08:50
How i can to remove the authentication in control panel. I want to be able to put products any visitor who want to sell on my site.
      
From: Encaps   Date: October 29 2009, 10:18
Just set empty values from config.ini.php:
$config["admin_uname"] = "";
$config["admin_passwd"] = "";
            
From: Guest   Date: October 29 2009, 10:35
yes but I want to enter directly into the control panel without to introduce a username and password
                  
From: Encaps   Date: October 29 2009, 11:03
Right - if there is no admin user name and password specified, the login screen is disabled
                        
From: Guest   Date: October 29 2009, 14:51
I give it but still appears the authentication
                              
From: Encaps   Date: October 29 2009, 15:10
What Encaps version do you use? Could you please show me your demo?
                                    
From: Guest   Date: October 29 2009, 15:17
http://***.php
Its the old version
                                          
From: Encaps   Date: October 29 2009, 15:29
How old is it? What the version is? May be you need to incorporate the new auth logic
                                                
From: Guest   Date: October 29 2009, 16:27
EncapsGallery-2.0.6.zip
                                                      
From: Encaps   Date: October 29 2009, 16:38
Could you please send me your admin/ directory? I will check the auth feature
                                                            
From: Guest   Date: October 29 2009, 16:51
i have send an email with a link download
                                                                  
From: Guest   Date: October 29 2009, 17:55
The problem was solved. I delete the include("catalog_auth.php"); from catalog_head.php

From: Guest   Date: October 28 2009, 20:06
Please, in the past you posted a link to where you can use a dropdown menu to select categories. I have been trying to get this to work on mine to no avail, and the link you posted in the past (http://***.encaps.net/software/encapsgallery/old/catalog_cats_select.zip) is a dead link! Please help me out. Otherwise your software is awesome! But I am going to have way too many categories to efficiently display in HTML, so a dropdown menu would really help my organization
      
From: Guest   Date: October 28 2009, 22:45
I got it working overall but I can't quite get it to go to the correct categories, it says catalog.php?categ_id=0 for every single category. Also, I'd like it to dislay the number of pictures in every category just like it does in the admin view, but it is blank between the ()'s. Any assistance would be much appreciated.
            
From: Encaps   Date: October 30 2009, 10:37
1) To populate the category images count you need to uncomment the line #41 from catalog.ctl.php:
$categs[$i]['total'] = $this->items->count_("WHERE categ_id=".$categs[$i]['id'])

But I do not recommend this line if there are thounds of images in your database - it will make the app very slow

2) Regarding the catalog.php?categ_id=0 - could you please send me your dropdown?

From: Guest   Date: October 28 2009, 01:13
I asked the question below. I meant a dropdown menu for categories. Not sure if I made that clear or not.
      
From: Encaps   Date: October 29 2009, 10:15
Yes, it's possible - look at the demo: http://***.encaps.net/software/encapsgallery/demo/admin/
So you need to copy the categories dropdown from encaps backend

From: Guest   Date: October 28 2009, 01:02
Would it be possible to create a php or javascript Jump Box for categories and childs rather than just simply displaying them as HTML links at the top? I am unsure how to do this - is it at least possible? My gallery is going to have a LOT of categories and a pulldown menu would be the best, in terms of navigation.

From: Guest   Date: October 27 2009, 12:32
Hello. I`m trying to run encaps on a localhost under winxp / apache 2.2 / mysql 5.1.3.8 / php 5.

I created a db from command propmpt.

When I run http://***.php

Nothing happens. Just get a blank page.

when I run http://***.php

Nothing happens either. I donīt even get an error message about db credentials.

All other php scripts I have downloaded or written, seem to work just fine.

Thanks a lot in advance.
      
From: Guest   Date: October 27 2009, 12:34
Sorry, it was:

When I run http://***.php <--- stands for the catalog_cfg file


when I run http://***.php <--- stands for the catalog_db_install file
            
From: Encaps   Date: October 27 2009, 13:49
Could you please turn on "display_errors" option from your php.ini, the following lines:

display_errors = On
error_reporting = E_ALL

restart apache and run the app again, and send me the error details

From: Guest   Date: October 16 2009, 16:57
Hi. I want to know how I can open the paypal site in a new window when people wants to check out?

From: Guest   Date: October 14 2009, 09:03
A couple of questions about the shopping cart...

Is it possible to have the purchases confirmation email also emailed to the encaps admin email address.

And is normal to get a message similar to this on the the bottom of the purchases confirmation email?
'================================================================ Special offer: Free Domain & cPanel Hosting for only $2.99 at https://SecureSignup.net ! ================================================================ Spam Filtered (ID:3417293)'
      
From: Encaps   Date: October 14 2009, 18:08
Hello,
1) what checkout type did you specify?
2) could you please clarify "the bottom of the purchases confirmation email"?
      
From: Guest   Date: October 15 2009, 03:47
1) The shopping cart type I selected in the encaps admin was "Pay on delivery No paygateway integration, just receive e-mail notification about selected items"
2) The emailed order confirmation to the customer had these following words on the bottom: "================================================================ Special offer: Free Domain & cPanel Hosting for only $2.99 at https://SecureSignup.net ! ================================================================ Spam Filtered (ID:3417293)"

Thanks Wayne

            
From: Guest   Date: October 15 2009, 08:01
Turns out the extra spam on the customer confirmation email if coming from my free test website. Nothing to do with the Encaps gallery which is great.
But I'd still like to know if the customer confirmation email can also be sent to my email address I've written in the Encaps admin config?

Many thanks Wayne
                  
From: Guest   Date: October 15 2009, 08:43
Turns out the confirmation email does go to the admin email as well. My spam filter was blocking it.

Keep up the great Encaps
                        
From: Encaps   Date: October 15 2009, 10:56
For add some more text info into the email confirmation you could do the following:
edit shopcart.php, and add a new line after the line #130:
$message .= ''=== Special offer bla bla bla ===";

From: Guest   Date: October 06 2009, 14:29
I wonder if it possible to view all the thumbnails in one category without touching the pagination value in config. You see, one page in my site should view all the thumbnails in one particular category while in another page on the site I like to follow the pagination value. Is this possible?
      
From: Encaps   Date: October 06 2009, 15:39
After you purchase the source code, you will be able to customize catalog.php - add line #19:

if(@$postget["categ_id"]==1)$catalog->config['pagination']=0;

In the sample above you set config['pagination']=0 to the category 1


Encaps © 2005-2012 PHP Gallery | Android WwWatchdog | Support | How To | Contact
?>