![]() |
Quote:
upgrading will lost 'timeonboard' field in 'user' table ? another1 is it possible to make this without code modification ? a hook plugin or an extension is more stable than code modification |
It doesn't lose the data, just the bit in the code edit that tells it to add to it.
I believe earlier in the thread someone else asked the same thing and the reply from the author was no due to the nature of the edit. |
Quote:
|
Here is the part I need to know... in the instructions, it says:
Quote:
Would that make any difference? |
Question.
Is there a way to edit exactly how this hack displays the time spent? Like, to change it from using abbreviations to the full words, and adding commas between the different measures of time? Right now, for me, it displays it like this: Time spent in the forum: 2 month 0 week 1 day But I want to have it as: Time spent in the forum: 2 months, 0 weeks, 1 day Also, is there a way so it gives the plural of the word if the amount is not 1? And to skip a measure of time if its 0, so it would display like this: Time spent in the forum: 2 months, 1 day, X hours |
I have added everything and it works great, and I too am interested in Megareus Rex's suggestion. I went into the Total Spent Time On Board In Profile plug-in and added 's's and commas to the different words, but I would like there to be a way to show just 'day' instead of 'days' if it is only one, etc.
If this is too much work, then it's not that big a deal. ;) |
works great.
"Installed" |
Quote:
|
So, any advancement on the changes I suggested...?
|
works like a charm, thanks.
Installed mike |
Quote:
BUMP !!! |
is this hack showing how long a user has been logged on the last time, or how long he/she has been logged on no matter if he/she logs out/in?
|
CHo hỏi làm sao để remove
các Query vậy? ALTER TABLE `user` ADD `timeonboard` INT( 10 ) NOT NULL AFTER `lastactivity`; Cách remove thì như thế nào? |
Quote:
|
When I attempt to run an SQL query it says I'm not authorized, WTF? Am I doing that right?
|
one of members has brought to my attention that his time on board has decreased,he hadnt been online for 3 days,does this hack drop time online if he hasnt been online
|
ok for some unknown reason the timeonline has stalled completely,and i have not upgraded my board or made any changes
|
For some of you that have install it and cant see...remember you are installing it to the postbit legacy, and have to change it in vbull options to refelct that.
|
I installed the plug in, modified the MEMBERINFO template, and ran the query; I am still not getting anything in the profile!?! Any help??
|
Quote:
|
Did everyone else freeze after upgraded to 3.5.4?
|
Quote:
|
Hmmm.Do you have to edit a php file or something?
Quote:
|
Quote:
Quote:
|
It's still not calculating into days, hours, etc. and I've uploaded the plugin.
|
For Those Not using Postbit Legacy and using postbit only. Basically modified postbit same way
Code:
########## TEMPLATE MOD ############ |
Quote:
|
Is this working now? Can I go ahead and install it?
|
does this work on 3.5.4?
|
I too have the same question. Does it work in 3.5.4? I'm sure some of the guys on my site will be shocked. Also, is the count retroactive or only from the point I install it and on?
|
Ok frineds......help me here ....
I m sending my class_core.php plz edit it according to above said and plz give me again......i tried but some error came and my stop to function plz help me :) And also tell me where to write query"don't mind i m new to this"Learning:) |
still no replies
|
Plz send me this file via link .... PM me plz...
|
i m not able to run the queries even i made changes in the config.php
// ****** USERS WITH QUERY RUNNING PERMISSIONS ****** // The users specified here will be allowed to run queries from the control panel. // See the above entries for more information on the format. // Please note that the ability to run queries is quite powerful. You may wish // to remove all user IDs from this list for security reasons. $config['Admin']['canrunqueries'] = ''; // ****** UNDELETABLE / UNALTERABLE USERS ****** // The users specified here will not be deletable or alterable from the control panel by any users. // To specify more than one user, separate userids with commas. $config['Admin']['undeletableusers'] = ''; // ****** SUPER ADMINISTRATORS ****** // The users specified below will have permission to access the administrator permissions // page, which controls the permissions of other administrators $config['Admin']['superadministrators'] = '1'; Even now same prob...... I m not authorized to run query.... |
Just installed on 3.54.
Not working. did all template edits, data base changes, and plugin uploads. time on board remains at 0 forever :p any suggestions ? thx :D EDIT : OK found me prob. nvm ;) works perfect on 3.54 ;) thanks alot for the usefull hack :) |
What'd you do to fix it, cause I'm having the same problems? I have the sucker installed per instructions but getting jack to display on the my template.
Thankfully, it is recording the time spent on boards into the DB already, just need to get it to display now. |
Fixed already, thanks anyhow :P
Great hack. Not the most fun install, but well worth it. |
it stopped to count immediately hmm I had no changes in templates and no changes at plugin. I checked the installation again but all fine still stopped to count, is there an answer?
thanks in advance |
Still does it in seconds and xml file is not converting to days, hours, seconds. Guess I uninstall.
|
Hmm installed on 3.5.4
Only the profile version, no display. Added the query - still nothing. Installed the original .xml hoping it would spark a response (no go) Remove the conditional to force display in profile template, I get the writting but no data is display'd Very odd... I'll uninstall it unti its sorted out. Nice idea though. I can't wait to use it :) How can we remove the Query? ALTER TABLE `VB_user` DROP `timeonboard` INT( 10 ) NOT NULL AFTER `lastactivity` ; (Does not work) |
All times are GMT. The time now is 06:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|