Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Inserting page number (or buttons) next to title
Hi all.
Been running a VF based board for a few months now but one feature which, as far as I can see, is definitely missing, is having the page numbers referenced next to the page title on the main list. Alternatively, though the first is preferable, how can I easily implement a system to arrive at the last read post by the user? I've read a few threads but nothing looks particularly easy.
To put this into perspective, I have threads with 350 posts, and the post limit per page is set to the max (100), but despite this each user must scroll to the bottom of page one, then click page 3, then scroll to the bottom of that just to see the latest posts. This is infuriating.
0
Answers
Lookup theme hooks/plugins in the documentation, then use this hook
grep is your friend.
Not sure what exactly you're suggesting here. Can't find anything on hooks in the documentation, wouldn't have the first idea where to place this code!
look for events here
events are hooked into themes and plugins. you need to go through these events and how they are hooked!
they are discussed all over this forum - just search for events or hooks
There was an error rendering this rich post.
Ok that looks far from easy so I will have to have a look later in the week.
Just spent an hour trying to remove a border from around my categories which randomly appeared after updating to 2.0.18. It's still there and I'm none the wiser.
@Faz
Use something like Firebug in Firefox to inspect the border element to see what is calling it.
Exactly what I was doing, yet I can't find the element in any of the three linked CSS files. I must be a total tool or something but I can't figure it out. There's no way Vanilla is caching the theme is there? It's not locally caching.
it caches in /cache folder. you can try clearing the .ini files from that folder
There was an error rendering this rich post.
Try new firefox 10 you can use new firebug and the inspect (q) link
There was an error rendering this rich post.
to the original question: if a user is logged in, clicking on the discussion in the discussions list should always take you to the first unread post. it should not take you to page 1 each time.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Shouldnt it intrinsicly goto "last read" though
There was an error rendering this rich post.
This is not the case and never has been for me!
@Faz
Then something somewhere is wrong with your setup.
Our forum directs users to the last read post automatically, and I'm sure that is the normal default Vanilla behaviour.
Even over multiple pages?
edit: just literally worked out what it is; Voting Plugin. Disabled it directs to the last read post. But I really want it enabled. Will have to have a look at the code tomorrow and try to work it through.
interesting. i dont use voting so im not sure of the issue, but i believe voting allows for some alternative sorting methods, that could lead to an answer
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Yes it does as it allows you to list them by vote as well as date posted. Thus you wouldn't want to see the last post as it might not be the best one. I can understand it, but it's infuriating.