MyBB Community Forums

Full Version: Recent Threads On Index [Updated 02-09-21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
how do i pass the variables to the templates and let the templates format the html? thanks
hmm i just need to add the new variable along with the rest of the other variables, like $thread['forum'] for the forum names etc...

my goodness me LOL someone should have told me
while($thread = $db->fetch_array($query))
returns the variable already

so now i get multiples if there is more that one attachment, how do I stop that?
how do i make it refresh the whole plugin instead of refreshing and adding just the new thread? thanks
Can anyone show me how to pull the events from the calendar as well to save me some time please Toungue
@dragonexpert - is there any way how to fix an issue with permissions? You can get some idea from the mod for mybb 1.6
WHERE 1=1 $where AND t.visible=1 OR t.visible > {$approved} {$unsearchableforumssql} {$ignoreforums}


try a hard t.visible=1 and see if that works, report back thanks
After extensive testing, for some reason get_unviewable_forums is failing when it gets called normally. On a refresh coming from ajax, it correctly returns the the forums you can't view. I think it seems to be a bug in MyBB's code.
But it works fine with mod for mybb 1.6 (with changed compatibility like it works on mybb 1.8 without problem). maybe you can check the code

permissions works fine in this mod - http://mods.mybb.com/reviews/recent-posts-forum-index maybe it could help you to find a solution
does this plugin store variables in cache? how do i refresh the data without using the AJAX in it?

my data isnt refreshing itself as expected
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42