xoops forums

Forum Index


Board index » All Posts (armitage)




armitage

Just popping in
Posted on: 2008/7/8 15:36
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#1

Re: 2.0.18.1 Upgrade issues

This problem and its solution is well documented in this thread. HTH.


armitage

Just popping in
Posted on: 2008/4/23 19:04
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#2

Re: safari Main Menu Conflict-Theme?

It's working fine for me, on Leopard 10.5.2, Safari 3.1, unless I misinterpret your report...


armitage

Just popping in
Posted on: 2008/4/15 15:41
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#3

Re: Mastop Publish / Smartsection SEO hack

I haven't forgotten about this, fellas. I will be publishing this before long. Other (paying) stuff has moved ahead in the queue.


armitage

Just popping in
Posted on: 2008/3/6 21:05
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#4

Re: No one can login after changing Use custom session to yes

I had to strain the brainbox pretty hard to come up with that one. Most of my XOOPS installs have been on servers in my own time zone, so it wasn't a problem for me, either, until it was.

Only makes sense when you consider a session has a time limit, and if it ends before it begins (so to speak) it could surely cause problems.


armitage

Just popping in
Posted on: 2008/3/6 20:23
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#5

Re: No one can login after changing Use custom session to yes

I was having problems with custom_session behavior on 2.0.18 (the 'login > thanks for logging in > you don't have access' dance) and discovered that Protector was in temp disable mode.

I then checked my control installation (on the same server - it was behaving normally WRT custom_session) and Protector was enabled there. Re-enabled protector on problem XOOPS and Voila! custom_session goodness.

IINM, for custom_session to work correctly, you must also pay attention to your servers' time zone. Admin > Preferences > General Settings > Server Timezone and Default Timezone must be set to match the servers' location.

Hope this helps some of the folks who are having session problems (there seem to be a lot of them).

[edit]
It seems like I jumped the gun. Trying the

XOOPS/kernel/session.php
var $enableRegenerateId = false;

I'll post my results...


armitage

Just popping in
Posted on: 2008/2/22 21:00
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#6

Mastop Publish / Smartsection SEO hack

I am in the middle of merging Smartsection's exceptional SEO capabilities into Mastop Publish, another excellent module.

I wanted to judge the level of interest for this hack before I get too deeply into it. If there are others that would like me to share this, I will spend the time on documenting the hack more thoroughly.

I look forward to your responses.


armitage

Just popping in
Posted on: 2008/2/18 22:34
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#7

Re: WYSIWYG SmartSection hack or alternative?

Per your suggestion (see previous post with code example) I modified smartsection/include/functions.php as follows, pointing the 'tiny' case at /class/xoopseditor/tinymce/:

function smartsection_getEditor($caption, $name, $value, $dhtml = true)
{
$smartConfig =& smartsection_getModuleConfig();

global $xoops22;
if (!isset($xoops22)) {
$xoops22 = smartsection_isXoops22();
}

$editor_configs=array();
$editor_configs["name"] = $name;
$editor_configs["value"] = $value;
$editor_configs['caption'] = $caption;
$editor_configs["rows"] = 35;
$editor_configs["cols"] = 60;
$editor_configs["width"] = "100%";
$editor_configs["height"] = "400px";

switch ($smartConfig['use_wysiwyg']) {
case 'tiny' :
if (!$xoops22) {

// hack for tinymce goes here...

if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php")) {
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php");
$editor = new XoopsFormTinymce(array('caption'=>$caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px'));
} else {
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}
}
} else {
$editor = new XoopsFormEditor($caption, "tinyeditor", $editor_configs);
}
break;

// end tinymce hack

case 'inbetween' :
if (!$xoops22) {
if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php")) {
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php");
$editor = new XoopsFormInbetweenTextArea(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'300px'),true);
} else {
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}
}
} else {
$editor = new XoopsFormEditor($caption, "inbetween", $editor_configs);
}
break;

case 'fckeditor' :
if (!$xoops22) {
if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/FCKeditor/formfckeditor.php")) {
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/FCKeditor/formfckeditor.php");
$editor = new XoopsFormFckeditor($editor_configs,true);
} else {
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}
}
} else {
$editor = new XoopsFormEditor($caption, "fckeditor", $editor_configs);
}
break;

case 'koivi' :
if (!$xoops22) {
if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/koivi/formwysiwygtextarea.php")) {
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/koivi/formwysiwygtextarea.php");
$editor = new XoopsFormWysiwygTextArea($caption, $name, $value, '100%', '400px');
} else {
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}
}
} else {
$editor = new XoopsFormEditor($caption, "koivi", $editor_configs);
}
break;

case "spaw":
if(!$xoops22) {
if (is_readable(XOOPS_ROOT_PATH . "/class/spaw/formspaw.php")) {
include_once(XOOPS_ROOT_PATH . "/class/spaw/formspaw.php");
$editor = new XoopsFormSpaw($caption, $name, $value);
} else {
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}
}

} else {
$editor = new XoopsFormEditor($caption, "spaw", $editor_configs);
}
break;

case "htmlarea":
if(!$xoops22) {
if ( is_readable(XOOPS_ROOT_PATH . "/class/htmlarea/formhtmlarea.php")) {
include_once(XOOPS_ROOT_PATH . "/class/htmlarea/formhtmlarea.php");
$editor = new XoopsFormHtmlarea($caption, $name, $value);
} else {
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}
}
} else {
$editor = new XoopsFormEditor($caption, "htmlarea", $editor_configs);
}
break;

default :
if ($dhtml) {
$editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60);
} else {
$editor = new XoopsFormTextArea($caption, $name, $value, 7, 60);
}

break;
}

return $editor;
}


armitage

Just popping in
Posted on: 2008/2/18 21:09
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#8

Re: x-Soap 1.1 & Legacy MySQL Services (4.0)

Simon - I had a go at your mods, with the improved result that I now receive an error from xoopsroot/xsoap/index.php:

WSDL ERROR: Bad path to WSDL file 1

I still receive white screen, no errors from xoopsroot/xsoap/admin/index.php.

Hope this sheds some light. Thanks again for your help with this. I can envision a world of possibilities for this module.

I'll be doing an e-store with QuickBooks POS as the backend, and with the help of xsoap, I think I can make a go of a XOOPS module to do the job...


armitage

Just popping in
Posted on: 2008/2/18 20:22
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#9

Re: WYSIWYG SmartSection hack or alternative?

Hope you have time to answer a quick question about SmartSection and TinyMCE... I've hacked SmartSection successfully to use the tinymce included in the latest xoopseditor classes, but only the first form area renders the editor. The second renders only as a textarea.

Any ideas? I am eternally grateful.


armitage

Just popping in
Posted on: 2008/2/11 18:38
armitage
armitage (Show more)
Just popping in
Posts: 31
Since: 2005/8/19
#10

Re: Whither DMS???

aptak1 - can you email DMS 1.91.tar.bz2 to me at ken.bergquistATgmaildotcom? I would be most appreciative.



TopTop
(1) 2 »