vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Number of threads in user profile (https://vborg.vbsupport.ru/showthread.php?t=99530)

Lea Verou 10-27-2005 10:00 PM

Number of threads in user profile
 
This little plugin displays the number of threads that a user has made in his profile.

Instructions
1. Import the attached plugin.
2. In the template MEMBERINFO:
Find:
HTML Code:

<td>
                        $vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
                    </td>

Change with:
HTML Code:

<td>
                        $vbphrase[total_posts]: <strong>$userinfo[posts]</strong> | Total threads: <strong>$threadcount[count] (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
                    </td>


kittykattjess 10-28-2005 05:34 PM

Well done ;) will this show in the profile in the post as well? lol

kittykattjess 10-28-2005 05:38 PM

Where is the profile.xml in the folders? which one lol.. I am not sure how to do this lol.. can you help a little?

Lea Verou 10-28-2005 05:42 PM

It will only show in the profile. I'll have to make a different plugin for it to show in the postbit.

You just go to plugin Manager > Download/Upload plugins and then upload the threadcount_in_profile.xml . There is no profile.xml involved, where did you see that? :confused:

kittykattjess 10-28-2005 07:05 PM

sorry lol.. I am a bit daft with these things...

Download
threadcount in profile.xml

do I have to make a file called that or add whats in there, as its nothing being downloaded when I click on the link, all I get is a page with some code in it and thats it. How do I add it to what?
lol sorry.

Lea Verou 10-28-2005 07:11 PM

Left click on the link and select "Save target as..." :)

SnowBot 10-28-2005 08:11 PM

hehe i was just working on this :) Thanks man saved me a job :)

kittykattjess 10-28-2005 09:01 PM

its not happening for me.. :( lol

Extreme John 10-28-2005 09:03 PM

That was nice and easy and I love thank you :)

kittykattjess 10-28-2005 09:08 PM

woohoo I loaded it up but I cant find memberinfo anywhere... where is that one?


All times are GMT. The time now is 12: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.01059 seconds
  • Memory Usage 1,726KB
  • 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_html_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
  • (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