Login

Member stats
Location
ForumN-13 News • N-13 News 3.3

Post a reply!
< 1 2 3 4 5 6 7 8 9 >
Access: Member
Total posts: 28

Status: Offline
Code, PHP version Quote 
<html><head></head>
<body>
<b>Hello! This is a new page for news.</b><br /><br />

<?php
include 'http://www.mongolusa.com/n13news/index.php';
?>


</body>
</html>
05:37pm 15th Oct 2009 
Access: Admin
Total posts: 780

Status: Offline
Re: N-13 News 3.3 Quote 
That's your problem, don't use the full path when doing the include, use a relative path like so.

Code:
<?php
include '../n13news/index.php';
?>
05:39pm 15th Oct 2009 
Last edited by Chris at 05:39pm 15th Oct 2009
Access: Member
Total posts: 28

Status: Offline
Comments access - solved Quote 
ahhhh!

oh thank you!!

well, i can't do anything about my obtuseness...

thanks again!!

sung
05:41pm 15th Oct 2009 
Access: Member
Total posts: 28

Status: Offline
Smilies aren't working Quote 
ok,

now i have another problem, the smilies images are not displayed.

sung
05:45pm 15th Oct 2009 
Access: Admin
Total posts: 780

Status: Offline
Re: N-13 News 3.3 Quote 
Because you installed the script then moved it to another directory you're going to have all sorts of problems with images not showing correctly.

I would either reinstall the script into the directory you want it to be in or move it back to the /news/ directory and simply rename index.php to news.php, that way you can make your own index.php then include news.php into it, if that makes sense :eek:
05:46pm 15th Oct 2009 
Last edited by Chris at 05:48pm 15th Oct 2009
Access: Member
Total posts: 28

Status: Offline
Smilies Quote 
ahhh! i see...

that makes sense. i think i should reinstall.

thanks again.

sung
05:52pm 15th Oct 2009 
Access: Member
Total posts: 7

Status: Offline
Re: N-13 News 3.3 Quote 
GREAT SCRIPT!

Congratilations, I'm loving it
03:06pm 16th Oct 2009 
Access: Member
Total posts: 8

Status: Offline
Re: N-13 News 3.3 Quote 
Just found one little "strange thing" after upgrading. If you look at my main page at: http://www.frijsendal.dk - just below the image in the middle, it says "Please enter a username." I tried to find out, where that comes from.

The text is found in newslangmsg.php on line 37. I think it comes in at this place via bbparser.php line 91. As i placed the image, I centered it with bb-codes. But obviously something is wrong here, as the image shows up right justified ?
04:12pm 16th Oct 2009 
Access: Member
Total posts: 7

Status: Offline
Re: N-13 News 3.3 Quote 
Yeah, that's weird
04:18pm 16th Oct 2009 
Access: Admin
Total posts: 780

Status: Offline
Re: N-13 News 3.3 Quote 
You're exactly right about the bbparser adding the text. To fix this edit bbparser.php
On line 91~ you'll see this

Code:
$replace = array("'' . resizeimg('http://$1','" . $langmsg['news'][29] . "','true') . ''");


replace it with this

Code:
$replace = array("'' . resizeimg('http://$1','','true') . ''");
04:18pm 16th Oct 2009 
< 1 2 3 4 5 6 7 8 9 >
Post a reply!