Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
mMap() == '0'){ $server_var['map'] =''; }else{ $server_var['map'] = shorten($server->mMap()); }[/code] and [code]function getmoduleoption($option, $repmodule='fatalquery') { global $xoopsModuleConfig, $xoopsModule; static $tbloptions= Array(); if(is_array($tbloptions) && array_key_exists($option,$tbloptions)) { return $tbloptions[$option]; } $retval=false; if (isset($xoopsModuleConfig) && (is_object($xoopsModule) && $xoopsModule->getVar('dirname') == $repmodule && $xoopsModule->getVar('isactive'))) { if(isset($xoopsModuleConfig[$option])) { $retval= $xoopsModuleConfig[$option]; } } else { $module_handler =& xoops_gethandler('module'); $module =& $module_handler->getByDirname($repmodule); $config_handler =& xoops_gethandler('config'); if ($module) { $moduleConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid')); if(isset($moduleConfig[$option])) { $retval= $moduleConfig[$option]; } } } $tbloptions[$option]=$retval; return $retval; }[/code] at the end of the file, before ?>[/quote]" />

Re: FatalQuery Server Query module RC1
by QuickSlick on 2005/2/1 15:22:06

It works now...

THANK YOU VERY MUCH...

Damn good support, I must say.

I must have made an error in typing in the things u wrote.

Thank you also for your patience.

If u ever feel like making the block, with the player names also, feel free to contact me, coz i think that would be a very najs feature.

Thx again.
Re: FatalQuery Server Query module RC1
by pdaddict on 2005/2/1 14:59:48

It works when I test locally. Overwrite your block-file with this one
Re: FatalQuery Server Query module RC1
by QuickSlick on 2005/2/1 5:03:23

No, i added all the text u told me to.

What i was thinking was, should i change anything in any of the linies i add.

E.X XOOPS_ROOT_PATH <--- is that http://www.svedbollen.dk or ?

E.X XOOPS_URL <--- something else ?

The error i get now, seems to be caused by it dont know where to find the picture ! To code seems correct, but now where its pointing, if u know what i mean !
Re: FatalQuery Server Query module RC1
by pdaddict on 2005/1/31 22:45:16

you missed this line
le="color: #000000"><?php $pics_dir = '/modules/fatalquery/'.getmoduleoption('map_pic_dir');
Re: FatalQuery Server Query module RC1
by QuickSlick on 2005/1/31 16:05:56

Quote:
$server_var['map_pic'] = ($server_var['map'] && is_file(XOOPS_ROOT_PATH.$pics_dir.$pic)) ? XOOPS_URL.$pics_dir.$pic : XOOPS_URL.$pics_dir.getmoduleoption('default_pic_name').getmoduleoption('mappic_ext') ;


I'm not very good with php and so on, but i love my XOOPS Website, thats why i need good Support - just like what you are doing now pdaddict.

But since im not a "geek" u have to help me, should i chance anything in the line i quotet

Who's Online

495 user(s) are online (434 user(s) are browsing Support Forums)


Members: 0


Guests: 495


more...

Donat-O-Meter

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

Latest GitHub Commits