xoops forums

Forum Index


Board index » All Posts (jorge)




jorge

Just popping in
Posted on: 2008/9/5 10:29
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#1

Smarty variables lost when cache module is on: xoops_pagetitle, xoops_meta_description, ...

Hello to all!

I've 2.017 XOOPS version installed. I've been using it since 4 years and all runs fantastic except of one thing:

When I put the cache of some module "on", all variables that I store for the main smarty template disappears.

For example:
$xoopsTpl->assign('xoops_pagetitle', 'Assigned_Title');
$xoopsTpl->assign('xoops_meta_description', 'some_description');
$xoopsTpl->assign('xoops_module_header', 'Some_meta_data');

¿Is this a general problem or only mine?

Thanks in advance,
Jorge


jorge

Just popping in
Posted on: 2008/8/22 9:58
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#2

Re: Newbb2 problems Unable to edit forum for permissions

If you don't want to update all the module to:
https://xoops.org/modules/repository/singlefile.php?cid=20&lid=1643

You can update only the 'formselectuser.php' file to:
require_once XOOPS_ROOT_PATH . "/class/xoopsform/formselect.php";

class NewbbFormSelectUser extends XoopsFormSelect
{
function NewbbFormSelectUser($caption, $name, $start = 0, $limit = 200, $value = null, $include_anon = false, $size = 10, $multiple = true)
{
$this->XoopsFormSelect($caption, $name, $value, $size, $multiple);

$criteria = new CriteriaCompo();
$criteria->setSort('uname');
$criteria->setOrder('ASC');
$criteria->setLimit($limit);
$criteria->setStart($start);

$member_handler = &xoops_gethandler('member');
if ($include_anon) {
global $xoopsConfig;
$this->addOption(0, $xoopsConfig['anonymous']);
}
$this->addOptionArray($member_handler->getUserList($criteria));
}
}

Regards!


jorge

Just popping in
Posted on: 2008/3/10 19:53
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#3

Session Expiration --> Post not accepted

Hello to all,

I've a 2.0.13 version XOOPS site with NewBB2 module.

I've adjusted the session time to 15 min, so users have 15 min to write a post in the forum.


I would like to eliminate this limitation but I don't like to extend the session time because I want to use the online block.

Is there any way to do it by making little modifications into the code?

Thanks in advance!

Jorge


jorge

Just popping in
Posted on: 2008/1/16 15:59
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#4

Re: Controlling members out of XOOPS

Congratulations for your work nachenko,

I've test your web and it's Ok, but I can't access to the xoopsUser object.

Are you sure you only include mainfile and header? Do you make something else?

Best regards!
Jorge


jorge

Just popping in
Posted on: 2008/1/16 11:03
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#5

Re: Controlling members out of XOOPS

Thanks for your help nachenko,


I've write:

include "XXX/mainfile.php";
include "XXX/header.php";

if ($xoopsUser) {echo "Sí";} else {echo "No";};


The response is always "No".

What can I prove?


jorge

Just popping in
Posted on: 2008/1/16 10:11
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#6

Controlling members out of XOOPS

I have a XOOPS based site (2.0.13 version) and I would like to continue controlling the members in another part of the site.

The new code is written in PHP as well. I've been trying thinks like that:

include "XXX/mainfile.php";
include "XXX/include/common.php";
$uid = $xoopsUser->getVar('uid');


What collection of functions do I have to call to take control of the user session in XOOPS?

Kind regards, thanks in advance,

Jorge


jorge

Just popping in
Posted on: 2007/9/22 23:04
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#7

Re: System login hacked

Ohhh Trabis,

thank's a lot!!, thank's!!!!!


I've repaired session table and all is running normally.

Jorge


jorge

Just popping in
Posted on: 2007/9/22 20:42
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#8

System login hacked

Hello to all,

I have a 2.07 version XOOPS site.

My site has been running with no problems during two years, but yesterday the system did not let me to log in.

Now, no user can log in, the site is walking alone.

I know I have to update the system to the last version, but first I have tried to change all files with a security copy and the problem continues. I can't log in to the system, and I need to enter in order update it.

What can I do?

Thanks in advanve, sorry and for my english,

Jorge


jorge

Just popping in
Posted on: 2007/4/12 9:40
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#9

Re: Error loading mimetypes definition

Hello Tom,

thanks for you answer.

I have a replication of my site and I have already made the upgrade in it to 2.0.16, but the problem persists.

I realice that this is not a bug o XOOPS, maybe some file is corrupted or I have done something that affects that system.

If someone have a clue about this problem, It will be very helpful for me.

Thanks,
Jorge P


jorge

Just popping in
Posted on: 2007/4/12 9:10
jorge
jorge (Show more)
Just popping in
Posts: 23
Since: 2004/5/17
#10

Error loading mimetypes definition

Hello,

I've problems with upload avatars system.

All my site runs very well instead of this point.

I have applied the patch 2.0.9.2 to 2.0.9.3 and the problem was corrected for a few days. Now I have the same problem again, and I don't know what to do. I'm really confused, because It was running ok at the beginings.

The system response is:

Errors Returned While Uploading
Error loading mimetypes definition

Thans in advance,
Jorge P



TopTop
(1) 2 3 »