vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Days Registered In Post (https://vborg.vbsupport.ru/showthread.php?t=42791)

eXtremeTim 08-26-2002 10:00 PM

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

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

g-force2k2 08-27-2002 01:19 AM

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

regards...

g-force2k2

[D]Vincent 08-27-2002 01:26 AM

<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.

eXtremeTim 08-27-2002 01:44 AM

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. :)

afterlab 08-27-2002 09:32 AM

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.

eXtremeTim 08-27-2002 10:27 AM

First off i never knew you did something like this second I did make this code up.

ZiRu$ 08-27-2002 09:36 PM

cool.....i wanted this....I'll install it later

Link14716 08-27-2002 09:55 PM

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.

eXtremeTim 08-27-2002 10:16 PM

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.

Link14716 08-28-2002 12:04 AM

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.


All times are GMT. The time now is 07:55 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.02016 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_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
  • (10)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