Advanced search  

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]

Pages: 1 ... 11 12 13 14 [15] 16 17 18 19 ... 30   Go Down

Author Topic: Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs...  (Read 1354693 times)

0 Members and 1 Guest are viewing this topic.

BigMark

  • Coppermine newbie
  • Offline Offline
  • Posts: 14

the modpack archive can be found on my site, not on 'the official homepage of cpg'. The only versions you can download here are way outdated

so now its ok, pooh.

its really nice this pack, thx a lot. is there any guestbook also in this pack
Logged

tacitus

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • geschnuert.de

Hi!

I just installed the modpack, but now I have to folowing problem (my site is http://www.korsettforum.de/korsett-bilder/index.php):

When you try to start a thumbnail view or to display a random image to linked URL is for example:
http://www.korsettforum.de/korsett-bilder/displayimage-lastup-0-0.html
and should be
http://www.korsettforum.de/korsett-bilder/displayimage.php?album=lastup&cat=0&pos=0

or
http://www.korsettforum.de/korsett-bilder/thumbnails-22.html
and should be
http://www.korsettforum.de/korsett-bilder/thumbnails.php?album=22
(and also the same mistake when you try to display images from the thumbnail view!)

What is wrong, where can I change it?!

THANKS!

Philipp

Nibbler

  • Guest

If you don't want the SEF urls plugin then disable it.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

so now its ok, pooh.

its really nice this pack, thx a lot. is there any guestbook also in this pack

no, but there's a mini forum and a shoutbox somewhere in this forum. The guy with the lil forum intended to integrate it into the modpack but I haven't heard back from him yet

esdee51

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10

I've installed your MOD and it is working very well http://www.thedutts.com
Thank you for the effort that you and others have put into this.
I see that you have posted an update (1.4.6) on your site. I would like to know what changes have been made so that I could patch/update the required files instead of uploading the entire thing.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

only a lil fix that doesn't show the clickable username in comments when the commenter was a guest (anonymous)
changes in themes.inc.php, oranje/tentacle themes.php

otherwise all changes that have been introduced in 1.4.6 have been added to the modpack files.. that's basically 50% of the files

to update you go the usual way
1.) backing up your files/ db (especially your theme(s) if you use custom ones)
2.) upload 1.4.6
3.) upload the modpack for 1.4.6
4.) run update.php
5.) restore your theme(s)

esdee51

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10

only a lil fix that doesn't show the clickable username in comments when the commenter was a guest (anonymous)
changes in themes.inc.php, oranje/tentacle themes.php

otherwise all changes that have been introduced in 1.4.6 have been added to the modpack files.. that's basically 50% of the files

to update you go the usual way
1.) backing up your files/ db (especially your theme(s) if you use custom ones)
2.) upload 1.4.6
3.) upload the modpack for 1.4.6
4.) run update.php
5.) restore your theme(s)
Thanks for the fast reply.
I am already on cpg 1.4.6 with your mod 1.4.5.
I'll do what is required though this means major work for me  :)
Logged

doggystyle

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 43

hi,

installed your latest pack and have a problem with password protected albums. After typing the password to get access to the album i get a "no image to display" but when i reload the page, the pictures are shown.

greets

doggy
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

congrats, you found a lil bug. Solution is pretty easy.. just moving a bracket a line up. Unfortunately a bunch of other functions is dependent on this. So I have to do some testing before I can update the pack
« Last Edit: May 24, 2006, 10:44:31 am by Stramm »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Tested the fix and had to add some lines of code. For me it works pretty smooth and I wasn't able to spot any problems. Still you should have a look at private user albums with permissions set to visible by 'me and my buddies' and do some testing.

In include/functions.inc.php replace the function get_private_album_set with

