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
(2015-02-05, 11:11 PM)TBO29 Wrote: [ -> ]This is how it looks now on my local testsite. I think it's a very flexible plugin. Maybe there's a better way to put the avatars, I'm still thinking about it. When you click on the avatar, a modal window with the profile will popup.

hello sir can you please share the css code and table or template codes to make it look like that.. i really like it.

thank you


sir dragon look >

http://community.mybb.com/attachment.php?aid=33706

can you do this?
I think that is the recent posts on sidebar plugin. I do not have the rights to that plugin. It is achievable through template and CSS edits, but it isn't something I'm going to do.
ok dragon thanks..

hey i almost got it.. except for the avatar how do i style the avatar?

<img src="{$avatarurl}" {$dimensions} alt="{$avatarurl}" />

i tried wrapping it with
<div style="border-radius: 100px;"> <img src="{$avatarurl}" {$dimensions} alt="{$avatarurl}" /> </div>

but it doesnt work, do you mind helping me on this one? just to make it round and reduce it size i.e to 50x50

ty
Edit the recentthread_avatar template. You may wish to remove the variable {$dimensions} if you want them all to be the same size.
Thank you again.

a couple more of questions sir.

About the Installation:
1) Upload recenthread.php to your inc/plugins folder.
2) Install and Activate in the Admin CP
3) Go to your index template and verify {$recentthread_headerinclude} and {$recentthreadtable} are on the template once each.
4) Customize settings to your liking.

I found {$recentthread_headerinclude} on my SHOWTHREAD template should i remove it ?



and do i need to put code below too? Or the latest build that ive downloaded already have this fix?
(2015-02-18, 02:58 PM)Eldenroot Wrote: [ -> ]
(2015-02-18, 02:27 PM)dragonexpert Wrote: [ -> ]ACp->Styles & Templates->Templates->Global Templates->recentthread_headerinclude.

After the line that starts with var stopper=, add this code:

$(document).ready(function() { refresh_recent_threads();  });

Thanks! Amazing, it solved my problem!
oh so it s the most recentthread created and or bumped up?
(2015-06-06, 10:18 PM)expat Wrote: [ -> ]oh so it s the most recentthread created and or bumped up?

Yes.
I'm having a problem with Guests and a private forum. When a guest first visits the forum, or refreshes the browser, Recent Threads shows threads from all forums, then at the first 30 second refresh it filters out the private forum.

I just upgraded forum from 1.610 to 1.85, reverted templates, installed Recent Threads On Index. It's working properly otherwise. I haven't checked registered users without rights to the private forum yet. My forum is offline publicly until I redo my custom theme and ideally resolve this issue, so if you can't reproduce the problem and need to see my forum, please let me know.
Make sure the function to refresh threads is called right away and it should be fine. The strange part is that it uses the exact same thing to check permissions as what the index page does.
(2015-06-08, 09:29 AM)dragonexpert Wrote: [ -> ]Make sure the function to refresh threads is called right away and it should be fine.  The strange part is that it uses the exact same thing to check permissions as what the index page does.

Thanks! I rarely do JS, so I figured out enough to edit the index template with <body onload="refresh_recent_threads()">, which works although the unfiltered list shows for up to a second before refreshing correctly. Is there a better way to do it, or is that what you meant?
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