Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Feb 2003, 21:10
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Need help with a $DB_SITE command. Seems pretty easy. HELP PLEASE.

Help I have this command in the newreply.php and what it does is find the number of of new threads made in certain forums and average it out a month since the persons registration date.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


That line goes in this bunch of code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but instead of searching for the number of threads that way I made a field in the USER table called THREADCOUNTER. the THREADCOUNT field has a number in the field and goes up 1 everytime i new thread is made in certain forums.

What I would like to do is. Use the number in the THREADCOUNTER field instead of this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

because with the new code the counter does not decrease when a thread is deleted.

What I don't know how to do is change the code so it works. I hope someone can understand me and help me out by tell me the code I should use. Thank you.
Reply With Quote
  #2  
Old 23 Feb 2003, 01:44
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
bump
Reply With Quote
  #3  
Old 23 Feb 2003, 11:40
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Can someone please help me thanks
Reply With Quote
  #4  
Old 23 Feb 2003, 11:55
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
no need of bumping twice a day, some of us also have a live and can just look into the board every second day or so.....

instead of that:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 23 Feb 2003, 12:25
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Awesome. But I need the average thingy in there too. How would I do that?
It averages it out towards a month.
Reply With Quote
  #6  
Old 23 Feb 2003, 13:26
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
not with your implementation.

if you want the average also, you have to set up an extra field or use the old method..
Reply With Quote
  #7  
Old 23 Feb 2003, 13:29
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Well with the old method the thing is when a thread is deleted the thread count goes down and so does the average.

I want the average to stay the same and not go down if you delete a thread.

What will I have to create a new field for?

Do you think you could help me out? I am a little confused on what the new field would be for in the first place.
Reply With Quote
  #8  
Old 26 Feb 2003, 00:30
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
bump please help xenon
Reply With Quote
  #9  
Old 26 Feb 2003, 11:05
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Sorry to bump again but my forums are down till I get this done. I hope someone can help me. Thanks.
Reply With Quote
  #10  
Old 26 Feb 2003, 19:11
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
use the old version till someone posts what you want exactly...

i have no time these days to take a closer look to any requests..
Reply With Quote
  #11  
Old 01 Mar 2003, 19:25
BBallmster BBallmster is offline
 
Join Date: Sep 2002
I like what you have done so far and i am sorry to ask but is there anyway you might be able to tell me how to create the field i am not a total vb newb, but i am not sure on how to make another field and where.

If you could help it would be greatly appreciated.
BBallmster
Reply With Quote
  #12  
Old 05 Mar 2003, 21:31
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
bump.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


New To Site? Need Help?

All times are GMT. The time now is 04:24.

Layout Options | Width: Wide Color: