The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

19.05.13 at 10:32:38, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 
[YaBB 2.2.1-2.2.3] Recent Posts Menu 0.5 (Read 10521 times)
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 585



25.04.08 at 14:14:08  
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: 14.07.08 at 13:58:01 by ThM »  
IP Logged
 

Greeting ThM
pyragony
Hacker Wannabe
**
Offline

Eichenau, Bayern, Germany
Posts: 80



Reply #1 - 26.04.08 at 14:47:57  
Good Mod.
To 50 contributions no problems.
100 contributions "Internal servers Error"  Wink
 
IP Logged
 

...
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 585



Reply #2 - 26.04.08 at 17:01:06  
pyragony wrote on 26.04.08 at 14:47:57:
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.
 
IP Logged
 

Greeting ThM
pyragony
Hacker Wannabe
**
Offline

Eichenau, Bayern, Germany
Posts: 80



Reply #3 - 27.04.08 at 05:27:36  
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.
 
IP Logged
 

...
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 585



Reply #4 - 27.04.08 at 07:54:40  
Hi ..

pyragony wrote on 27.04.08 at 05:27:36:
In which file can I remove the number 100 that it is not reported any more?


Open BoardIndex.pl and serach for:

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



Remove this entry.
 
IP Logged
 

Greeting ThM
pyragony
Hacker Wannabe
**
Offline

Eichenau, Bayern, Germany
Posts: 80



Reply #5 - 27.04.08 at 12:54:29  
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?
 
IP Logged
 

...
ccarr
Ex Member





Reply #6 - 27.04.08 at 19:39:48  
Works great Thm.

Many Thanks  Smiley
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #7 - 27.04.08 at 22:08:44  
Thank You, ThM. Installed without Problems.
Regards
Mick
 
IP Logged
 
Francesco
Bloody Novice
*
Offline

Posts: 27



Reply #8 - 29.04.08 at 13:38:07  
Hallo Thomas

Super Kompliment computer

Gruß Franco
 
IP Logged
 
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 585



Reply #9 - 29.04.08 at 15:37:45  
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:
	my $temprecentposts = qq~$boardindex_txt{'791'} $boardindex_txt{'792'} $boardindex_txt{'793'}~; 



and replace it with this:

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



search for:

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



and replace it with this:

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



Wink
 
IP Logged
 

Greeting ThM
smith21
Fulltime Hacker
***
Offline

North East Of Eangland, United Kingdom
Posts: 130



Reply #10 - 21.05.08 at 10:38:20  
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???
 
IP Logged
 

...
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 585



Reply #11 - 21.05.08 at 11:31:25  
smith21 wrote on 21.05.08 at 10:38:20:
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 21.05.08 at 10:38:20:
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: 23.05.08 at 06:57:15 by ThM »  
IP Logged
 

Greeting ThM
smith21
Fulltime Hacker
***
Offline

North East Of Eangland, United Kingdom
Posts: 130



Reply #12 - 21.05.08 at 11:37:06  
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???

 
IP Logged
 

...
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 585



Reply #13 - 21.05.08 at 13:35:27  
smith21 wrote on 21.05.08 at 11:37:06:
pitty about the calender as a lot of peope are waiting for this mod???


I know ...

smith21 wrote on 21.05.08 at 11:37:06:
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 21.05.08 at 11:37:06:
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
 
IP Logged
 

Greeting ThM
smith21
Fulltime Hacker
***
Offline

North East Of Eangland, United Kingdom
Posts: 130



Reply #14 - 21.05.08 at 17:13:00  
Thanks for the info ThM
 
IP Logged
 

...
Pages: 1 2 
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum