vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Board Spent Time (https://vborg.vbsupport.ru/showthread.php?t=60488)

Yahhoon23 02-03-2004 10:59 PM

Alright, I did this hack, everything is fine except it's not showing up.

The only obvious thing i can think of is that I didn't enable it in the ACP but can't find it.

Thanks in advance

-------------------
Location of Forums - http://www.wirelessmatt.com/forums

Kentaurus 02-04-2004 12:10 AM

Quote:

Originally Posted by Yahhoon23
Alright, I did this hack, everything is fine except it's not showing up.

The only obvious thing i can think of is that I didn't enable it in the ACP but can't find it.

Thanks in advance

-------------------
Location of Forums - http://www.wirelessmatt.com/forums

which part is not showing up, the time in the postbit / memberinfo or the memberlist?

If it is the postbit / memberinfo, did you do the template edits in the correct style?

Yahhoon23 02-04-2004 02:12 AM

sorry for not being more in depth, but it's not showing up on the actual thread under their name.

I didn't try to do it thru the memberlist yet. I just did the first one that u had.

Baugh 02-04-2004 07:05 PM

Installed this hack (my first vB hack to install ever). Absolutely love it! Thanks man.

Kentaurus 02-04-2004 09:51 PM

Quote:

Originally Posted by Yahhoon23
sorry for not being more in depth, but it's not showing up on the actual thread under their name.

I didn't try to do it thru the memberlist yet. I just did the first one that u had.

did you modify the postbit (OR) postbit_legacy template?

If you use the normal postbit template you need to add $timespent somewhere, if you use the new vertical (horizontal?) template then you need to add $timespent to postbit_legacy

Holidazed 02-23-2004 07:44 PM

Are there any plans for making this HTL compatible? I really want this hack, but HTL compatibility would make it easier for me to deal with.

Kentaurus 02-29-2004 05:45 PM

Quote:

Originally Posted by bitg
Are there any plans for making this HTL compatible? I really want this hack, but HTL compatibility would make it easier for me to deal with.

Once HTL1.1 is out and I can create txt from there (<hint>Bug Kurafire a little</hint>) I will make it HTL compatible

kennethj 03-03-2004 02:08 PM

When installing the addition - running the install ... php file gives and error:

Code:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL:
  UPDATE setting SET optioncode='
  <input type=\\\ ...
... </table>'
  WHERE varname='memberlistfields'
mysql error: Table 's####freaky.setting' doesn't exist

mysql error number: 1146

Date: Wednesday 03rd of March 2004 10:53:32 AM
Script: http://www.freakybutfun.com/forum/ad...st.php?start=1
Referer: http://www.freakybutfun.com/forum/ad...memberlist.php

the table is wrong :: should be 'vB3s####freaky.setting' ::

is Not adding the table prefix sor some reason.
Is there another way to run this ? thru the admin cp? or what is going wrong as everything else with the board is working with no problems.

admin cp is renamed -

Quote:

Originally Posted by Kentaurus
An update for this one. Some extra modifications that will let you add the board spent time (total and average) to the memberlist. You can also sort by it to see who is the user with most board spent time.

great hach and addition - thanks

Beermonster 03-03-2004 06:23 PM

[high]* Beermonster installed
[/high]

Thanks :)

alfaowner 03-03-2004 07:26 PM

Quote:

Originally Posted by Kentaurus
did you modify the postbit (OR) postbit_legacy template?

If you use the normal postbit template you need to add $timespent somewhere, if you use the new vertical (horizontal?) template then you need to add $timespent to postbit_legacy

Okay, sorry, but where would the $timespent go? I really have no idea. Myine is also not showing up, i tried both tempaltes too! I am using the new style forum just like this one with drop down links etc...

enginethatcan't 03-03-2004 10:37 PM

HUGE PROBLEM!!!

some reason my members names are not showing up in the posts anymore!!!

I uploaded all orginal files, and templates. WHAT CAN I DO???

Reeve of shinra 03-03-2004 11:06 PM

* installed

It will be interesting to see how much time people waste away on my site.

Kentaurus 03-04-2004 01:38 AM

Quote:

Originally Posted by enginethatcan't
HUGE PROBLEM!!!

some reason my members names are not showing up in the posts anymore!!!

