PDA

View Full Version : User Anniversary


MrZeropage
29 Oct 2008, 21:45
This adds a new box on FORUMHOME which shows user's anniversary (registration on forum)

So if any user has registered at least 1 year ago on the actual date, he will show up in that list :)
Of course this only looks for "active members" if you have setup this in your vBulletin-settings, so that only users that visited your forums in the last X days are displayed here.

Requirements: vBulletin 3.7.2 or later


Version History:

1.00 Date 29th October 2008
first release

1.10 Date 3rd November 2008
New Features:
- Usernames are displayed using the correct usergroup-styling (color ect.)
- only active members will show up if vBulletin has setup "active users"
- full phrased
- database-access changed to use slave-database if existing

1.20 Date 6th November 2008
Bugfix: if "active members" was set to zero, nothing did show up *fixed*
New Feature:
- Usergroups can be restricted from showing up in the anniversary-list


Credits:
Thanks to Delphinchen for inspiration and Boothby (on vbGO) for SQL-Hint on this!

Thanks to Albibak (http://www.vbulletin.org/forum/member.php?u=29985) for the french translation. Please, go to vbulletin-fr.org (http://forum.vbulletin-fr.org/t13957-fetes-annuelles-dinscription-de-vos-membres.html) to report translation problem.


Enjoy :cool:

Stifmeister2
29 Oct 2008, 22:29
LOL nice. :)


Installs.

nerofix
29 Oct 2008, 22:38
Hey MrZeropage,

can you also create a "your friend/contact xxx has birthday" modification?

Namaless
29 Oct 2008, 22:42
* Installed

BucWiLd
29 Oct 2008, 23:13
downloaded for later use. :)

Itworx4me
30 Oct 2008, 00:11
Does this add any querys?

Thanks,
Itworx4me

rinkrat
30 Oct 2008, 03:28
I don't see it!

rob01
30 Oct 2008, 05:05
mark install for future use... but how many queries this mod adds?

MrZeropage
30 Oct 2008, 06:24
one additional query on forumhome is added

Deviant K1
30 Oct 2008, 09:55
INSTALLED! :) Thanks for the hack

Cybertims
30 Oct 2008, 10:21
It seems to be looking for this template hook $template_hook[forumhome_wgo_pos4]which is non existent?

Any ideas?

MrZeropage
30 Oct 2008, 11:40
you need at least vBulletin 3.7.2 (I think) where the "forumhome_wgo_pos4" exists :)

OcR Envy
30 Oct 2008, 13:02
Anyway to get musername to display styling?

Also how would I make it only display certain usergroups?

Hornstar
30 Oct 2008, 14:12
Thanks, ill install this shortly. only problem I can imagine is that I have around 600 people sign up each day, so that would show around 600 names right? or does it only show active members?

Stifmeister2
30 Oct 2008, 16:17
Thanks, ill install this shortly. only problem I can imagine is that I have around 600 people sign up each day, so that would show around 600 names right? or does it only show active members?
You better get some anti-spam on your board. :p

MrZeropage
30 Oct 2008, 16:52
it only shows anniversarys from users that are at least 1 year registered :)

This is NOT showing new users (as they have 0 years)

redlabour
31 Oct 2008, 09:32
Thanks, ill install this shortly. only problem I can imagine is that I have around 600 people sign up each day, so that would show around 600 names after one Year right? or does it only show the members that are active after one year?

it only shows anniversarys from users that are at least 1 year registered :)

This is NOT showing new users (as they have 0 years)

You have misunderstod him - he wants to know if all 600 (!) Users registered one year Ago will shown up or if only the active Users of this 600 will be displayed after one Year.

OcR Envy
31 Oct 2008, 10:26
Anyway to get musername to display styling?

Also how would I make it only display certain usergroups?

*cough* ?

Hornstar
31 Oct 2008, 21:41
You better get some anti-spam on your board. :p anti-spam doesnt stop real sign ups by real members ;) I have a big board.

apiasto
01 Nov 2008, 13:32
nice work thanks.can it also send an e mail to those users who made a year ?

johnrizz
01 Nov 2008, 21:41
I don't see it!

I'm thinking it won't show until one of your members land on there anniversary. kind of like birthday... :)

Brandon Sheley
01 Nov 2008, 22:17
nice idea :)
might add this one

MrZeropage
03 Nov 2008, 20:47
**updated**


For testing just change the registration-date of one testuser on today's date at least one year ago - and remember he has to be "active member", which means a user to show up there needs to be logged in within the last X days (vBulletin-setting)

