PEAK XOOPS - Re: Speed up your XOOPS site:-) in englishin japanese

Re: Speed up your XOOPS site:-)

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target News
Subject Speed up your XOOPS site:-) updated
Summary redirect_header() makes your site slow.You can make your site fast only by hack just 2 or 3 point.This site demonstrates it to you.The message is displayed as a left block in the redirected page.The inserting point for hacked codes is different each ot...
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2005/8/11 21:22
tangan  Private   Posts: 2
Hi,

Thanks for sharing this useful hack.

I'm using Xoops 2.0.13. I did inserted the lines (in 3 files) following the instructions. But the COMMON ones (inserted to theme.html) didn't work. The page is loaded with following lines appear:
"_tpl_vars['xoops_lblocks'] ) ) $this->_tpl_vars['xoops_lblocks'] = array() ;
array_unshift( $this->_tpl_vars['xoops_lblocks'] , array( 'title' => 'Message' , 'content' => htmlspecialchars($_SESSION['redirect_message'],ENT_QUOTES) , 'weight' => 0 ) ) ;
$this->_tpl_vars['xoops_showlblock'] = 1 ;
unset( $_SESSION['redirect_message'] ) ;
}"

Any suggestion on how I suppose to insert the lines?

Any help is appreciated.

Thanks in advance.

tangan
Votes:0 Average:0.00
depth:
1
Previous post - Next post | Parent - Children.1 .2 | Posted on 2005/8/11 23:05 | Last modified
tl  Sergeant   Posts: 84
tangan:
You need to use the bracket
<{php}>
<{/php}>
to include the php code in theme.html file. Otherwise, php code will not be rendered. Guess GIJOE has assumed everyone knows this without pointing it out.



GIJOE, thanks for the tip.
Votes:0 Average:0.00
depth:
2
Previous post - Next post | Parent - No child | Posted on 2005/8/11 23:39
tangan  Private   Posts: 2
Thanks tl, I'll try it out.

Cheers
Votes:0 Average:0.00
depth:
2
Previous post - Next post | Parent - No child | Posted on 2005/8/12 4:26
GIJOE  Gunnery Sergeant   Posts: 4110
hi tl.
Quote:
Guess GIJOE has assumed everyone knows this without pointing it out.
No, no.
It's a typo (a mistake about selecting area)

I've just fixed.

I hope this tip helps you.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!