31
tamerlo
Problem with group perm
  • 2004/8/26 19:30

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


In my XOOPS site I create a group with admin permission on pools module. With 2.0.7 version all work and to the group's users appear administration link in user menu and can admin this module, whit 2.0.7.1 upgrade this don't work anymore. do you know why?



32
tamerlo
Re: Avatars
  • 2004/8/26 14:27

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


I hope to be usefull, but I have the same problem and have changed a line on edituser.php to prevent avatar deletion



33
tamerlo
Re: Problem in footer configuration
  • 2004/6/30 20:57

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


Great fixed

thank for help.

can you tell waht are then other changes in 2.0.7.1? or where I can read these.



34
tamerlo
Problem in footer configuration
  • 2004/6/30 16:05

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


hello, I'va incourred in a strange bug. I'm using 2.0.7 version and today was changing footer of pages in my XOOPS site by admin.php page. The trouble is that not possible insert code with " or ' caracters. This because if in a field I insert one of this caratcer it is insert how \" or \' in BD, but when it is read by database seem that \ isn't stripped.

is only a probem of mine?



35
tamerlo
Re: Customize error page
  • 2004/6/28 7:43

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


Thank, at first I think that trigger_error was a XOOPS API , I'm don't understand always php.

next time first read php guide

bye



36
tamerlo
Re: Customize error page
  • 2004/6/27 21:08

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


My case is on databasefactory.php in directory class/database, and the error is on line 34:
if (!$instance->connect()) {
                                
trigger_error("Unable to connect to database"E_USER_ERROR);
                        }


do you where "trigger_error" call is performed!

when encounter this error apper a page with a link to xoops' wiki page, do you know where I can change this error page.



37
tamerlo
Customize error page
  • 2004/6/27 16:10

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


Hi, sometimes I have problem with DB server and a visitor (and I ) can show only an error page that ask about line 34(?) of database class of xoops, this is not a problem.

The question is: is possible on this error redirect to static pages? in example a small version of the site made only with html pages.

thanks



38
tamerlo
Re: how don't display ip adress in comments end posts
  • 2004/6/2 15:46

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


I have success with this modify:

at line 209 of file header.php I have changed:

if (xoops_getenv('REQUEST_METHOD') != 'POST' && !empty($xoopsModule) && !empty($xoopsConfig['module_cache'][$xoopsModule->getVar('mid')])  ) {


in
if (xoops_getenv('REQUEST_METHOD') != 'POST' && !empty($xoopsModule) && !empty($xoopsConfig['module_cache'][$xoopsModule->getVar('mid')])    && !$xoopsUser->isAdmin($xoopsModule->mid())) {


so the cache of this module is used, and generated, only if the user is an administrator of this module. What you think?



39
tamerlo
Re: how don't display ip adress in comments end posts
  • 2004/6/2 15:08

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


Hi! I have analysed the problem and this is my conclusion: expecially when a privileged user visit often a page of cached module if the cache is generated during his visit a folliwing user, also not in admin group, render the same page of administrator... i.e. with IP and other note on user the post a comment

I will try to use the modify to the source to disable the cache for users in admin group proposed bu Dave, many thanks



40
tamerlo
Re: how don't display ip adress in comments end posts
  • 2004/5/31 13:42

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


I have disabled the cache and now the problem is dissapear. But I think that my XOOPS site can be slow, there are other solutions?




TopTop
« 1 2 3 (4) 5 6 7 »



Login

Who's Online

178 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits