mp3audio in album display page

webmayin

Joined: 2005-10-16
Posts: 26
Posted: Thu, 2010-01-28 22:46

Has anyone modified a theme to support multiple players in Album view? It would save some navigation if visitors didn't have to 'click through' to listen to the audio. I realise it could cause some havoc if they were to be played simultaneously. If that mod is possible, perhaps a smaller player could be used to make it more like the Amazon 'listen' sampler list layout.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-01-28 23:33
 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Fri, 2010-01-29 05:33

Okay, that's going to do wonders, I can see. Thanks for your reply. I was having some trouble hiding storage albums from my visitors, and still letting the minislideshow and E2 player access them. I'm making a site for my buddy's band, and selling songs and albums as downloads straight from embedded gallery using checkout. Do you know anything about passing those checkout variables to a CMS page? I'm using checkout, checkout paypal, and checkout download. Here's the link:
www.apff.ca
Please forgive any vulgarities you might encounter.
Also, can I link to your site with your logo on my home page? You remain in my opinion, one of the most helpful people on the internet.
All the best

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2010-01-29 12:57
Quote:
Do you know anything about passing those checkout variables to a CMS page?

GalleryUtilities can put request variables transparently:
GalleryUtilities::putRequestVariable('myKeyName', 'myKeyValue');
If you are trying to accomplish this in a cms page, mediaBlock can render multiple mp3Audios on a single page.

Quote:
I was having some trouble hiding storage albums from my visitors, and still letting the minislideshow and E2 player access them

What I do to hide albums is to place them outside the breadcrumb root so navigating to them is impossible without a direct url.
$gallery->setConfig('breadcrumbRootId', someAlbumId);
IMO the hidden album module creates view problems and is more of a pain than anything - so the breadcrumb method works better.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Sun, 2010-01-31 12:23

MediaBlock will be perfect for this application, but I don't actually speak gallery code, where would I use those lines? The breadcrumb method looks especially helpful.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-01-31 12:55

a sample of showing multiple mp3's on one page
http://www.flashyourweb.com/gallery2/mediaBlock.php?g2_itemId=31&mode=dynamic&g2_view=dynamicalbum.RandomAlbum&limit=4

as for breadcrumbs... on FYW we have albums "Public", "CMS", "PRIVATE" and "SAMPLE MEDIA"
the PUBLIC album is the root we want for our non-admin users so we $gallery->setConfig('breadcrumbRootId', 418); where 418 is the id for the PUBLIC album so guests and non-admins never see those othe albums in the breadcrumbs.
within this root album we have our user albums, videos, image samples, mp3's... so these users are allowed to roam anywhere within that album.
you can place $gallery->setConfig('breadcrumbRootId', 418); in config.php near the end of the file, or in your embedded page before GalleryEmbed::handleRequest();

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Mon, 2010-02-01 09:29

That breadcrumb method is excellent, thanks for the tip. How would the mediablock work with GalleryUtilities::putRequestVariable to make checkout variables available for each item?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-02-01 14:27

it may be better to perform this action directly in the album page as the add to cart/checkout link is already there foreach.
But I'd be asking this in the marketplace forum.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Mon, 2010-02-01 22:14

Yes, it is fine the way it is. Thanks for your help

 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Wed, 2010-04-21 04:51
Quote:
$gallery->setConfig('breadcrumbRootId', 418);

I have set my breadcrumb root to a public album, and it works great for the breadcrumb link, All regular users can not navigate above the public album. But when I am not logged on as a registered user, and type in www.dreadfulimagery.com/gallery
I can still view all of the albums that were hidden in the normal view. I was hoping to make these mostly hidden, and available to the people who commissioned the shoot. I really don't want to have to create users and permissions to allow guests of events to view their groups' photos. Any ideas?

 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Thu, 2010-10-07 21:47

Is there a method like setting the breadcrumb root for the Album quick links menus?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-10-07 23:09

The DHTML menu? dunno.

I have a working tree menu that I can place anywhere.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Techspecialist
Techspecialist's picture

Joined: 2010-10-08
Posts: 5
Posted: Sun, 2010-10-10 20:28

What does the working tree menu means?

 
webmayin

Joined: 2005-10-16
Posts: 26
Posted: Thu, 2010-11-04 20:38

I'm using the breadcrumb root method to hide albums at www.connietreen.com but www.connietreen.com/gallery still shows up in the google search. Do you know how I can hide that root album from google?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-11-04 20:51

Google is probably trying to be smart about digging around your site and sees that connietreen.com/gallery/v/connie is below /gallery and linked to from /gallery

Why not move your main stuff you want everyone to see to /gallery and move the rest of your "hidden" stuff below that like /v/website and /v/admin

Then you could simply create a robots.txt and tell google to not crawl those directories:

User-agent: *
Disallow: /gallery/v/website
Disallow: /gallery/v/admin

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-11-04 20:54

oh wait, I just thought about that a bit more. You'd probably want them a bit deeper so you can hide their parent album, but still allow their content to be visible so you can link to them.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-12-16 04:38