Nadeemjp
04 Nov 2008, 05:20
so we simply need to download and then upload allowing overwrite @ forums?

Nadeemjp
04 Nov 2008, 05:29
it doesnt display any box no where......am i missing something?

MrZeropage
04 Nov 2008, 08:45
the box only comes up if there IS any anniversary.

You need to have at least one user that has registered today one year ago (or 2, 3 ... years) AND who was logged into the forum within the last X days (depend on your settings for "active members")

Dennis B
04 Nov 2008, 13:06
Zero,

Where exactly is this "active members" setting...? Are you referring to the session timeout setting?
The box is currently not showing, but I'm looking at one of several users who have registered exactly one year ago, didn't log in today yet, but logged in yesterday (?).

Stifmeister2
04 Nov 2008, 17:11
Yea where is this "vbulletin setting"? It's not in my vbulletin options!

I had about 5-6 names in the list before I upgraded and now my list is completely gone.

Stifmeister2
04 Nov 2008, 17:16
I checked the product file and there are few plugins, few templates and few phrases but there is no setting group.

MrZeropage
04 Nov 2008, 18:23
it is the setting "active members" in your main vBulletin settings -> FORUMHOME

I only have the german vBulletin installed, so actually I can not provide a screenshot of this setting.

Set it to "zero" to make all members "active".

Stifmeister2
04 Nov 2008, 18:36
Ohh you mean this: "Active Members Time Cut-Off" ??


Yeah it's a default vbulletin setting, I though you added some own setting. My bad. :D

-=Leb=-
04 Nov 2008, 23:46
Thx for the update :)

MundoVirtual
04 Nov 2008, 23:49
Obrigado excelente

Hornstar
05 Nov 2008, 06:53
thanks for the update, I will give this a go and see how many people show up ^^

MrZeropage
07 Nov 2008, 14:32
** updated again **

v1.20 has a bugfix and one new feature :)

albibak
08 Nov 2008, 11:56
Thanks for this mod.
You can find a french translation here (http://forum.vbulletin-fr.org/modifications.php?do=showmod&modid=602) and in attachement.

The4um
15 Nov 2008, 06:19
Where can I change the settings for this???

MrZeropage
15 Nov 2008, 17:46
Where can I change the settings for this???vBulletin-settings -> forumhome

just to restrict usergroups from showing up, everything else works without any setting :)

The4um
15 Nov 2008, 20:06
vBulletin-settings -> forumhome

just to restrict usergroups from showing up, everything else works without any setting :)
thank you, I was searching any setting on CP :p

nerofix
18 Nov 2008, 21:06
No?

johnrizz
22 Nov 2008, 00:47
It don't show on my custom styles but only on my reg vb style, is there anyway around this?

MrZeropage
22 Nov 2008, 12:44
it uses a template-hook "forumhome_wgo_pos4" so this should be in your custom style...

MrNase
23 Nov 2008, 16:58
Works like a charm. Thanks! :)

johnrizz
24 Nov 2008, 10:16
it uses a template-hook "forumhome_wgo_pos4" so this should be in your custom style...

Thanks MrZeropage, I had too place that in forumhome now it works.

BigDog56
24 Nov 2008, 14:09
Install, waiting to see if it works!

adnoid
25 Nov 2008, 14:25
Installed, and works perfectly. I'm trying to find where I can customize the header display. Currently it reads

Anniversary (25.11.2008)

I would like to match it to the birthday display thus:

Today's Anniversaries

Any pointers on where I can do this? It's not in the template that I can find. Thanks!

adnoid
25 Nov 2008, 15:23
I found it - sorry, was looking in the wrong place. Now I just need to figure out how to reformat the date to US custom.

BigDog56
25 Nov 2008, 18:39
works fine. had our 1st anniversary show up.

drsli
25 Nov 2008, 19:39
Many thanks for this nice addon. I look forward to seeing our first entry! :)

GSeybold
06 Dec 2008, 17:20
I've done everything and it still doesn't show up. I've set active users, insured I had an active user, checked banned user and still nothing showing up.

MrZeropage
07 Dec 2008, 14:08
@adnoid:
you can change the date-format in the plugin "add anniversary to FORUMHOME"


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



@GSeybold:
you need to have "template_hook[forumhome_wgo_pos4]" in your FORUMHOME template, make sure this can be found there.
And: make sure anybody registered TODAY at least one year ago to make him show up ;)

GSeybold
08 Dec 2008, 05:44
THank you

I don't have that.. Where exactly shall I put that on the forum home template?

Thanks again and sorry to be such a dunce! :)

Gabby