I uploaded all orginal files, and templates. WHAT CAN I DO???

revert your postbit and postbit_legacy template, that should do it.

Kentaurus 03-04-2004 01:39 AM

Quote:

Originally Posted by alfaowner
Okay, sorry, but where would the $timespent go? I really have no idea. Myine is also not showing up, i tried both tempaltes too! I am using the new style forum just like this one with drop down links etc...

Anywhere you want. Edit your postbit or postbit_legacy template and add $timespent before Posts: for example

Kentaurus 03-04-2004 01:44 AM

Quote:

Originally Posted by kennethj
When installing the addition - running the install ... php file gives and error:

Code:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL:
  UPDATE setting SET optioncode='
  <input type=\\\ ...
... </table>'
  WHERE varname='memberlistfields'
mysql error: Table 's####freaky.setting' doesn't exist

mysql error number: 1146

Date: Wednesday 03rd of March 2004 10:53:32 AM
Script: http://www.freakybutfun.com/forum/ad...st.php?start=1
Referer: http://www.freakybutfun.com/forum/ad...memberlist.php

the table is wrong :: should be 'vB3s####freaky.setting' ::

is Not adding the table prefix sor some reason.
Is there another way to run this ? thru the admin cp? or what is going wrong as everything else with the board is working with no problems.

admin cp is renamed -



great hach and addition - thanks

I updated the install.php so it takes the prefix correctly. Seems I forgot to update that file. Please download it again.

kennethj 03-04-2004 04:36 AM

Quote:

Originally Posted by Kentaurus
I updated the install.php so it takes the prefix correctly. Seems I forgot to update that file. Please download it again.

thank you for the up date - worked great
:)

enginethatcan't 03-04-2004 09:11 AM

Quote:

Originally Posted by Kentaurus
revert your postbit and postbit_legacy template, that should do it.

done thanks

alfaowner 03-04-2004 07:50 PM

Quote:

Originally Posted by Kentaurus
Anywhere you want. Edit your postbit or postbit_legacy template and add $timespent before Posts: for example

ok, just add $timespent and nothing else? is it possible that someone that knows this, or how to do it, could post the code for me. thank you ALOT!

Wifey 03-16-2004 03:39 AM

Quote:

Run the following queries. You can do it via phpmyadmin, or at the
"Execute SQL Query" section at the Admin Control Panel
Remember to prefix the table if you need to



alter table user add timespent int not null;
In this part of the hack, is that the entire query that you run? Or are each of those a separate query to run?

I ran that and it said that line 74 was altered, but the hack isn't working.

Nj?rd Eriksson 03-23-2004 03:32 AM

Just installed it, and while Time Spent is working, Average Time isn't.

For example:
Join Date: Oct 2003
Location: Connecticut USA
Age: 28
Posts: 269
Time Spent on Forum:
16 Minutes 34 Seconds
Average Time:
< 1 sec
That's definitely more than 1 second. As Average Time is calculated, what could the reason be? I followed all the instructions in the .txt.

Nj?rd Eriksson 03-23-2004 06:43 PM

For some or other reason it doesn't count the time of at least one of my super-moderators (usergroup ID 5) either. Didn't have the opportunity yet to check out others.
Marla
"Whatever happens, happens."

Join Date: Dec 2002
Location: Nihilism
Posts: 1,982
Time: Not available
(I changed the "< 1 sec" phrase to "Not available")

What can be done? :)

Nj?rd Eriksson 03-23-2004 06:51 PM

Quote:

Originally Posted by Nj?rd Eriksson
For some or other reason it doesn't count the time of at least one of my super-moderators (usergroup ID 5) either. Didn't have the opportunity yet to check out others.
Marla
"Whatever happens, happens."

Join Date: Dec 2002
Location: Nihilism
Posts: 1,982
Time: Not available
(I changed the "< 1 sec" phrase to "Not available")

What can be done? :)

Nopes, time counting for another one of my super-moderator works:
Jack
the Ripper?

Join Date: Jul 2002
Location: Behind your fridge
Posts: 987
Time: 1 h 7 m 45 s
Weird thing ... any idea why the time isn't counted for the particular user Marla?

admiralapril 03-28-2004 05:28 AM

Thanks for the great hack.


