Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Display Days Registered Details »»
Display Days Registered
Version: 1.00, by afterlab afterlab is offline
Developer Last Online: Jul 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-31-2002 Last Update: Never Installs: 49
 
No support by the author.

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.

Show Your Support

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

Comments
  #32  
Old 11-01-2002, 10:04 PM
Esdee's Avatar
Esdee Esdee is offline
 
Join Date: Oct 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering about that as well

I tried adding $post[daydays] but that didn't do it -_-

Anyone ??
Reply With Quote
  #33  
Old 11-01-2002, 10:20 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by \ \ - Speedy - / /
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?
u can do this

open function.php(in admin folder)

find
PHP Code:
$jointime = (time() - $post[joindate]) / 86400// Days Joined 
above that add

PHP Code:
 // Display Days Registered
  // By: afterlab

  
$regdays round((time() - $post[joindate]) / 86400); // Days Joined
  
if ($regdays 1) { // Must be registered Today
    
$regdays "1";
    
$daydays "Day";
  }
  if (
$regdays == 1) {
    
$daydays "Day";
  } else {
    
$daydays "Days";
  } 
and put ($regdays $daydays) in ur postbit template

i think it should be work....try it
Reply With Quote
  #34  
Old 11-01-2002, 10:40 PM
\ \ - Speedy - / /'s Avatar
\ \ - Speedy - / / \ \ - Speedy - / / is offline
 
Join Date: Nov 2001
Location: Speedy's World
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked like a charm, thankx a million!



The Legend of Speedy
Reply With Quote
  #35  
Old 11-02-2002, 02:32 PM
Esdee's Avatar
Esdee Esdee is offline
 
Join Date: Oct 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great man, Thanks
Reply With Quote
  #36  
Old 11-11-2002, 09:08 AM
Dynamic One's Avatar
Dynamic One Dynamic One is offline
 
Join Date: Nov 2001
Location: Somewhere on the net
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks afterlab. For this nice hack.
Reply With Quote
  #37  
Old 11-11-2002, 08:43 PM
isoman2kx isoman2kx is offline
 
Join Date: Nov 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #38  
Old 11-11-2002, 08:44 PM
isoman2kx isoman2kx is offline
 
Join Date: Nov 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found member.php btw, but not get info, so i have one at least lol
Reply With Quote
  #39  
Old 11-12-2002, 01:24 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a keeper ...
Reply With Quote
  #40  
Old 12-04-2002, 05:14 AM
Mr. X's Avatar
Mr. X Mr. X is offline
 
Join Date: Oct 2001
Location: Iowa
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent stuff Afterlab. Works like a charm on my local 2.2.9 forum, Im installing this now on my real forums.

/clicks install
Reply With Quote
  #41  
Old 12-19-2002, 07:35 AM
Shadow-Sin's Avatar
Shadow-Sin Shadow-Sin is offline
 
Join Date: Dec 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job I think i'll use it
Reply With Quote
Reply

Thread Tools

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 08:04 AM.


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.06285 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (1)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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