Forums

Topic: Yet Another DSi Browser Website... DSiHub!

Posts 361 to 380 of 867

bubby323

the whole <?php echo $_SESSION {username}?> or just the $_SESSION {username} ?

bubby323

bubby323

and what about $_COOKIE?

bubby323

lunchmeats101

the whole <php? echo $_SESSION [username]?> . We aren't using any cookies so don't bother with $_COOKIE

[Edited by lunchmeats101]

3DS FC: 1118-0222-5055

geek-master

lunchmeats101 wrote:

geek-master wrote:

dude if we have more apps than we can fit on the touch screen will we have arrows to switch the list of apps?

also i want a games and paint app. also i will work on a news app and BUZZ app the buzz app will talk about new mods hi scores and Questions and ansers and letters to the mods. also it will show artwork from players

Having arrows would be no problem. DSiPaint already has all that stuff about drawing and sharing drawings.. I'm already working on on news app that can be edited by all Admins/Mods.

well if your working on it let me help i got the app icon for the dsihub menu right here http://s417.photobucket.com/albums/pp254/geek-pics/?action=vi...

This is ground control to major Tom, you've really made the grade. And the papers want to know whose shirts you wear
Now it's time to leave the capsule if you dare

Woozlez

O.O I gotta admit Geek, that actually looks pretty good!

Here for people who don't like going to separate web pages:
Untitled

[Edited by Woozlez]

I'm the Co-producer of DSiHub.
I'm Bubby's RL neighbor so I have the edge on you guys!

Woozlez

Lunchmeat we cant seem to figureout what is going on with the chat even after trying your ideas! Any more ideas?

I'm the Co-producer of DSiHub.
I'm Bubby's RL neighbor so I have the edge on you guys!

geek-master

woozlez how can i show my picture on nintendolife forums? also what do you meen by? Here for people who don't like going to separate web pages:

also can i please have access to the BUZZ app right now lunch meats is maki ng the app but i want to be able to edit it like put a hi score of the week in it.

also i cant use chat or email!!

[Edited by geek-master]

This is ground control to major Tom, you've really made the grade. And the papers want to know whose shirts you wear
Now it's time to leave the capsule if you dare

Woozlez

geek-master wrote:

woozlez how can i show my picture on nintendolife forums? also what do you meen by? Here for people who don't like going to separate web pages:

also can i please have access to the BUZZ app right now lunch meats is maki ng the app but i want to be able to edit it like put a hi score of the week in it.

also i cant use chat or email!!

I said to put any conditions you have in your signature, I said nothing about pictures, and if you wanted pictures you can upload them to photobucket and copy the IMG code and paste it into your signature.

I'm the Co-producer of DSiHub.
I'm Bubby's RL neighbor so I have the edge on you guys!

bubby323

Ok @lunchmeats101 the chat has given me the hardest time lately, no matter what I change, no matter what I do it wont work. I believe its the smiles and translations, but I could be wrong. Also for some reason all the scripts aren't reading the user session, no idea why!

bubby323

geek-master

when i try sending you email bubby it wont send!! when i click on send it takes me to a blank page were it says loading on the very top of the top screen but it wont even send!!

oh and wait woozlez you said O.O I gotta admit Geek, that actually looks pretty good!

Here for people who don't like going to separate web pages: so what dose that meen?


oh and i think i got the hang of it Untitled

[Edited by geek-master]

This is ground control to major Tom, you've really made the grade. And the papers want to know whose shirts you wear
Now it's time to leave the capsule if you dare

lunchmeats101

This is what the script is on the send page:
<script type="text/javascript">
xmlDoc=new window.XMLHttpRequest();
xmlDoc.open("GET","/mail/mail.xml",false);
xmlDoc.send("");
xmlDoc=xmlDoc.responseXML;
var to=Username;
var from=;
var message= Write Your Message Here;
xmlDoc=loadXMLDoc("mail.xml");

newel=xmlDoc.createElement(to);

newel=xmlDoc.createElement("from");

x=xmlDoc.getElementsByTagName(to)[0];
x.appendChild(newel);
x.insertData(0,from);

newel=xmlDoc.createElement("message");

x=xmlDoc.getElementsByTagName(to)[0];
x.appendChild(newel);
x.insertData(0,message);
location.replace('/mail/mail.html')

</script>
Clearly it still isn't reading the $_SESSION variable. I'm stuck.

3DS FC: 1118-0222-5055

bubby323

I wonder if their would be a better way for me to have the script store the variable possibly? I too am stuck.

bubby323

bubby323

There is obviously a problem on my part with storing the session varaible, I'll look into it...

bubby323

thewiirocks

Perhaps it is not my place to speak, but did you guys need a little help/advice?

thewiirocks

bubby323

thewiirocks wrote:

Perhaps it is not my place to speak, but did you guys need a little help/advice?

Honestly, yes we do need some help, if you could help that would be awesome!

bubby323

thewiirocks

Well, your #1 problem appears to be that you have this line in a file called "message.html":

var username=<?php echo $_SESSION["username"]?>;

That's not going to work unless you change the file to be called "message.php".

The second problem is that your mail.xml file is empty. The XML parser is going to error out if there's nothing to parse. Plus the way you've got it setup, the script is always going to error out if you don't have the user in the XML file. If you think about it, that's not a good design. You're going to have to add to the file every time a user registers on the site. That file is going to get huge. Not to mention the possibility of two messages being sent at the same time. Two simultaneous writes on the file could cause messages to get lost or worse, the entire file could get corrupted.

Obviously, there are also security implications to consider when you're sending everyone's email to everyone. What you should do is have a mail file for each user, then return the file from a PHP script. The script can check who the current user is and ensure that only that user's file gets returned.

Hopefully, that info will fix you guys up, If the problem turns out to be deeper, I'll try to help if I can.

[Edited by thewiirocks]

thewiirocks

lunchmeats101

But how do you tell the script to make a new xml file with the name of the user?

3DS FC: 1118-0222-5055

lunchmeats101

Never mind. Found out how.

3DS FC: 1118-0222-5055

This topic has been archived, no further posts can be added.