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: 29220
Joined: Sat Aug 16, 2003 7:36 am

Annual Stars for 3.0

Post by Extensions Robot »

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)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28619
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Annual Stars for 3.0

Post by Paul »

Modification validated/released

Notes:
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 »

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]
Style Customisations
Style Customisations
Posts: 11073
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] »

Nice MOD eviL<3 :)

Thanks! ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


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 »

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 »

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 »

I use a theme based on subsilver2.
Can you tell me what I need to replace?
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 »

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 »

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 »

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 »

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 »

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 »

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 »

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”