#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 21, 2019 18:17:13 GMT -8
Hi My forum members love this Sidebar - many thanks to the creator. I've done a search of these 90+ pages and can't find the answer to my two questions, so here goes: ■ Is there any way to have this "Recent Threads Sidebar" show up on every page of the forum? ■ Is there a way to remove duplicates from generated list? If one thread has been updated a few times recently, then it's showing up multiple times in the "Recent Threads Sidebar" << naturally, we'd rather only the most recent occurrence of each thread was listed. thanks To have the sibebar displayed on all pages of your forum, in the 'Settings' tab, set the 'Ancillary Pages' option to 'Yes'. If you are displaying the Recent Threads in a cell other than it's own, that cell will obviously need to be on every page of your forum. And to have the duplicates stripped out of the threads list, in the 'Recent Threads' tab, second option down, make sure 'All Posts' is NOT ticked.
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 18, 2019 7:16:23 GMT -8
Hello Todge. I've got Recently Updated Threads at the top of my forum. How do I put it in the center of the page? Thank you.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 18, 2019 16:32:46 GMT -8
Hello Todge. I've got Recently Updated Threads at the top of my forum. How do I put it in the center of the page? Thank you. Center it in what way? If you are wanting to display the entire cell in the center, rather than have it span across the whole page, drop the <div id="recent_threads_here"></div>below the line that says $[header] in your layout template. If you are wanting the thread list to be centered, then add this to the plugins' CSS Styling... #recent-threads-cell { text-align: center; }
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 18, 2019 23:42:02 GMT -8
Hello Todge. I've reduced the width of the Recent Threads to roughly the size I want it but as you can see, it's over to the left of the forum. I would like it in the middle just above Weekend Games. I've tried adding your suggested code to the CSS styling, which didn't make any difference, so I deleted it again. Also, could you please navigate me to my Layout Template so I can drop
<div id="recent_threads_here"></div>
below the line that says $[header] I've looked at the templates but can't find that code anywhere. Thank you for your help.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Jul 19, 2019 1:01:36 GMT -8
Hello Todge. I've reduced the width of the Recent Threads to roughly the size I want it but as you can see, it's over to the left of the forum. I would like it in the middle just above Weekend Games. I've tried adding your suggested code to the CSS styling, which didn't make any difference, so I deleted it again. Also, could you please navigate me to my Layout Template so I can drop
<div id="recent_threads_here"></div>
below the line that says $[header] I've looked at the templates but can't find that code anywhere. Thank you for your help. You should find the $[header] variable in the Forum Wrapper template: Admin > Themes > Layout Templates > Forum Wrapper. Be sure you have the correct theme selected at the top (probably needs to be the theme you have set as default).
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 19, 2019 5:41:07 GMT -8
Thank you, MSG. The code <div id="recent_threads_here"></div> does not appear under $[header]
How can I center the cell so that it fits nicely above Weekend Games?
Thank you.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 19, 2019 10:13:37 GMT -8
Thank you, MSG. The code <div id="recent_threads_here"></div> does not appear under $[header]
How can I center the cell so that it fits nicely above Weekend Games?
Thank you.
From the look of it, the code is currently ABOVE $[header], it needs to be moved below it, that should center the whole Recent Threads cell. The code I gave you to add to your CSS will center the threads within the cell.
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 19, 2019 10:25:49 GMT -8
Ah, I must be looking in the wrong place. I'm at Admin > Themes > Layout Templates > Forum Wrapper but there is no sign of <div id="recent_threads_here"></div> above or below #HEADER
Thank you for your help.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 19, 2019 10:40:55 GMT -8
Ah, I must be looking in the wrong place. I'm at Admin > Themes > Layout Templates > Forum Wrapper but there is no sign of <div id="recent_threads_here"></div> above or below #HEADER
Thank you for your help.
Hmm... It's got to be there somewhere. is it in your 'Home' layout?
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 19, 2019 10:52:22 GMT -8
No, it's not there either.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Jul 19, 2019 18:06:31 GMT -8
No, it's not there either. Have you checked your Global Header / Footer? I'm seeing code around it that looks like it might be in your Global Header.
|
|
inherit
244171
0
Jul 24, 2019 17:00:59 GMT -8
lbtmedia
4
April 2017
lbtmedia
|
Post by lbtmedia on Jul 19, 2019 21:19:10 GMT -8
I'm going to apologize right off the bat, I know very little about coding so I'm using the plug-in as is. When I create a new thread or a user posts those show up in the Recent Threads sidebar and stay posted. It does not seem to recognize updated posts when changes are made to them. I have all 3 boxes checked in the Recent Threads setting tab. All boards are enabled and no boards are restricted. When I click on a thread, it does show up in the Recent Threads sidebar. However, after I make my changes and move to another thread or back to the main page it disappears from the sidebar. Am I doing something wrong? littlebigtownmedia.freeforums.net/
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 19, 2019 22:56:35 GMT -8
No, it's not there either. Have you checked your Global Header / Footer? I'm seeing code around it that looks like it might be in your Global Header. Yes, it's there.
It appears 3 times from line 47. Should I delete them? Here's the code:
<script type="text/javascript"> if(proboards.data('route').name != 'home') { document.write('<style>#important_threads { display: none; }</style>'); } </script> <script type="text/javascript"> $(document).ready(function(){ $('#banner-container').click(function(){ location.href = "http://talkaboutfootballforum.com"; }); $('#banner-container').css('cursor','pointer'); $('#banner-container a').removeAttr('href'); }); </script>
<script type="text/javascript"> // Remove "Drag files here to upload" on posting page $(document).ready(function(){ $(this).unbind('dragenter.attachments').unbind('dragover').unbind('drop'); }); </script> <!-- Restore Pasting Formatted Content in WYSIWYG (Global Header) --> <script> $(document).on('wysiwygcreate', function(event, data){ $($(event.target).data('wysiwyg').editors.visual.editable).off('paste.wyswiwyg') }) </script>
<script type="text/javascript"> // Homepage-only Sidebar Redux \\ if(pb.data('route').name != "home") { $('head').append('<style type="text/css">.sidebarr-left-td, .sidebarr-right-td { display: none; } .sidebarr-center-td { padding: 0 !important; }</style>'); // Safari Browser Fix \\ proboards.plugin.get('sidebar_redux').settings.left_enabled = 0; proboards.plugin.get('sidebar_redux').settings.right_enabled = 0; } </script> <script type="text/javascript">
$(document).ready(function() { $('#move-shoutbox').append($('div.shoutbox.container.full')); });
</script>
---------------------------------------
<div id="recent_threads_here"></div> <style> div.shoutbox-post { padding-bottom: 15px; } </style> <script type="text/javascript"> $(document).ready(function(){ $('#news').insertBefore('#recent_threads_here'); }); </script> <style type="text/css"> <!-- textarea{ font-size: 12px; } --> </style> <div id="recent_threads_here"></div>
Thank you.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 20, 2019 7:59:06 GMT -8
Ah-ha.... You should delete the parts in red, below... <div id="recent_threads_here"></div> <style> div.shoutbox-post { padding-bottom: 15px; } </style> <script type="text/javascript"> $(document).ready(function(){ $('#news').insertBefore('#recent_threads_here'); }); </script> <style type="text/css"> <!-- textarea{ font-size: 12px; } --> </style> <div id="recent_threads_here"></div>
And then put the code <div id="recent_threads_here"></div> in your forum wrapper template directly beneath the $[header] line.
|
|
inherit
220198
0
Sept 7, 2024 5:43:00 GMT -8
gb9454
Life is too short. Don't waste it reading this.
521
April 2015
gb9454
|
Post by gb9454 on Jul 20, 2019 8:20:27 GMT -8
Hello Todge. Well it's now where I want it but if you could possibly have a look for me, you'll see that it needs adjusting slightly. I'd like it the same width as the other forums below it. Thank you.
|
|