IPB

Welcome Guest ( Log In | Register )

Get New Post Does Not Work.

This topic is about Get New Post Does Not Work., the author, relaxingh, wrote about: There is a slight difference between the get new url of this forum and my forum. On my forum the url ends with /get_new_post/ where as the the url on this forum ends with the #pid. I looked at the ... To read more just scroll down

> Report bugs here!

Hey all!
Please report all bugs and errors to our iptracker it will be much more organised!

 
Reply to this topicStart new topic
Get New Post Does Not Work.
relaxingh
post Aug 26 2007, 08:12 AM
Post #1


Member
**

Group: Members
Posts: 12
Joined: 18-August 07
Member No.: 30



There is a slight difference between the get new url of this forum and my forum. On my forum the url ends with

/get_new_post/

where as the the url on this forum ends with the #pid.

I looked at the bug tracker and found this

http://icelabz.net/forum/index.php?autocom...mp;bug_cat_id=8

It looks like that the bug has already been fixed. Admin can you please tell me if it was delivered in Beta version the stable one.

It would be good if you could post the target version when a bug is completed. wink.gif
Go to the top of the page
 
+Quote Post
bramburn
post Aug 26 2007, 08:14 AM
Post #2


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



that is not a bug. in the original url there is this string: view=getnewpost and it is a redirect to ?showtopic=xxx&pid=111#pid-111

its used to reduce dupe content


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
relaxingh
post Aug 26 2007, 08:27 AM
Post #3


Member
**

Group: Members
Posts: 12
Joined: 18-August 07
Member No.: 30



I tested it with

index.php?showtopic=xxx&view=getnewpost

Then the seo modules makes it user friendly which DOES have the #pid at the end however on the home page

This link gets rendered in recently updated topics but these dont work.

look here.

http://www.sikhsangat.com/content/GENERAL-...bo-/getnewpost/


This is the code in my settings file


CODE
$topic_view_getnewpost = array(
    'content/(.*?)/([0-9]+)/(.*?)/getnewpost/$',
    'content/$forum_title/$topic_id/$topic_title/getnewpost/',
    'showtopic=$matches[2]&view=getnewpost' );
Go to the top of the page
 
+Quote Post
bramburn
post Aug 26 2007, 09:40 AM
Post #4


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



QUOTE(relaxingh @ Aug 26 2007, 08:27 AM) *
I tested it with

index.php?showtopic=xxx&view=getnewpost

Then the seo modules makes it user friendly which DOES have the #pid at the end however on the home page

This link gets rendered in recently updated topics but these dont work.

look here.

http://www.sikhsangat.com/content/GENERAL-...bo-/getnewpost/
This is the code in my settings file
CODE
$topic_view_getnewpost = array(
    'content/(.*?)/([0-9]+)/(.*?)/getnewpost/$',
    'content/$forum_title/$topic_id/$topic_title/getnewpost/',
    'showtopic=$matches[2]&view=getnewpost' );


Thats normal. it will 301 redirect to the proper url and that link will not be on google. it will fix itself up. If I were to add the #pid in the url already the system will run very very slow and your site might need to run on a dedicated to serve a few people. That just lets the system to send it to the proper url.

even this:
showtopic=$matches[2]&view=getnewpost

is a redirect to its proper url.

Its the destination url that matters not the process of getting there.


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
relaxingh
post Aug 26 2007, 10:38 AM
Post #5


Member
**

Group: Members
Posts: 12
Joined: 18-August 07
Member No.: 30



My site is already on a dedicated server so i wouldnt mind the fix. Why is it that when i click on icelabz forums on the main page i click on a link and it does add the #pid and works as it should however on my own forum it just takes the user to the first page which is confusing as the users are used to going to the last page and viewing the last post.

I assume redirect 301 happens on the server instead of the user recieving a response and then the response header containing a redirect status code. This seems like Server.Transfer in asp.net.
Go to the top of the page
 
+Quote Post
bramburn
post Aug 26 2007, 11:29 AM
Post #6


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



hmm very strange indeed.
i checked one of the threads that had 2 pages and getnewpost seems ok:
SEO/106/Upgraded-From-0-0-3-And-Furl-Still-Doesnt-Work/getnewpost/" target="_blank">getnewpost
SEO/106/Upgraded-From-0-0-3-And-Furl-Still-Doesnt-Work/getlastpost/" target="_blank">getlastpost

i think I would need to see your site to find the errors.
I think I may be able to release a few fixes today, that's if my little cousin doesn't come over today or else he would trash my pc.


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
bramburn
post Aug 26 2007, 11:30 AM
Post #7


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



classing this as a potential bug


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet


 



RSS Lo-Fi Version | Sitemap  | SEO by MinervaSEO © Icelabz.net Time is now: 8th January 2009 - 12:11 PM