samsons
08 Dec 2008, 11:32
Hi GSeybold
add it in Forumhome Template after


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



so it looks like this


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



maybe you want it somewhere else, just try out

sams

GSeybold
10 Dec 2008, 07:41
Thank you so much. It's works perfectly. Again, thank you for your support.

Gabby

SuperTaz
23 Jan 2009, 02:50
3.8.0 Compatible? Can you also make it so that it posts a thread of the user that is celebrating his/her anniversary in a specified forum?

Stifmeister2
23 Jan 2009, 14:49
3.8.0 Compatible? Can you also make it so that it posts a thread of the user that is celebrating his/her anniversary in a specified forum?
Works on 3.8.0. :)

Dennis B
26 Jan 2009, 00:09
Zero,

What if in addition to showing the box on forumhome, there was a feature to show the anniversary on the user's postbit header, just like birthdays? Just an idea.

Nice work. :)

Chadi
03 Feb 2009, 04:13
Just want to let you know I'm getting w3c validation errors from this mod:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.talkjesus.com%2F;accept=text%2Fhtml%2Capplication%2Fx html%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;accept-language=en-us%2Cen%3Bq%3D0.5;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7

Chadi
08 Feb 2009, 05:10
Feature request:

Send out a custom pm and/or email to that user on the anniversary date.

Thanks

Merjawy
08 Feb 2009, 06:43
nice little one.. thanks

Chadi
10 Feb 2009, 01:36
Just want to let you know I'm getting w3c validation errors from this mod:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.talkjesus.com%2F;accept=text%2Fhtml%2Capplication%2Fx html%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;accept-language=en-us%2Cen%3Bq%3D0.5;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7

Just curious if anyone here can figure out a fix for this problem. I tried, but cannot figure it out.

jlew24asu
10 Feb 2009, 11:47
thanks Zero. cool mod

jlew24asu
10 Feb 2009, 11:50
LOL I take it back. I have 3.7.0!!!

putergirl
13 Feb 2009, 03:48
I am sorry noob here.. is there any installation instructions with this?

putergirl
15 Feb 2009, 00:36
where do I paste the xml

Stifmeister2
15 Feb 2009, 01:06
where do I paste the xml
In ACP "Manage Products" click "Import New Product" or whatever it is (I'm not logged in on my board right now). You can upload the *.xml file from your computer there. :)

putergirl
15 Feb 2009, 01:13
Thank you soo much

Stifmeister2
15 Feb 2009, 13:58
No problem. :)

putergirl
15 Feb 2009, 21:10
downloaded and waiting install

Chadi
19 Feb 2009, 06:07
Just want to let you know I'm getting w3c validation errors from this mod:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.talkjesus.com%2F;accept=text%2Fhtml%2Capplication%2Fx html%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;accept-language=en-us%2Cen%3Bq%3D0.5;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7

Can someone please help me out on this?

MrZeropage
08 Apr 2009, 14:12
This is now available for vBulletin 3.8.x

Same AddOn, same code, everybody already using this: no need to update!

Chadi
05 Jun 2009, 17:35
Could someone please explain how to resolve the W3 errors I have (16) from this mod?

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.talkjesus.com&charset=(detect+automatically)&doctype=Inline&group=0

When I disable the mod, W3 passes on my site entirely until I re-enable the mod which is causing the 16 errors.

Oblivion Knight
05 Jun 2009, 21:04
Could someone please explain how to resolve the W3 errors I have (16) from this mod?

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.talkjesus.com&charset=(detect+automatically)&doctype=Inline&group=0

When I disable the mod, W3 passes on my site entirely until I re-enable the mod which is causing the 16 errors.Untested, but try the attached product..

Chadi
06 Jun 2009, 03:40
Thanks Oblivion! That works :)

tommac3
06 Jun 2009, 04:42
Would like to request the option to send an email on aniversary date.

celsi
20 Feb 2010, 19:56
Is it possible to make this mod for Vb 4 ?

Cornie
20 Feb 2010, 21:10
Is it possible to make this mod for Vb 4 ?

in german for vb4

http://www.vbulletin-germany.org/showpost.php?p=63355&postcount=82

celsi
21 Feb 2010, 07:40
Thank you very much !!! :up:

Majest
28 Feb 2010, 01:54
Installed and tested. Thanks, great little hack. :)

blauauge
20 Mar 2010, 22:36
Does that work with 3.8.1 - 3.8.4?

ricardoNJ
05 Apr 2010, 06:21
No work with 3.8.4...I test with myself but nothing happened.

robbiefritz
02 Jun 2010, 16:42
Any intention to port to v4?