Page Index Toggle Pages: [1] 2 3 4 Send TopicPrint
Very Hot Topic (More than 25 Replies) Greetplus V1.2 (Read 11332 times)
Mongo
Full Member
***
Offline


Mongo only pawn in game
of life.

Posts: 197
Location: Hampstead
Joined: Jun 23rd, 2005
Gender: Male
Greetplus V1.2
Dec 2nd, 2005 at 7:39pm
Print Post  
It was requested that Greetplus be ported from YaBB 1 to YaBB 2.  Since this mod was originally created by Ironwing, and he has since allowed anyone to take on his old YaBB 1 mods to port them to YaBB 2, I took on that task.

Greetplus for YaBB 2.x V1.2


Originally coded for YaBB 1 by Ironwing.  Ported to YaBB 2 by Brian Longo (aka, Mongo).

This mod will work on YaBB 2.0 Final and YaBB 2.1.

**Overview:

This mod substitutes "Hey, User" by "Good Morning", "Good Afternoon" or "Good Evening".
On a member's birthday the greeting is substituted with "Happy Birthday".

Credits:
The morning, afternoon, evening portion of this mod is based on Pyrrhon's Greet mod, version 1.
http://www.philtalk.de/

**Installation Instructions:

1) As always, back up your current board first!
2) Run this mod.
3) Upload the modded files and make sure their CHMOD settings are correct.
4) Upload the greetplus.lng file to your Languages/English directory and CHMOD it to 777 (like the rest of the .lng files in that directory).
5) Upload the greetplus.pl file to your Sources directory and CHMOD it to 755 (like the rest of the files in that directory).

**Modifies the following files:

-- YaBB.pl
-- Admin/ModList.pl
-- Sources/Subs.pl

** Many thanks to Jet Li for providing the German translation for this mod, and to RuKo and jans for the Dutch translation.

**Please report any comments, questions, problems and/or bugs to webmaster@eyeontoccoa.com

Version History:

## 1.0 ##
-- First release (rewrote original code to work with YaBB 2.x)

## 1.1 ##
-- Fixed the variable for the way the greetplus.pl file reads the users' hour.  New variable accounts for board's and users' GMT offsets.
-- Fixed syntax mistake where the text "Login" was missing from guest's header.

## 1.2 ##
-- Fixed major bug where the greeting would be correct on the Index board, but wrong in every other screen.
-- Added allowance for server time correction.
« Last Edit: Dec 14th, 2005 at 8:13pm by Mongo »  

greet_plus_V1-2.zip ( 4 KB | Downloads )

--I no longer have time to work on my mods.  If anyone wants to continue what I've started, be my guest.  Please read my notes in my profile for more information.

--Mongo
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Greetplus V1.0
Reply #1 - Dec 2nd, 2005 at 7:59pm
Print Post  
Hi Mongo
thnx, works great.  Grin

And here my german Translattion.

Code
Select All
###############################################################################
# greetplus.lng (Register text definitions)					     #
###############################################################################
# Mod:		Greet Plus								  #
# Version:	  1.0									   #
# YaBB:	     YaBB 2.x								    #
# Released:	 December 2, 2005							  #
# Distributed by: Mongo - webmaster@eyeontoccoa.com				   #
# =========================================================================== #
# Copyright 2005 - Mongo - Eye On Toccoa (webmaster@eyeontoccoa.com)	    #
# Questions, comments, feedback about this mod should be directed to Mongo.   #
###############################################################################

%greettxt = (
'1' => "Guten Morgen",
'2' => "Guten Tag",
'3' => "Guten Abend",
'4' => "Alles Gute zum Geburtstag",
);

1; 

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Greetplus V1.0
Reply #2 - Dec 2nd, 2005 at 10:36pm
Print Post  
Thanks Mongo and JetLi. Grin
  


Back to top
WWW  
IP Logged
 
MetalJoe
Full Member
***
Offline



Posts: 156
Location: Auburn
Joined: Aug 23rd, 2004
Gender: Male
Re: Greetplus V1.0
Reply #3 - Dec 3rd, 2005 at 5:30am
Print Post  
Bug??
The install went great, everything looked good then I noticed something. On board index it showed Good Evening, when I go into a category it showed Good Morning. Repeated problem on all three of my separate forums. Running 2.1
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Greetplus V1.0
Reply #4 - Dec 3rd, 2005 at 9:22am
Print Post  
Hi
hmm, I cant see your bug, On my forum are in every category are showing good morning.
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: Greetplus V1.0
Reply #5 - Dec 3rd, 2005 at 10:32am
Print Post  
Neither can i. Nice little mod. Thanks!
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
poldy
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Nov 18th, 2005
Re: Greetplus V1.0
Reply #6 - Dec 3rd, 2005 at 11:52am
Print Post  
Hello!

