Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Recent posts menu 0.1 (Read 15265 times)
multikon
Full Member
***
Offline


Hakuna Matata

Posts: 240
Joined: May 14th, 2003
Re: Recent posts menu 0.1
Reply #15 - Jan 17th, 2006 at 12:33pm
Print Post  
Quote:
Hi
can you make the pulldown-Menu smaller? its very big as another dropdownmenu's


Hi

search in Boardindex.pl:
Code
Select All
$mostrecentposts .= qq~<select class="titlebg" name="display" onchange="submit()">~; 



change to:
Code
Select All
$mostrecentposts .= qq~<select size="1" style="font-size: 6pt; font-family: Tahoma" class="titlebg" name="display" onchange="submit()">~; 




cya
  

beware ... yabb goes wbb ^^
Back to top
ICQ  
IP Logged
 
mavrim
New Member
*
Offline



Posts: 21
Joined: May 21st, 2006
Re: Recent posts menu 0.1
Reply #16 - May 22nd, 2006 at 8:10am
Print Post  
I installed this mod today and it is terrific!  This is what my members have been asking for since I put the forum up this past January.

I did notice on two ocasions that the drop menu selection only showed 5 and 10 and then after doing a refresh it was ok and 5 - 100 shows.  I am also running the recent post bar mod, so there may be a conflict?  I am running the new beta2 IE 7, so it could be that?  I don't recall seeing the problem in firefox or opera, but i will recheck.  Here is the link to my site with this mod and the side bar mod now converted into a bottom recent post menu.

-Mike
« Last Edit: May 29th, 2006 at 6:23pm by mavrim »  
Back to top
 
IP Logged
 
mavrim
New Member
*
Offline



Posts: 21
Joined: May 21st, 2006
Re: Recent posts menu 0.1
Reply #17 - May 23rd, 2006 at 12:51am
Print Post  
Today I had so many more postings than usuall and this made it so easy to keep up with the new posts that were made!
  
Back to top
 
IP Logged
 
misterx
New Member
*
Offline


bite me

Posts: 30
Location: redmond
Joined: Aug 2nd, 2006
Re: Recent posts menu 0.1
Reply #18 - Sep 6th, 2006 at 10:18am
Print Post  
I like this mod.


I actually removed all of the stylesheet mambo jambo for the drop down selection because a variety of  templates play differently with the color schemes. Someone should fix the spacing issue called out twice earlier in this thread. It's still a blocker for step 3 setup.

I think this is an error  below though. It removed some functionality which my users preferred to utilize in order to get the last 10 posts. I provide a link at the top of the page (which gathers more attention) for quick use of last 10 posts.

Code
Select All
sub RecentPosts {
	&spam_protection;
	my $display = $FORM{'display'} || 0;
 



Setting it to zero eliminates the ability to just call recent posts in the browser via a link, typing it in or basically any non form entry. Feel free to clarify that I am incorrect. I switched it back to the following below and life seems to be better...

Code
Select All
sub RecentPosts {
	&spam_protection;
	my $display = $FORM{'display'} || 10;
 

  
Back to top
WWW  
IP Logged
 
ztc
New Member
*
Offline



Posts: 21
Joined: Jun 22nd, 2004
Gender: Male
Re: Recent posts menu 0.1
Reply #19 - Sep 7th, 2006 at 6:01pm
Print Post  
Ok, I believe I corrected the spacing error--could someone let me know if it still exists?

Misterx, could you please specify what stylesheet info could be removed? I haven't looked at this code for months, and I don't know Perl, so I don't know these things off the top of my head. Embarrassed

I did follow the other suggestion you mentioned.

I have attached the latest version to this post. If you can get back to me with the stylesheet info, I will update it again.
  

Recent_posts_menu03.zip ( 1 KB | Downloads )

NationalAnthems.us Online Forum
Over 700 members - 3500 topics - 14000 posts
Back to top
WWWAIM  
IP Logged
 
misterx
New Member
*
Offline


bite me

Posts: 30
Location: redmond
Joined: Aug 2nd, 2006
Re: Recent posts menu 0.1
Reply #20 - Sep 7th, 2006 at 8:14pm
Print Post  
I believe what I did was change this

Code
Select All
$mostrecentposts .= qq~<select size="1" style="font-size: 6px; font-weight: normal" select class="nav" name="display" onchange="submit()">~ 



to this

Code
Select All
$mostrecentposts .= qq~<select size="1" name="display" onchange="submit()">~; 



After looking at your changes I think it would also be cool to have a recent topics feature which would be very similar. I implemented a dirty hack to recent.pl and made on on the top of my board.

http://www.chep-net.com/cgi-bin/yabb2/YaBB.pl?action=recentlist;display=5
« Last Edit: Sep 7th, 2006 at 11:51pm by misterx »  
Back to top
WWW  
IP Logged
 
ILPredy
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 9
Joined: Mar 11th, 2008
Re: Recent posts menu 0.1
Reply #21 - Mar 13th, 2008 at 10:46am
Print Post  
Hi , i need a similar mod, i want show last 5/1o  topic on my home page web site anybody can help me?


ciao Smiley
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Recent posts menu 0.1
Reply #22 - Apr 25th, 2008 at 3:46pm
Print Post  
  

Greeting ThM
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint