The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Latest Topic Widget always redirects to the very last page of a topic

    Charisma Clash
    Charisma Clash
    Forumember


    Posts : 166
    Reputation : 2
    Language : English

    In progress Latest Topic Widget always redirects to the very last page of a topic

    Post by Charisma Clash June 23rd 2017, 5:08 am

    I'll try to explain this as simple as possible.

    1.) I have 1 category that has its posts sorted by the most recent posts first.

    Latest Topic Widget always redirects to the very last page of a topic Mh5HNULmSMKxLrjiO12vWA

    2.) I have the latest topic widget which when you click a topic, it'll take you to the latest post of that topic. That works fine for categories that are set to regular forum settings (oldest posts being on the first page).

    3.) That doesn't work for categories that are sorted by the most recent posts. Instead, it'll take you to the very last page of that topic.

    My question is, is there a way to fix the page recent topics widget takes you to when you have a subforum set to most recent posts first?

    For example, when on the index it'll take you to the correct latest post, which is how I want it to work on the widget. http://eawnetwork.forumotion.com/t5640-eaw-promoz#143058

    This is where it ends up taking you while currently on the widget, which is the very last page and not the last post 
    http://eawnetwork.forumotion.com/t5640p950-eaw-promoz#143058

    My forum version is PHPBB2
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: Latest Topic Widget always redirects to the very last page of a topic

    Post by Ape June 23rd 2017, 12:57 pm

    Hello @Charisma Clash

    No sorry this is the way it is made for all forums.

    the settings for this is server side and as you know we have no way to get in to the servers to make the change but you could always make a Suggestion on the Suggestions part of the forum to have it added.

    I can not say it will be a new feature to come or not but it's worth a try Wink



    Latest Topic Widget always redirects to the very last page of a topic Left1212Latest Topic Widget always redirects to the very last page of a topic Center11Latest Topic Widget always redirects to the very last page of a topic Right112
    Latest Topic Widget always redirects to the very last page of a topic Ape_b110
    Latest Topic Widget always redirects to the very last page of a topic Ape1010
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Latest Topic Widget always redirects to the very last page of a topic

    Post by _Twisted_Mods_ July 1st 2017, 12:15 pm

    jquery or javascript use it on the pages that have the widget

    Code:

    $(function(){
    $('.gensmall a').each(function(){
    $(this).attr('href',$(this).attr('href').replace(/p[0-9]/g, '').split('-')[0]+'-');
    });
    });

      Current date/time is September 22nd 2024, 8:29 pm