1
mopperman
Re: Cannot view Blocks
  • 2007/8/5 15:54

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


Quote:

christian wrote:
Welcome,

Just remove <?php and ?>


doesnt work.. see an empty block then in preview and it doesnt come up on the mainpage.

setted up on php mode...

edit:

solved.

removed my scripting commands



2
mopperman
Cannot view Blocks
  • 2007/8/5 12:55

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


Hi all,

on my new website i cannot view the costom build blocks i made, in the blocks administration i dont see blocks.

Someone knows how to solve this?

-- above problem solved.
--- Was my own fault, corrupt php script i guess..

other question..

can someone tell me how i can use a php script in a block, and it needs to be working,,

script im trying:

<?php
$ip 
"xx.xx.xx.xx";    // Geef hier het ip in
$port "51234";        // Geef hier de poort in
$maint "0";        // Is de server in Maintenance mode? 1=ja, 0=nee

//HIERONDER NIETS MEER VERANDEREN
$_GET['ip']="$ip:$port";
$array=explode(':',$_GET['ip']);
$fp = @fsockopen($array[0], $array[1], $errno$errstr,1);
if(
$maint == 1) {
$status "<font color="red">Maint.</font>";
}
else if(
$fp){             
  
$status "<font face="arial"> Onze TS2 Server is</font><font color="green">online</font><br /><font face="arial">Check <a href="http://www.n1-gaming.nl/TS/ts2.php">HIER</a> voor meer info</font>";
  
fclose($fp); // hier sluiten omdat in het andere geval geen verbinding is opgebouwd
}
else{              
  
$status "<font color="red">Helaas... de TS2 server is offline</font>";
}
echo 
$status;
?>



3
mopperman
Re: Module blocks
  • 2006/6/11 10:47

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


with a bit of help from dutch support it finally worked, just edit the blovk and give rights for all pages



4
mopperman
Re: Module blocks
  • 2006/6/10 13:25

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


i have looked already into it, but i didn't found anything what can help me.



5
mopperman
Module blocks
  • 2006/6/10 11:48

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


Hi,

first, i can tell, XOOPS is the best thing happend to me since i using CMS, but now my question

i installed module debaser yet, and now i want to install the block on my site, ut only on the hompage i can setup it.

Is there a way to setup it on pages like Forum etc?

thanks in advance.
Mopperman




TopTop



Login

Who's Online

242 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 242


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