vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Popular Members (Number of visitor) (https://vborg.vbsupport.ru/showthread.php?t=172928)

kaptanblack 03-12-2008 10:00 PM

Popular Members (Number of visitor)
 
Popular Members

You can put popular members at forumhome with this plugin.

Mark as Installed - Nominate for MOTM

Install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-pmembers.xml' from your computer then press 'Import'...

Find in FORUMHOME Template:

Code:

<if condition="$show['activemembers']">,
                                        <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                                </if>

Add under:

Code:

<if condition="$vboptions['pmembers_enable']">
<br />
$vbphrase[pmembers_p]: $pmembers
</if>


Go to your admin cp, then:
vBulletin Options -> Popular Members ->

Modifications Info

Plugin : 2
Phrases : 7
Template : 1
Setting : 2

Versions:
v1.0 - 4 March 2008
- First release

7lanet 03-13-2008 06:41 PM

thankssss

demo

http://www.7lanet.com/vb/index.php

Forum Lover 03-13-2008 07:09 PM

Nice hack, can i put it at the top of memberlist.php? If so, what will be the code for it?

NeuroLancer 03-13-2008 09:05 PM

How is the popular member created? What is the criteria? Visitor number? Does it mean number of visits?

Zaiaku 03-14-2008 04:50 AM

Quote:

Originally Posted by NeuroLancer (Post 1464133)
How is the popular member created? What is the criteria? Visitor number? Does it mean number of visits?

Same question I was wondering this aswell.

NeuroLancer 03-14-2008 06:38 AM

Quote:

Originally Posted by Zaiaku (Post 1464393)
Same question I was wondering this aswell.

Yeah.

... you know we could install it and find out, but I love a good mystery ;)

MrEyes 03-14-2008 02:32 PM

Quote:

Originally Posted by NeuroLancer (Post 1464419)
but I love a good mystery ;)

It uses the profile visit hit counter.

Good idea....

however I don't think that VB tracks hits on IP or similar which means that the more devious members will open their profile and hammer the F5 key to get their name on the stats.

maidos 03-14-2008 07:00 PM

i wanna change this

(Visitor: 188)

to

(Visitors: 188)

Hasann 03-14-2008 07:09 PM

Quote:

Originally Posted by NeuroLancer (Post 1464133)
How is the popular member created? What is the criteria? Visitor number? Does it mean number of visits?

yes he means number of profile visits :)

populer members created with most profiles visits

NeuroLancer 03-14-2008 08:23 PM

Quote:

Originally Posted by Hasann (Post 1464791)
yes he means number of profile visits :)

populer members created with most profiles visits

Thanks for explaining.

Thank you kaptanblack this is good :D

I had an idea, instead of profile views it could use 'friendcount' from the user table

Edit: For anyone that wants to use my idea (hope kaptanblack does not mind), ive added the xml, its the exact same plugin only difference is it displays popularity by friend count instead of profile visits i.e how many friends (this is not my work, i changed maybe 2 words)

I set it up with a new phrase name so you can install both and alter their names if you wish, just use $vbphrase[pmembers_p_friends] instead of $vbphrase[pmembers_p] in the instructions in the first post


All times are GMT. The time now is 12:58 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.01066 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)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
  • (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