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 N-13 News N-13 News 3.3
1 2 3 4 5 6 7 8 9
Chris
Posted on 21 Oct 2009, 19:20:16

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

Download and extract this. Replace your own copy of config.php with this new one.

I suck :/

I appreciate you finding these bugs though.
#1079
Last edited by Chris at 2009-10-21 19:23:32 Reason:
Sung
Posted on 21 Oct 2009, 19:23:24

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

:smile:
#1080
Sung
Posted on 25 Oct 2009, 01:08:14

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

hi,

i created a sub-folder (..news/events) and put an index.php folder which contains the following code (the index.php is exact same one i put into the news folder):

<?php
include '../n13news/index.php';
?>

however when i visit that page (mongolusa.com/news/events) the news is not pulled from n-13 news script.

what am i doing wrong?
#1106
Sung
Posted on 26 Oct 2009, 17:18:13

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

when i view the page source, the code i put in to show the news is not even showing.
#1134
Rick_ricardo
Posted on 01 Nov 2009, 02:06:12

Access: Member
Total Posts: 9
Joined: 2009-11-01

não tem traduções para PT/BR ???
#1139
F0u
Posted on 01 Nov 2009, 14:41:17

Access: Member
Total Posts: 2
Joined: 2009-11-01

Hi Chris!

First of all i would like to thank you for your effort in making this script.
But i have some troubles (bugs?) that you maybe could help me with.
I first tested 3.2 and all worked great but i couldn't get image upload to work correctly. It wouldn't change attribute on images so i had to manually login (ftp) and chmod it to 644 so script could show the images. Default when i upload is 600. Same problem is on 3.3 for me.

When i upgraded i followed the instructions but it would give me some errors so i tried a clean install. But now i show this errors when i try to include images in post's and it take ages for it to show it. I also tried to delete all mysql data and a clean install but same errors.

Warning: getimagesize(http://www.hallstad-islandshastar.se/news/uploads/bilder_019.jpg) [function.getimagesize]: failed to open stream: Connection timed out in /var/www/8981/hallstad-kronogard.se/public_html/news/bbparser.php on line 6



Warning: getimagesize(http://www.hallstad-islandshastar.se/news/uploads/rimg0033.jpg) [function.getimagesize]: failed to open stream: Connection timed out in /var/www/8981/hallstad-kronogard.se/public_html/news/bbparser.php on line 6

My English is really bad i hope that you could understand what i tried to describe.
#1141
Chris
Posted on 01 Nov 2009, 14:46:23

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

When you insert an image into a news post it looks like this

Code:
[img="http://domain.com/news/uploads/image.png"][/img]

if you change that to

Code:
[img="news/uploads/accesslevels.png"][/img]

hopefully then you shouldn't get that error message when viewing your news.

I'll make a small modification to the upload script so that it automatically CHMODs each file after it has been uploaded. I'll post it here once I've made that change.
#1142
Chris
Posted on 01 Nov 2009, 14:51:46

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

Download this file, extract it and replace your own copy of modules/modimageuploads.mod with this new copy. Now each time you upload an image the system will automatically CHMOD it to 0655. If it's unable to CHMOD it will still upload the image but will give you an error saying it was unable to CHMOD the file.
#1143
Sung
Posted on 02 Nov 2009, 08:44:19

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

Hi Chris!

How about putting in a hyperlink on the news title, so people can click on the title of the news and it takes them to the full story news?

As is, people have to click on the "Full Story" link to read the full news story.

It would be nice if I could modify the code to effect that.

Thanks.
#1144
Chris
Posted on 03 Nov 2009, 01:21:55

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

Code:
<a href="?id={id}">{title}</a>
#1145
1 2 3 4 5 6 7 8 9
Network-13.com © 2013