Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) [YaBB 2.2.1-2.2.3] Recent Posts Menu 0.5 (Read 22153 times)
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
[YaBB 2.2.1-2.2.3] Recent Posts Menu 0.5
Apr 25th, 2008 at 1:14pm
Print Post  
Hi YaBB Friends .....

..... Mod updated for YaBB 2.2.1/2.2.2/2.2.3

----------------------------------------------------------
Recent Posts Menu for YaBB 2.2.1/2.2.2/2.2.3 Version 0.5
----------------------------------------------------------


Author Information:

Original Code by ztc
Code Modification and Mod Writer: ThM

Credit: Special Thanks goes to ztc for the permission to update the Mod for YaBB 2.2.1/2.2.2/2.2.3

Description:

This simple mod replaces the most recent posts link with a pull-down menu. The options are: 5, 10, 25, 50, & 100. This mod allows members who haven't visited your forum for a few days to see up to 100 of the latest posts. Look at the Screenshot.

Screenshot:



Zip Package included:

  • Recent Posts Menu 0.5
  • Recent Posts Menu 0.5 German_Du Patch
  • Recent Posts Menu 0.5 German Patch

Installation:

1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

  • Sources/BoardIndex.pl
  • Sources/Recent.pl
  • Templates/default/BoardIndex.template
  • Templates/yabb21/BoardIndex.template
  • Languages/English/BoardIndex.lng
  • Admin/ManageTemplates.pl  
  • Admin/Modlist.pl

Mod History:

- Status Recent Posts Menu 0.4 updated for YaBB 2.2.1 ( April 25 2008 )
- Status Recent Posts Menu 0.5 (Fix a small Bug in Template Preview) - 04/29/2008

Download Stats Version 0.4: 8 Downloads

Note: Tested on a fresh YaBB 2.2.1/2.2.2 installation



Feedback welcome  Smiley
« Last Edit: Jul 14th, 2008 at 12:58pm by ThM »  

Recent_Posts_Menu_0.5.zip ( 2 KB | Downloads )

Greeting ThM
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #1 - Apr 26th, 2008 at 1:47pm
Print Post  
Good Mod.
To 50 contributions no problems.
100 contributions "Internal servers Error"  Wink
  

Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #2 - Apr 26th, 2008 at 4:01pm
Print Post  
pyragony wrote on Apr 26th, 2008 at 1:47pm:
100 contributions "Internal servers Error"


It's not a mod problem.

I think it's a problem with your host (server time out). The search for last 100 contributions is too long and the servers breaks off. Test it on my Site. Run without Problems.
  

Greeting ThM
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #3 - Apr 27th, 2008 at 4:27am
Print Post  
Hallo.

I know ThM, I know.
In which file can I remove the number 100 that it is not reported any more?
The members complain because of the Error.
I think 50 is more than enough.
  

Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #4 - Apr 27th, 2008 at 6:54am
Print Post  
Hi ..

pyragony wrote on Apr 27th, 2008 at 4:27am:
In which file can I remove the number 100 that it is not reported any more?


Open BoardIndex.pl and serach for:

Code
Select All
		$mostrecentposts .= qq~<option value="100">100</option>~; 



Remove this entry.
  

Greeting ThM
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #5 - Apr 27th, 2008 at 11:54am
Print Post  
Hello,
many thanks ThM, work faultlessly. Perfect.
My forum look
http://anti-scam.de
can one also write here in German if we are two German?
  

Back to top
WWW  
IP Logged
 
ccarr
Ex Member


Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #6 - Apr 27th, 2008 at 6:39pm
Print Post  
Works great Thm.

Many Thanks  Smiley
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #7 - Apr 27th, 2008 at 9:08pm
Print Post  
Thank You, ThM. Installed without Problems.
Regards
Mick
  
Back to top
WWW  
IP Logged
 
Francesco
New Member
*
Offline


I love YaBB 2,3

