Advanced search  

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

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

Αndré

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #1 on: December 30, 2009, 01: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: 47843
  • aka "GauGau"
    • gaugau.de
Re: Short URL / Redirection plugin for cpg1.5.x
« Reply #2 on: December 30, 2009, 05:33:34 pm »

Added to "official" download section: see initial posting
« Last Edit: January 28, 2010, 09: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: 15764
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: 15764
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: 15764
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: 19
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: 15764
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: 15764
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.025 seconds with 20 queries.