MyBB Community Forums
[For 1.8] Recent Threads On Index [Updated 02-12-19] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] Recent Threads On Index [Updated 02-12-19] (/thread-159857.html)

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


RE: Recent Threads On Index - expat - 02-09-2015

how do i pass the variables to the templates and let the templates format the html? thanks


RE: Recent Threads On Index - Crazycat - 02-09-2015

Have an eye on http://docs.mybb.com/1.8/development/plugins/templates/


RE: Recent Threads On Index - expat - 02-09-2015

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?


RE: Recent Threads On Index - expat - 02-11-2015

how do i make it refresh the whole plugin instead of refreshing and adding just the new thread? thanks


RE: Recent Threads On Index - expat - 02-12-2015

Can anyone show me how to pull the events from the calendar as well to save me some time please Toungue


RE: Recent Threads On Index - Eldenroot - 02-12-2015

@dragonexpert - is there any way how to fix an issue with permissions? You can get some idea from the mod for mybb 1.6


RE: Recent Threads On Index - expat - 02-13-2015

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


RE: Recent Threads On Index - dragonexpert - 02-14-2015

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.


RE: Recent Threads On Index - Eldenroot - 02-14-2015

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


RE: Recent Threads On Index - expat - 02-15-2015

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