Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Jul 2011, 19:16
ravel123 ravel123 is offline
 
Join Date: Feb 2011
Lightbulb Display most active users

Hi,

i am using vBulletin 4.1.4. I am looking for a solution how to reward users that are posting threads and answering to threads in my forum.
Basically I need to publicly display who posted created the most threads/answered to the most threads per week - so i can reward that user somehow.

I have tested vbExperience but its not working with vBulletin 4.1.4. The post counter is incorrect.
Reply With Quote
  #2  
Old 12 Jul 2011, 20:22
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
Create New Plugin:

Hook: forumhome_complete
Title: Most Actived Member Of The Week
Execution Order : 5

Code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Now To Display Username of the Most Active Member

Use:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Badshah93; 12 Jul 2011 at 20:28.
Reply With Quote
  #3  
Old 12 Jul 2011, 20:53
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Is there a way to do this to show in the Sidebar/Forum Blocks ??
Reply With Quote
  #4  
Old 12 Jul 2011, 21:11
ravel123 ravel123 is offline
 
Join Date: Feb 2011
Thanks it works!

It would be cool to display the username as a link which opens the context menu. exactly like clicking a username in the forum.
you have an idea how to manage this?
Reply With Quote
  #5  
Old 12 Jul 2011, 21:24
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
Originally Posted by rammieone View Post
Is there a way to do this to show in the Sidebar/Forum Blocks ??

Open Forum Block Manager

Create a new block -> type -> Custom Html (if you already have some block which is Custom HTML type and you want to add in that, then edit that block else create new block)

type: PHP

Content:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Now You need to create a template

Title: mostactivemember


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.






Originally Posted by ravel123 View Post
Thanks it works!

It would be cool to display the username as a link which opens the context menu. exactly like clicking a username in the forum.
you have an idea how to manage this?

Replace The Plugin Content With This


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and use


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where you want in FORUMHOME TEMPLATE

Last edited by Badshah93; 12 Jul 2011 at 21:55.
Reply With Quote
  #6  
Old 12 Jul 2011, 22:06
ravel123 ravel123 is offline
 
Join Date: Feb 2011
Thank you very much. It works great
Reply With Quote
  #7  
Old 13 Jul 2011, 05:20
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Thanks Sherif Worked a treat!
Reply With Quote
  #8  
Old 13 Jul 2011, 11:24
ravel123 ravel123 is offline
 
Join Date: Feb 2011
I have another question related to this topic.

If no threads have been created this week. I dont want to show the message.

So i tried the following condition with no success:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #9  
Old 13 Jul 2011, 11:29
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
Originally Posted by ravel123 View Post
I have another question related to this topic.

If no threads have been created this week. I dont want to show the message.

So i tried the following condition with no success:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
script counts post not the thread..

u can use this condition

<vb:if condition="$mostactive[count] > 0">
my message
</vb:if>
Reply With Quote
  #10  
Old 04 Aug 2011, 18:35
mikeinjersey mikeinjersey is offline
 
Join Date: Feb 2006
there isn't a plugin for this anywhere ?

I think it's also a good idea to reward back users and moderators..to keep them active on the forum.

I guess the Moderator part, I can pick from the Admin CP and seeing how much moderating they've done for the month...

would be nice if there was a plugin to put everything together though.

I'd make an announcement once a month in our announcement section...showing the most active users and moderators.

--------------- Added 04 Aug 2011 at 23:04 ---------------

anybody ?

tryin to get a quick reply...otherwise i'll just make the changes specified in this thread.

Last edited by mikeinjersey; 04 Aug 2011 at 23:04.
Reply With Quote
  #11  
Old 05 Aug 2011, 16:25
qpurser qpurser is offline
 
Join Date: Aug 2011
I tried to add this but got an error.
Any help why this is happening?
Thanks

Database error in vBulletin 4.1.5:

Invalid SQL:
select count(postid) as count, post.userid, user.username from V4post INNER JOIN V4user on user.userid = post.userid where post.dateline > 1311952983 GROUP BY post.userid ORDER BY count DESC LIMIT 1;

MySQL Error : Unknown column 'post.userid' in 'field list'
Error Number : 1054
Request Date : Friday, August 5th 2011 @ 11:23:03 AM
Error Date : Friday, August 5th 2011 @ 11:23:04 AM
Script : http://xxx.com/V4/forum.php
Referrer : http://xxx.com/V4/forum.php
IP Address :
Username :
Classname :
MySQL Version : 5.0.91-log
Reply With Quote
  #12  
Old 20 Jan 2020, 20:29
mchll9898 mchll9898 is offline
 
Join Date: Dec 2009
Originally Posted by Badshah93 View Post
Create New Plugin:

Hook: forumhome_complete
Title: Most Actived Member Of The Week
Execution Order : 5

Code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Now To Display Username of the Most Active Member

Use:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I know this is old, but maybe someone can help. This works great - I have vb 4.2.5.

I was wondering what I would need to add to the code to exclude my user id, so I'm not showing up as the most active member of my site.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display all active/online users on forumdisplay Gary King vBulletin 2.x Full Releases 8 22 Nov 2003 15:53



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:40.

Layout Options | Width: Wide Color: