Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Active Threads
#11
Thanks for your efforts @Laird

I want to add active threads to my inbox's sidebar.

Is that possible?

Using Godark theme :

https://community.mybb.com/thread-209772.html
Reply
#12
Yep, it should be possible. I'm just not quite sure which sidebar you mean. In any case, it should be as simple as adding a link to "activethreads.php" into the relevant template for your theme.
Reply
#13
Template - Index Page Template - index
<div class="sidebar">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<i class="fa fa-comments"></i> Active threads
</td>
</tr>
<tr>
<td class="trow1">
I will add the  active threads there</td>
</tr>
</table>
</div>

and css part
.sidebar {
    overflow: hidden;
}
.forums {
    float: left;
    margin-right: 20px;
    width: 73%;
}

i need to have pure activethreads like $activethreads something like that. is it possible? dont need whole page. How can i do that?
Reply
#14
OK, so, in the template, this is the HTML that you should use for the link to Active threads:

<a href="{$mybb->settings['bburl']}/activethreads.php">Active threads</a>

You can place that link wherever you think is best.
Reply
#15
if i can publish it on index sidebar (not in a link) will be better .
Reply
#16
Oh, I see now. I misunderstood. You want a listing of threads as provided by Active Threads to be shown in the sidebar, not merely a link to that listing. At the moment, that isn't supported, but once I've gotten a couple of other items out of my TODO list I'll see what I can do for you. Stay tuned...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)