Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
hinksta
Worker
Worker



Joined: Dec 23, 2005
Posts: 226
Location: UK

PostPosted: Sun Jan 29, 2006 10:23 am Reply with quote

I've made a module to grab livescore from SoccerStand.com and wondered if theres a way to include my css

http://www.ontheball.info/modules.php?name=livescore
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun Jan 29, 2006 7:55 pm Reply with quote

nice module...but it is even better when you activate it.. Razz
And what you mean with your css?
If you grab contents from another site its likely that it will be that style it will use.


Last edited by hitwalker on Sun Jan 29, 2006 8:08 pm; edited 1 time in total 
View user's profile Send private message
hinksta







PostPosted: Sun Jan 29, 2006 8:07 pm Reply with quote

Embarassed it's on now

It ignores my css but I’m probably just missing something (my php4+mysql books coming this week Very Happy )
It also has a very long space to the end of file
 
hitwalker







PostPosted: Sun Jan 29, 2006 8:09 pm Reply with quote

no its still inactive?
Wanna buy a phpnuke book? killing me
 
hinksta







PostPosted: Sun Jan 29, 2006 8:20 pm Reply with quote

Very Happy should be on now
 
hitwalker







PostPosted: Sun Jan 29, 2006 8:33 pm Reply with quote

Well depending on peoples settings some will not see it because of its cookie use.
I mean that people with norton internet security wont see anything but a blank area,i had to shut it down to view it.
and i dont think you can override its styleshet,but i think you would have more chance with it all if you use php to read its contents with a start and end tag...
 
hinksta







PostPosted: Sun Jan 29, 2006 9:14 pm Reply with quote

like this?
Code:
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {

    die ("You can't access this file directly...");
}
require_once("mainfile.php");
global $db, $prefix;

define("INDEX_FILE", true);
$module_name = basename(dirname(__FILE__));
$index=1;
include("header.php");
OpenTable();
echo "<iframe align=\"center\" src=\"http://www.site/score/page.htm\" width=\"500\" height=\"15500\" marginwidth=\"0\" marginheight=\"1\" hspace=\"0\" vspace=\"0\" frameborder=\"0\"></center></iframe>";
CloseTable();
include("footer.php");
die;


Last edited by hinksta on Mon Jan 30, 2006 7:09 am; edited 1 time in total 
hitwalker







PostPosted: Sun Jan 29, 2006 9:42 pm Reply with quote

no...
i tried it but its a weird code....
when i grab it from where it comes from it drops dead but grabbing it in a frame works.....very weird.
You still have that cookies problem....
anyway,use it like you have now....thats the only option i guess..
 
hinksta







PostPosted: Sun Jan 29, 2006 9:44 pm Reply with quote

is there anything I can do about the cookies?
no problem McAfee
 
hitwalker







PostPosted: Mon Jan 30, 2006 8:43 am Reply with quote

I dont think so...its not a realy friendly script.
With my current norton settings i can see ,visit all in nuke world.
So you have to use very heavy stuff if norton hold its back..
You should try to to find a resource site that shows the same but more friendly.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

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 ©