Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Designs N-13 News 3.3
1 2 3 4 5 6 7 8 9
Sung
Posted on 15 Oct 2009, 17:37:52

Access: Member
Total Posts: 28
Joined: 2009-10-15

<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>
#967
Chris
Posted on 15 Oct 2009, 17:39:27

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

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';
?>
#968
Last edited by Chris at 2009-10-15 17:39:58 Reason:
Sung
Posted on 15 Oct 2009, 17:41:09

Access: Member
Total Posts: 28
Joined: 2009-10-15

ahhhh!

oh thank you!!

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

thanks again!!

sung
#969
Sung
Posted on 15 Oct 2009, 17:45:39

Access: Member
Total Posts: 28
Joined: 2009-10-15

ok,

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

sung
#970
Chris
Posted on 15 Oct 2009, 17:46:25

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

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:
#971
Last edited by Chris at 2009-10-15 17:48:31 Reason:
Sung
Posted on 15 Oct 2009, 17:52:05

Access: Member
Total Posts: 28
Joined: 2009-10-15

ahhh! i see...

that makes sense. i think i should reinstall.

thanks again.

sung
#972
Spanker
Posted on 16 Oct 2009, 15:06:16

Access: Member
Total Posts: 12
Joined: 2009-10-16

GREAT SCRIPT!

Congratilations, I'm loving it
#978
Ljhelbo
Posted on 16 Oct 2009, 16:12:33

Access: Member
Total Posts: 8
Joined: 2009-10-14

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 ?
#982
Spanker
Posted on 16 Oct 2009, 16:18:27

Access: Member
Total Posts: 12
Joined: 2009-10-16

Yeah, that's weird
#983
Chris
Posted on 16 Oct 2009, 16:18:37

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

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') . ''");
#984
1 2 3 4 5 6 7 8 9
Network-13.com © 2013