Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Days Registered In Post Details »»
Days Registered In Post
Version: 1.00, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 2.2.x Rating:
Released: 08-26-2002 Last Update: Never Installs: 23
 
No support by the author.

This hack will add the number of days a user has been registered in posts.

Demo: http://www.extremechatforums.com/for...?threadid=1344

Show Your Support

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

Comments
  #2  
Old 08-27-2002, 01:19 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think that afterlab created a hack like this but i could be wrong?

regards...

g-force2k2
Reply With Quote
  #3  
Old 08-27-2002, 01:26 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=41754&highlight=days+re gistered" target="_blank">https://vborg.vbsupport.ru/showt...ays+registered</a> afterlab did but his says days registered in profile, this is in post so they are different.
Reply With Quote
  #4  
Old 08-27-2002, 01:44 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm never knew afterlab even did anythign similar to this. Oh well his is for profile and mines for posts so there both still different.
Reply With Quote
  #5  
Old 08-27-2002, 09:32 AM
afterlab's Avatar
afterlab afterlab is offline
 
Join Date: Oct 2001
Location: Dallas, TX
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's the exact code of mine! And this is hardly a hack too.. Apart from mine, if you wanted it in the post, all you had to do was carry over my code to functions.php, rather than member.php

If you're going to take credit for something, make sure it's yours first.
Reply With Quote
  #6  
Old 08-27-2002, 10:27 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off i never knew you did something like this second I did make this code up.
Reply With Quote
  #7  
Old 08-27-2002, 09:36 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool.....i wanted this....I'll install it later
Reply With Quote
  #8  
Old 08-27-2002, 09:55 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by afterlab
That's the exact code of mine! And this is hardly a hack too.. Apart from mine, if you wanted it in the post, all you had to do was carry over my code to functions.php, rather than member.php

If you're going to take credit for something, make sure it's yours first.
Code:
Afterlab's:

  // Display Days Registered
  // By: afterlab

  $regdays = round((time() - $userinfo[joindate]) / 86400); // Days Joined
  if ($regdays < 1) { // Must be registered Today
    $regdays = "1";
    $daydays = "Day";
  }
  if ($regdays == 1) {
    $daydays = "Day";
  } else {
    $daydays = "Days";
  }
Code:
eXtremeTim's:

    // Display Days Registered In Post
	//By: eXtremeT1m

  $regdays = round((time() - $post[joindate]) / 86400); // Days Joined
  if ($regdays < 1) { // Must be registered Today
    $regdays = "1";
    $daytext = "Day";
  }
  if ($regdays == 1) {
    $daytext = "Day";
  } else {
    $daytext = "Days";
  }
  
  // Display Days Registered In Post
Looks identical to me.
Reply With Quote
  #9  
Old 08-27-2002, 10:16 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dude the variables are the only thing that really could have been different.
The rest was required to make it work right. But what ever.
Reply With Quote
  #10  
Old 08-28-2002, 12:04 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by eXtremeTim
Dude the variables are the only thing that really could have been different.
The rest was required to make it work right. But what ever.
not always. there are many different ways one can make a hack. but the fact you said that you never knew ythat he made a hack and the fact that the code is identical turned me off from the start.
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 09: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.09549 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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