vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Time/Days spent on board (https://vborg.vbsupport.ru/showthread.php?t=134091)

kelekian 01-23-2007 06:24 PM

installed in vb 3.6.4 and dont work too ;S

hurik 01-23-2007 10:59 PM

hmmm ... have you checked the template changes?

1.
Search in the postbit_legacy template for:
--------------------------------------------------------------------------------
HTML Code:

                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>

--------------------------------------------------------------------------------

and replace it with:
--------------------------------------------------------------------------------
HTML Code:

                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>
                                <if condition="$show_p_tdob">
                                        <div>
                                                $vbphrase[tdob_time_on_board]: <if condition="$post['timeonboard'] >= 1"><if condition="$show['timespentyears']">$timeboardspent[year] <if condition="$timeboardspent[year] == 1">$vbphrase[year]<else />$vbphrase[years]</if>, </if><if condition="$show['timespentmonths']">$timeboardspent[month] <if condition="$timeboardspent[month] == 1">$vbphrase[month]<else />$vbphrase[months]</if>, </if><if condition="$show['timespentweeks']">$timeboardspent[week] <if condition="$timeboardspent[week] == 1">$vbphrase[week]<else />$vbphrase[weeks]</if>, </if><if condition="$show['timespentdays']">$timeboardspent[day] <if condition="$timeboardspent[day] == 1">$vbphrase[day]<else />$vbphrase[days]</if> $vbphrase[tdob_and] </if>$timeboardspent[hour]:<if condition="$timeboardspent[min]<10">0$timeboardspent[min]<else />$timeboardspent[min]</if>:<if condition="$timeboardspent[sec]<10">0$timeboardspent[sec]<else />$timeboardspent[sec]</if> $vbphrase[hours]<else />$vbphrase[tdob_nodata]</if>
                                        </div>
                                </if>

--------------------------------------------------------------------------------

2.
Search in the postbit template for:
--------------------------------------------------------------------------------
HTML Code:

                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>

--------------------------------------------------------------------------------

and replace it with:
--------------------------------------------------------------------------------
HTML Code:

                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>
                                <if condition="$show_p_tdob">
                                        <div>
                                                $vbphrase[tdob_time_on_board]: <if condition="$post['timeonboard'] >= 1"><if condition="$show['timespentyears']">$timeboardspent[year] <if condition="$timeboardspent[year] == 1">$vbphrase[year]<else />$vbphrase[years]</if>, </if><if condition="$show['timespentmonths']">$timeboardspent[month] <if condition="$timeboardspent[month] == 1">$vbphrase[month]<else />$vbphrase[months]</if>, </if><if condition="$show['timespentweeks']">$timeboardspent[week] <if condition="$timeboardspent[week] == 1">$vbphrase[week]<else />$vbphrase[weeks]</if>, </if><if condition="$show['timespentdays']">$timeboardspent[day] <if condition="$timeboardspent[day] == 1">$vbphrase[day]<else />$vbphrase[days]</if> $vbphrase[tdob_and] </if>$timeboardspent[hour]:<if condition="$timeboardspent[min]<10">0$timeboardspent[min]<else />$timeboardspent[min]</if>:<if condition="$timeboardspent[sec]<10">0$timeboardspent[sec]<else />$timeboardspent[sec]</if> $vbphrase[hours]<else />$vbphrase[tdob_nodata]</if>
                                        </div>
                                </if>

--------------------------------------------------------------------------------

3. activate the postbit display: admin controll panel -> "vBulletin Options" -> "Thread Display Options (showthread)" -> the last option.

davis31b 01-24-2007 12:10 AM

yup.. still doesn't work on 3.6.4, thats like 3 people its not working for:(

hurik 01-24-2007 11:58 AM

Quote:

Originally Posted by davis31b (Post 1166112)
yup.. still doesn't work on 3.6.4, thats like 3 people its not working for:(

did you really activate the postbit display in the admin control panel? you find the option under "vBulletin Options" -> "Thread Display Options (showthread)" -> "Time/Days on board - Postbit time display" (the last option).

i have tested it on my board and on my testboard at it works fine ...

hurik 01-26-2007 12:53 PM

hi,

i have uploaded version 1.1.3.

it fixes this problems:
- Again a stats fix.
- Small changes in the template changes.
- Who's Online display now working.

is someone using the postbit display and it works for him?

next week i will include the usergroup managment.

davis31b 01-26-2007 02:24 PM

its unfortunately still not working..

however.. their is another Time Spent on Board thread for 3.6.4 & its working just fine for me. But thanks for your effort.

BOLT 01-26-2007 05:43 PM

Like I asked in the other thread, how do I make it so only admins can see this feature?

hurik 01-26-2007 06:30 PM

Quote:

Originally Posted by BOLT (Post 1167901)
Like I asked in the other thread, how do I make it so only admins can see this feature?

this feature will come in the next version.

Rickie3 01-27-2007 02:23 AM

installed but same for me wont show in postbit nor legacy even after activating Thread Display Options (showthread)

bada_bing 01-29-2007 07:15 PM

Will try once the next version is release with the usergroup options. also can you make it so the plugin changes the templates also rather then a manual edit?


All times are GMT. The time now is 01:42 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.01145 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_html_printable
  • (2)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