vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Small Problem, Easy answer? (https://vborg.vbsupport.ru/showthread.php?t=43906)

neocorteqz 09-25-2002 05:00 AM

Small Problem, Easy answer?
 
https://vborg.vbsupport.ru/showthrea...0&pagenumber=1

this is the Hack I installed.

My problem is it's showing the %of post, but not the PPD (post per day)
as seen here.

http://nemesis.thecoldshop.com/membe...tinfo&userid=1

I need to know how I would go about fixing this?


Thanks for the help.:)



If you need to know what I did.

https://vborg.vbsupport.ru/showthrea...0&pagenumber=4

hopfully that explains something.

Thanks again.

neocorteqz 10-05-2002 05:18 AM

Bump for some help.

Xenon 10-05-2002 08:54 AM

hmm, the hack doesn't affect the PPD normaly

be sure you have
PHP Code:

  $jointime = (time() - $userinfo[joindate]) / 86400// Days Joined
  
if ($jointime 1) { // User has been a member for less than one day.
    
$postsperday "$userinfo[posts]";
  } else {
    
$postsperday sprintf("%.2f",($userinfo[posts] / $jointime));
  } 

in your member.php

neocorteqz 10-06-2002 01:47 AM

Quote:

Originally posted by Xenon
hmm, the hack doesn't affect the PPD normaly

be sure you have
PHP Code:

  $jointime = (time() - $userinfo[joindate]) / 86400// Days Joined
  
if ($jointime 1) { // User has been a member for less than one day.
    
$postsperday "$userinfo[posts]";
  } else {
    
$postsperday sprintf("%.2f",($userinfo[posts] / $jointime));
  } 

in your member.php


I don't see it anywhere, So where do I add it?


edit: Nevermind.;) :) I should try things before i ask, after all all I had to do is back up the file... guess I'm still worried bout screwing things up.

ZiRu$ 10-06-2002 01:51 AM

Quote:

Originally posted by User_001
I don't see it anywhere, So where do I add it?
no offence....but if you didnt add it! you never properly INSTALLED the hack! open the INSTRUCTIONS and follow it STEP by STEP and everything will go smooth!

It WILL tell you where to add it IN the instructions

neocorteqz 10-06-2002 02:19 AM

Quote:

Originally posted by ZiRu$


no offence....but if you didnt add it! you never properly INSTALLED the hack! open the INSTRUCTIONS and follow it STEP by STEP and everything will go smooth!

It WILL tell you where to add it IN the instructions


this stopped working after I installed the update for 2.2.7..

and going by that.. PPD is a default of Vbull... Thats what was not showing up.. the Hack i installed was working fine... It was what the original software was supposed to be doing.;) But i may have accidentally deleted that particular line... Hey what do you expect from a n00b.:)

ZiRu$ 10-06-2002 03:46 AM

Yes....when upgrading....it REPLACES some files....You will need to Re-Go over the hack!

N!ck 10-06-2002 03:53 AM

dude, ZiRu$, shut up. your yelling is offensive. this is not the ghetto.


All times are GMT. The time now is 04:42 AM.

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.01508 seconds
  • Memory Usage 1,733KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete