forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Αndré on December 16, 2009, 03:05:04 pm

Title: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on December 16, 2009, 03:05:04 pm
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:
Quote
http://your.website.com/?c=<category id>
albums:
Quote
http://your.website.com/?a=<album id>
and pictures:
Quote
http://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
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on December 30, 2009, 01:51:16 pm
Version 1.1 currently has English and German output.
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Joachim Müller on December 30, 2009, 05:33:34 pm
Added to "official" download section: see initial posting
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: ch33p0x on September 29, 2010, 03:23:17 am
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?
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on September 29, 2010, 08:42:56 am
If you really want support, please post a link to your gallery. I just recognized that the button doesn't appear in curve theme.
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: ch33p0x on September 29, 2010, 02:33:03 pm
why would posting link to my gallery help?
anyway... Link removed as requested (http://Link removed as requested)
im using hardwired..
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on September 29, 2010, 03:49:50 pm
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 (http://iknowuwannado.me/?theme=water_drop)). 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.
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: ch33p0x on October 28, 2010, 12:36:32 pm
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..
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on October 28, 2010, 01:18:26 pm
Link removed as requested.
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: micropalla on September 03, 2013, 05:04:44 pm
The same for me...
No button here: http://www.fotoferrovie.info/index.php

What do I have to do?
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on September 04, 2013, 10:28:13 am
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.
Title: Re: Short URL / Redirection plugin for cpg1.5.x
Post by: Αndré on September 04, 2013, 10:54:34 am
Version 1.4 fixes a possible database error during installation and adds an icon to the menu button, if enabled in config.