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.


Messages - surferboy

Pages: 1 2 3 [4] 5 6 7 8 ... 10
46
Mods & Plugins (Releases & Support) / Re: [MOD] Multi-Lightboxes v1.03.1
« on: October 26, 2010, 04:55:43 PM »
The issue of the different saved images not "sticking" after a few days continues.

Using v1.7.7
Php version is 5.2.14
MySQL version is 5.1.47

Problem: A user has 4 lightboxes with different images saved to each of the lightboxes. Yet the same 4 images appear in the first three lightboxes when you click on their profile as another user.  The fourth lightbox has three images that were saved recently. Those still show.

Lightbox 1 - Dogs  (when clicked in the user control panel, it shows the 4 images from the Food lightbox)
Lightbox 2 - Scenery (when clicked in user control panel, it shows the 4 images from the Food lightbox)
Lightbox 3 - Food (when clicked in the user control panel, it shows the 4 images from the Food lightbox)
Lightbox 4 - Friends

When does this happen? After about a week or ten days. Perhaps it is timed to the new images setting, which for our gallery is 10 days.

The multi-lightbox works initially, but then all the most recent images seem to occupy the older boxes after a few days or a week.  To drive home this point, if the second and third lightboxes are deleted, Scenery and Food, the first lightbox still shows the Food images.  

Is this a database sorting problem?

Thanks for any ideas you might have.

[edit]

There is another issue - with another user, the first lightbox is marked public but the second lightbox is marked private. Yet even with those settings, the more recent lightbox or the second lightbox, which is marked as private, displays all of its images to the public.

Here are the admin settings for our image gallery for multi-lightboxes:

- number of allowed lightboxes: 15
- allow share of lightboxes: YES

Brian

47
Mods & Plugins (Releases & Support) / Re: [MOD] Multi-Lightboxes v1.03.1
« on: October 18, 2010, 06:16:49 AM »
This isn't exactly off topic but I believe V@NO can speak Russian.  As much as i would like to follow your conversation on here, perhaps if you posted your request and misunderstanding in Russian, V@NO could understand what it is you want to achieve.

The signature in the MrAndrew profile is a .ru domain so I conclude this is member is Russian.

48
Mods & Plugins (Requests & Discussions) / Re: multi-category rss feed
« on: September 16, 2010, 04:06:44 AM »
Yep, totally works like a charm.  THANK YOU SO MUCH!   :D

For our website, where the 4images gallery is just one component, this MOD or tweak allows us to create RSS widgets for every one of our 33 country pages. When a community member goes to that page, they will be able to see all the images recently uploaded for that country category and any subcategories under that.  This finesse of the code makes the integration of 4images so incredibly valuable. 

Similarly, we have 6 athlete pages for focused athlete interest, and we have a matching 6 athlete categories on our 4images gallery. This is pure gold.

Again, thanks so much. If you would like me to take the time to turn this into a micro MOD instead of your having to do the work, just let me know. It's the least I can do.

- Brian

49
Mods & Plugins (Requests & Discussions) / Re: multi-category rss feed
« on: September 16, 2010, 02:25:38 AM »
Hi -

Thank you so much, once again. We're almost there!  The parse error is gone and in my initial testing, everything seemed to be working perfectly.  I checked the current categories that had images and also had subcategories images and clicked the RSS button. The RSS feed came back fully populated, and I presumed the images in the current level category had just been uploaded earlier than the ones in the sub category.

However, I checked one category that had two images in the current level and 5 images in the subcategory. Clicking the RSS feed button returned all 5 of the subcategory images but not the 2 current level images.  I checked my RSS.php file and double checked the image default: @define('RSS_DEFAULT_ITEMS', 10);

Unless there is a code setting for # days since upload, which there certainly could be ..., that means the current level images are still being ignored.

[edit] forgot to mention: if all the images are in the current level and there is no subcategory [edit3], and I click on the RSS feed button, it works just fine.  I'll test a new scenario by adding a subcategory to this current level category, but without any pics, and see what happens ..

[edit2] aha! as soon as I did add an empty subcategory under the current level and clicked on the RSS feed button, the RSS feed returned completely blank ...

since I know some of the images in the current level were just uploaded today, I know it isn't a # days since upload issue.

What do you think?

Thanks again for your time on this.

Brian

50
Mods & Plugins (Requests & Discussions) / Re: multi-category rss feed
« on: September 15, 2010, 06:39:46 PM »
Hi -

using v1.7.7
mysql 5.1.47
php 5.2.13

WOW! Bit of some Chinese food I'm afraid - sweet and sour ...

For our super categories, in the words of entire British Empire: brilliant. Yes it works exactly as I had hoped.  What I mean by super categories are those top level categories where we have disabled members from uploading images directly into that first level category. Instead, the images are uploaded in the sub-categories. All images appear as per the specification of the number of images and date of upload.

But what doesn't work and causes a mysql parsing error, is to click the rss button on any category that only has images directly in that category.  The mysql parsing error does not appear for a category that does have images directly in the category if there are images in one or more subcategories.  In that scenario, the images at the current category level are simply ignored.

Here is the parsing error, edited to remove our domain information:

XML Parsing Error: junk after document element
Location: http://www.xxxx.com/ourgallery/rss.php?action=images&cat_id=178
Line Number 2, Column 1:<b>Warning</b>:  implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in <b>/home1/xxxxx/public_html/ourgallery/rss.php</b> on line <b>238</b><br />
^

Thanks so much for your help in trying to make this work.

Brian

51
Mods & Plugins (Requests & Discussions) / multi-category rss feed
« on: September 15, 2010, 06:57:50 AM »
In my search of the forums, it would not appear that anyone has asked the question of how to create an RSS feed that pulls images from the one of the top categories and all sub-categories below.

Is that possible?

I know that an external news aggregator could do that but it would require constant updating as new sub-categories were added, and the chances of displaying the the thumbnails from all the sub-categories is not likely in a aggregator widget.

Thanks,

Brian

52
Yikes, this is a situation where Google translate drops the ball.

I tried to use the Google translate to read Tino's message and it is so jumbled and backwards, I have no idea what he is talking about.

Could someone summarize in english his post/problem or finding? It sounds important.

Thanks,

Brian

53
Hi -

Found this MOD to be very intriguing.  Is this MOD available to registered users to copy the images or just administrators?

Thanks,

Brian

54
Mods & Plugins (Requests & Discussions) / Re: Thumbnails in RSS
« on: September 14, 2010, 03:26:06 AM »
Hi Buddy Duke,

Thanks, that solved half of the problem. I executed the sql query you provided and in a blink of an eye, all the auth_viewcats were set to 0.  Thanks so much for the assist.

And now, the RSS feed for the index page did add to Google, for which I am ambivalent. I was more focused on the inclusion of RSS feeds in other pages of our website.  However, now there are two problems, one left over and just a coding housekeeping issue.

1. The image still does not appear in the RSS feed. Just the text listing. That's true in the Google feed as well as the internal website RSS feed on another page.

2. I am using an external widget studio that makes some nice looking widgets. It allows for all kinds of options to include in the RSS feed display.  So I did want to list the 'contributor' and the system lists two things: [example@example.com][userid].  The example@example.com is listed on every feed so that's just a coding issue, I'm sure. The [userid] is working properly.

[edit] - found the example@example.com in the RSS.php file. I deleted it. Just left it as $user_email = "";  Just checked and it didn't fix it but RSS feeds are not instantaneous. Hopefully that will solve item 2.
[edit2] - had a look in rss_item.xml and found the author_email code; deleted that from the CDATA section.
[edit3] - scanned this topic again, and I see to be having the same issue that Kurman had,
http://www.4homepages.de/forum/index.php?topic=19647.msg125000#msg125000

but I checked the RSS.php file for the image title and image name fix that he said fixed his problem and I had that in there. When I completely redid this RSS MOD, I followed all the steps of the first page and then added your steps from page 2.

You did ask elsewhere in this post if there were any other mods done on the RSS.php file. The only thing I could find was this:

// Reset session mode
$site_sess->mode = $old_session_mode;

if ($cache_page_rss) {
  save_cache_file($cache_id, $content, true);
}

} // end if get_cache_file()

I will PM you, hoping that is acceptable, to give you access to our website, since it is protected with aMember login.

Thanks again for your help.

