2016-12-22, 10:21 PM
Hello,
How do i add a recent threads to the index page? I have tried some plug-ins that kinda fixed my problem but it looked completely different from the one on the portal. I want a latest threads sidebar on the index page that is identical to the one on the portal page. Any help would be greatly appreciated
https://i.gyazo.com/cd6a1fb5d691fcbb3f46...9f7a94.png - This is how it looks on the index page with the plug-in i tried.
https://i.gyazo.com/97c7d94a97a8e7baf762...4cbcf5.png - This is how it looks on the portal page.
Both the screenshots are from my test forum. I have installed this theme on both forums, but haven't activated the theme for any other than my own user on the main forum (all the other users are seeing the default theme, which is the revolution gaming dark theme). The main forum has 3.5k registered members and i don't want to roll out an incomplete theme for all those people.
This was the fix for the revolution theme (I tried it at iGame as well, but it didn't work):
P.s: A small bug i found is that when you press "Mark All Forums Read" in the footer you get an error as shown in this screenshot: https://i.gyazo.com/eb6006b58b5c69d130f2...e42738.png
Happens on both the test forum and the main forum.
How do i add a recent threads to the index page? I have tried some plug-ins that kinda fixed my problem but it looked completely different from the one on the portal. I want a latest threads sidebar on the index page that is identical to the one on the portal page. Any help would be greatly appreciated
https://i.gyazo.com/cd6a1fb5d691fcbb3f46...9f7a94.png - This is how it looks on the index page with the plug-in i tried.
https://i.gyazo.com/97c7d94a97a8e7baf762...4cbcf5.png - This is how it looks on the portal page.
Both the screenshots are from my test forum. I have installed this theme on both forums, but haven't activated the theme for any other than my own user on the main forum (all the other users are seeing the default theme, which is the revolution gaming dark theme). The main forum has 3.5k registered members and i don't want to roll out an incomplete theme for all those people.
This was the fix for the revolution theme (I tried it at iGame as well, but it didn't work):
<script type="text/javascript">
jQuery(function(){
jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
});
</script>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><strong>Latest activity</strong></div>
</td>
</tr>
<tr>
<td class="trow2">
<div class="latestthreads float_left"></div>
</td>
</tr>
</table>
P.s: A small bug i found is that when you press "Mark All Forums Read" in the footer you get an error as shown in this screenshot: https://i.gyazo.com/eb6006b58b5c69d130f2...e42738.png
<li><a href="misc.php?action=markread{$post_code_string}">Mark All Forums Read</a></li>
Happens on both the test forum and the main forum.