Sub Menu
Links Menu
Online Users

In total there are 308 users online :: 2 registered, 0 hidden and 306 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

Error page when clicking on news block

Support for IntegraMOD 141

Moderator: Integra Moderator

Error page when clicking on news block

PostAuthor: .QUACK.Major.Pain » Mon Jul 30, 2007 2:15 pm

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.aaquacks.com

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Hello guys.

There may have been a fix for this already, but I am unable to find it.

When I have the News block setup, and click on the title in the news post, it attempts to link to forum/portal.phpportal.php?topic_id=???

I am using integra2 template but it seems to be in all templates.

What file needs to be fixed to remove one of the portal.php from the above link?

I see it has been fixed already, since my new site doesn't have this problem.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: Error page when clicking on news block

PostAuthor: tmotley » Mon Jul 30, 2007 2:39 pm

Just to eliminate possibilities...

Do you have portal.php for your News Mod Index File? (News Management, Configuration) and [color=red]http] as the News Mod Base URL?

Looking at your site and at your news_block.tpl file, the common denominator on the 'bad' links in the news block is the {INDEX_FILE}.

I copied your situation on my site by putting the portal.php at the end of News Mode Base URL and portal.php in for News Mod Index File. The News Mod Base URL should NOT have portal.php at the end.
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: tmotley » Mon Jul 30, 2007 2:58 pm

NOTE: This will fix your RSS feed problem as well.
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

Re: Error page when clicking on news block

PostAuthor: .QUACK.Major.Pain » Mon Jul 30, 2007 4:19 pm

Well I never had a problem with the feed.

I checked the configuration and had to make some changes there.

the base url is: http://aaquacks.com/forum/

the index file is the problem. I tried index.php, portal.php, viewtopic.php and none work.
It actually logs me off when changing pages.

viewtopic looked to be the closest. But syntax should be viewtopic.php?t=????
news block uses ?topic_id=???

I also rechecked my other site, and I do have the same issue there.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: Error page when clicking on news block

PostAuthor: .QUACK.Major.Pain » Mon Jul 30, 2007 4:23 pm

Ok - I thought it was to redirect you to the actual post.
It is only to expand to show the full post on the portal page.

The only problem now is that when clicking on it to expand, the result is, it expands as it should, but it logs me out everytime.

I tried both Firefox and Explorer and same results - logs out when clicked.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: Error page when clicking on news block

PostAuthor: tmotley » Mon Jul 30, 2007 4:34 pm

".=QUACK=.Major.Pain";p="27705" wrote:Well I never had a problem with the feed.


Ummm... http://www.integramod.com/forum/viewtopic.php?t=3440

In searching for a solution for you, I happened upon that unanswered post from April. In looking at your site now, it appears to be url-wise functional both for news block and rss feed links.

The logging out issue could be cookie-based I suppose. Do you have a test account so I could test it. Things seem to work perfectly while logged out.
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

Re: Error page when clicking on news block

PostAuthor: .QUACK.Major.Pain » Mon Jul 30, 2007 4:43 pm

Well I tried to create a test account, but this stupid captcha thing is the biggest pain in the a$$.
I exceeded my attempts and can't do it right now.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

PostAuthor: alumsprings » Mon Jul 30, 2007 6:21 pm

I am having this same problem. In the news configuration, if you put the file name in the URL, it will let you click on the little newspaper icon then it expands the article. however if you click on the topic link in the post, it takes you to the error page because it is linked to "http://yourdomain.com/forum/portal.phpportal.php?topic_id=#".....It adds portal twice when it should be once. How can you fix it?
Last edited by alumsprings on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

alumsprings
Members
Members
 
Posts: 34
Likes: 0 post
Liked in: 0 post
Joined: Sat May 05, 2007 5:13 pm
Cash on hand: 0.00

Re: Error page when clicking on news block

PostAuthor: tmotley » Mon Jul 30, 2007 7:04 pm

ACP
News Management
Configuration
News Mod Base URL: http://www.alumspringsbaptistchurch.org/forum/
News Mod Index File: portal.php
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: alumsprings » Mon Jul 30, 2007 7:07 pm

yeah i know that works but if i do that, when i click on the newspaper icon thingie, it takes you to the forum page instead of expanding the news item....i know...i'm picky. <img>
Last edited by alumsprings on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

alumsprings
Members
Members
 
Posts: 34
Likes: 0 post
Liked in: 0 post
Joined: Sat May 05, 2007 5:13 pm
Cash on hand: 0.00

PostAuthor: tmotley » Mon Jul 30, 2007 7:10 pm

I'm going to bed now. Set it correctly and I'll try to check on it for you tomorrow.
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

Re: Error page when clicking on news block

PostAuthor: .QUACK.Major.Pain » Mon Jul 30, 2007 7:35 pm

yea same here.

I have the same settings.

title shows: forum/portal.php?topic_id=???
newspaper shows: forum/?topic_id=???

Definitely problem with that link.
Same on all templates.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: Error page when clicking on news block

PostAuthor: tmotley » Tue Jul 31, 2007 3:54 am

My 'Read More' link opens up the news article fully on the portal page. Is that what it's supposed to do you think?

Maybe try this?

OPEN includes/news.php (mine's on line 140)

FIND:
Code: Select all
                     'READ_MORE_LINK' =>  


My line 140 read more link goes like this:

Code: Select all
                   'READ_MORE_LINK' => (show_abstract && $trimmed)? '<a><img></a>' : ''


What does yours look like?
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: alumsprings » Tue Jul 31, 2007 12:26 pm

Mine is identical to yours.
Last edited by alumsprings on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

alumsprings
Members
Members
 
Posts: 34
Likes: 0 post
Liked in: 0 post
Joined: Sat May 05, 2007 5:13 pm
Cash on hand: 0.00

Re: Error page when clicking on news block

PostAuthor: .QUACK.Major.Pain » Tue Jul 31, 2007 1:01 pm

Actually that was exactly what my problem was.
My line was:

'READ_MORE_LINK' => ($show_abstract && $trimmed) ? '<a><img></a>' : ''


Both my sites were wrong.

Your line fixed it. Gives correct result and doesn't log me out anymore.

Someone needs to correct this in the 141 master download file.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Next

Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot]

cron