- Brian

55
Mods & Plugins (Requests & Discussions) / Re: Thumbnails in RSS
« on: September 13, 2010, 09:22:07 PM »
Hi -

Using v1.7.7
Mysql 5.1.47
Php 5.2.13

I have done all the changes for this MOD twice just to make sure and still no luck in getting the images to appear in the RSS feed.  Also, the RSS feed for the index page only shows the logout index page images when I try to copy the RSS feed to say google or yahoo.

Do you think the problem is that all of category permissions in the ACP are set as 'registered users?'  Should I attempt to change the setting in the category permission to 'ALL' for View Category and View Image? 

If so, can someone help with a quick sql query that I can use in phpmyadmin to change the settings? I have upwards of 200 categories now.

Thanks,

Brian

56
Tutorials / Re: [TUT] Tooltip for Thumbnails
« on: September 10, 2010, 03:41:27 AM »
Hi -

Thanks so much for that.  I tried shortening the image_tip to image but it caused the layout to go haywire with huge long columns and visible code.

However, following your instructions on removing the backslashes on image_tip line of code in the includes/functions.php file did the trick. Now all of the images appear in full size on mouseover, and with your help, the apostrophe problem won't plague the image gallery as our members upload and write descriptions.

Thank you so much for your help.

Brian

57
Tutorials / Re: [TUT] Tooltip for Thumbnails
« on: September 10, 2010, 02:42:31 AM »
Hi -

Thanks for continuing to follow this.  I replaced the code you provided. That seemed to fix the mouseover functionality for all the images, even the problem ones but the image_tip functionality is still an issue.  What happens is the image box expands to full size but the image does not appear. Instead, a very small broken image icon appears in the blow up on mouseover.

I will send you a PM with an access code so you can log on and have a look at the category and image that was a problem but if you go to the home page of the gallery and mouseover any of the images, you'll see the same thing as well.

Thanks so much for your time.

Brian

58
Tutorials / Re: [TUT] Tooltip for Thumbnails
« on: September 09, 2010, 05:11:11 PM »
Hi -

Thanks for your help on this.

I implemented your fix exactly as your specified.  ALL of the images showed the smaller pop up of the image name, image category, and comment count. Even the images that were a problem. (see attached file thumbnail_bit.html

Then I added the description language to the code you provided so that I could get the image description displayed as well. When I did that, all of the images worked except one. This worked with several images whose description have apostrophes in their text.  (see attached file thumbnail_bit_wdesc.html)

Then I added the image_tip functionality since that is what makes this MOD so spectacular, the full size pop up of the image as you mouseover the thumbnail.  When I did that, the screen pop up goes to full size but the image does not appear. This applied to all of the images except the same one as previous modification. (see attached file thumbnail_bit_wdesc_wimagetip.html)

Not sure why the image_tip functionality gets broken with the extra coding your provide.

Thanks again for looking at this.

Brian

59
Tutorials / Re: [TUT] Tooltip for Thumbnails
« on: September 09, 2010, 07:40:19 AM »
Hi -

Thanks the suggestion. Attached is the thumbnail file - I think you have nailed it although when I tried to implement your fix, the mouseover enlargement worked but no large image appeared.

The problem, I think, based on your analysis, is that I have include the description in the tooltip thumbnail_bit.html file and some of the descriptions have a single apostrophe in the informal descriptions, such as "I'm wearing a t-shirt ..."  When I went back and deleted the apostrophes, the image did not enlarge on mouseover.  Not sure if this is due to the 'big' file not updating when the image is edited. (since it is the original image that enlarges on mouseover)

What do you think?

Thanks for taking the time to look at this.

Brian




60
Tutorials / Re: [TUT] Tooltip for Thumbnails
« on: September 09, 2010, 04:48:14 AM »
Seemingly random problems with Tooltip for Thubnails:

using v1.7.7
php: 5.2.13
mysql: 5.1.47

Issue: some of the uploaded photos do not display to full size on mouseover.  Case in point - two members uploaded a single image each. One expands to full size on mouseover and the other does not.

Is there a setting or db field to check for this?

Any ideas?

Thanks,

Brian

Pages: 1 2 3 [4] 5 6 7 8 ... 10