Annual Stars for 3.0

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27620
Joined: Sat Aug 16, 2003 7:36 am

Annual Stars for 3.0

Post by Extensions Robot » Sun May 11, 2008 6:52 pm

Modification name: Annual Stars for 3.0
Author: igorw
Modification description: Users get a star for each year of their membership.
Modification version: 1.0.1
Tested on phpBB version: 3.0.1

Download file: annual_stars_1_0_1a.zip
File size: 39542 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Tue Feb 08, 2011 4:32 am, edited 5 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24310
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Annual Stars for 3.0

Post by Paul » Sun May 11, 2008 6:52 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Annual Stars for 3.0

Post by igorw » Sun May 11, 2008 6:52 pm

This MOD is highly inspired by drathbun's "Annual Stars" for phpBB 2.0. :ugeek:

Image
Last edited by igorw on Sun May 11, 2008 11:49 pm, edited 1 time in total.
Reason: adding ultra secret image
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 4173
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: Annual Stars for 3.0

Post by Raul [ThE KuKa] » Sun May 11, 2008 11:15 pm

Nice MOD eviL<3 :)

Thanks! ;)
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003 - 15th anniversary
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:


rma-web
Registered User
Posts: 85
Joined: Sun Oct 14, 2007 11:01 pm
Location: NJ, USA
Name: Ryan Albertson
Contact:

Re: Annual Stars for 3.0

Post by rma-web » Mon May 12, 2008 3:45 pm

is it possible to change from annual to say, monthly, quarterly, semi-annually by just editing a line or few lines of code?

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: Annual Stars for 3.0

Post by igorw » Mon May 12, 2008 3:58 pm

Yes, that's possible. You see this code:

Code: Select all

if ($reg_years = (int) ((time() - (int) $row['user_regdate']) / 31536000))
31536000 is the number of seconds a year has. Now, if you want it to be quarterly, you divide that number by 4, for monthly by 12 and for semi-annually by 6. I hope this makes sense (and is correct) :D
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

alex67x
Registered User
Posts: 3
Joined: Sun May 11, 2008 10:45 pm

Re: Annual Stars for 3.0

Post by alex67x » Mon May 12, 2008 7:26 pm

I use a theme based on subsilver2.
Can you tell me what I need to replace?

User avatar
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Annual Stars for 3.0

Post by momentum » Mon May 12, 2008 7:46 pm

I've had this installed for a week or two now and the users love it.

ImageImage

Craig.
Last edited by momentum on Mon May 12, 2008 8:30 pm, edited 1 time in total.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: Annual Stars for 3.0

Post by igorw » Mon May 12, 2008 8:20 pm

For subsilver2 you find:

Code: Select all

			<!-- IF postrow.POSTER_AVATAR -->
				<tr>
					<td>{postrow.POSTER_AVATAR}</td>
				</tr>
			<!-- ENDIF -->
After, add:

Code: Select all

			<!-- IF postrow.MEMBERSHIP_STARS -->
				<tr>
					<td>{postrow.MEMBERSHIP_STARS}</td>
				</tr>
			<!-- ENDIF -->
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

alex67x
Registered User
Posts: 3
Joined: Sun May 11, 2008 10:45 pm

Re: Annual Stars for 3.0

Post by alex67x » Mon May 12, 2008 8:23 pm

Thanks!!! :D

I will install it right now! :mrgreen:

User avatar
blkjack-21
Registered User
Posts: 78
Joined: Tue Sep 27, 2005 1:48 am

Re: Annual Stars for 3.0

Post by blkjack-21 » Tue May 13, 2008 1:58 am

Awesome!!

I have wanted this one since Ver 3 was released

Thanks for this mod!!
Easy installation and you just made a couple thousand members happy! :)

abidhamma
Registered User
Posts: 2
Joined: Tue May 13, 2008 9:24 pm

Re: Annual Stars for 3.0

Post by abidhamma » Tue May 13, 2008 9:32 pm

hi.. evil<3

may i ask question? little help? :D

where is i put this file modx.prosilver.en.xsl ??

i already change anything like u said, but its not working.. i confused about that single file, where is i supposed to put that file ? modx.prosilver.en.xsl

thx

Smog
Registered User
Posts: 103
Joined: Sun May 13, 2007 8:06 am
Contact:

Re: Annual Stars for 3.0

Post by Smog » Tue May 13, 2008 9:58 pm

abidhamma wrote: may i ask question? little help? :D
Yes ;)
where is i put this file modx.prosilver.en.xsl ??

i already change anything like u said, but its not working.. i confused about that single file, where is i supposed to put that file ? modx.prosilver.en.xsl
You don't have to put that file anywhere, explanation of these files and the use of it here: http://www.phpbb.com/community/viewtopi ... 6&t=919205

abidhamma
Registered User
Posts: 2
Joined: Tue May 13, 2008 9:24 pm

Re: Annual Stars for 3.0

Post by abidhamma » Tue May 13, 2008 10:49 pm

TQ... :geek: :D

are first time use the stars is not been appear yet? are there need to wait one year then we got 1st star?

Locked

Return to “[3.0.x] MOD Database Releases”

Who is online

Users browsing this forum: No registered users and 5 guests