Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Forums > Forums - recent topics and search bar
Thoral_OoH (Applicant) 6/25/2011 5:04 PM EST : RE: Forums - Move Recent topics and search bar to the...
Thoral_OoH
Posts: 1426

0
Like

0
Dislike

Thanks for providing all this help!  I was able to turn off the recent posts using the code above, but now I need to turn off the "Last Post" column.  Can that be done?

I'm trying to create two sub-forums that are private in such a way that nobody knows who is posting to either one unless they have the password.  However, the Last Post column reveals who posts to each forum.

Thanks!
TopBottom

Mottie (SuperAdmin) 6/25/2011 8:41 PM EST : RE: Forums - Move Recent topics and search bar to the...
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Thoral_OoH!

Add this CSS to your custom css (Control Panel > Custom HTML & Script > Custom CSS > CSS Additions to Standard):
.ForumLastPostInfoCell, .ForumLastPostThumbCell, .ForumLastPostInfoHeaderCell { display: none; }
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Thoral_OoH (Applicant) 6/28/2011 1:12 PM EST : RE: Forums - Move Recent topics and search bar to the...
Thoral_OoH
Posts: 1426

0
Like

0
Dislike

Thanks Mottie!
TopBottom

Thoral_OoH (Applicant) 6/28/2011 1:34 PM EST : RE: Forums - Move Recent topics and search bar to the...
Thoral_OoH
Posts: 1426

0
Like

0
Dislike

Grrr.  I found another loophole on a person's profile page under "Most Recent Posts".  Can I disable that, too?
TopBottom

Mottie (SuperAdmin) 6/28/2011 4:51 PM EST : RE: Forums - Move Recent topics and search bar to the...
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Thoral_OoH!

Hmmm, ok try adding this to your custom code (Control Panel > Custom HTML & Script > Custom Javascript/jQuery > Document Ready Event)
$('table[id*=_gridRecentPosts]').hide().closest('tr').prev().hide();
It should be generic enough to work.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Thoral_OoH (Applicant) 6/28/2011 5:07 PM EST : RE: Forums - Move Recent topics and search bar to the...
Thoral_OoH
Posts: 1426

0
Like

0
Dislike

It did indeed work.  Thank you so much!
TopBottom

Corganno (Applicant) 7/25/2011 10:05 PM EST : RE: Forums - Move Recent topics and search bar to the...
Corganno
Posts: 584

0
Like

0
Dislike

Hi Mottie,

Is there a way to have the Search box at the top, but the "Most Recent Posts" at the bottom?

Having the search box hidden at the bottom is pretty much useless (no one ever sees it), but the most recent posts at the top is too big/busy. 

Unfortunately it looks like GP has disabled the stand-alone widgets, that would have been an easy fix
TopBottom

Mottie (SuperAdmin) 7/25/2011 11:11 PM EST : RE: Forums - Move Recent topics and search bar to the...
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Corganno!

Do you mean the search box above the list of forum groups? The search box is already above the Most Recent Posts list.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Corganno (Applicant) 7/26/2011 4:20 PM EST : RE: Forums - Move Recent topics and search bar to the...
Corganno
Posts: 584

0
Like

0
Dislike

Sorry, I meant the "Search box" at the very top of the entire forums, but the "Most Recent Posts" at the very bottom of the page. 

As in split them up and put the forums in between.
TopBottom

Mottie (SuperAdmin) 7/26/2011 6:30 PM EST : RE: Forums - Move Recent topics and search bar to the...
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Oh ok, try this:
<script>
$(function(){
 var fv = $('div[id*=_ForumView]');
 if (fv.length){
  $('div[id*=_pnlForumSearch]').prependTo(fv);
  fv.find('a[href*=ListRss], a[title*="Edit admin"]').parent().appendTo(fv);
 }
});
</script>
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%