create a module from a " standalone " php file..

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   create a module from a " standalone " php file..
cyclops
CZ Newbie
cyclops has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Sep 05, 2004
0.00 posts per day
Posts: 3
Points: 1,342
   
sorry for the subject, probably doesn make any sense but this is the thing. We are a gaming squad and i recently downloaded a program to see who is online in our server, it's called jo-status v2.41.

package consist of a jo-status folder. Inside there is a config.php, a jo-status.php and an image folder. I had to place the main folder in my root ,it's not an actual nuke-mod. Everything works well but the problem is that the program doesnt open inside my theme but standalone :
[ Register or login to view links on this board. ]

i tried to upload the jostatus folder inside my modules folder , activated the module in my admin , but nothing happenend ( probably because of no index.php)

i would like to make a module of it so that it does open inside my theme, but if i try to create it with the help from example disipal module creator i get errors. I pasted the code from my jostatus.php to create an index php, tried it again,but i get parse errors.

can someone give me advice ( if there is anyone who has get any clue what i'm talking about...),

thanx a lot!!



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Use the iframe module and look through each file in the package and change all instances of target=new or target=blank to target=self. You may have to add it to each URL.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum