> Forums > Active Forums > Community Support > Thread page number URL redirects when used from Not Read page
Last Post 24 Jan 2012 04:06 AM by Anna. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Anna
Registered Users
Anna
Post Count:6

--
14 Jan 2012 07:26 PM
    • Active Forums Version: 4.3.5
    • DotNetNuke Version: 5.6.2
    Note: the AF version is actually 4.3.6 and DNN 5.6.3 (neither version available in list above).

    Issue appears to occur on the 'Not Read' page only

    I upgraded AF to v4.3.6 and all works apart from when users are on the Not Read page and click a page number on a thread. The url is redirected and cuts off the information so the user is taken to the first page of the thread, not the page requested. EG this link http://forum.equichat.co.nz/equicha...00/afpg/84 is redirected to http://forum.equichat.co.nz/equichat_forum/aft/100. The url in the link is correct, it is just redirecting for reasons unknown.

    I am not using Vanity URLs on this installation and would prefer not to at this point.

    The 'Add Reply' button is also very slow to load the reply editor (not RTE, just plain text) this is especially noticeable in threads with >500 replies. This issue is not new since the upgrade however, it's been a problem for a while.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    17 Jan 2012 04:32 PM
    It appears you are using a 3rd party url rewriter, such as Ifinity URLMaster. This has been known to cause problems in the past. You may want to exclude the forum pages from any URL rewriting.
    Anna
    Registered Users
    Anna
    Post Count:6

    --
    19 Jan 2012 09:20 PM
    Thanks for that, have submitted the issue to iFinity :-)
    Anna
    Registered Users
    Anna
    Post Count:6

    --
    22 Jan 2012 06:02 AM
    OK - this issue has come back this way - the redirect only occurs when users are logged in, so it's highly likely this is an AF issue. When not logged in, everything works as expected and no stripping of the url is performed.

    Any further thoughts?
    Anna
    Registered Users
    Anna
    Post Count:6

    --
    22 Jan 2012 06:48 AM
    OK I've found the problem - it's the URL generated by the AF_minipager in the AF_grid control. For logged in users it's writing the wrong url for page numbers

    eg its writing http://forum.equichat.co.nz/equicha...100/afpg/3/afpg/3" target="_blank" rel="nofollow">http://forum.equichat.co.nz/equicha...g/3/afpg/3 which goes to pg 33 (wring - I clicked pg 3 link) instead of writing http://forum.equichat.co.nz/equicha...100/afpg/3

    So it's breaking for threads with less than 10 pages, and the Friendly URL Provider is doing it's best, by redirecting to the base url (ie the first page in the thread). For threads with more than 10 pages where the user clicks on a single digit page (eg pg 2) it's doubling up the page directive and going to pg 22 - if that exists. If it doesn't it's again breaking and being taken back to the first page of the thread.

    I have had a look at the code and think the minipager isn't able to be edited? It's in the compiled code I think? In which case please advise when an update is available. If the minipager is able to be edited please let me know where I can find the code to update the url generation.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    23 Jan 2012 09:28 AM
    If you are not using the AF Url rewriter, then it would seem that you still have ifinity active on the page. As I mentioned before, you may need to completely disable it on the forums page. Active Forums does not support 3rd party URL rewriters.
    Anna
    Registered Users
    Anna
    Post Count:6

    --
    24 Jan 2012 04:06 AM
    No, it's genuinely the AF code on the grid page writing the link incorrectly. I've tested this by installing a new DNN installation and adding AF (same versions as the one causing the problems) and doing some test posts. It's only happening when users are logged in, not for anonymous users (as tested using the Active Topics view, which is correct for anon users, but fails for logged in users).
    You are not authorized to post a reply.
    > Forums > Active Forums > Community Support > Thread page number URL redirects when used from Not Read page
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy