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 2 3 4 5 [6] 7 8 9 10 11   Go Down

Author Topic: Moderators for Album pictures  (Read 159420 times)

0 Members and 1 Guest are viewing this topic.

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #100 on: March 01, 2007, 08:52:51 am »

Make sure that you edited themes.inc.php properly. Attach your themes.inc.php here.
Logged
Chief Geek at Ranium Systems

dr9a8c

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Moderators for Album pictures
« Reply #101 on: March 01, 2007, 07:07:11 pm »

Here is the themes.inc.php from my gallery.

Thank you for looking at this...your help is much appreciated.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #102 on: March 02, 2007, 06:55:07 am »

The code seems to be fine.

If you are happy to PM me your ftp/gallery details then i will look into this. Please give the link to this topic in the PM.
Logged
Chief Geek at Ranium Systems

dr9a8c

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Moderators for Album pictures
« Reply #103 on: March 02, 2007, 04:53:48 pm »

I attempted to send the details that you requested.

There was not confirmation that the message was sent and I was unable to preview so I am not sure if the message was actually sent.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #104 on: March 03, 2007, 05:50:26 am »

@dr9a8c: I didn't received any PM from you as yet.
Logged
Chief Geek at Ranium Systems

eXess

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 41
  • Bulgarian
    • ..:: portal.pazardjik.com - Пазарджишкият портал ::..
Re: Moderators for Album pictures
« Reply #105 on: March 04, 2007, 03:28:15 pm »

Hi, I also think that it'a a great mod. My request is to make this mod to be installed through the Configuration Panel of the gallery. It will be much easier then. If you have some time, think about it. Have a nice Day!  ;)
Logged
.

dr9a8c

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Moderators for Album pictures
« Reply #106 on: March 05, 2007, 03:21:55 am »

No matter what I try, I cannot send a message on these forums. After I compose the message and press preview or submit, nothing happens.

Is there another way that I can contact you privately Abbas? Maybe if you private message me first I'll be able to reply???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moderators for Album pictures
« Reply #107 on: March 06, 2007, 08:20:03 am »

Sending PMs works flawlessly, I just double-checked using a non-privileged test user account that has similar permissions to yours. Must be something on your end. Check pseudo-security client apps like "Norton Internet Security" or similar crap that can keep you from submitting forms if set up improperly.
Logged

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
Re: Moderators for Album pictures
« Reply #108 on: March 06, 2007, 08:28:09 pm »

this may be obvious but I'd like to confirm that moderator1.1 is not meant to work with bridged CPG + phpBB's - right?
Logged

Nibbler

  • Guest
Re: Moderators for Album pictures
« Reply #109 on: March 06, 2007, 09:01:44 pm »

Should work fine.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #110 on: March 08, 2007, 09:20:22 am »

@dr9a8c: I have added a bit of code in your include/themes.inc.php This was needed since you are using a custom theme and it works quite different from others. Let me know if this solves your problem.

P.S: Actually function theme_main_menu should be defined in your custom theme since we modified that.
Logged
Chief Geek at Ranium Systems

dr9a8c

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Moderators for Album pictures
« Reply #111 on: March 08, 2007, 06:17:32 pm »

@Abbas

Thanks so much for your help...everything is now working exactly as planned.

P.S. I believe that I have private messaging working from my PC. Thanks for the suggestion on that GauGau.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #112 on: March 10, 2007, 09:05:36 am »

By PM

In a completely boneheaded move, I have managed to delete the added code in the themes.inc and didn't yet have it pasted into the themes.php.

Could you tell me that line of code again? I know where it goes and that it refers to the template extract for upload_approval.

I promise I will never make code changes on lack of sleep again.


Thanks in advance for your help and patience

In function theme_main_menu add

Code: [Select]
if (!is_array($USER_DATA['allowed_albums']) || !count($USER_DATA['allowed_albums'])) {
template_extract_block($template_sys_menu, 'upload_approval');
}

just after

Code: [Select]
    if (!$CONFIG['display_faq']) {
        template_extract_block($template_sys_menu, 'faq');
    }

also add $USER_DATA in the global variables declaration in the same function

i.e.

Code: [Select]
global $AUTHORIZED, $CONFIG, $album, $actual_cat, $cat, $REFERER, $USER_DATA;
Logged
Chief Geek at Ranium Systems

mylogon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: Moderators for Album pictures
« Reply #113 on: March 12, 2007, 10:57:37 am »

I am missing something, I have:

Inserted the code in myphp
uploaded and replaced your files
Created a group called Moderated
Created a user in group moderated
Made the public album moderated by members of the moderated group.
 
and then

Logged in as that user
uploaded a picture
inserted into gallery and I see them message waiting for admin approval.
Gone to home.

I cannot see anything other than user galleries with no files.  I see no moderated approval.

I just do not see a moderated approval button - only see it in admin mode.




Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #114 on: March 14, 2007, 08:14:55 am »

You probably didn't modified your theme.php correctly which shows the upload approval button.
Logged
Chief Geek at Ranium Systems

mylogon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: Moderators for Album pictures
« Reply #115 on: March 14, 2007, 08:38:44 am »

I uploaded your files exactly.  I even tried the default theme.  You have no instructions to modify the theme.php.  What you you modify, as everything is in the themes.inc.php?
Logged

mylogon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: Moderators for Album pictures
« Reply #116 on: March 14, 2007, 08:41:56 am »

Also, the forum attachments seem to be down again:

Firefox can't find the file at /forum/index.php?action=dlattach;topic=26218.0;attach=3384.

When trying to download the file.

Logged

mylogon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Moderators for Album pictures
« Reply #118 on: March 14, 2007, 08:47:26 am »

No problem with downloading here.
Logged

mylogon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: Moderators for Album pictures
« Reply #119 on: March 14, 2007, 08:50:09 am »

I get version 1.0 file fine - 1.1 gets that error.
Logged
Pages: 1 2 3 4 5 [6] 7 8 9 10 11   Go Up
 

Page created in 0.024 seconds with 20 queries.