This mods looks good. But i have a little problem.

The string $hour is everytime 10 hours too high.

on 12:49 the string $hour says 22

so the board uses the wrong greeting.

Can you understand what i mean?

okay thx for troubleshooting.

poldy
  
Back to top
 
IP Logged
 
Mongo
Full Member
***
Offline


Mongo only pawn in game
of life.

Posts: 197
Location: Hampstead
Joined: Jun 23rd, 2005
Gender: Male
Re: Greetplus V1.0
Reply #7 - Dec 3rd, 2005 at 1:06pm
Print Post  
I'll look into the problems.  I may not get to them until Monday, though.  It's probably due to the timezone offset, but I'll have to dig further.
  

--I no longer have time to work on my mods.  If anyone wants to continue what I've started, be my guest.  Please read my notes in my profile for more information.

--Mongo
Back to top
 
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: Greetplus V1.0
Reply #8 - Dec 3rd, 2005 at 9:09pm
Print Post  
Ok, here a bug:
If i have this mod installed a guest does not see the login Text.
Instead of welcome guest, login or register

there is only: welcome guest, or register

the login option is missing.

Btw, it would be nice if the text for a guest would be changed, too. Instead of Welcome, good morning etc.
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
zero
Ex Member


Re: Greetplus V1.0
Reply #9 - Dec 4th, 2005 at 1:14am
Print Post  
i noticed this also
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Greetplus V1.0
Reply #10 - Dec 4th, 2005 at 8:00am
Print Post  
Hi
dito, I have logged out and see no loggin  Grin
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Mongo
Full Member
***
Offline


Mongo only pawn in game
of life.

Posts: 197
Location: Hampstead
Joined: Jun 23rd, 2005
Gender: Male
Re: Greetplus V1.1
Reply #11 - Dec 5th, 2005 at 2:38pm
Print Post  
New file in first postThere is no need to reinstall the mod if you've already installed the original mod.  All you need to do is upload the greetplus.pl file as that is the only thing that was changed.
  

--I no longer have time to work on my mods.  If anyone wants to continue what I've started, be my guest.  Please read my notes in my profile for more information.

--Mongo
Back to top
 
IP Logged
 
shanda
Junior Member
**
Offline


~*~  Still I Rise  ~*~

Posts: 83
Location: Toronto
Joined: Nov 12th, 2004
Gender: Female
Re: Greetplus V1.1
Reply #12 - Dec 5th, 2005 at 4:23pm
Print Post  
Hi Mongo Smiley

The text is now there to log in or register but the URL is a bit off. If you click on the text links to log in it gets this message:

Not Found
The requested URL /404/ was not found on this server.

The text link is slightly different than the one the buttons point to because it doesn't include "Yabb.pl" in the link.
  

~*~ shanda ~*~
Back to top
 
IP Logged
 
Mongo
Full Member
***
Offline


Mongo only pawn in game
of life.

Posts: 197
Location: Hampstead
Joined: Jun 23rd, 2005
Gender: Male
Re: Greetplus V1.1
Reply #13 - Dec 5th, 2005 at 4:34pm
Print Post  
Sorry about that.  New file in first post.  In haste I forgot to check the script location (and forgot to fully test the script as well).  This time I did test it and it worked.
  

--I no longer have time to work on my mods.  If anyone wants to continue what I've started, be my guest.  Please read my notes in my profile for more information.

--Mongo
Back to top
 
IP Logged
 
shanda
Junior Member
**
Offline


~*~  Still I Rise  ~*~

Posts: 83
Location: Toronto
Joined: Nov 12th, 2004
Gender: Female
Re: Greetplus V1.1
Reply #14 - Dec 5th, 2005 at 4:36pm
Print Post  
Thank you so much Mongo ! Works perfectly now.

I really like this Mod, it's more welcoming than "Hey you" eh Smiley
  

~*~ shanda ~*~
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 4
Send TopicPrint