Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Dragonies
Hangin' Around



Joined: Mar 07, 2006
Posts: 45
Location: UK

PostPosted: Tue Apr 04, 2006 4:05 pm Reply with quote

Hi

sorry if I have posted this in the wrong forum.

Please can someone tell me how I can make a one page module called chatrooms using a cut and paste javascript code, so that it is only available to registered users on my nuke site.

I used the nuke tools module creator to make a module with the chatroom free code, this worked.

I have since up graded buying the full rooms, but the module page when uploaded just turns into a white page.

any help will be much appreciated thanks.

many thanks Dragonies
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Tue Apr 04, 2006 4:25 pm Reply with quote

that should be easy enough....
but did you checked the file?
The generator you mention not allways closes the last line properly.
that results in a blank page.. Razz
 
View user's profile Send private message
Dragonies







PostPosted: Tue Apr 04, 2006 5:13 pm Reply with quote

Hi Hitwalker

soon as I asked I figured out what was wrong.

I noticed that there was some \ slashes within the javascript coding so I took those out as it is supposed to be in green or blue or red for javascript. I also put the closing php tag before the javascript chatroom code to see what would happen. (I am one of those types I like to play with coding etc to see what happens as I figure I cant really break anything Very Happy)

I did this and uploaded it to test it and it worked. So I then just edited it a bit and looked along the string for familiarities of coding. So yes soon as I asked I checked the string of coding and spotted it right away.

not bad for a newbie to javascript and php? learning tricks of the trade already Very Happy

Thank you for getting back in touch.

best wishes
Dragonies
 
hitwalker







PostPosted: Tue Apr 04, 2006 5:17 pm Reply with quote

lol...there's nothing wrong with playing around with it yourself... Smile
you solved it .... speedtype
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©