![]() |
Error on VB4.1.2
PHP Code:
|
installed on 4.1.2 all fine here.
had to make a few small edits to the post bit to line it all up. |
Just an idea of something i thought would be nice to have for a forum, a stats section that shows the total combined times/average times for all users.
|
Is it possible to enable for some users to hide results from this mod?
I'd like to create user profile field, and depending on their answer (yes/no) the online time for them is shown or isn't. Default would be of course yes. And that goes only for showing online time, time is tracked and if user chooses so he could show it again. |
Ok, I managed to to enable disable showing online time in postbit.
In short, you need to create new user profile field, choose that it is single selection menu, and option set default should be set to None. In options you set only one: Off (or whatever you want to call it, it doesn't matter). In postbit legacy (or postbit) you need to find: {vb:raw template_hook.postbit_userinfo_right_after_posts} After this add: <vb:if condition="!$post['field8']"> {vb:raw template_hook.postbit_userinfo_right_after_posts2} </vb:if> If you don't add template hook with 2 at the end, you'll turn of all additional postbit info if you use it (and usually you do). After this, you need to change hook that plugin "Postbit: Fetch Total & Average Time Online" uses (find it under Product : IWT - Time Spent Online) At the very end just add to the hook plugin calls: $template_hook['postbit_userinfo_right_after_posts2'] .= $templater->render(); That's it. Users now can disable online time in their postbits. But not in profile, or leaderboard. ----------------------------------- Also, I found minor bug. If users online time is full hour (seconds doesn't matter), there's N/A after hours (mining, there's no minutes to be shown). It's if you use Use Micro Phrases (Postbit Only!) option. And maybe with other options, but I didn't test it. You need to have user who's time online is a round hour to see it. |
I have had this running for a few days now and love it.
I am not sure if this is a bug or a lack of understanding but I am a bit confused. In the postbit the Avg. Time Online is just showing Seconds and they are usually no more than 10 secs for all my users. In post bit: Here are my stats: Time Online 6 Hrs 47 Mins 1 Sec Avg. Time Online1 Secs In my profile and leader board: Time Online 6 Hrs 52 Mins 39 Secs Avg. Time Online 1 Hr 47 Mins 27 Secs In the settings the only thing that is ticked no is "Use Micro Phrases (Postbit Only!)" Also is there anywhere on the board if a user leaves the board open on their screen it keeps logging time? I have a couple users that their stats are huge and talking to them they are not active all of that time. My time out is set to 15min of no activity thank you in advance for any help. I am just trying to get a better understanding |
I too saw this difference between postbit and profile. Not sure why, but there it is... :(
|
1 Attachment(s)
A great mod, and I am already liking its use very much, and am thankful for developers like yourselves taking out time and effort, to provide us with such free modifications and add-ons.
With due respect, there is a small bug fix that would be nice (which should be a stroll in the park for coders like you). The issue is in the postbit, when this mod is used with Abe1's Post Thank You Hack. So what happens is that the time online is displayed along with the X Thanks in X Posts line which makes reading confusing. If this is not clear, I have posted an image. You could have a look. Thanks again for your time. For the time being, I have disabled showing the Thank You, but I would really love to have this working. |
This is bug in Abe's mod, not in this one. As Abe stopped supporting his, you can forget about updates from him.
But, there's always hope. You could use DragonByte's pro version. Pro version enables importing data. Or wait for someone to make mod that uses information from Abe's. |
Just wanted to let you all know if you didn't notice, we updated the plugin to fix the one Average Time issue in the postbit.
Also, thanks for give support to the others Alan_SP. |
I have a question. If I update will it force me to show in postbit or can i make it in profile only? If it's only an update for postbit I won't even use it since my site only shows in profile.
|
Quote:
If you do update tho, you will still have all the same options to tell it where to show, and if it does happen to turn on show in postbit, you would simple have to go turn that setting back off. |
Thank you for the response. :D
|
Errors when cick on Leader Board - Navbar Link !
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/xxx/domains/xxx.com/public_html/includes/class_core.php(4464) : eval()'d code on line 75 Parse error: syntax error, unexpected '<' in /home/xxx/domains/xxx.com/public_html/includes/class_core.php(4464) : eval()'d code on line 76 |
Huge update.... I have been waiting for this fix.... thank you
|
Quote:
2. Would you be willing to give me a link to your site, so I can see the error first hand? -Brian |
Quote:
http://www.baanfarsang.com/tsoleaderboard.php |
The problem with BaanFarsang's Leader Board has been fixed. If anyone else is getting the same error, please let me know.
|
Quote:
Paste code on includes/config.php done. PHP Code:
|
Thanks for the work. But I think it's better to make it permission based. Because normal users also can see the duration, which makes problem for invisible users. I hope it can be improve so far.
|
Quote:
Until then, you could always add another if check at the top of the tsoleaderboard.php file that prints a no permission for anyone other then the people you would like to see it, and disable the postbit/profile displays. I know that's not as elegant as it being a feature, but at least it would allow you to use it how you wanted for right now. |
Sorry! I am not good in coding :( can you please post a module if you have time and if you don't mind.
Thanks in advance. |
Quote:
|
https://vborg.vbsupport.ru/external/2011/06/40.jpg
online time is not showing properly in front of onilne time: how can i fix? |
No REply Yet..... today is 2nd Day huh........
|
Quote:
Quote:
Now to the point, that problem is caused by the Post Thanks mod actually. I have fixed it a few times in the past, but I don't exactly remember what the fix was that was needed, but if you give me a link to your site, I'll look at the HTML and find the fix again real quick. |
realy thx a lot sir for your kind help and kind response to my request.
www.vu39.com/forum here is the site link. i will be thankfull to yew. whatever the favour you will do for me. |
NO HElp....... in vain to ask anything about Vbulletin.......
phpbb free forum support is better then this onez. |
the problem is the thank you hack..
this should fix your issue https://vborg.vbsupport.ru/showpost....&postcount=445 |
Quote:
Quote:
|
i have replace the code but isue is not yet resolved....
Ideal Web Tech replied to your pm. |
tsoleaderboard.php shows a blank page.
|
No reply regarding the PHP file?
|
tagged
|
I fixed the post_thanks_postbit_info template and the time is still not where it should be displaying.
I am uninstalled until this issue can be fixed for everyone with consistency. It looks horrible with it the way it's displaying now and this a reflect on me, not anyone from vbulletin.org. I would link to my site but I do not want to leave it on with these errors, my forum is too large and too many would see this out of whack. Pls let us know when there is a fix that will display this correctly. |
Hi, thank you for this great mod, however, is it compatible with 4.1.4?
Thanks, ~~QS |
syntax error every time after new updating of VB.
http://www.baanfarsang.com/tsoleaderboard.php Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/baanfars/domains/baanfarsang.com/public_html/includes/class_core.php(4464) : eval()'d code on line 75 |
Sorry for the long delays, we have been busy with a new product, and given the age and "Not Supported" status of this mod, we don't always check this thread. If you really want a response quickly, post in the designated thread at community.idealwebtech.com.
Quote:
Do you know if you have error reporting on? Did it work at any point and just now go blank, of was it blank from install? Quote:
Quote:
Quote:
--- If I missed anyone, sorry, please post again and let me know! -Brian |
MOD doesn't work if you install on a new 4.1.4 but works if you upgrade from previous version.
Reason: VB deleted couple of files from 4.1.3 to 4.1.4 and when this MOD is installed the whole page/site goes blank. Error log shows missing files and if you copy from 4.1.3 version, this should work! |
So, it is safe to assume this mod will not work with 4.1.7?
|
All times are GMT. The time now is 03:12 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:
|