View Full Version : Add Join Date to Showgroups
Christine
02-28-2004, 10:00 PM
Another little one. :)
This adds the JoinDate field to the Showgroups.php display.
I have attached a screen shot, please note the placement of where I have the column added and adjust your templates accordingly!
NOTE: Your showgroups will likely look different than mine in that I do not use forum listings -- all of my mods are supermods but have forum assignments for 'report to mod' purposes only.
Enjoy, and as always, any constructive criticism is more than welcome!
If you need any help, please post.
:)
Updating file for column layout!
Allan
02-29-2004, 01:20 PM
thank you has you, I like this useful kind of hack :)
very good work, has soon ;)
Boofo
02-29-2004, 04:33 PM
Excellent Chrsitine. I never would have thought of this. ;) I will install it.
Gio Takahashi
03-01-2004, 01:34 AM
Excellent Chrsitine. I never would have thought of this. ;) I will install it.
I'll definitely install this when Gold gets out. It feels tempting to do it now Heh.
Christine
03-01-2004, 10:46 PM
Thanks to Boofo for finding a column layout that I missed!! :eek:
Because I eliminated the 'forums' listing for the mods, I didn't need to adjust the default column span setting. Default layout users will need to change this setting (increasing by one) in both SHOWGROUPS and showgroups_usergroup.
Sorry for any inconvenience!
Allan
03-07-2004, 08:01 AM
Caution, in the template "showgroups_usergroup", it is not :
<td class="thead" align="center">$vbphrase[contact]</td>
that it is necessary to find, but:
<td class="thead">$vbphrase[contact]</td>
;)
CharlieBrownDE
05-06-2004, 08:45 AM
hello Christine,
can I problem of calculating 3.0.1 installs or I have this expansion for me with me in German?
thank you.
charliebrown
Pseudomizer
05-06-2004, 11:55 PM
hello Christine,
can I problem of calculating 3.0.1 installs or I have this expansion for me with me in German?
thank you.
charliebrown
Hello Christine and Charlie,
first of all: Nice Hack Christine. The mini mods are always the best *smile*.
Charlie ? Sorry but even with my knowledge of english and german i did not understand your request. I hope people don't mind talking this through in german.
Was genau ist Deine Frage ? Ob es mit 3.0.1 funktioniert ? Dann ja. Ob es dies in Deutsch gibt ? Bisher nicht. Aber bitte korrigier mich, wenn ich Dich falsch verstanden haben sollte.
Cheers,
JagFan
05-11-2004, 07:54 PM
Nice! Thanks!!! :)
Maikeru
05-13-2004, 11:26 PM
Good work. This hack isn't that useful, but I like it. I'll probably put it up on mine.
Christine
05-15-2004, 03:27 PM
Hi tenbucks,
Sure.
Not tested, but you can try this:
In showgroups.php
Find: $user['datejoined'] = vbdate($vboptions['dateformat'], $user['joindate'], true);
Under it, add $user['lastvisit'] = vbdate($vboptions['dateformat'], $user['lastvisit'], true);
And in template SHOWGROUPS
Find: colspan="x" (Where 'X' is the number of columns)
And increase that number by 1
Find: <td class="thead" width="20%">$vbphrase[join_date]</td>
Below that, add: <td class="thead" width="20%">$vbphrase[last_visit]</td>
Finally, in template showgroups_usergroupbit
Find: <td class="$bgclass">$user[datejoined]</td>
Below that, add: <td class="$bgclass">$user[lastvisit]</td>
That should work.
:)
Christine
05-15-2004, 03:28 PM
Hi Maikeru,
No intention to change the world, just to add a field to the display.
:)
ps -- thanks Socrate and Pseudo!
Christine
05-15-2004, 08:30 PM
Hi tenbucks,
You are welcome. :)
Why don't you just use the Prune User function to decide which accounts to delete?
Christine
05-16-2004, 12:42 AM
Just a guess as I haven't looked at it but you have $userinfo['lastactivitytime']
Should that be $userinfo['lastactivity'] ?
You shouldn't need functions_user.php
Christine
05-16-2004, 01:00 AM
Hi tenbucks,
In the northeast right now, but Jax is home. :)
You may be right with that -- I was just taking a guess. If I have time tomorrow afternoon, I will play with it to see if I can help.
Christine
05-16-2004, 10:00 PM
That looks great!! I am glad that you were able to get this working AND customized for your site!
:):
SVTBlackLight01
07-20-2004, 11:18 PM
Is there a way to sort (asc or desc) by the joindate instead of alphabetically?
Hello,
Where exactly should i see this? I made all the changes and viewed my memberlist. I assumed that this is where it would most likely be located,however i appear to be mistaken. My memberlist shows the username,contact,posts,and birthday. The date joined hasn't appeared. Is there another location on my site that this is showing?
Onkel_Tom
08-19-2004, 09:58 AM
Onkeltom clicks install ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.