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)

EH-Jay 07-19-2005 02:03 AM

Quote:

Originally Posted by Kentaurus
Did you run the query in the instructions? (phpmyadmin or admincp)

Code:

alter table user add timespent int not null;
If you forget to run that query the forum doesn't give you any error, it just shows < 1 sec all the time.

Hey Kentaurus,
I get the same error. I ran the query perfect:
Code:

Your SQL-query has been executed successfully (Query took 0.0234 sec) 
SQL-query:
ALTER TABLE user ADD timespent int NOT NULL

And it's still < 1 sec

I made all the correct changes, obviously because it's showing < 1 sec, but it won't update.

Any help?

EH-Jay 07-24-2005 01:32 AM

So I guess this problem is going to stay in limbo then?

98EXL 07-28-2005 04:28 PM

I'm either a complete moron, or not, but, in includes/function_showthread.php, I do not have:

// ###################### Start getreputationimage #######################

I can't even start the hack, so sad

Andreas 07-28-2005 04:37 PM

Guess this Hack needs an Update ... fetch_reputation_image() has been move to functions_reputation.php.

Anyway, I think functions_showthread.php is still the right place.

Look for

PHP Code:

// ###################### Start process_highlight_postbit ####################### 

And place the Code above that, might work.

98EXL 07-28-2005 05:10 PM

Quote:

Originally Posted by KirbyDE
Guess this Hack needs an Update ... fetch_reputation_image() has been move to functions_reputation.php.

Anyway, I think functions_showthread.php is still the right place.

Look for

PHP Code:

// ###################### Start process_highlight_postbit ####################### 

And place the Code above that, might work.


as soon as I typed that, went to page 12, there it was.

Clicks install....this works great already!

Virtuosofriend 08-01-2005 09:31 AM

Quote:

Originally Posted by Rickie3
well my friend can you explain why it doesnt work??,i actually sat back and read every thread over and over and i finally got it to work,and it does exactly what its supposed to,it works perfectly for me on my test board 3.0.3,and 3.0.7,the secret is to read carefully

what i did was place everything in order to the attached below,it is not a rewrite of the original,just placed in order to make the coding for 3.0.3 and 3.0.7 a little easier

Because simply it doesnt work.I have tested in all the forums i am admin and it doesnt work.And believe me i have far more experience than you.

Rickie3 08-01-2005 09:44 AM

Quote:

Originally Posted by Virtuosofriend
Because simply it doesnt work.I have tested in all the forums i am admin and it doesnt work.And believe me i have far more experience than you.

it does work!!!!!!! it is currently working on my forum and has done for the last 3 weeks,it is also working fine on my test board.Quite frankly i could'nt care less if you have more experience,i'm still learning for sure.What all the forums have you tested it in??????,I am a admin as well

P.S you have a nice forum

lewisbeech 08-13-2005 12:30 PM

i am trying to install this on 3.0.8, and i cannot find '// ###################### Start getreputationimage #######################' in the funtions_showthread.php file.
please help

RustedBucket 08-17-2005 10:29 PM

2 questions.

First, I want to use the $post[timespent] result in the Postbit template based on the users online status, but I can't seem to get it to cooperate. Using something like this in postbit_legacy:

<if condition="$post[onlinestatus]!='Online'">$post[timespent]</if>

Does nothing. The value for $post[timespent] is viewable regardless that status. Basically I only want to display this if the user is Online, not for Invisible or Offline. I can't read the value of $onlinestatus in this template either. Any clues on how to get a value I can use a conditonal against?

Second question: What the easiet way to change the time to reflect 00:00:00 vs # hours # minutes # seconds??

Thanks alot

Azra_el 08-26-2005 11:55 PM

Quote:

Originally Posted by lewisbeech
i am trying to install this on 3.0.8, and i cannot find '// ###################### Start getreputationimage #######################' in the funtions_showthread.php file.
please help


not finding the getreputationimage part either... any clues?


All times are GMT. The time now is 12:37 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.01283 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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