vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add Join Date to Showgroups (https://vborg.vbsupport.ru/showthread.php?t=62030)

Christine 05-15-2004 02:27 PM

Hi tenbucks,

Sure.

Not tested, but you can try this:

In showgroups.php

Find:
PHP Code:

$user['datejoined'] = vbdate($vboptions['dateformat'], $user['joindate'], true); 

Under it, add
PHP Code:

$user['lastvisit'] = vbdate($vboptions['dateformat'], $user['lastvisit'], true); 


And in template SHOWGROUPS

Find:
PHP Code:

colspan="x" (Where 'X' is the number of columns

And increase that number by 1

Find:
PHP Code:

<td class="thead" width="20%">$vbphrase[join_date]</td

Below that, add:
PHP Code:

<td class="thead" width="20%">$vbphrase[last_visit]</td

Finally, in template showgroups_usergroupbit

Find:
PHP Code:

<td class="$bgclass">$user[datejoined]</td

Below that, add:
PHP Code:

<td class="$bgclass">$user[lastvisit]</td

That should work.

:)

Christine 05-15-2004 02: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 07: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-15-2004 11:42 PM

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 12: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 09: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 10:18 PM

Is there a way to sort (asc or desc) by the joindate instead of alphabetically?

Rich 08-08-2004 12:48 PM

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 08:58 AM

Onkeltom clicks install ;)


All times are GMT. The time now is 08:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04370 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete