vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - IWT - Time Spent Online (https://vborg.vbsupport.ru/showthread.php?t=238154)

kontagio.us 05-30-2010 10:13 PM

Thank you, works perfectly.

hubix 05-31-2010 08:37 AM

I want to take this condition:
Code:

<vb:if condition="$post['field10'] == 'Ja' OR $post['field10'] == ''">
because when i create the profilefield, there is no default setting. No choice for "yes" and no choice for "no".


For me it doesn?t works in the template "iwt_timespentonline_postbit"! In the template "postbit_legacy" it works! Hmmm...

Ideal Web Tech 05-31-2010 06:35 PM

Ah, yes, it won't work in iwt_timespentonline_postbit because the $post variable isn't registered into that template, so it has no knowledge of what it is.

calvinnguyen 06-01-2010 04:09 AM

It is working very good. Thank You IWT

hubix 06-01-2010 04:48 AM

Quote:

Originally Posted by Ideal Web Tech (Post 2046145)
Ah, yes, it won't work in iwt_timespentonline_postbit because the $post variable isn't registered into that template, so it has no knowledge of what it is.

And there is no workaround for it? :(

kontagio.us 06-01-2010 07:41 PM

Is there any way I can get it to say Time Online in the header template? I tried {vb:raw post.onlinestatus} but it just came up blank.

Dr.osamA 06-01-2010 11:53 PM

thanx for update dude

Ideal Web Tech 06-02-2010 03:29 AM

Quote:

Originally Posted by hubix (Post 2046363)
And there is no workaround for it? :(

Well you could edit the plugin that calls and populates the postbit template and do it in there, which is the way I would do it to keep the template from even being used for those people...

Quote:

Originally Posted by kontagio.us (Post 2046666)
Is there any way I can get it to say Time Online in the header template? I tried {vb:raw post.onlinestatus} but it just came up blank.

Right now, without editing/adding a plugin, there is no way to make it show in the header; however, we may keep it in mind for a new release.

kontagio.us 06-02-2010 04:46 AM

It would look really good with the "Advanced Header" plug-in I have running. (Replace last logged in with time online)

http://img534.imageshack.us/img534/9...viralarchi.png

hubix 06-02-2010 05:31 AM

Quote:

Originally Posted by Ideal Web Tech (Post 2046868)
Well you could edit the plugin that calls and populates the postbit template and do it in there, which is the way I would do it to keep the template from even being used for those people...

No, i couldn?t do it... Because i don?t know how :(


All times are GMT. The time now is 11:59 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.01602 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (4)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
  • (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