AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] REQ: 'unread posts' be hyperlinked to the post rather than topic

3 Posts
2 Users
0 Reactions
1,244 Views
Posts: 119
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nando4)
Estimable Member
Joined: 9 years ago
[#13440]

Currently the lists of posts link to the topic URL but makes more sense for it to be linked to the post URL. Eg:

https://wpforo.com/community/recent/?view=unread

Consider fixing this in a future release of wpforo. Thank you.


2 Replies
Posts: 119
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nando4)
Estimable Member
Joined: 9 years ago

Not sure why but my site isn't linking to the newest 'unread post' in a topic but instead is linking to the start of the topic which is slow for multi page topics. So have changed it instead to point to the last post:

wpf-themes\classic\recent.php

<td class="wpf-spost-title">
<?php // nando4 >> adjust 'unread posts' to list topics BUT change it link to the last post rather than first one ?>
<?php wpforo_topic_icon($topic); ?> <a href="<?php echo ($view == 'unread' ? $topic_posturl : wpforo_unread_url( $topic['topicid'], $topic_url )) ?>" class="wpf-spost-title-link" title="<?php echo ($view == 'unread' ? "View last post" : wpforo_phrase('View entire topic')) ?>"><?php echo esc_html($title) ?></a>&nbsp;<?php wpforo_unread_button($topic['topicid'], $topic_url); ?> <?php wpforo_viewing( $topic ); ?>

 

Something to consider for the next refresh.


1 Reply
Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10736
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@nando4,

Please don't change the core code. Just remove it temporarily and pay with the "Topic Links Jump to First Unread Post" option in Forums > Settings > Features admin page.

 


Share: