Downloadable link Downloadable link
 

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

Downloadable link

Started by stuarta, August 24, 2006, 01:51:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stuarta

Just added this modpack and I thought from some notes I read that there was a mod in the theme which gave a downloadable link on movies.

Is this correct? I've just uploaded a wmv and I can't see any download link

Thanks
Comptia A+ / Network + certified

Stramm


stuarta

Ok just loaded the Oranje template and noticed the picinfo in the theme.php file.

Loaded up my gallery, clicked on a wmv that I uploaded but didn't see any download link
Comptia A+ / Network + certified

Stramm


stuarta

Just quickly put it onto the Oranje theme although once I have worked out what code I need to copy I will place it on my original theme.php


www.simpilots.co.uk/gallery

thanks
Comptia A+ / Network + certified

stuarta

Just changed the theme back so not to confuse my members.

Here;s some pics

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv426%2Fstuarta99%2FGeneral%2Fscreen1.jpg&hash=68230efdf674facc37f1bd7d8911a6a60e1f46ae)
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv426%2Fstuarta99%2FGeneral%2Fscreen1.jpg&hash=68230efdf674facc37f1bd7d8911a6a60e1f46ae)

If I know what code I need to enter into my existing theme I will try that
Comptia A+ / Network + certified

Stramm

as said, the movie dowload link is in the picinfo area. Click the movie thumb, now open the picinfo (clicking the 'i' icon), scroll down below the inline movie player and find 'Direct Link:   Play the file in your standard application'

stuarta

clicked the thumbnail so the window is up as in this pic

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv426%2Fstuarta99%2FGeneral%2Fscreen2.jpg&hash=02a7b4bb6b0a61512f53e1dcb5ee87b26ad2d754)

but don't see any 'I'
Comptia A+ / Network + certified

Nibbler

The (i) in that theme is actually a word in the text above the file. Your screenshot is too small for me to be able to tell you which one.

stuarta

ok just took another shot

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv426%2Fstuarta99%2FGeneral%2Fscreen3.jpg&hash=5c59007ca432a6122ac93a71f82ff27b3ccfabef)

Basically it says

You are currently viewing FILE 3/3. You can review additional details about this photo, enjoy a slideshow of all photos in this album, send an eCard to someone based on this photo, or you can leave comments about this photo. If you find this image offensive please report it to an admin.


Should I try a different theme?
Comptia A+ / Network + certified

rphMedia

Click "details", then scroll down.

stuarta

ahhhhhhhhhhh I'm with you now.

So is there any code that I can add to my existing theme in order to show these details permanently.

I'm guessing it's this function theme_html_picinfo(&$info)
{
    global $lang_picinfo;
    $html = '';
    $html .= "        <tr><td colspan=\"2\"> <a name=\"fileinfo\"></a><h3>{$lang_picinfo['title']}</h3></td></tr>\n";
    $template = "        <tr><td valign=\"top\" nowrap=\"nowrap\">%s:</td><td>%s</td></tr>\n";
    foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);
    return $html;


But not sure where to put it in my theme.php and if that's all I need

Looking at mine which is using the standard classic theme, all I have is

<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.8
  $Source$
  $Revision: 3116 $
  $Author: gaugau $
  $Date: 2006-06-08 00:11:54 +0200 (Do, 08 Jun 2006) $
**********************************************/

// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);

?>
Comptia A+ / Network + certified

rphMedia

It's in your Admin config.  I think it's "File information is visible by default " or something like that.

stuarta

simple when you know how. thanks
Comptia A+ / Network + certified