xoops forums

chefry

Home away from home
Posted on: 2013/4/18 21:27
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#1

TDMPicture 1.07 problems

TDMPicture 1.07 (2012/6/30)
Updated:2013/4/18 23:21

Permissions settings

Anonymous Users - "ALL" button does not work

Permissions set error
Could not reset group permission for module TDMPicture(tdmpicture_view)

Backend menu shows MI_TDMPICTURE_ADMENUIMPORT - what is it supposed to be?

System

XOOPS Version XOOPS 2.5.6-RC1
PHP Version 5.3.5
mySQL Version 5.5.8
Server API apache2handler
OS WINNT

xoops-2.5.6-rc1.tar.gz downloaded and installed 2 hours ago

chefry

Home away from home
Posted on: 2013/4/18 21:33
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#2

Re: TDMPicture 1.07 problems

in modules/TDMPicture/class/calendargrouppermform.php

add after line 87
$this->addElement(new XoopsFormHiddenToken($permname));

to fix the permissions problem


ALL button still doesn't work, and MI_TDMPICTURE_ADMENUIMPORT still appears

chefry

Home away from home
Posted on: 2013/4/18 21:37
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#3

Re: TDMPicture 1.07 problems

no java uploader

you can only upload 5 images at a time

chefry

Home away from home
Posted on: 2013/4/18 22:17
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#4

Re: TDMPicture 1.07 problems

Quote:

chefry wrote:
in modules/TDMPicture/class/calendargrouppermform.php

add after line 87
$this->addElement(new XoopsFormHiddenToken($permname));

to fix the permissions problem



Same fix applies for 1.05

btesec

Friend of XOOPS
Posted on: 2013/4/19 18:56
btesec
btesec (Show more)
Friend of XOOPS
Posts: 623
Since: 2007/2/20
#5

Re: TDMPicture 1.07 problems

Hi chefry,

You to define in your modinfo.php files located in the language directory for the language your are using like /TDMPicture/language/english/

add the following:
define("MI_TDMPICTURE_ADMENUIMPORT","Import");

I am not sure if the has a leading underscore lik _MI_ just ensure. Rememder to clean the cached files.

chefry

Home away from home
Posted on: 2013/4/19 19:08
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#6

Re: TDMPicture 1.07 problems

that will fix the java image uploader?

btesec

Friend of XOOPS
Posted on: 2013/4/19 19:12
btesec
btesec (Show more)
Friend of XOOPS
Posts: 623
Since: 2007/2/20
#7

Re: TDMPicture 1.07 problems

No, sorry. That is just for removing the MI_TDMPICTURE_ADMENUIMPORT to just show the correct text.

chefry

Home away from home
Posted on: 2013/4/19 19:14
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#8

Re: TDMPicture 1.07 problems

is the java uploader working for anyone else?

Cesagonchu

Moderator
Posted on: 2013/4/20 0:10
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 862
Since: 2010/2/1 2
#9

Re: TDMPicture 1.07 problems

Venom is working on this module.

I transmitted it bugs. It only remains to wait for the next version.

chefry

Home away from home
Posted on: 2013/4/20 7:09
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#10

Re: TDMPicture 1.07 problems

ok, i'll wait. but 1.05 works fine on xoops 2.5.6