Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Chris

Pages: 1 2 3 [4] 5
46
Is there any way to retrieve just the details URL associated with the thumbnail in the thumbnail_bit.html template?  

I want to get that URL and append "&action=buynow".  This is so that when the user clicks the thumbnail, my details page opens and the tab pane where the order form is located is selected and made active.  I have everything working, I just need the url accessible to me in the thumbnail_bit.html template for a new "buy now" button I'm adding.  I've already made the required modifications to details.php and details.html

I could do it myself by adding a new parameter to get_thumbnail_code() and a line like this inside the function

Code: [Select]
if ($MyNewParameter)
$thumb = $site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&mode=".$mode : ""));


But I'd rather not take this approach if there already exists a way of doing this.

47
Discussion & Troubleshooting / Search Constructors "OR", "AND" question
« on: October 03, 2002, 04:36:17 AM »
I have images of two people.  In the description fields, I have entered their names.  They are:

Clint Macbeth
Keith Macbeth

Using the Advanced Search form, if I enter "Keith Macbeth" in the search_keywords form field and click the "AND" search constructor radio button, I get all images from both people.  If I enter "Keith AND Macbeth" in the search_keywords form field, I get only the images of "Keith Macbeth".

So what purpose does the "search constructor" serve?

48
Feedback & Suggestions / [Feature Request] Clickstream enhancement?
« on: September 30, 2002, 11:40:41 PM »
Suppose I have a category with 160 images.  At 8 images per page, this is 20 pages.  Now suppose a user navigated to page 9 in this category and clicked on the first thumbnail to view the image.  Then he or she used the "next image" link in the details.html template to view the next 10 images.  It would be nice if the user had a way to navigate back to the category thumbnail page containing the thumbnail for the image just viewed.

Currently this user can only click the category link in {clickstream} and then navigate back to page 9 again (assuming they remembered what page they were on to begin with).  If the setting in the admin CP only allows 4 page links for the categories template, this user has at least 4 clicks and page loads to do before picking up where they left off.

Does this make sense?  Any ideas?  My only thought, and to keep it simple, is to enhance clickstream to something like the following:

Code: [Select]
Home > Category_1 > Subcategory_3 > Page_9 > ImageName
and keep updating {clickstream} with the page number as the user navigates using the previous and next links.  Also update the page number if the user changes the images per page setting.

Lastly, and this would be icing on the cake so-to-speak, if the image is displayed in a separate details window, use DHTML to dynamically update the window.opener to display the next/previous page in the category view as the user clicked next/previous in the details window.

49
Feedback & Suggestions / Dynamic change to page title
« on: September 30, 2002, 03:58:06 AM »
Hmmm... just curious.

Is there any way to do something like this in the header.html template?
Code: [Select]
<title>{site_name}: {clickstream}</title>

Obviously this doesn't work as "clickstream" contains HTML tags.

50
I know that if the user doesn't have permission to download, a grayed out download button is displayed.  I would like to conditionally remove the download button if the user doesn't have permission as this would allow me to also remove a table cell that holds it.

I also know that we can use {if XXsomeVariable} and {endif XXsomeVariable} to do this with database elements and I do this for some things.

Is there any way to do this for the download button?

51
Mods & Plugins (Releases & Support) / [Mod] Randomizing {new_images}
« on: September 24, 2002, 03:00:55 AM »
I use 4images for my personal photography.  When I add new images, I always do it in bulk.  That is, I typically use FTP to upload 10 to 100 images and then use the admin control panel 'Check New Images' to add all of them at once.

{new_images} used in the home.html template always displays the LAST <Image table cells> number of new images.  (which for me is 4)  

How can I randomize which 4 new images are displayed in place of the {new_images} template tag?  

By that I mean I want to randomly display 4 new images rather than the LAST 4 new images added.

52
Jan / Nicky:

This one's EASY !!!  It would really help if the Admin Control Panel would display the number for each category in the "Edit Categories" table.  This really comes in handy if you add a multiple new categories with the intent of using the "Check New Images" to batch upload many images.  It would tell the administrator which directory to batch upload into via FTP.

As it is now, I have to use phpMyAdmin to peek into the category table to figure it out.  What a pain...

How about it?