Question.... I just installed this about an hour ago and it seems to be working fine for everyone except one of my moderators (User group ID 6). The time spent is < 1 min and average time is < 1 min also, even though she's been online almost the whole time since I installed it.

I haven't tested it for other moderators since they haven't been online yet. But why would it work for some members and not for others? Different usergroup, I guess? How can I fix it?

Join Date: Jan 2003
Location: New York
Posts: 1,241
Time spent in forums: < 1 min
Average time: < 1 min

Chris Gwynne 04-03-2004 09:32 PM

Ok, I'm having the same problem a few of the people are having with this one. I've installed everything right too, would really appreciate a fix for it..

Time spent on CouchRaider: 6 Minutes 8 Seconds
Average time: 11 Minutes 44 Seconds

The average time is simply not correct, how do I go about rectifying it? :)

templates911 04-09-2004 07:40 PM

I get a Fatal error: Call to undefined function: explain_time() in /usr/www/users/templ911/includes/functions_showthread.php on line 429 when i try to install this.

ogetbilo 04-12-2004 10:25 PM

Can you please update your insallation instructions for VB3.0gold?
I did everything what it says on your instructions. Now I have <1sec for all my users except 3.
Those 3 are showing 3 sec, 3sec, 5sec respectively and they are not updating.

Anarchy 04-12-2004 10:46 PM

yeah i would like it too

Catch-22|BL 04-13-2004 07:18 AM

Thanks for the hack!

I got the "total time spent" and "memberlist leaderboard" working so I am happy. I did not get the "average time" to work properly, so I just took it out of the postbit and can easily forget about it. Hey, in real life we must appreciate that two out of three is not bad! :)

ogetbilo 04-13-2004 10:33 PM

Quote:

Originally Posted by Catch-22|BL
Thanks for the hack!

I got the "total time spent" and "memberlist leaderboard" working so I am happy. I did not get the "average time" to work properly, so I just took it out of the postbit and can easily forget about it. Hey, in real life we must appreciate that two out of three is not bad! :)

what is your version of VB3?
I could not get it working on VB3Gold.

Vivi Ornitier 04-14-2004 03:24 PM

this hack isn't workin for gold. I put it in my postbit_legacy template and it doesn't show anything

Anarchy 04-16-2004 12:38 AM

need it to work please.

ogetbilo 04-19-2004 06:12 AM

Kentaurus,
Can you please at least post a removal tool if you are not planning to make this hack work in vB3gold?:(

007 04-21-2004 04:29 AM

Awesome. Works perfect with my old timeonline column from VB2 :) Also works perfect on 3.01 if anyone's wondering.

Eternal2u 04-25-2004 07:23 AM

*Travels up to that sacred install button and quickly presses it*

Thanx. man..the mems on my board who live on it will EXTREMELY appreciate this.

sean289855 04-26-2004 12:55 AM

I thikn I have everything. The only thing I might not have done run rihgt run the SQL query. Can someone help me how I shoudl do this. That I know exactly if it is me.

Deep Blue 05-17-2004 10:36 PM

Well, it ran once, isnt updating times, any ideas? I'm stuck at something silly like 1 min 16 seconds!

Mijae 05-22-2004 05:04 PM

Quote:

Originally Posted by HiDeo
Thanks I download and install now

Does this add a query to each page?

Kentaurus 05-24-2004 05:43 PM

Quote:

Originally Posted by Mijae
Does this add a query to each page?

No, it doesn't. It uses the existing session query. It adds NO queries :)

subu1 05-26-2004 08:33 PM

works perfect on vb3 Gold thxxx and click install :-)

Zylone 05-29-2004 12:55 PM

It's installed on my forums and is working properly as you can see by visiting:

http://www.V6F150.com/forums and by viewing any thread.

I do have one problem however... there are a few members that visit daily yet their total time spent is stuck on a particular time 5 minutes say. another one of my admins has only 30 minutes yet he spends alot of time there as well.

It seems to be working fine for me and a bunch of other members but for some it is not working.

I know on a few it's not really working with is members who use AOL services. Maybe this could be a problem behind it?

How exactly does it calculate the time spent... cookies?


All times are GMT. The time now is 04:19 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.01363 seconds
  • Memory Usage 1,834KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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