Share Albums (Creates imagevenue like BB and HTML linking code) Share Albums (Creates imagevenue like BB and HTML linking code)
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Share Albums (Creates imagevenue like BB and HTML linking code)

Started by trippinsweet, June 18, 2006, 02:49:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trippinsweet

I've been working with community image sites, and a frequent thing is to share pictures on forums. The images themselves are located on an upload site like imagevenue, or photobucket and the thumbnail visible on the forum links back to the original.

If you look at: http://www.imagevenue.com/  it allows you to upload a picture then automatically creates the BB code or HTML for you to put up elsewhere.

I created a hack to do the same thing for whole albums created in coppermine. This way, users can share their uplaoded pictures or pictures in public albums. Your gallery gets more useful and you get viral advertising.

Users can choose to either share the entire album or select which pictures they want to share.

-----
Installation:

1) Copy the attatched file into your coppermine directory
2) Edit your theme and add the following code underneath the block named:

$template_thumb_view_title_row

<br><a href="share.php?album={AID}&album_name={ALBUM_NAME}">Share this album</a>

With a little HTML knowledge you can add it wherever you like. The important thing is that it passes the AID and ALUM_NAME variables over to file I created.

--

The only avaliable example I have is at an adult site, but I'll share the link anyways.

>> Album in question: http://www.ah-hentai.com/portal/hentai-archive/place,thumbnails/album,1000463/
>> Direct Link to the new functionality: http://www.ah-hentai.com/portal/index.php?option=com_copperminevis4&Itemid=85&place=gallery&place=share&album=1000463&album_name=Christmas%20Ecchi



trippinsweet

Just remember folks, all of those mods except this one: "full albums pictures as bbcode thumbnails with link to normal or orginal picture", work only for individual pictures.

And even the other mod, requires you to copy and paste each pictures BB code individually. This can be pretty tedious if you want to share say...25+ images.

With my mod, it automatically creates BB code for the entire album and lumps it together. And if you want to only show part of an album, you can select those pictures only and it will automatically create the lump code for you. Result? Share more pictures, faster.

I used the wrong examples earlier. This system works something like imagecash.net or imagefap.net

DiaMirza.com


Nibbler


hinocki

there's not a link in the first post...
where can I find the plugin?

thanks

Nibbler


williamgates

Thanks for sharing the good work, but I am sorry to say that it doesn't works for me, I don't know why.
I did everything you told, but When I click the link, It appears a blank page without any content.
My CPG is 1.4.16, I tired both FireFox and IE, both English and Chinese album names, the problem is still there.

If you can give me some advice about the problem, please tell me, thanks a lot.

Nibbler


Rukbat

I have uploaded the file to my 'gallery' directory.  Am using 'classic' theme, but I can't find '$template_thumb_view_title_row' anywhere in the template.html or the classic.php files.  Am I looking in the wrong place?


Rukbat

copy *what* from the sample theme? the template.html or the theme.php?
I know how to edit both html AND php files but I cannot find a block containing '$template_thumb_view_title_row' in either one.

Nibbler

Copy just the $template_thumb_view_title_row definition from the theme.php. Not the entire file.

Rukbat

Thank you!
I did, however end up getting an error regarding line 139 in share.php
so, I took a look and had to change '.../archive_gallery/...' to '../gallery/...'
seems to be working fine now.  Thanks again!

Rukbat

Just a couple of additional questions:

    * Is there a way to keep it from choosing all the images in the album by default, and instead have none 'checked' off?
    * Is the 'Toggle' column supposed to be used for 'selecting/deselecting all' on that 'row'?  If so, mines not working.

Rukbat

Quote from: Rukbat on May 20, 2008, 05:50:44 PM
Just a couple of additional questions:

    * Is there a way to keep it from choosing all the images in the album by default, and instead have none 'checked' off?
    * Is the 'Toggle' column supposed to be used for 'selecting/deselecting all' on that 'row'?  If so, mines not working.
*bump*
anyone?