Support for SMF Tricks Themes & Mods

0 Members and 1 Guest are viewing this topic.

*
prach_kp
Sniffer
Recent Posts doesn't show in Redsy
May 20, 2015, 11:11:56 PM
Deal Alls,

In the main page of SMF it normal shows Recent Post (http://www.xxx.com/webboard/index.php#recent) and User Online (http://www.xxx.com/webboard/index.php#users) by defualt. I have set to show Recent Post in the front page of my webboard, but it doesn't show that position that I set, It show the same as users tab. For example:- When I click recent tab, it shows Users Stat or Users Online and When I click users tab, it shows Users Stat or User Online same too.

Thank you for your suggestion.
Prach Konphet






*
Daniel
#1
Webmaster
Re: Recent Posts doesn't show in Redsy
May 21, 2015, 04:18:15 PM
BoardIndex.template.php (Themes/Redsy)
Search:
Code: [Select]
<div class="hslice tab-pane" id="recent_posts_content recent" role="tabpanel">Replace with:
Code: [Select]
<div class="hslice tab-pane" id="recent" role="tabpanel">
*
prach_kp
#2
Sniffer
Re: Recent Posts doesn't show in Redsy
May 21, 2015, 10:00:11 PM
It's worked.
Thank you very much
*
prach_kp
#3
Sniffer
Re: Recent Posts doesn't show in Redsy
May 21, 2015, 10:21:20 PM
Could you tell me more about default the first tab? Now it shows the fourth tab (#users) by default, I would like to show the first tab (#recent) by default.

Tab Lists of My Webboard
1. #recent
2. #calendar
3. #stats
4. #users

Thank you for advanced.
*
jaeason
#4
Sniffer
Re: Recent Posts doesn't show in Redsy
May 22, 2015, 02:22:17 AM
It's worked.
Thank you very much

Yes, thank you. I had the same problem and the solution worked for me.

Also interested in changing the default tab as well.

Thanks,
Allan
vx800forum.com
*
Daniel
#5
Webmaster
Re: Recent Posts doesn't show in Redsy
May 26, 2015, 05:47:51 PM
BoardIndex.template.php
Search:
Code: [Select]
<li role="presentation">
<a href="#recent" aria-controls="recent" role="tab" data-toggle="tab">
Replace with:
Code: [Select]
<li role="presentation" class="active">
<a href="#recent" aria-controls="recent" role="tab" data-toggle="tab">
Search:
Code: [Select]
<li role="presentation" class="active">
<a href="#users" aria-controls="users" role="tab" data-toggle="tab">
Replace with:
Code: [Select]
<li role="presentation">
<a href="#users" aria-controls="users" role="tab" data-toggle="tab">
Search:
Code: [Select]
<div class="hslice tab-pane" id="recent" role="tabpanel">Replace with:
Code: [Select]
<div class="hslice tab-pane active" id="recent" role="tabpanel">Search:
Code: [Select]
<div class="tab-pane active" id="users" role="tabpanel">Replace with:
Code: [Select]
<div class="tab-pane" id="users" role="tabpanel">
*
prach_kp
#6
Sniffer
Re: Recent Posts doesn't show in Redsy
May 26, 2015, 09:06:35 PM
Dear Daniel,
That's worked again.
Thank you very much.
Prach Konphet
*
prach_kp
#7
Sniffer
Re: Recent Posts doesn't show in Redsy
May 26, 2015, 09:18:09 PM
Dear Alls,
I found the another problems.
index.template.php
Search:
Code: [Select]
<a href="', !empty($settings['facebook_text']) ? $settings['facebook_text'] : 'http://www.facebook.com ' ,'" title="', $txt['rs_facebook'], '"><i class="fa fa-twitter fa-2x"></i></a>
Replace with:
Code: [Select]
<a href="', !empty($settings['facebook_text']) ? $settings['facebook_text'] : 'http://www.facebook.com ' ,'" title="', $txt['rs_facebook'], '"><i class="fa fa-facebook fa-2x"></i></a>
Search:
Code: [Select]
<a href="', !empty($settings['twitter_text']) ? $settings['twitter_text'] : 'http://www.twitter.com' ,'"><i class="fa fa-facebook fa-2x"></i></a>
Replace with:
Code: [Select]
<a href="', !empty($settings['twitter_text']) ? $settings['twitter_text'] : 'http://www.twitter.com' ,'"><i class="fa fa-twitter fa-2x"></i></a>