Short URL / Redirection plugin for cpg1.5.x Short URL / Redirection plugin for cpg1.5.x
 

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

Short URL / Redirection plugin for cpg1.5.x

Started by Αndré, December 16, 2009, 03:05:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

Everyone knows url shortener like tinyurl.com, bit.ly, tr.im and so on.

This plugin creates your own url shortener service! You can choose which usergroups are allowed to create new short urls (a button will appear in the sys menu) and if you want to show a preview page or immediately redirect to the destination url.

Furthermore you can easily access categories:
Quotehttp://your.website.com/?c=<category id>
albums:
Quotehttp://your.website.com/?a=<album id>
and pictures:
Quotehttp://your.website.com/?p=<picture id>

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_shorturl_v1.4.zip/download

Αndré

Version 1.1 currently has English and German output.

Joachim Müller

#2
Added to "official" download section: see initial posting

ch33p0x

i didnt understand how this worked?
"a button will appear in the sys menu"
i have installed this plugin and everything.. i cant find the button anywhere?

Αndré

If you really want support, please post a link to your gallery. I just recognized that the button doesn't appear in curve theme.

ch33p0x

#5
why would posting link to my gallery help?
anyway... Link removed as requested
im using hardwired..

Αndré

The hardwired theme overwrites the sys menu buttons including the button from the url shortener. Should work with themes that don't overwrite that variable (e.g. waterdrop). In that case you have to add that button manually to your theme. Open your theme.php file and add the button to the $template_sys_menu variable.

ch33p0x

ive got an answer, so im wondering if you can delete my posts? didnt find an option or edit todo it myself cus i want to remove my url link..

Αndré


micropalla


Αndré

#10
Have you enabled it in the plugin config? http://www.fotoferrovie.info/index.php?shorturl=config

Regardless of that setting, the button should always be displayed for the admin. However, there was an issue with the curve theme, as it lacked some plugin hooks since cpg1.5.24 (see http://forum.coppermine-gallery.net/index.php/topic,75613.0.html). You probably need to upgrade your curve theme according to the changes which have been developed in that thread and committed in SVN revision 8569.

Αndré

Version 1.4 fixes a possible database error during installation and adds an icon to the menu button, if enabled in config.