inherit
121455
0
Oct 20, 2024 19:46:35 GMT -8
Shawn
547
March 2008
stagefright
|
Post by Shawn on Nov 9, 2012 10:34:58 GMT -8
Hello all, just wondering if anyone has created a Plug-in for V5 to move the Forum Info Center to the top of the page under the navigator/banner??
Cheers and thanks
Love V5
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 9, 2012 11:49:21 GMT -8
This can be done with template modification. Go to Admin Home > Themes > Layout Templates > Home. Find this code in that template.
{if $[show_stats]} <div class="container stats"> <div class="title-bar"><h2>Forum Information & Statistics</h2></div> <div class="content"> <table> <tbody> <tr> <td> <table> <tr> <td class="icon">$[image.stats]</td> <td class="info"> <table> <tbody> <tr><th>Threads and Posts</th></tr> <tr><td>Total Threads: $[total_threads] Total Posts: $[total_posts]</td></tr> {if $[last_updated_thread]}<tr><td>Last Updated: $[last_updated_thread.recent_link] by $[last_updated_thread.last_post.created_by_user] ($[last_updated_thread.last_post.date])</td></tr>{/if} <tr><td>$[recent_threads_link] - $[recent_posts_link] - $[rss_feed_link]{if $[mark_boards_read_link]} - $[mark_boards_read_link]{/if}</td></tr> </tbody> </table> </td> </tr> </table> </td> <td> <table> <tr> <td class="icon">$[image.members]</td> <td class="info"> <table> <tbody> <tr><th>Members</th></tr> <tr><td>Total Members: $[total_members]</td></tr> <tr><td>Newest Member: $[newest_user]</td></tr> <tr><td>Most Users Online: $[most_users_online] <span class="small">($[most_users_online_date])</span></td></tr> <tr><td>$[birthdays_today_link]</td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> <tr class="last"> <td colspan="2"> <table> <tr> <td class="icon">$[image.online]</td> <td class="info last"> <table> <tbody> <tr><th>Users Online</th></tr> <tr><td>$[total_staff_online] Staff, $[total_members_online] Member{if $[total_members_online] != 1}s{/if}, $[total_guests_online] Guest{if $[total_guests_online] != 1}s{/if}.</td></tr> <tr><td> {foreach $[online_user]} $[online_user]{if $[online_user.invisible]} <span class="small">(invisible)</span>{/if}$[online_user.comma] {/foreach} {if $[total_online_not_shown]} , and <a class="$[view_active_members_link.class]" href="$[view_active_members_link.href]">$[total_online_not_shown] more...</a> {/if} </td></tr> <tr><td>$[view_todays_active_members_link]</td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> </tbody> </table> </div> </div> {/if}
And move it to the very top.
|
|
inherit
121455
0
Oct 20, 2024 19:46:35 GMT -8
Shawn
547
March 2008
stagefright
|
Post by Shawn on Nov 9, 2012 12:36:06 GMT -8
Brilliant, thanks so much that was super easy.
I'm loving V5
Thanks for the help shortyverrett94 i appreciate it very much.
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 9, 2012 12:45:04 GMT -8
It's not a problem. Glad I could help!!
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Nov 13, 2012 5:38:08 GMT -8
Hi! Sorry to bump this... I was wondering if there was a way to move the info center all the way at the bottom, below the shoutbox. Thanks!
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 13, 2012 9:19:21 GMT -8
Take the code in my previous post and move it right below the $[shoutbox] code.
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Nov 13, 2012 12:34:09 GMT -8
Thanks Shorty but I don't see a shoutbox code in "home". I tried going into themes - layout templates - shoutbox and pasted the code you mentioned above in there but nothing happened.
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 13, 2012 13:28:37 GMT -8
Ah.. Okay. My bad. iCan I get the link to your forum?
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Nov 13, 2012 13:45:38 GMT -8
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 13, 2012 13:48:04 GMT -8
Can you approve my account real quick please?
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Nov 14, 2012 0:24:09 GMT -8
Shorty, I'm so sorry it's the different time zone... I'll be back at the computer in the afternoon and approve you! See you later
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Nov 14, 2012 5:24:24 GMT -8
OK, you're in!
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 14, 2012 8:54:28 GMT -8
Okay. Thanks. This will involve two steps.
Go to Admin Home > Themes > Layout Templates > Home
Find this on line 25
{if $[show_stats]}
Then place $[shoutbox] right above that.
Then go to Go to Admin Home > Themes > Layout Templates > Forum Wrapper
And find the $[shoutbox]
and add this around it
<div class="shoutboxhome">
</div>
so it should now be
<div class="shoutboxhome"> $[shoutbox] </div>
And then add this right below it.
<script> if(proboards.data('route').name == "home") { $('div.shoutboxhome').hide(); } </script>
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Nov 14, 2012 9:22:17 GMT -8
Thanks so much Shorty, worked like a charm!
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Nov 14, 2012 9:55:50 GMT -8
not a problem. Glad I could help.
|
|