Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Join Date to Showgroups Details »»
Add Join Date to Showgroups
Version: 1.00, by Christine Christine is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-28-2004 Last Update: Never Installs: 10
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-15-2004, 03:27 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #13  
Old 05-15-2004, 03:28 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Maikeru,

No intention to change the world, just to add a field to the display.



ps -- thanks Socrate and Pseudo!
Reply With Quote
  #14  
Old 05-15-2004, 08:30 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi tenbucks,

You are welcome.

Why don't you just use the Prune User function to decide which accounts to delete?
Reply With Quote
  #15  
Old 05-16-2004, 12:42 AM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 05-16-2004, 01:00 AM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 05-16-2004, 10:00 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks great!! I am glad that you were able to get this working AND customized for your site!

:
Reply With Quote
  #18  
Old 07-20-2004, 11:18 PM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to sort (asc or desc) by the joindate instead of alphabetically?
Reply With Quote
  #19  
Old 08-08-2004, 01:48 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #20  
Old 08-19-2004, 09:58 AM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Onkeltom clicks install
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12329 seconds
  • Memory Usage 2,304KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete