Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Short URL / Redirection plugin for cpg1.5.x  (Read 30146 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Short URL / Redirection plugin for cpg1.5.x
« on: December 16, 2009, 04: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
« Last Edit: September 04, 2013, 10:59:56 AM by Αndré »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #1 on: December 30, 2009, 02:51:16 PM »

Version 1.1 currently has English and German output.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #2 on: December 30, 2009, 06:33:34 PM »

Added to "official" download section: see initial posting
« Last Edit: January 28, 2010, 10:00:05 AM by Joachim Müller »
Logged

ch33p0x

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #3 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #4 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.
Logged

ch33p0x

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #5 on: September 29, 2010, 02:33:03 PM »

why would posting link to my gallery help?
anyway... Link removed as requested
im using hardwired..
« Last Edit: October 28, 2010, 01:18:16 PM by Αndré »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #6 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). 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.
Logged

ch33p0x

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #7 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..
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #8 on: October 28, 2010, 01:18:26 PM »

Link removed as requested.
Logged

micropalla

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #9 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #10 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.
« Last Edit: September 04, 2013, 10:39:07 AM by Αndré »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15277
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #11 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.071 seconds with 20 queries.