53
Provide a drop down list of all the available keywords in the advanced search page.  Not knowing what keywords exist makes it hard to guess what keyword search can be performed.

54
Feedback & Suggestions / Feature Request: Lightbox slide show and sharing
« on: September 10, 2002, 03:43:03 PM »
1.  SLIDE SHOW

Now that we can go NEXT and PREVIOUS through the images in the lightbox, add a slide show capability.  This would automatically take the user through each image.  Perhaps some checking of the media type might be needed.  (I wouldn't expect a slide show to automatically move past a .wav or .avi file.)  Perhaps the slide show would be initiated by pressing a button from the top level.  Let the user set the viewing duration and whether or not to continually cycle through the images once reaching the end.  The implementation might done using a simple meta-refresh or javascript.

2.  SHARE WITH OTHERS

Allow the lightbox to be shared in a read-only mode with others.  Much like sending a postcard, this would let a user collect images to their lightbox and then email a URL to someone so that person could view the contents of the lightbox.

3.  SEND SLIDE SHOW LIKE POSTCARD

Expanding on the above, also allow a user to send a URL to someone to view a slide show of the lightbox.

55
Keyword searching in its current form is great but it only works if you already know all the available keywords in the database or happen to click on a keyword from the page generated by details.php

It would be really nice to have a php generated keyword list to select from in search_form.html.  In other words, let 4images generate a drop down list of all the available keywords like it already does for the available categories. This would make keyword searches more powerful for the end user.

My guess is this would require a new database field or table.  Future version perhaps???

Whether this suggestion is taken or not, thanks for listening to the user community.

56
I entered the word 'Pond' into the "Search by Keyword" form field.

CASE 1:

If I leave the "All fields" radio button selected, I get 7 images returned.  There are actually 386 images that have the keyword 'Pond'.

CASE 2:

If I select either the "Only image name", "Only description", or "Only keywords" radio buttons, I get the following error:

Code: [Select]
DB Error: Bad SQL Query: SELECT m.image_id FROM 4images_wordlist w, 4images_wordmatch m WHERE w.word_text LIKE 'pond' AND m.word_id = w.word_id AND wm.name_match = 1
Unknown table 'wm' in where clause


Also, for CASE 1, hitting my browser BACK button doesn't return me to the search form.  Instead I see the same search results again but the table width is slightly altered.  Hitting BACK again takes me to the page from where I clicked "Advanced Search".  I don't know if this has anything to do with the problem or helps in any way.

57
From index.php, I clicked on "New Images".  This is
Code: [Select]
<a href="{url_new_images}"><b>{lang_new_images}</b></a> in the home.html template.

I was presented with 4 pages of search results from /4images/search.php?search_new_images=1  

When I clicked on "2", or any of the other page numbers, I was dumped to the search_form.html template with this message "Your search resulted in no matching records."

This bug is reproducible.

58
If I use a download_url that is site relative, meaning the file is stored locally on my site, is there any way to display it's file size as is done for the image displayed in the deails.php page?

I'd like to use this to indicate to the user that there is a larger, higher res file available for download.  Any quick modification that could accomplish this?

59
During the registration process, and in the user control panel, provide a checkbox, radio button, or other form control, to let users "opt-out" of receiving emails sent from the admin control panel.  Store this boolean value in the 4images_users table.

When the administrator goes to the admin control panel and clicks "Send Email" all the names in the "Select User" list box are highlighted by default.  For those users who have opted out of receiving email, simply do not highlight their names.  That is:

Current generated HTML:
Code: [Select]
<option value="User@domain.tld" selected>&raquo; User (User@domain.tld)</option>

Would become:
Code: [Select]
<option value="User@domain.tld">&raquo; User (User@domain.tld)</option>


It seems to me that this solution should be pretty simple.

60
This problem exists in 1.5 final.  I think I verified this correctly with a clean, unmodified, version of 4images and the default template set.

The following html template files contain the <textarea> tag and are affected:

comment_form.html
member_mailform.html
member_uploadform.html
member_uploadform.html
postcard_create.html

Here is a screen shot to show the problem:


As you can see, half the template is "cut off" from the edit box and I have two strange buttons.

Anyone else have this problem?

Pages: 1 2 3 [4] 5