Warning: Illegal string offset 'url' in /home/redho/public_html/forum/includes/page_header.php on line 381

Warning: Illegal string offset 'title' in /home/redho/public_html/forum/includes/page_header.php on line 381

Warning: Illegal string offset 'url' in /home/redho/public_html/forum/includes/page_header.php on line 381

Warning: Illegal string offset 'title' in /home/redho/public_html/forum/includes/page_header.php on line 381
Showing Postings - phpBB Archive script support - Programming Forums
redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Saturday 17 November 2018 12:43

Ask your IT question here

Showing Postings



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> phpBB Archive script support
View previous topic :: View next topic  
Author Message
SJD
New Programmer


Joined: 18 Sep 2006
Posts: 3
Hi,

I have been using the archive script on various forums and really
like it. In SE terms I think it's very good and it's certainly very helpful - so thanks!

I know it's quite an old script so am not sure if it is still being
supported but I have however just found a big fault and wondered
if anyone could help with it?

Whilst the script only shows those categories of the forum that
are publically viewable - it still shows postings from within private/restricted sections.

To explain with an example:

Ok say in phpBB you have set up a Private category for certain
members called: Closed Room. You have set the permissions
correctly in phpBB so that it only shows to those members
that have been authorised to view it.

With the Archive script index page you will see all the other
categories of the forum but would not see the Closed Room as it is
not publically viewable.

Now if there was a posting in the category Closed Room with a
title "my first posting here" and posting number 1200 you will
find that there is a page in the archive called:
/archive/my-first-posting-here-1200.htm

However it should not show that posting as it is a private section.
Now you won't be able to navigate to it from within the archive
script but it is there and is picked up by Google.

Basically what i'm saying is that the script is letting postings in
restricted sections be displayed. This became apparent to me
when postings in a private moderators category were found
in Google Embarassed

Was this meant to be like that? Is there a way to block postings
from certain restricted categories from appearing in the archive??

I do like the script and would like to continue using it but have
had to take it down at the moment until I can resolve this.

Any help appreciated!

Thanks


Steve

Reply with quote
 
Madwolf
Site Admin


Joined: 22 Dec 2004
Posts: 77
Thank you very much, Steve, for this bug report.
It is certainly an issue that we will try to solve as soon as possible.

Reply with quote
 
SJD
New Programmer


Joined: 18 Sep 2006
Posts: 3
Hi Madwolf,

Many thanks for the reply - I don't suppose you have been able to find a solution to this yet have you?

Looking at the script it looks like the problem lies when the posts are pulled from the phpBB database. At this point it could check the forum_id data that is listed on the posts record.

I had thought that one way to get round this is to add another part to the sql query that pulls the postings from the phpBB database. Say you could specify a couple of forum id numbers that relate to the private sections in a config file - then when it searches for the postings it also checks forum_id against those numbers listed in the config file??

Any help/suggestions appreciated!

Cheers

Steve

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> phpBB Archive script support


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo