Is it possible to change what newly invited users see for the first time they visit the site?
Currently they see top posts of all time - but in our case, we just launched our site as a closed beta and all the top posts are really bad posts (because they are just old and received a lot of hits while we built the site)
Is it possible to change the default landing page for newly invited users to ‘recent’ or similar?
No way to do that at the current time – I suggest cleaning up the old topics in advance. If it’s bad content you are not comfortable putting in front of people, why keep it on your site?
yes, top page default timeframe does not change anything on our site. not even the actual default timeframe when clicking top. Would be great to have a fix for that!
top page default timeframe, changed it to weekly, visited the /top page, it shows weekly. Switched it to yearly, it shows yearly.
Now, whether the redirecting a user to the top page utilizes that setting, is a completely different question.
The intent I believe for that setting was when Top was set to the homepage, you could make it showcase a certain timeframe versus all, to make the homepage look more fresh and interesting.
How are you visiting that page? Are you logged in or an anonymous user? Are you returning to the site after being away for a while? What is the value of topics_per_period_in_top_page in your Admin > Settings?
I am visiting the site from two different logged in users: an admin user and a regular member user. Same behavior. I just created the regular user as a test and i am still presented with a yearly overview under top as default.
Not sure what you mean? Is that the intended behavior? In that case, what does the setting then do?
Well right now it is purely only in affect if the yearly period doesn’t have enough entries to warrant its display (based on the code). It seems yours does.
That code may need to be tweaked to behave differently, if the setting is to imply something else. Not sure what that should look like though.
One possible option would be to force the default timeframe to be the first entry in periods, so yes, it might get checked twice, but if the default view returns an applicable score and an applicable number of topics, it will get used.
In short, it ensures the default top page setting is returned by best_periods_for, it doesn’t mean it will get used, as it might not have a score > 0 or enough entries (and thus a different period may get returned), but it will at least give it a chance to be used.
Update: I really don’t understand what the top page default timeframe setting does? Just set Topics per period to 5 and set the top page default timeframe to yearly. Now it shows me top posts today when i click top. Makes no sense to me
That is covered by the checkbox you unchecked earlier (as it will put the user on the landing page). Which is 100% in your control.
Yeah, that setting needed to be applied further, which is what my PR does. Now it should behave in a more intended way. The earlier existence was only helpful to very low activity forums, anything that had remotely any activity wouldn’t ever make use of that setting.
@commonpawn, it is merged now. If you are running latest or wish to pull it down, visit /admin/upgrade and you should be able to pull this in and it should give you better results.