![]() |
Display Days Registered
Display Days Registered
Because we aren't all mathmaticians. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= This hack will add a new way for displaying how long each member has been registered in their profile; in days. Modifications =-=-=-=-=-=-=-=-=-=-=-= * 1 file alteration. * 1 template alteration. Add-On =-=-=-=-=-=-=-=-=-=-=-= * 1 file alteration. * 1 template alteration. The add-on can be found here. More Information =-=-=-=-=-=-=-=-=-=-=-= Compatibility: This hack will work with vB 2.0.3 and higher. Install Time: 1-3 Minutes. Screenshot: Click Here Download: Instructions are in attachment. |
Here's a goody ol' screenshot.
|
Fun fun. :D.
|
Another nice little hack by Afterlab :); Good job, keep on hacking ;).
- SaintDog |
Thanks, SaintDog and Billy Cowen, it means a lot to me hearing it from you guys.
|
Thanx buddy!! It will be nice to have this in our postbit instead of the month you registered. It would be cool if it could display the time registered in years and months, depending on how long you've been registered ;) Just a little sugestion :D
|
SD is right, another little tweak to our boards! I will try to install it this weekend.
|
In /member.php I can not find the line if ($userinfo[customtitle]==2) or any of the other two. You sure it is the right file?
|
It should be located in this code below.
PHP Code:
|
I have 2 users that registered on the same day yet it shows their days one day apart. The both registered on May 5th and for one it says 88 days and the other says 87 days. Is this calculated by the time of day, too? If so, can it be calcualted by just the day so it makes more sense in a situation like the one I described? :) Thanks for a great little hack! It's the ones like these that make the real difference in a board. :)
|
Xiphoid: I rechecked my member.php file, as well a new install of member.php from v2.2.6 and those 3 lines are easily found within there. Maybe you modifying those 3 lines due to a hack.
Boofo: That's because it rounds everything to the nearest full day -- By seconds, minutes, and hours. If that wasn't there, you would get results like "43.715318 Days". |
Quote:
Is there any way to put the actual time the person registered behind the date registered then so it will make more sense to the newbies out there? |
Yeah, i'm working on it. It's my first time using the date() function, so.. :o
|
Nice, these are very useful thing you are coming out with!
Keep it up Drk |
that is dope!!!!
|
Great job ;)
|
It looks quite nice in the memberslist also :p
In memberslist.php, find: PHP Code:
PHP Code:
Code:
<normalfont>$userinfo[datejoined]</normalfont> Code:
<normalfont>$userinfo[datejoined]</normalfont> <smallfont>($regdays $daydays)</smallfont> |
Good job, looks cool. I'll add a link to your post in the first post for this hack.
|
works fine so far, thank you, but I have a question:
how can I change the word "days" into german "Tage" ? cu Schorsch |
Ah, quite easily. Search for this:
Code:
$daydays = "Days"; Code:
$daydays = "Tage"; Code:
$daydays = "Day"; Code:
$daydays = "Tag"; |
Works great =D
|
I don't know why, but it does not work for me. Days are not shown :confused: Any ideas why? member.php was edited successfully.
Jean |
Here is my member.php. Maybe somebidy can figure it out?
|
Nice hack, afterlab. Quick and easy, yet very effective. Nice job!
|
This is a wonderful hack Afterlab :-p
|
Very useful hack!
Anyone have this in postbit? Like mentioned above, it would be great in there! |
Very nice hack, got it in getinfo and memberlist, thanks :)
|
Quote:
|
Thanks for this hack. Now I can easy see how long someone is Registered :)
|
is this hack possible to add just to the postbits? like have it say
Dates Registared: 182 (and that would be it?) can someone figure that out? |
I was wondering about that as well :(
I tried adding $post[daydays] but that didn't do it -_- Anyone ?? |
Quote:
open function.php(in admin folder) find PHP Code:
PHP Code:
i think it should be work....try it :) |
worked like a charm, thankx a million! ;)
The Legend of Speedy |
great man, Thanks :D
|
Thanks afterlab. For this nice hack.
|
hey can anyone help me here?
// ############################### // Open the template: # // getinfo # // ############################### // FIND THIS: # // ############################### <tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Date Registered:</b></normalfont></td> <td bgcolor="{secondaltcolor}"><normalfont>$userinfo[datejoined]</normalfont></td> </tr> i can't seem to find get info template at ALL not on the server ftp of my board, or in the admin cp? does it go by another name or do i not have it? board version is vb 2.27 btw :? -ISO |
i found member.php btw, but not get info, so i have one at least lol
|
Looks like a keeper ...
|
Excellent stuff Afterlab. Works like a charm on my local 2.2.9 forum, Im installing this now on my real forums.
/clicks install |
Good job I think i'll use it :)
|
All times are GMT. The time now is 03:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|