Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 3 [4]   Go Down

Author Topic: Final_Extract v.2.3 with usergroup settings by admin panel  (Read 98455 times)

0 Members and 1 Guest are viewing this topic.

nointerest

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 91
    • Karateschule Okinawa (Bayreuth, Kulmbach, Pegnitz, Auerbach)
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #60 on: January 04, 2008, 11:13:07 am »

Oh - that was for the same purpose. Thanx for the hint.
Logged

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #61 on: January 13, 2008, 07:41:11 pm »

When I upload the complete unziped data and I go to my gallery a database error is given out. Is this a known bug oder do I do something wrong?

Good, now I can modify my postings.

The error code is:
"Critical error
There was an error while processing a database query"


Debug Mode:
Code: [Select]
USER:
------------------
Array
(
    [ID] => df8b10e5fe745eb49671b6eb339251c0
    [am] => 1
    [lang] => german
    [lap] => 6
    [search] => Array
        (
            [search] => Sat.1
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

    [liv] => Array
        (
        )

    [theme] => miri
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => RuvenHalfpap
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0s)
    [1] => select * from cpg1411_plugins order by priority asc; (0s)
    [2] => delete from `v125193`.cpg1411_sessions where time<1200246793 and remember=0; (0s)
    [3] => delete from `v125193`.cpg1411_sessions where time<1199040793; (0s)
    [4] => select user_id from `v125193`.cpg1411_sessions where session_id=md5("dc3e2ccbb637d7396d24c22ee0f23bed0034b8fdbf166f837972839995fbafe3"); (0s)
    [5] => select user_id as id, user_password as password from `xxx`.cpg1411_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `v125193`.cpg1411_users AS u INNER JOIN `v125193`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `v125193`.cpg1411_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg1411_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0s)
    [10] => update `v125193`.cpg1411_sessions set time='1200250393' where session_id=md5('dc3e2ccbb637d7396d24c22ee0f23bed0034b8fdbf166f837972839995fbafe3'); (0s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0s)
    [12] => SELECT home,login,my_gallery,upload_pic,album_list,lastup,lastcom,topn,toprated,favpics,search,my_profile FROM cpg1411_final_extract_config WHERE Group_Id=1 (0s)
    [13] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 4.1.22-max-log
------------------
Coppermine version: 1.4.14(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.27
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | On | On
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | exec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice,ini_restore | exec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice,ini_restore
file_uploads | On | On
include_path | .:/usr/share/php:.. | .:/usr/share/php:..
open_basedir | /www/htdocs/v125193/:/tmp:/usr/bin:/www/htdocs/v125193:/bin:/usr/local/bin:/usr/share/php | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost | me@localhost
sendmail_path | /usr/sbin/sendmail -t -i -f wwwrun@miriam-pielhau.com -F wwwrun@miriam-pielhau.com | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 200M | 200M
post_max_size | 200M | 200M
==========================
Page generated in 0.276 seconds - 14 queries in 0 seconds - Album set : ; Meta set: ;
« Last Edit: January 13, 2008, 07:59:07 pm by ruvenhalfpap »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #62 on: January 13, 2008, 09:03:46 pm »

what did you upload ? The Final_Extraxt folder?
and where did you put them ? In the plugins/ folder ?
Explain what you have doing for installing the plugin
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #63 on: January 13, 2008, 09:36:49 pm »

I downloaded the zip attached to your first post in this topic. Then I unzipped the data to my local plugins folder and uploaded it via FTP as it is. Now I would (!) go to my settings to install the plugin but I get the above mentioned error code when going to the gallery. So I can't get to the install procedure for plugins.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #64 on: January 13, 2008, 10:35:40 pm »

and what happend if you remove the Final_Extract folder from your server ?
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #65 on: January 14, 2008, 09:39:44 am »

When deleting the files everything is fine again.
Logged

innstreet

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #66 on: April 10, 2008, 01:53:51 am »

Perhaps I missed the instruction for use. How do  I use  this plugin after install. The install was no problem, but i have no idea how to use it. I was hopping this plugin would allow me to choose which sub menu buttons are displayed  within the various themes.  I want to remove Last Uploads, Latest Comments, Most Viewed, Top  Rated, My  Favorites. I tried doing this with themes.php but I am not a php programmer and have no clue how to do this. The documention tells  me everything but where exactly to paste the code into the themes.php file to make it work.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #67 on: April 10, 2008, 07:33:31 am »

in admin mode you have a final extract menu button to go to the plugin admin page
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

neufra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • family affairs
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #68 on: May 06, 2008, 07:59:01 pm »

hello all,

sorry for asking, but i'm a really newbie to coppermine. i've installed coppermine latest version within my joomla 1.5.3 with the bridge mod and now wanted to install final_extract plugin for getting rid of the sub_menu entries. but when trying to manage plugins within the general settings of coppermine i get the following error message:

Fatal error: Cannot redeclare deldir() (previously declared in /home/mydomain.at/www.mydomain.at/cpg/pluginmgr.php:208) in /home/mydomain.at/www.mydomain.at/plugins/system/legacy/functions.php on line 730

does this mean that the function deldir() is used in both scripts ? pluginmgr.php and functions.php is it possible to search for use of deldir() and rename this function ?

once again,

sorry for the questions but i would be glad to receive an answer.
Logged

FoxRocks

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #69 on: May 30, 2008, 01:03:49 am »

Hello Everyone,

First of all I would like to thank the creator (Frantz I believe) of this fine plugin, all your time has saved me (and I'm sure MANY others) a lot of time. I do have a question/problem with the plugin. First of all I am using a custom theme, well all I did was change some colors or the "hardwired" theme, but none the less I suppose it is custom. Anyhow the problem I have is I've got sub menu buttons still showing up, specifically "Top Rated, Most Viewed, Favorites, and Last Uploads". The other ones I changed worked without a problem. Now I did read the other post regarding the addition (in this case) of the <!-- BEGIN --> <!-- END --> tags which I have done, however I'm wondering if they have to be specific in wording, meaning, <!-- BEGIN top_rated --> or <!-- BEGIN toprated --> etc. I couldn't find anywhere that specifies what format must be used. Anyways I'm not sure if that's the problem or not but I thought I would stop there.

Thank you for any help you can provide, I appreciate your time.

~FOX~
Logged

nointerest

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 91
    • Karateschule Okinawa (Bayreuth, Kulmbach, Pegnitz, Auerbach)
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #70 on: August 28, 2008, 04:00:08 pm »

Hi,

I installed the plugin and it works perfectly.

I did however detect two files which have a "BOM" - the german and the french language file. (In my gallery they slightly disrupt the gallery-appearance in my theme when using ff3, thats why I detected them asap).

I attach the corrected files to my post as a zip.
Logged

inspectaclueso

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #71 on: October 25, 2008, 12:24:37 am »

Hi there,

I am hoping someone may be able to help me.  After spending quite a bit of time reading through these forums the final_extract plugin was just what I was looking for.

I am running Coppermine version 1.4.16.  After reading the forums for some mods I have edited the lang/english_gb.php file so that the menu titles have changed from Albums > Teachers and Category > Subject etc.  This was successful.

I then wanted to remove some of the links such as "Top rated" and "Last comments" so I downloaded the Final Extract v2.3 plugin.  First off I installed a new installation of Coppermine version 1.4.19 onto a different domain for testing purposes, FTP uploaded the plugin, used the pluginmgr.php to install and successfully configured the plugin to do exactly what I needed.

Confident the plugin worked I then uploaded the plugin to my modified V1.4.16 Coppermine and went to the pluginmgr.php to install.  I clicked the "i" to install as I have previously however this time the plugin disappeared from the not installed list and the installed list.  The Final Extract button is not shown either.  I have tried repeatedly uploaded the plugin however it simply just not show.

Any ideas?  Could it be the version or Coppermine?  1.4.16 vs. 1.4.19 or is it likely because I have changed some of the names in the lang/english_gb.php file.

Any required info can be given if necessary.

Any help would be much appreciated.

Thanks in advance.

Jason


Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #72 on: October 25, 2008, 07:39:12 am »

do you have others plugins ?, did you try with the classic theme ?
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

inspectaclueso

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #73 on: October 25, 2008, 11:03:00 am »

UPDATE

Thank you for your response.  I have just managed to resolve this. 

I did two things...  Firstly, I tried to upgrade to 1.4.19 however I must not have successfully uploaded all the files.  I did not replace the anycontent.php file in the root directory nor did I touch the albums, themes or lang directories.  I did however have to upgrade the lang/english_gb.php file as I received an error after re-uploading my older modified lang/english_gb.php file.  I just re-edited the 1.4.19 lang/english_gb.php file and uploaded to fix.

I am using a slightly modified version (colours etc.) of the Classic theme.

The stupid thing is that for some reason the option to enable plugins in the administrators configuration area had been switched off!   :-\  My test installation had this option enabled by default so I did not think to look.

I can also say that both the final_extract plugin and the addbutton method seem to be able to work together.  I was able to add an additional sub menu link by copying the addbutton segment from the themes/sample/theme.php file into the Classic theme.php file as instructed.  I was then able to use the final_extract plugin to remove the links I did not want without the two methods conflicting :)

The only thing is that the new custom link that I coded into the theme.php file does not show up in the final_extract plugin to show or hide... the custom link seemingly has to be visible for all users/groups.  Does this sound correct?


Thanks again
Jason


Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #74 on: October 25, 2008, 11:45:52 am »

yes it seems correct
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Danish language file for Final Extract
« Reply #75 on: May 31, 2009, 12:51:14 am »

Danish language file for Final Extract v.2.3
Revision 1.1

Mimer  8)
« Last Edit: June 01, 2009, 01:00:16 am by Mimer »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final_Extract v.2.3 with usergroup settings by admin panel
« Reply #76 on: December 06, 2009, 07:24:51 pm »

This plugin is ported for cpg.1.5.x
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
Pages: 1 2 3 [4]   Go Up
 

Page created in 0.028 seconds with 22 queries.