Posts: 27
Joined: Mar 21st, 2008
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.4
Reply #8 - Apr 29th, 2008 at 12:38pm
Print Post  
Hallo Thomas

Super Kompliment :computer:

Gruß Franco
  
Back to top
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.5
Reply #9 - Apr 29th, 2008 at 2:37pm
Print Post  
Hi @all .....

..... thanks for the Feedback  Smiley

New Version (0.5) in the First Post !

Fixed a small bug in the Template Configuration Preview.

Screenshot before Modification:



Screenshot after Modification:



If you don't want to re-install the Mod open the File ManageTemplate.pl in the Admin Folder and

search for:

Code
Select All
	my $temprecentposts = qq~$boardindex_txt{'791'} $boardindex_txt{'792'} $boardindex_txt{'793'}~; 



and replace it with this:

Code
Select All
	my $tempmostrecentposts = qq~$boardindex_txt{'791'} <select style="font-size: 7pt; font-family: Verdana"><option>---</option></select> $boardindex_txt{'794'}~; 



search for:

Code
Select All
	$boardindex_template =~ s/({|<)yabb recentposts(}|>)/$temprecentposts/g; 



and replace it with this:

Code
Select All
	$boardindex_template =~ s/({|<)yabb mostrecentposts(}|>)/$tempmostrecentposts/g; 



Wink
  

Greeting ThM
Back to top
 
IP Logged
 
smith21
Full Member
***
Offline


I love YaBB 2.1

Posts: 130
Location: North East Of Eangland
Joined: Feb 19th, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.5
Reply #10 - May 21st, 2008 at 9:38am
Print Post  
Like this mod will be installing it on my upgrade, can you select how many posts can be view in admin centre.

I also noticed you have the calender working on your forum do you have the mod for this???
  


Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.5
Reply #11 - May 21st, 2008 at 10:31am
Print Post  
smith21 wrote on May 21st, 2008 at 9:38am:
Like this mod will be installing it on my upgrade, can you select how many posts can be view in admin centre.


I'm not sure if i understand this right. You wish a option in the admin centre to select the recent post's or what do you mean ?

smith21 wrote on May 21st, 2008 at 9:38am:
I also noticed you have the calender working on your forum do you have the mod for this???


... yes, i fix the mod steps for my yabb 2.2.1, but i have no permission from xonder to release that. I'm sorry.
« Last Edit: May 23rd, 2008 at 5:57am by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
smith21
Full Member
***
Offline


I love YaBB 2.1

Posts: 130
Location: North East Of Eangland
Joined: Feb 19th, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.5
Reply #12 - May 21st, 2008 at 10:37am
Print Post  
pitty about the calender as a lot of peope are waiting for this mod???

What I meant to say was is there an option in the admin centre to select how many recent posts in the pull down menu are shown.

Like some of your template colours are they in the template vault on here???

  


Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.5
Reply #13 - May 21st, 2008 at 12:35pm
Print Post  
smith21 wrote on May 21st, 2008 at 10:37am:
pitty about the calender as a lot of peope are waiting for this mod???


I know ...

smith21 wrote on May 21st, 2008 at 10:37am:
What I meant to say was is there an option in the admin centre to select how many recent posts in the pull down menu are shown.


No, it's no option in the admin centre avaiable

smith21 wrote on May 21st, 2008 at 10:37am:
Like some of your template colours are they in the template vault on here???


The StyleSheets comes from Namster. Looks here:
http://www.boardmod.org/yabb/YaBB.pl?board=templates;action=display;num=12022937...

For the tab version you musst modify the css. files
  

Greeting ThM
Back to top
 
IP Logged
 
smith21
Full Member
***
Offline


I love YaBB 2.1

Posts: 130
Location: North East Of Eangland
Joined: Feb 19th, 2006
Gender: Male
Re: [YaBB 2.2.1] Recent Posts Menu 0.5
Reply #14 - May 21st, 2008 at 4:13pm
Print Post  
Thanks for the info ThM
  


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