Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Anniversary Awards Details »
Anniversary Awards
Mod Version: 1.00, by MrNase (Member) MrNase is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 19
Released: 16 Oct 2004 Last Update: Never Downloads: 0
Not Supported  

This mod is based on something Smoker did for his community at www.smokers-board.de

To see what it does you should read this thread at vbulletin.org

This hack will add +1 star for every year a user is registered. If you have users which are registered for 1 year they will have 1 star next to their username.. Users who are registered for 4 years will have 4 stars and so on.

Here are the instructions and Iam sorry I can't post them as a *.txt but I need this thread to explain how everything works.

Edit your template „postbit“ and find:

class="smallfont">$post[rank]</div></if>


Now add under that:
<if condition="$jointime > 1825"><img src="$stylevar[imgdir_misc]/star.gif" /></if>
<if condition="$jointime > 1460"><img src="$stylevar[imgdir_misc]/star.gif" /></if>
<if condition="$jointime > 1095"><img src="$stylevar[imgdir_misc]/star.gif" /></if>
<if condition="$jointime > 730"><img src="$stylevar[imgdir_misc]/star.gif" /></if>
<if condition="$jointime > 365"><img src="$stylevar[imgdir_misc]/star.gif" /></if>

Save it.
Now you just have to upload the attached image to images/misc and you should be fine.

Explanation:
$jointime holds the days a user is registered. A simple example for a user who registered for more than a year (in this case 377 days):
<if condition="377 > 365"><img src="$stylevar[imgdir_misc]/star.gif"></if>

This condition is true (377 is larger than 365) and he gets one star
Same if he is registered for more than 3 years (let's say 1099 days):
<if condition="1099 > 1095"><img src="$stylevar[imgdir_misc]/star.gif"></if>
<if condition="1099 > 730"><img src="$stylevar[imgdir_misc]/star.gif"></if>
<if condition="1099 > 365"><img src="$stylevar[imgdir_misc]/star.gif"></if>

In that case all three conditions are true and he gets 3 stars Simple isn't it?

You may even use different images like a blue star for the third year, a red one for the second year and so on.


Have fun and don't forget -> Smoker did most of the work

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
*Post Awards* Simple Postbit and Memberinfo awards manually given thru User Options Chicago_VLNU_4s vBulletin 3.5 Template Modifications 7 22 Apr 2008 05:58
Add-On for Awards/Medals/Cards Hack: Add bigger image for awards mtha vBulletin 3.0 Full Releases 11 18 Oct 2006 07:29

Comments
  #2  
Old 18 Oct 2004, 12:08
Michael2's Avatar
Michael2 Michael2 is offline
 
Join Date: Nov 2001
Re: Anniversary Awards

That's a cool idea! Not sure I'll use it but I like it!
Reply With Quote
  #3  
Old 19 Oct 2004, 00:41
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Re: Anniversary Awards

Indeed, a good idea.
Reply With Quote
  #4  
Old 20 Oct 2004, 03:08
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Re: Anniversary Awards

yep, very nice idea...
Reply With Quote
  #5  
Old 20 Oct 2004, 22:53
rex_b rex_b is offline
 
Join Date: Jul 2004
Re: Anniversary Awards

My forum isn't even a year old!
Reply With Quote
  #6  
Old 10 Nov 2004, 17:56
MustangLisa's Avatar
MustangLisa MustangLisa is offline
 
Join Date: May 2004
Real name: Lisa
Re: Anniversary Awards

Very cool and easy to do. Thanks!!
Reply With Quote
  #7  
Old 11 Nov 2004, 03:08
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Re: Anniversary Awards

Creative genius it is ... nice work!
__________________
Natcher00
... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
... also he's Penfold to Dark_Wizard's Danger Mouse in development of vBWar
http://www.mobileforces.org/sig.jpg
{DaniWeb: Learn HOW-TO mod_rewrite your vB board}
Reply With Quote
  #8  
Old 24 Nov 2004, 10:03
secret1980 secret1980 is offline
 
Join Date: Oct 2004
Re: Anniversary Awards

nice idea but still my board needs 9 months to complete one year
Reply With Quote
  #9  
Old 25 Nov 2004, 18:00
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
Re: Anniversary Awards

this is quite cool, i'm thinking of adding a party hat

but really i'd like to have it so it only appears on the aniversary what would be the condition i needed for that?
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #10  
Old 15 Dec 2004, 06:10
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Real name: Daniel
Re: Anniversary Awards

this is nice I can use it for people who have been at my site since the beginning
__________________
Former vBulletin.org Staff Member

Guildhead | Torhead | Wowhead
Please do not Private Message, Email or Instant Message me for Support with vBulletin or help with any Modifications to vBulletin.
Reply With Quote
  #11  
Old 23 Feb 2005, 08:29
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Re: Anniversary Awards

I seen something like this on a board I visit but they do it differently, on the 6 month they give a light colored star then on a year a bright colors star. Year and a half a bright one and a light one...

Would it be hard to make this do that?
Reply With Quote
  #12  
Old 24 Feb 2005, 03:11
shadiguy1 shadiguy1 is offline
 
Join Date: Jul 2004
Re: Anniversary Awards

so then just change the dates. i did mine to 3 months then 6 months then 1 year then 2 years then 3 years.
Reply With Quote
  #13  
Old 28 Sep 2005, 17:44
hbalagh1's Avatar
hbalagh1 hbalagh1 is offline
 
Join Date: Jun 2005
Real name: Heather
nice little mod... :banana:
i would like to know though

i have this below and would like to know how i can automatically turn the 3 month star into the 6 month star then the 6th into the annual and after the annual it just ads the stars like to original code is desisgned for?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #14  
Old 04 Nov 2005, 21:26
dano dano is offline
 
Join Date: May 2003
Anyone know how to make this work with 3.5?
Reply With Quote
  #15  
Old 05 Nov 2005, 11:26
Overlord Overlord is offline
 
Join Date: Jun 2002
I was searching around for the very same thing.. the $jointime variable was obviously changed in 3.5
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:37.

Layout Options | Width: Wide Color: