vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vBulletin CMS Widgets - Widget: Top 5 Posters this Month (https://vborg.vbsupport.ru/showthread.php?t=230793)

Bergler 01-04-2010 02:11 AM

Got this from another thread and this worked!!

Quote:

Originally Posted by MicroHellas (Post 1937803)
Yes, sure. You can do it on 2 ways:

1.- Changing the "where" argument from WHERE usergroupid=2, to WHERE usergroupid=2 OR usergroupid=3 OR usergrooupid=7 . In this example we assume that you want to include members who belong to usergroups 2,3,7

2.- By using an array. At the top of the file add:
Code:

$grouparray = "2,3,7";
$groupids = explode(',',$grouparray);

Then change the "where" argument from WHERE usergroupid=2, to WHERE usergroupid IN ($groupids)

Maria


vividbreeze 01-05-2010 06:52 PM

Hey, lets say it picks top 5 posters of Jan, what happens when Feb 1 hits? Will it start everyones count back down to ZERO so we can see who are the top posters EACH month so some ppl dont have a head star advantage?

thanks!

tazattitude 01-05-2010 07:27 PM

Yes it restarts every month

MaryTheG(r)eek 01-11-2010 03:19 PM

Due to lack of free time, I must decrease the time that I'm spending here for support. By having a long thread for each of my 16 mods, most often I'm bypassing questions. That's why for urgent questions please visit my site, where it's easier to support you, by having a thread per question.

Thank you
Maria

RedHacker 02-02-2010 05:23 AM

Thanks but i have one problem.. If the avatar are big image not look fine..
How to fix....?

tazattitude 02-02-2010 09:04 AM

Quote:

Originally Posted by RedHacker (Post 1972806)
Thanks but i have one problem.. If the avatar are big image not look fine..
How to fix....?

I would think that if you changed this line

PHP Code:

<img border="0" src="'.$useravatar.'"><br /> 

to

PHP Code:

<img border="0" width="100" src="'.$useravatar.'"><br /> 

this should take care of it.

RedHacker 02-02-2010 09:11 AM

Quote:

Originally Posted by tazattitude (Post 1972892)
I would think that if you changed this line

PHP Code:

<img border="0" src="'.$useravatar.'"><br /> 

to

PHP Code:

<img border="0" width="100" src="'.$useravatar.'"><br /> 

this should take care of it.

Thanks very much...

RedHacker 02-09-2010 09:38 AM

Problem with FF2 and show the numbers of posts

https://vborg.vbsupport.ru/external/2010/03/66.jpg

leeman 02-12-2010 03:36 PM

How to fix this??

I changed limit from 5 to 10 and this poped in.

neudimenxion 03-10-2010 05:47 AM

Quote:

Originally Posted by RedHacker (Post 1978160)
Problem with FF2 and show the numbers of posts

https://vborg.vbsupport.ru/external/2010/03/66.jpg

i'vw got the same problem too.


All times are GMT. The time now is 11:40 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.02035 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)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