Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs... - Page 15 Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs... - Page 15
 

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

Main Menu

Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs...

Started by Stramm, February 24, 2006, 01:34:35 PM

Previous topic - Next topic

0 Members and 8 Guests are viewing this topic.

BigMark

Quote from: Stramm on May 20, 2006, 01:11:24 AM
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

tacitus

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


Stramm

Quote from: BigMark on May 20, 2006, 01:14:39 PM
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

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.

Stramm

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

Quote from: Stramm on May 22, 2006, 05:39:02 PM
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  :)

doggystyle

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

Stramm

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

Stramm

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

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);
}


BigMark

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?

Davide Renda

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

Quote from: BigMark on May 25, 2006, 11:29:14 AM
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

Quote from: lontano on May 25, 2006, 02:57:37 PM
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

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
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Stramm

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

Dr Preacox

My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Joachim Müller


ymca

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)