xoops forums

Forum Index


Board index » All Posts (pvtpyro)




pvtpyro

Just popping in
Posted on: 2006/7/26 20:08
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#1

Getting id from sql into a page

ok here's what i have on a new module.

<?php

// the name of the xml file
$file "blah.xml";

// the data
$data "<?xml version="1.0"?>n";
$data .= "<document>n";
$data .= "t<tag>Tag Data</tag>n";
$data .= "</document>";

// open the file and write the data to it
$p fopen$file 'w' );
$w fwrite$p $data );
$c fclose$p );

// a message
echo "The data was sucessfully added to the file $file";

?>


i'm trying to figure out how to replace the "blah" in blah.xml with the users id. Or even username. anything unique.

Do i make any sense to anyone?


pvtpyro

Just popping in
Posted on: 2006/4/11 18:36
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#2

Re: Install issue when writing to mainfile.php

ok it's fixed.. ty so much


pvtpyro

Just popping in
Posted on: 2006/4/11 18:23
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#3

Install issue when writing to mainfile.php

I've installed this several times before on my server. with the recommended version 2.0.13.2 I can't get past the step that writes to the mainfile.php

mainfile.php has permissions.

File ../mainfile.php overwritten by ../mainfile.dist.php.
Failed writing constant /home/.genny/pvtpyro/privatepyro.com.
Failed writing constant http://www.privatepyro.com.
Failed writing constant mysql.
Failed writing constant xoops.
Failed writing constant portal.privatepyro.com.
Failed writing constant (my login)
Failed writing constant (my password)
Failed writing constant (my database name)
Failed writing constant 0.
Failed writing constant 1.
Failed writing constant 2.
Failed writing constant 3.
Failed writing constant 0.


is there a fix for this? or is it something i'm doing?


is there an example of a working mainfile.php so i can just write it myself?


pvtpyro

Just popping in
Posted on: 2005/8/30 17:01
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#4

Re: strange bar on top...

It did! You're amazing. Thank you so much!


pvtpyro

Just popping in
Posted on: 2005/8/30 4:32
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#5

Re: Calendar for me?

I have done that as well. but the dropdown menu when people select time for their events is still 24 hr format


pvtpyro

Just popping in
Posted on: 2005/8/30 4:04
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#6

Re: Calendar for me?

I have now downloaded every calendar available on this website.

None of them have 12 hr formats.
piCal says it does. But when I select 12 hr it still shows in 24 hr.

Is there a XOOPS site for USA? Or another place like this where I can find more calendars to go through?


pvtpyro

Just popping in
Posted on: 2005/8/30 4:01
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#7

Re: strange bar on top...

xmt


pvtpyro

Just popping in
Posted on: 2005/8/30 3:41
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#8

Re: strange bar on top...

it moves everything, including the weird bar right along with it. lol.
i think i'm just going to give up on this one. this theme doesnt like me.
thank you for the suggestions :)


pvtpyro

Just popping in
Posted on: 2005/8/30 1:45
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#9

Re: strange bar on top...

ml gets rid of the black background,
mr gets rid of the white border. but without them both i dont have a style at all.


pvtpyro

Just popping in
Posted on: 2005/8/29 21:03
pvtpyro
pvtpyro (Show more)
Just popping in
Posts: 67
Since: 2005/2/24
#10

Re: strange bar on top...

didn't work.
i tried one at a time making those ttransparent. but it makes my whole page transparent.



TopTop
(1) 2 3 4 ... 6 »