441
frankblack
Re: need help to adapt e-xoops(exv2) module "messages" to xoops2.0.13
  • 2005/12/13 10:11

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


It is possible, but (at a quick glance) some parts use ExV2-specific functions. So you need a copy of ExV2 too to see what these functions do. Some file-names are different from XOOPS.

Main changes are:

$db -> $xoopsDB;
fetch_row -> fetchRow
fetch_array 
-> fetchArray


exV2 does not use templates so you have to do some hand-coding.



442
frankblack
Re: istat doesn't work correctly
  • 2005/12/12 13:16

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


A german user (thx alfred) made some changes to the module to make it work with 2.2.x - CLICK

Quote:
Sounds like the database changes in 2.2.3 has broken the module.


No, it seems to be due to security restrictions that calling files from a subfolder is forbidden now (rough translation)



443
frankblack
Re: can xoops compete with joomla?
  • 2005/12/8 18:32

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Quote:
XOOPS Mithrandir die now, long live real XOOPS from onokazu


So why are you wasting your time here? Why I am wasting my time commenting your post? Strange...



444
frankblack
Re: (Theme creation) Which Software for beginners?
  • 2005/11/24 23:09

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Have a look at the Dreamweaver-Extension fromhttp://www.myxoops.com (if you have Dreamweaver).



445
frankblack
Re: TinyEditor 0.5: Internet Explorer (6.0) vs Mozilla Firefox (1.5RC2)
  • 2005/11/24 23:07

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


The last comment from this might help? Seems to be a similar problem.



446
frankblack
Re: Javascript
  • 2005/11/24 16:15

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


module.textsanitizer.php:

$patterns[] = "/[b][color=ff0000]j[/color][/b]{$c}[b][color=ff0000]a[/color][/b]{$c}[b][color=ff0000]v[/color][/b]{$c}[b][color=ff0000]a[/color][/b]{$c}[b][color=ff0000]s[/color][/b]{$c}[b][color=ff0000]c[/color][/b]{$c}[b][color=ff0000]r[/color][/b]{$c}[b][color=ff0000]i[/color][/b]{$c}[b][color=ff0000]p[/color][/b]{$c}[b][color=ff0000]t[/color][/b]{$c}:/si";
$replacements[] = "(tammairanslip)";


You can make an if-statement in order to exclude admins from that replacement.



447
frankblack
Re: Where MY variable???
  • 2005/11/24 14:37

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Quote:
I can't see this smarty-var in smarty-debug window!


[size=xx-large]I CAN![/size]

Poor sod! I guess you are victim of a conspiracy between XOOPS-Mithrandir and XOOPS-Herko trying to sabotage your sites. LOL

No, honestly! I am puzzled. Try to echo the module-name. If this gives you no luck $xoopsModule is not set, but I assume you will get around this?!?



448
frankblack
Re: Where MY variable???
  • 2005/11/24 13:42

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Oh boy! Daisy Fletcher gets boring to me (others as well?).

Look up header.php for this code:

if (isset($xoopsModule) && is_object($xoopsModule)) {
        
// set page title
        
$xoopsTpl->assign('xoops_pagetitle'$xoopsModule->getVar('name'));
        
$xoopsTpl->assign('xoops_dirname'$xoopsModule->getVar('dirname'));
        
$moduleid $xoopsModule->getVar('mid');
        if (
preg_match("/index.php$/i"xoops_getenv('PHP_SELF')) && $xoopsConfig['startpage'] == $xoopsModule->getVar('dirname')) {
            
$toppage true;
        }
}


Insert your code there!

if (isset($xoopsModule) && is_object($xoopsModule)) {
        
// set page title
        
$xoopsTpl->assign('xoops_pagetitle'$xoopsModule->getVar('name'));
        
$xoopsTpl->assign('xoops_dirname'$xoopsModule->getVar('dirname'));
        [
color=ff0000][b]$xoopsTpl->assign('xoops_modulename',$xoopsModule->getVar('name'));[/b][/color]
        
$moduleid $xoopsModule->getVar('mid');
        if (
preg_match("/index.php$/i"xoops_getenv('PHP_SELF')) && $xoopsConfig['startpage'] == $xoopsModule->getVar('dirname')) {
            
$toppage true;
        }
    }


Do you know how to call smarty-variables in themes or templates? Guess not!

This is the correct code for themes and templates:

<{$xoops_modulename}>


My courtesy does not allow me to tell what I am thinking of you and your behaviour...



449
frankblack
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 7:28

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


You have no pical-module installed? Or did you made a deinstall of pical? Try to delete the files from templates_c.

No, you haven't been hacked. Those weird names are normal for files in templates_c.

Update: the folder cache needs chmod 777. Did you check this?



450
frankblack
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 7:12

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Look into the template pical_todays_schedule.html and check if any smarty-tags are not written correctly.

Normally they look like this:

<{$varwotever}>


Perhaps the <{ is missing somewhere?




TopTop
« 1 ... 42 43 44 (45) 46 47 48 ... 53 »



Login

Who's Online

163 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 163


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