order is determined usually by date – might be worth using the backend to change the date of one to be before or after the other.
Giving that a shot, thank you.
if not then come back, but let me know how you are changing the order
I tried it, made the Sticky 2 creation date more recent with changing the publish date.
No luck.
o how are you changing the order, which is not sticking
I was changing the main Forum Post Date that it was created to try that.
These are two posts they want to have up at all times and add to them, just keep the order the same if they update either one.
Might be beyond what the system can do at this point.
stickies should appear in date order early to late.
ok so in dashboard>topics>edit topics and find the sticky topics and edit, do they have a ‘menu order’ set ?
sorry, forget that, in wrong place
so do the stickies have any replies to them ?
that might alter the order, eg most recent reply determines order
Apologies, just got to my office, trying these things now. Thank you for the help.
Nada, just going to explain the nature of it to them and dig around later for a code hack if there is one. Thank you so much for the help.
line 322 of \includes\topics\template.php has the function I think
you’d use a filter to add an ‘order by’ probably using the parse args on line 330
so
add_filter ('bbp_before_add_sticky_topics_parse_args' , 'your_function') ;
function your_function ($r) {
//add the order you want to sort
$r['order_by'] = etc......
}
Sorry don’t have time to look at this evening, but come back if you need further help
Yeah, not a great PHP guy here but taking a look.
ok, without knowing what is determining the order, it is hard to give you code to correct.
I’d suggest you play with publish dates of the stickies and ant replies to them to see if you can work out the issue, then come back and I’ll see if I can help further
Thank Robim, got a guy that can help. I appreciate all of the help on this. If I get a solid programming answer will let you guys know. Have a great weekend.