|
|
|
|
From: Guest Date: August 31 2010, 12:49
|
| Hi. I have 23 pages of images displayed in random sequence. Some of these images are seqeuntial shots with filenames 0061.jpg 0062.jpg 0063.jpg etc. I wanted to have these displayed in this filename order. I found an old post for a previous version of encaps but the modification doesn't seem to chnage teh way the gallery displays in the current version. Can you advise how I can re-sequence these shots by filename order. Thanks. |
|
|
|
From: Guest Date: August 31 2010, 13:16
|
| Sorry. My mistake. Changing the ORDER BY sequence in core/base.ctl.php does work for the latest version. |
|
|
|
From: Encaps Date: August 31 2010, 13:59
|
You need to change these lines:
catalog_item.ctl.php:54: $sql .= " ORDER BY rank DESC, title, id DESC";
base.ctl.php:68: $condition .=" ORDER BY rank DESC, title, id DESC";
to
catalog_item.ctl.php:54: $sql .= " ORDER BY file, rank DESC, title, id DESC";
base.ctl.php:68: $condition .=" ORDER BY file, rank DESC, title, id DESC";
|
|
|
|
From: Guest Date: August 31 2010, 19:52
|
| Perfect. Exactly what I needed. Thanks for the quick response. |
|
|
|
From: Guest Date: August 29 2010, 03:12
|
Hi,
Last year I purchase your software with Order Number : ************* So please How can i add the new features in my current folder I want WYSIWYG Text Editor and all the new features plz guide me which files is to be updated!!! I have downloaded new one also from your website.
waiting for reply
Thank you so much!!!! |
|
|
|
From: Encaps Date: August 30 2010, 09:18
|
| If you want WYSIWYG editor, you could try ckeditor.com |
|
|
|
From: Guest Date: August 28 2010, 21:16
|
This original CAPTCHA always uses the 1st, 3rd, 5th as valid characters. The following code randomly switches the black & red pairs to make it much more difficult to guess the correct characters.
$rand = _generateRandom(3);
$_SESSION['captcha'] = $rand; //Good 3 characters
$rand_red = _generateRandom(3); //Bad 3 char
$coin = rand(0,1); //flip a coin
//if zero use a black char in slot 1
//echo ($coin);
if ($coin == true) {
ImageString($im, 5, 2, 4, $rand[0], ImageColorAllocate ($im, 0, 0, 0));
ImageString($im, 5, 2, 4, " ".$rand_red[0], ImageColorAllocate ($im, 255, 0, 0));
}
else {
ImageString($im, 5, 2, 4, $rand_red[0], ImageColorAllocate ($im, 255, 0, 0));
ImageString($im, 5, 2, 4, " ".$rand[0], ImageColorAllocate ($im, 0, 0, 0));
}
$coin = rand(0,1); //flip a coin
if ($coin == true) {
ImageString($im, 5, 2, 4, " ".$rand[1], ImageColorAllocate ($im, 0, 0, 0));
ImageString($im, 5, 2, 4, " ".$rand_red[1], ImageColorAllocate ($im, 255, 0, 0));
}
else {
ImageString($im, 5, 2, 4, " ".$rand_red[1], ImageColorAllocate ($im, 255, 0, 0));
ImageString($im, 5, 2, 4, " ".$rand[1], ImageColorAllocate ($im, 0, 0, 0));
}
$coin = rand(0,1); //flip a coin
if ($coin == true) {
ImageString($im, 5, 2, 4, " ".$rand[2], ImageColorAllocate ($im, 0, 0, 0));
ImageString($im, 5, 2, 4, " ".$rand_red[2], ImageColorAllocate ($im, 255, 0, 0));
}
else {
ImageString($im, 5, 2, 4, " ".$rand_red[2], ImageColorAllocate ($im, 255, 0, 0));
ImageString($im, 5, 2, 4, " ".$rand[2], ImageColorAllocate ($im, 0, 0, 0));
}
Have fun. |
|
|
|
From: Guest Date: August 25 2010, 08:37
|
Is there a way to change the index.php to have some text on it about the gallery, but not display the seemingly random images, like it does now?
Many Thanks
Laurence |
|
|
|
From: Encaps Date: August 30 2010, 09:19
|
| Yes, there is a way to edit index.php - you could use notepad |
|
|
|
From: Guest Date: August 25 2010, 00:26
|
| how I can get rid of the words and link"encaps php gallery" at the bottom of the encaps gallery web. |
|
|
|
From: Guest Date: August 25 2010, 16:14
|
| really simple... Just buy the script then you will get the source code without "encaps php gallery" link... :) |
|
|
|
From: Guest Date: August 20 2010, 18:14
|
Unique ID.
I need a way to display a Unique ID and the ability for users to "search" for the id. Any ideas?
I figure the photos have to have a unique ID in there somewhere. I've tried: <?php echo $item['id']?> in "catalog_items.html" but that just shows the same id for each picture in each category. Also doesn't allow for searching that way :/ |
|
|
|
From: Guest Date: August 11 2010, 15:08
|
Hi i have just up graded my hosting to a php5 server with MSQL 5 and now i can only save 1 line of description. has anyone else had this problem.
I can input a whole paragraph but only the 1 line seams to get saved.
I set up Encaps over a year ago not sure which virsion i am running and dont know how to find out.
to update to latest version do i just upload the latest code.
thanks |
|
|
|
From: Encaps Date: August 11 2010, 15:17
|
There is no way to just update the app.
Please open your ftp for me so I will inspect the issue |
|
|
|
From: Guest Date: August 11 2010, 13:42
|
| Hi, don't think this has been asked before. I have included code in the footer to allow users to upload pictures to the ftp folder, however, I'm struggling to find a way to either automatically scan the ftp folder or at least create a "scan" button to do it. All photis will be added to a single category (category id 1) so automating should be quite easy if I knew how. I don't want to provide them access to the admin area as I don't want them fiddling around with the categories and db settings. Any help on how I can do this would be much appreciated. Thanks. |
|
|
|
From: Guest Date: August 10 2010, 08:14
|
I just purchased the gallery. Please can you advise how to get more than 1 thumnail per line. I have been through the forum and tried everything but to no avail.
Thanks.
|
|
|
|
From: Encaps Date: August 10 2010, 10:48
|
| What does mean "1 thumnail per line" ? Could you please show me the url or the picture? |
|
|
|
From: Guest Date: August 10 2010, 12:29
|
Hi Andrew,
Thanks for the response. I really like your gallery. You can see the gallery here...
http://***.***********.co.uk/gallery/
It shows 1 thumnail per row. I would like to be able to change this to at least 3 thumbnails per row. Is this possible?
Many Thanks |
|
|
|
From: Guest Date: August 10 2010, 04:18
|
Great product. I've set mine up so that anyone can add a photo without logging in, but admin page is required for everything else. Works pretty well!
However I need to add the following:
1. Create automated emails to send out after form is filled out.
2. Create a search bar to search various for various photo info.
3. Need a thumbs up / thumbs down option (Rating System).
4. Allow bitmaps and a other file extensions.
5. Once photo is uploaded it needs to be redirected to the home page.
8. Create a way to store a unique id in database each time someone submits an entry.
|
|
|
|
From: Guest Date: August 10 2010, 15:39
|
| I don't need a full explanation on how to achieve these, but a point in the right direction would be nice. I'm very good with php and programming in general, just not sure which file does what for encaps. Thanks! |
|
|
|
From: Encaps Date: August 10 2010, 15:51
|
Unfortunately there is no simple quick answer to your questions
I did not implement the features you described before, so I don't have ready answers.
I could just say the main logic you can change from /core/ directory, the behavior is controlled by html templates |
|
|
|
From: Guest Date: August 10 2010, 15:53
|
That's what I was somewhat afraid of lol, but I will work till I get it figured out. Wasn't sure if you had any API or anything for this awesome gallery.
Another thing that might help is if I could understand more the sequence of things? I'll report back with anything I get done, and also if you have any other suggestions that would be great. |
|
|
|
From: Encaps Date: August 10 2010, 16:18
|
The main sequence of things is like this:
1) there is $catalog object defined from core/catalog.class.php
2) catalog.php calls $html["item"] = $catalog->items->get_by_id((int)@$postget["id"]);
3) then render the $html array from catalog_item.html
This is generic way |
|
|
|
From: Guest Date: August 16 2010, 17:43
|
Well I got the email auto reply figured out, the ability to make certain fields required, and the redirection to home page after submission of a photo.
Now I need to figure out the search part, guessing I will have to build a database. Any thoughts? |
|
|
|
From: Guest Date: August 20 2010, 17:05
|
| Search is in, ID's generated for each photo is close, just need a rating system now. |
|
|