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)
-   -   Profile Enhancements - Date & Time of Profile Visitor vB 4.0.x Series (https://vborg.vbsupport.ru/showthread.php?t=237963)

Amaury 08-01-2013 01:17 PM

Does this work in vBulletin 4.2.1?

goxy63 09-09-2013 10:38 PM

Quote:

Originally Posted by Amaury (Post 2436521)
Does this work in vBulletin 4.2.1?

nope :[

Zoul 09-15-2013 11:23 AM

Hello
is it possible to have an update for version 4.2.1 please

Info:
the new template would be:
memberinfo_block_recentvisitors

and part add:
Code:

<li> <a class="username" href="{vb:link member,{vb:raw row}}" title="{vb:raw userdateline}"> {vb: raw row.musername} </ a> {vb: raw row.invisiblemark} {vb: raw row.buddymark} {vb: raw row.comma} </ li>
for the rest of the installation, I can not find a solution ...

in the file:
class_profileblock.php
this line does not exist anymore ...
Code:

$ visitorbits = $ templater-> render ();
Could anyone help?

mokujin 07-05-2014 02:45 PM

1 Attachment(s)
Here is the instruction for vb 4.2.2

Download and import the plugin by author or mine.

Step 1: Edit template memberinfo_block_recentvisitors

Find:
HTML Code:

<li><a class="username" href="{vb:link member,{vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.invisiblemark}{vb:raw row.buddymark}{vb:raw row.comma}</li>
And add red code to a tag, then should look like this:
Quote:

<li><a class="username" href="{vb:link member,{vb:raw row}}" title="{vb:raw row.date}, {vb:raw row.time}">{vb:raw row.musername}</a>{vb:raw row.invisiblemark}{vb:raw row.buddymark}{vb:raw row.comma}</li>

Step 2: Edit file ./includes/class_profileblock.php

Find at line 1222:

PHP Code:

$user['buddymark'] = in_array($user['userid'], $buddylist) ? '+' ''

Add below:
PHP Code:

      $user['date'] = vbdate($this->registry->options['dateformat'], $user['dateline']);
      
$user['time'] = vbdate($this->registry->options['timeformat'], $user['dateline']); 

Save and done.

Tested, worked.

Now, it's time to watch World Cup Argentina vs Belgium :D

goxy63 07-05-2014 08:21 PM

@mokujin

Thank you very much, works great now :)

Cheers


All times are GMT. The time now is 06:55 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.01202 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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