View Full Version : Forum Home Enhancements - User Anniversary
MrZeropage
10-28-2008, 10:00 PM
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 (https://vborg.vbsupport.ru/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
10-29-2008, 09:29 PM
LOL nice. :)
Installs.
nerofix
10-29-2008, 09:38 PM
Hey MrZeropage,
can you also create a "your friend/contact xxx has birthday" modification?
Namaless
10-29-2008, 09:42 PM
* Installed
BucWiLd
10-29-2008, 10:13 PM
downloaded for later use. :)
Itworx4me
10-29-2008, 11:11 PM
Does this add any querys?
Thanks,
Itworx4me
rinkrat
10-30-2008, 02:28 AM
I don't see it!
rob01
10-30-2008, 04:05 AM
mark install for future use... but how many queries this mod adds?
MrZeropage
10-30-2008, 05:24 AM
one additional query on forumhome is added
Deviant K1
10-30-2008, 08:55 AM
INSTALLED! :) Thanks for the hack
Cybertims
10-30-2008, 09:21 AM
It seems to be looking for this template hook $template_hook[forumhome_wgo_pos4]which is non existent?
Any ideas?
MrZeropage
10-30-2008, 10:40 AM
you need at least vBulletin 3.7.2 (I think) where the "forumhome_wgo_pos4" exists :)
OcR Envy
10-30-2008, 12:02 PM
Anyway to get musername to display styling?
Also how would I make it only display certain usergroups?
Hornstar
10-30-2008, 01:12 PM
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
10-30-2008, 03:17 PM
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
10-30-2008, 03:52 PM
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
10-31-2008, 08:32 AM
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
10-31-2008, 09:26 AM
Anyway to get musername to display styling?
Also how would I make it only display certain usergroups?
*cough* ?
Hornstar
10-31-2008, 08:41 PM
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
11-01-2008, 12:32 PM
nice work thanks.can it also send an e mail to those users who made a year ?
johnrizz
11-01-2008, 08:41 PM
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
11-01-2008, 09:17 PM
nice idea :)
might add this one
MrZeropage
11-03-2008, 07:47 PM
**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
11-04-2008, 04:20 AM
so we simply need to download and then upload allowing overwrite @ forums?
Nadeemjp
11-04-2008, 04:29 AM
it doesnt display any box no where......am i missing something?
MrZeropage
11-04-2008, 07:45 AM
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
11-04-2008, 12:06 PM
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
11-04-2008, 04:11 PM
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
11-04-2008, 04:16 PM
I checked the product file and there are few plugins, few templates and few phrases but there is no setting group.
MrZeropage
11-04-2008, 05:23 PM
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
11-04-2008, 05:36 PM
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=-
11-04-2008, 10:46 PM
Thx for the update :)
MundoVirtual
11-04-2008, 10:49 PM
Obrigado excelente
Hornstar
11-05-2008, 05:53 AM
thanks for the update, I will give this a go and see how many people show up ^^
MrZeropage
11-07-2008, 01:32 PM
** updated again **
v1.20 has a bugfix and one new feature :)
albibak
11-08-2008, 10:56 AM
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
11-15-2008, 05:19 AM
Where can I change the settings for this???
MrZeropage
11-15-2008, 04:46 PM
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
11-15-2008, 07:06 PM
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
11-18-2008, 08:06 PM
No?
johnrizz
11-21-2008, 11:47 PM
It don't show on my custom styles but only on my reg vb style, is there anyway around this?
MrZeropage
11-22-2008, 11:44 AM
it uses a template-hook "forumhome_wgo_pos4" so this should be in your custom style...
MrNase
11-23-2008, 03:58 PM
Works like a charm. Thanks! :)
johnrizz
11-24-2008, 09:16 AM
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
11-24-2008, 01:09 PM
Install, waiting to see if it works!
adnoid
11-25-2008, 01:25 PM
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
11-25-2008, 02:23 PM
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
11-25-2008, 05:39 PM
works fine. had our 1st anniversary show up.
drsli
11-25-2008, 06:39 PM
Many thanks for this nice addon. I look forward to seeing our first entry! :)
GSeybold
12-06-2008, 04:20 PM
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
12-07-2008, 01:08 PM
@adnoid:
you can change the date-format in the plugin "add anniversary to FORUMHOME"
$anniversary_title = $vbphrase['anniversary_title']." (".date('d.m.Y').")";
@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
12-08-2008, 04:44 AM
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
12-08-2008, 10:32 AM
Hi GSeybold
add it in Forumhome Template after
<!-- end today's birthdays -->
</if>
so it looks like this
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
maybe you want it somewhere else, just try out
sams
GSeybold
12-10-2008, 06:41 AM
Thank you so much. It's works perfectly. Again, thank you for your support.
Gabby
SuperTaz
01-23-2009, 01:50 AM
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
01-23-2009, 01:49 PM
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
01-25-2009, 11:09 PM
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
02-03-2009, 03:13 AM
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%2Fxhtml%2Bxml%2Capplica tion%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
02-08-2009, 04:10 AM
Feature request:
Send out a custom pm and/or email to that user on the anniversary date.
Thanks
Merjawy
02-08-2009, 05:43 AM
nice little one.. thanks
Chadi
02-10-2009, 12:36 AM
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%2Fxhtml%2Bxml%2Capplica tion%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
02-10-2009, 10:47 AM
thanks Zero. cool mod
jlew24asu
02-10-2009, 10:50 AM
LOL I take it back. I have 3.7.0!!!
putergirl
02-13-2009, 02:48 AM
I am sorry noob here.. is there any installation instructions with this?
putergirl
02-14-2009, 11:36 PM
where do I paste the xml
Stifmeister2
02-15-2009, 12:06 AM
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
02-15-2009, 12:13 AM
Thank you soo much
Stifmeister2
02-15-2009, 12:58 PM
No problem. :)
putergirl
02-15-2009, 08:10 PM
downloaded and waiting install
Chadi
02-19-2009, 05:07 AM
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%2Fxhtml%2Bxml%2Capplica tion%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
04-08-2009, 01:12 PM
This is now available for vBulletin 3.8.x
Same AddOn, same code, everybody already using this: no need to update!
Chadi
06-05-2009, 04:35 PM
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
06-05-2009, 08:04 PM
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-06-2009, 02:40 AM
Thanks Oblivion! That works :)
tommac3
06-06-2009, 03:42 AM
Would like to request the option to send an email on aniversary date.
celsi
02-20-2010, 06:56 PM
Is it possible to make this mod for Vb 4 ?
Cornie
02-20-2010, 08:10 PM
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
02-21-2010, 06:40 AM
Thank you very much !!! :up:
Majest
02-28-2010, 12:54 AM
Installed and tested. Thanks, great little hack. :)
blauauge
03-20-2010, 09:36 PM
Does that work with 3.8.1 - 3.8.4?
ricardoNJ
04-05-2010, 05:21 AM
No work with 3.8.4...I test with myself but nothing happened.
robbiefritz
06-02-2010, 03:42 PM
Any intention to port to v4?
honie
01-22-2014, 07:40 PM
Is there anything similar for 4.X?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.