1
myrth
Re: getting username?
  • 2004/6/6 0:36

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


dude, you are some kind of cool!

thanks. :)

-myrth



2
myrth
getting username?
  • 2004/6/5 23:22

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


i cannot, for the life of me, retrieve the username within a custom block.

i've tried :

require('header.php');
$uname = !empty($xoopsUser) ? $xoopsUser->getVar('uname','E') : 'abc';
echo $uname;

and i seem to always see 'abc'.

any chance someone can help me out a bit? :)

thanks.

-myrth



3
myrth
can i refresh a block, but not the page?
  • 2004/5/30 23:55

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


is this allowed?

-myrth



4
myrth
Re: "Add a new block"??????
  • 2004/5/30 18:57

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


geez! of course, that works. *sigh* here's what you get for looking at php reference books all day! *laugh*

thank you for the help. :)

-eric




5
myrth
Re: "Add a new block"??????
  • 2004/5/30 18:43

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


i have tried every foratting option.

here's the code...

<?php phpinfo(); ?>

if i press the "preview" button i will always see the output from this call in every formatting option EXCEPT the "php" option. it's very disturbing.

-myrth



6
myrth
"Add a new block"??????
  • 2004/5/30 17:40

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


i've been trying to create a new block for a few days now. regardless of what i try my php code will not execute...even when content type is set to "php".

can anyone help? is php code even allowed in this block?

thanks in advance.

-myrth




TopTop



Login

Who's Online

149 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits