Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
neodesc
New Member
New Member



Joined: Jun 20, 2005
Posts: 18

PostPosted: Thu Feb 16, 2006 12:26 pm Reply with quote

Hi, I'm running PHP-Nuke 7.6 Patched 3.1 (NSN) on my Only registered users can see links on this board! Get registered or login! and it seems to be a problem with de Only registered users can see links on this board! Get registered or login!. I don't understand what this means. Could someone help me to correct this problem? I think it's important to have the posibility of syndicating my news.
 
View user's profile Send private message
Taz
Worker
Worker



Joined: Dec 22, 2005
Posts: 158

PostPosted: Thu Feb 16, 2006 1:05 pm Reply with quote

Speaking of this, I am also interested in how this works. What does the backend.php file do anyway? Are there some threads about this or documents anywhere? How secure is this, can anyone us the backend to read forum posts?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Feb 16, 2006 1:51 pm Reply with quote

It converts your ultramode.txt file into XML/RSS feed format. So you must be sure to change the perms on ultramode.txt to 666 or 777.
 
View user's profile Send private message
neodesc







PostPosted: Thu Feb 16, 2006 4:27 pm Reply with quote

Yes, now my Only registered users can see links on this board! Get registered or login! is OK, but the Only registered users can see links on this board! Get registered or login! doesn't work. How to fix it Raven?
 
Raven







PostPosted: Thu Feb 16, 2006 4:54 pm Reply with quote

Run this through the RSS validator and then start working at correcting the errors Smile

http://www.feedvalidator.org/check.cgi?url=http://nooticias.com/backend.php
 
Taz







PostPosted: Fri Feb 17, 2006 10:51 am Reply with quote

Raven wrote:
It converts your ultramode.txt file into XML/RSS feed format. So you must be sure to change the perms on ultramode.txt to 666 or 777.


lol I had to go look up what you said because it was greek to me. So the backend.php file is allowing people to use a news aggregator to get feeds from my main page on my web site? i.e. I create news for the front page, and the text gets written to the ultamode.txt file, and then users can somehow link to my site to get this in a news feed. That's how i am reading it.

So anyone could use this feed without regard to site security? I'm new to this, I apologize.
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Feb 17, 2006 1:30 pm Reply with quote

Actually ultramode.txt is written seperately from backend.php. The backend.php file will query your database everytime it is accessed.

The feed should be read-only - there shouldn't be a security concern because no one should be inputting to it.

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Taz







PostPosted: Fri Feb 17, 2006 1:39 pm Reply with quote

Ok . . . The part I am not getting is how do I use backend.php? Is that were the news agregator comes in? you configure the software to read this backend.php file and it reads your database, and gives the news reader your forum posts?

I know they are not able to post into it, but I wouldn't want anyone that was not a subscriber using this feed. Sorry if I am missing the point, I truely am very new to this.
 
evaders99







PostPosted: Fri Feb 17, 2006 1:42 pm Reply with quote

Yes, you need some software to read the RSS feed.

Well to restrict the access, you would need to add some code using the paid() function
Code:


if (paid())
{
...
}
 
Taz







PostPosted: Fri Feb 17, 2006 1:45 pm Reply with quote

evaders99 wrote:
Yes, you need some software to read the RSS feed.

Well to restrict the access, you would need to add some code using the paid() function
Code:


if (paid())
{
...
}


Right, in my case I'll be shutting the backend.php off. I'm actually trying to install CM2F and get it working, your answered a post on it earlier, THANKS!
 
Raven







PostPosted: Fri Feb 17, 2006 10:18 pm Reply with quote

evaders99 wrote:
Actually ultramode.txt is written seperately from backend.php. The backend.php file will query your database everytime it is accessed.

The feed should be read-only - there shouldn't be a security concern because no one should be inputting to it.

Thanks for calrifying that for everyone. I did a poor job of writing that and made the 2 look dependent. What can I say? I'm old, blind in one eye, suffering from Narcolepsy and Bronchitis, and now have hearing aids. Factor in all the drugs I'm on you should probably just take my keyboard away! Hmmmm - that kind of sounds refreshing ......
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Feb 18, 2006 8:21 am Reply with quote

Raven wrote:
Hmmmm - that kind of sounds refreshing ......


Don't even think about it... Crying or Very sad

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Sat Feb 18, 2006 9:43 am Reply with quote

speedtype

Image

Image

You do the math killing me
 
neodesc







PostPosted: Sat Feb 18, 2006 8:32 pm Reply with quote

I have been testing my Only registered users can see links on this board! Get registered or login! with Internet Explorer and there seems to be OK using this browser but the problem with Firefox continues. I don't know why this happens to me Evil or Very Mad
 
Raven







PostPosted: Sat Feb 18, 2006 11:11 pm Reply with quote

First of all, IE is NOT a standards compliant browser, so don't ever use it as your base line. Firefox is standard compliant so that's why you see the real issues. You need an add-on to translate XML in FF. Something like Sage or some other XML/RSS feed reader.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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 ©