Code: [Select]
function get_private_album_set($aid_str="")
{
        if (GALLERY_ADMIN_MODE) return;

        global $CONFIG, $ALBUM_SET, $USER_DATA, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA;

        $FORBIDDEN_SET_DATA = array();

        if ($USER_DATA['can_see_all_albums']) return;

                //Stuff for Album level passwords
        if (isset($_COOKIE[$CONFIG['cookie_name']."_albpw"]) && empty($aid_str)) {
          $alb_pw = unserialize($_COOKIE[$CONFIG['cookie_name']."_albpw"]);
          $aid_str = implode(",",array_keys($alb_pw));
          $sql = "SELECT aid, MD5(alb_password) as md5_password FROM ".$CONFIG['TABLE_ALBUMS']." WHERE aid IN ($aid_str)";
          $result = cpg_db_query($sql);
          $albpw_db = array();
          if (mysql_num_rows($result)) {
            while ($data = mysql_fetch_array($result)) {
              $albpw_db[$data['aid']] = $data['md5_password'];
            }
          }
          $valid = array_intersect($albpw_db, $alb_pw);
          if (is_array($valid)) {
            $aid_str = implode(",",array_keys($valid));
          } else {
            $aid_str = "";
          }
        }

        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE visibility != '0' AND visibility !='".(FIRST_USER_CAT + USER_ID)."' AND visibility NOT IN ".USER_GROUP_SET;
        if (!empty($aid_str)) {
          $sql .= " AND aid NOT IN ($aid_str)";
                }

                $result = cpg_db_query($sql);
        if ((mysql_num_rows($result))) {
                $set ='';

if ($CONFIG['enable_buddy_private_view'] && USER_ID) {
$buddies = cpg_db_query("SELECT a.aid FROM {$CONFIG['TABLE_ALBUMS']} as a INNER JOIN {$CONFIG['TABLE_BUDDY']} AS b on a.category=b.buddy_id + ". FIRST_USER_CAT ." WHERE b.user_id = ".USER_ID." AND a.visibility = '-1' AND buddy_ok = 'YES' OR category = ".(USER_ID + FIRST_USER_CAT));
while(list($allowed_list[]) = mysql_fetch_row($buddies));

while($album=mysql_fetch_array($result)){
if (!in_array ($album['aid'], $allowed_list)) {
                    $set .= $album['aid'].',';
$FORBIDDEN_SET_DATA[] = $album['aid'];
}
            }
if ($set){
                $FORBIDDEN_SET = "p.aid NOT IN (".substr($set, 0, -1).') ';
                $ALBUM_SET .= 'AND aid NOT IN ('.substr($set, 0, -1).') ';
} else {
                  $FORBIDDEN_SET_DATA = array();
                  $FORBIDDEN_SET = "";
                  $ALBUM_SET = "";
}
} //end if buddy and USER_ID
else { // if not buddy list enabled or guest
        while($album=mysql_fetch_array($result)){
                    $set .= $album['aid'].',';
                    $FORBIDDEN_SET_DATA[] = $album['aid'];
            } // while
                $FORBIDDEN_SET = "p.aid NOT IN (".substr($set, 0, -1).') ';
                $ALBUM_SET = 'AND aid NOT IN ('.substr($set, 0, -1).') ';
}//end else
        }
        mysql_free_result($result);
}

doggystyle

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 43

jep, this works.

thx
Logged

BigMark

  • Coppermine newbie
  • Offline Offline
  • Posts: 14

is there any chance to mail a mass pn? I want to mail the same pn, too all my users. or  mass email is ok,too., any chance?
Logged

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu

in there any known bug/problem in modding a Coppermine install with a massive use of the MiniCMS plugin?
I mean, I have an existing and working installation and I've been using MiniCMS almost everywhere and wouldn't like to find all my contents lost....

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

is there any chance to mail a mass pn? I want to mail the same pn, too all my users. or  mass email is ok,too., any chance?

I think I've posted a massmail mod for 1.3 2 years ago. With some work it should work with 1.4 too

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

in there any known bug/problem in modding a Coppermine install with a massive use of the MiniCMS plugin?
I mean, I have an existing and working installation and I've been using MiniCMS almost everywhere and wouldn't like to find all my contents lost....

Don't know.. I've never used that plugin. You need to try to find out. I suggest a local test install

Dr Preacox

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 122
  • Is the Matrix...
    • Dynamic Creations

Heres an easy one I hope, trying to make the Memberlist public so all can view, because on my website DC-6.com i have an artists page which is essentially a list of my artists, and its becoming a pain, it would be easier if I could like directly to http://www.dc-6.com/gallery/usermgr.php and make it so anyone can view it
Logged
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

that's not modpack related but easy to do. Please use the CPG 1.4 support forum for that question

Dr Preacox

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 122
  • Is the Matrix...
    • Dynamic Creations

iv beeb told to post there and back again, but okay
Logged
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

Who said so? Your question got answered. Please respect board rules!
Logged

ymca

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 79

Hi,

do i need to use the bridge option or to install something else for some of the options that are in the modpack?
(in 1.4.6)
Logged
Pages: 1 ... 11 12 13 14 [15] 16 17 18 19 ... 30   Go Up
 

Page created in 0.032 seconds with 21 queries.