TagBlitz 1.0 (stable) - Linking suite (HTML, bbCode, tags, social bookmarking) TagBlitz 1.0 (stable) - Linking suite (HTML, bbCode, tags, social bookmarking)
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

TagBlitz 1.0 (stable) - Linking suite (HTML, bbCode, tags, social bookmarking)

Started by thejake420, May 24, 2006, 11:18:32 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

thejake420

TagBlitz Plugin 1.0 for Coppermine Photo Gallery 1.4.6

Demo link (Page is safe for work. This site is using the Alternate version with the direct file download link.)

-- These next two links will always point to the most up-to-date version --

Download plugin - Original version, no direct pic/vid download link (Recommended for most people)

Download alternate version - Alternate version, with direct pic/vid download link
(Most people will not want this version, as it gives a direct download link to the media itself.


Title: TagBlitz
Version: 1.0 (stable)
Author: Jake Russell - http://www.tagblitz.com
Official Plugin Page: http://www.tagblitz.com/getcode.php
Official Support Thread: http://forum.coppermine-gallery.net/index.php?topic=31833.0
Live environment test: CPG 1.4.6
Tested with IE 6 and FF 1.5

AVAILABLE CUSTOMIZATIONS (Available, but not required!)
If you prefer a text link instead of the TagBlitz button, simply change {$buttoncode} to {$linkcode}
(Near line 154)

What does this plugin actually do?

This plugin provides two valuable services for your CPG:

First, it gives your users the ability to easily share your CPG pages with over 50 different social bookmarking websites and services, including del.icio.us, Technorati, digg.com, Myspace, AIM, furl, and Blogger, just to name a few.

Second, it gives your CPG the ability to produce cut and paste linking codes so your visitors can post thumbnail and text links to your pages all over the web.

All the links are permanent URLs, of course. This is absolutely the best promotional plugin available for CPG.

I actually built a new site (TagBlitz.com) primarily as a backend for this plugin (plus variations for other scripts and platforms), so that the plugin itself would remain lightweight, while still being able to provide an incredible amount of functionality. Tha site, by the way, will be around for a very long time, so you don't have to worry about it disappearing on you. (And even if it did, you could simply uninstall the plugin with one click.)

As for the TagBlitz site itself, it has a simple mission statement right on the site's front page:
"No cost, no gimmick, no spyware, no downloads, no signup, no hassle. Just a really good idea."

This plugin is completely "plug and play", no modification required, and uses the CPG Plugin API.


Jake

Joachim Müller

attaching plugin to this posting in case the original link goes down.

thejake420

Attaching alternate version (with "direct pic/vid download link"), as per GauGau's example.

Normally, I wouldn't mix two plugins in one thread, but they are absolutely identical except for one additional link. Some will want this functionality (myself, for example), but most will not. Simply sharing to avoid anyone having to modify code to get this fuctionality.

Note: Both attached files are version 1.0.1 (GauGau's attachment above contains thumb URL error)


Jake

thejake420

Next updates will be as follows:

1. Variables will be renames with prepended shortname (ie - "$tagblitz_normal_url") as per best practices thread

2. Alternate version will be renamed as version "1.0a" (etc) to avoid confusion

3. A third version with a download graphic instead of a download link may be introduced


Jake

deejaymoni

I have found a little problem in generating the thumbs url. It adds the displayimage.php between the root folder of the gallery and the albums folder of cpg. I'm using cpg 1.4.3 at the moment.

<a href="http://www.jessica-alba.de/gallery/displayimage.php?pos=-34927"><img src="http://www.jessica-alba.de/gallery/displayimage.php/albums/miscellaneousadvertizings/mtvmovieawardsportrait/thumb_portraitmtvhq003.jpg" WIDTH="100" HEIGHT="100"><br></a>

I think I should update the gallery to the newest version ^^

Ok I have updated the my cpg to the newest version and I got that problem still maybe it depends on all those plugins I have installed right now like CPG MiniCMS v1.5, Add thumbnails to Lightbox v1.2.3, Onlinestats (Who is online) v1.2 and Multiline comments v1.0.

Update by me: Seems not to depends on what kind of plugins I have installed right now I'm watching into the files but I can't find any mistake ??????

thejake420

Quote from: deejaymoni on May 31, 2006, 12:05:22 PM
I have found a little problem in generating the thumbs url. It adds the displayimage.php between the root folder of the gallery and the albums folder of cpg.

You're right, and it's my fault. I'll fix it.

Edit - Issue solved, please re-download. (Download links in first post will always point to the most up to date version.)


Jake

deejaymoni

Thumbs up  :D great work thejake420. Big thanks to you know it works great.

Thanks again  ;)

Joachim Müller

I recommend counting version count up. Your initial release was 1.0, so the fixed version should be 1.1 imo, which should be reflected in the file name as well. I modified my first reply on this thread accordingly.

Tom Lancaster

I have just tried the plugin out on my site and have been experimenting with linking to pictures.

Generally looks very useful but I have one place where the behaviour wasn't what I expected, so have had to disable for now.

A user in a restricted group can created a thumbnail link to a picture in that group and post it.

In this case, although the target picture is not available (as it requires a log in) the thumbnail is displayed to the world. There are lots of cases for private galleries where this wouldn't be desirable.

Can anyone suggest a workaround? Or is this a problem with the whole of cpg?

Also, am wondering if some of the options from which a picture could be displayed on another (popular) site might open up galleries to bandwidth overuse, with no visible indication where the picture was taken from? Perhaps there could be some configurability of what options a user can choose and perhaps watermarking for when linked to other sites?

(This wasn't intended as a moan as this does look very useful!).

thejake420

Linking codes do not respect usergroups/permissions.

If you know a little PHP, you should be able to make a fairly simple mod (don't have time to figure it out right now).

1. Define an array with all of your albums that you want to allow to be shared (ie - 1,2,3,5,7,13,14)
2. Wrap an if statement around the linking codes link in codebase.php so that it only shows if the album is in the approved list.


Or, for the time being, you could simply comment out the actual "Linking codes" link, though that would affect all albums. (You'd still have the tagblitz button, but not the cut and paste linking codes)

Just a thought... Sorry I don't have time to write it for you (just opened a new auto detailing business, and I'll be working nonstop 16 hour days for the next few weeks...)


Jake

crxvfr

Is there a place for support for this plugin. It worked fine for awhile. Very nice, but then I started getting errors about my browser not accepting cookies. I have 1.4.2 with project_vii theme and use a bridge with phpbb. I'm going to mess around with it but would be nice to know where to go to ask questions. Thanks

thejake420

This plugin does not use cookies in any way. It only reads meta tags from whatever page it is on, and passes them on (as variables in the URL instead of cookies.) If you are getting cookie related errors, it isn't from this plugin.


Jake

crxvfr

Hello, I've been messing around for this thing for hours.

I don't know what to tell you, but I'm pretty sure it has an effect on it somehow because its almost like flipping a switch. With the plugin enabled, can't login to admin and I get the warning that my browser is not accepting cookies, ...delete the row for the plugin of the db table in myphpadmin and presto, first page load the warning is gone and I'm able to login.

When the error message about the cookies is there, I CAN log in. Its accepts my info, goes to the page that says welcome (continue), then when the next page loads, I'm logged out again. Without the plugin installed, I can stay logged in.

So far I've tried renaming Coppermines cookies and making the tagblitz image local, no good.


I like this much and want to use it.

Let me try it from another location, like at work tomorrow and see if it does the same thing.


crxvfr

http://www.avatarimage.net/gallery/
cp 1.4.2
v 1.01 of the plugin.
I'm going to update coppermine and see what happens.

crxvfr

Ok, I have some info for you.
I upgraded to the newest vesion which I just downloaded. CM1.4.8
The stylesheet was the only file I didn't overwrite.
Installed tagblitz and the not accepting cookies problem was still there.
I then over wrote my entire theme, stylesheet and all.
Problem still there.
Then I switched to waterdrop and the problem went away.
It would appear that tagblitz, for some reason, is not compatible with the project_vii theme.
I'm just going to swith to waterdrop, adjust my css and be done with it.
Thought I'd let you know. Try it yourself. I would be curious to see if you get the same results.

thejake420

PM's received.

You've already upgraded to 1.4.8 (good idea), and everything works exactly as it should from here. I logged on with the info you provided, visited an image page, used both the TagBlitz button and the Linking Codes link, and everything looked and acted normally.

As you mentioned, it might be something to do with your theme. (I only tested against the default theme and my own... if other themes have something odd inside of them, I don't know...)

Otherwise, If you're having any more cookie-related issues, it's most likely either something with your browser settings or the result of the fact that you're using a mixed up combination of Mambo and CPG. If I had to venture a guess, I'd say that they have cookies that are clashing with one another. Note that I never had to log into your site's content management system, just used the CPG login after initially being denied access to admin.php (which is what was supposed to happen, since I wasn't yet logged in.)


Jake

crxvfr

These scripts run indepenently. I use mambo to have more dynamic use of keywords and for publishing fresh contenet to try stay on top of search. phpbb used to be bridged but I've removed that as well. Its the template, but don't know why. ...switched to waterdrop adjusted it to look the same way and everything works great.

Thanks for taking a look.

Another idea...... which I'm sure you've probably thought of too, is interecepting the tags on the way to posting them, then  using them to build a mother of all social bookmarks page at your site structured like diggit or something. Lots of room to move with that idea.

Happy trails

thejake420

Quote from: crxvfr on June 26, 2006, 04:50:00 PM
Another idea...... which I'm sure you've probably thought of too, is interecepting the tags on the way to posting them, then  using them to build a mother of all social bookmarks page at your site structured like diggit or something. Lots of room to move with that idea.

Already thinking about it... There ain't nothing like automatically updated content that I don't have take the time to create. ;)


Jake

webfly

Hey

First off this is an awesome plugin, this is exactly what I was looking for.

Second I am having one coding problem with the other themes that come in the box with coppermine 1.4.8, this is the for the following error that generates with the Hardwired theme.

"Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>"

Second, what do i have to modify or edit to get linkblitz to recognize flash content and generate appropriate linking for posting, etc.

If the second is not possible at this time thats cool, just figured I would ask.

W3BFly
Super-geekalicious.com/coppermine/index.php
(this hosting account is mostly used for testing, etc.)