vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Total posts on the first page to profile (https://vborg.vbsupport.ru/showthread.php?t=237725)

Allan 03-06-2010 10:00 PM

Total posts on the first page to profile
 
1 Attachment(s)
This mod add total posts to user on the first page to profile :)
  • In the "memberinfo_block_ministats" template, find:
PHP Code:

<dl class="stats">
                <
dt>{vb:rawphrase join_date}</dt>
                <
dd> {vb:raw prepared.joindate}</dd>
            </
dl

  • Add above:
PHP Code:

 <dl class="stats">
        <
dt>{vb:rawphrase messages}</dt>
        <
dd> {vb:raw prepared.posts}</dd>
    </
dl


Juggernaut 03-07-2010 04:52 PM

Thank you, installed. :D

Dr.osamA 03-07-2010 08:28 PM

thanxxx Allan

installed
________
SILVER SURFER VAPORIZERS

Hornstar 03-08-2010 04:45 AM

yeah I like it there, was annoying having to click an extra tab.

DNDJ 03-09-2010 11:35 AM

Thank you, installed...

Alecsmith 03-09-2010 11:48 AM

Installed good job allan

Jabong82 03-10-2010 02:14 AM

Hey great mod. One question though. This installed perfectly for me but instead of "posts" it says "messages". The post count is correct, it just says "messages". Do you know how I can fix this? Thank you again.

zeroality 05-09-2010 08:12 PM

I just installed this and same problem as above user, it says Messages but it also shows the wrong postcount. It shows I have 1 post when my count is 200+.

Doesn't look like this is supported. Ah well.

Edit: Disregard, I was looking at wrong profile. Yeah it works. I also changed Messages to Posts by simply replacing

Code:

<dt>{vb:rawphrase messages}</dt>
with

Code:

<dt>{vb:rawphrase posts}</dt>

Boofo 05-09-2010 08:41 PM

Allan, I just found out that the Total Posts is already in that template. It has just been commented out, for some reason.

Find:

Code:

<vb:comment>                        <dl class="stats">
                                <dt>{vb:rawphrase total_posts}</dt>
                                <dd> {vb:raw prepared.posts}</dd>
                        </dl></vb:comment>


and take the "vb: comment" tags out and the total posts show up above the Blog Entries.

LisaArnold 07-08-2011 05:31 AM

Thanks, works with vB 4.1.4 :)


All times are GMT. The time now is 09:43 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.01073 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete