![]() |
|
Thread Tools |
#1
|
|||
|
|||
![]()
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. No members have liked this post.
|
#2
|
||||||||
|
||||||||
Create New Plugin:
Hook: forumhome_complete Title: Most Actived Member Of The Week Execution Order : 5 Code
Now To Display Username of the Most Active Member Use:
No members have liked this post.
Last edited by Badshah93; 12 Jul 2011 at 20:28. |
#3
|
||||
|
||||
Is there a way to do this to show in the Sidebar/Forum Blocks ??
No members have liked this post.
|
#4
|
|||
|
|||
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? No members have liked this post.
|
#5
|
||||||||||||||||
|
||||||||||||||||
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:
Now You need to create a template Title: mostactivemember
Originally Posted by ravel123
![]()
Replace The Plugin Content With This
and use
where you want in FORUMHOME TEMPLATE The following members like this post: ravel123, ProFifaLeagues
Last edited by Badshah93; 12 Jul 2011 at 21:55. |
#6
|
|||
|
|||
Thank you very much. It works great
![]() No members have liked this post.
|
#7
|
||||
|
||||
Thanks Sherif Worked a treat!
No members have liked this post.
|
#8
|
||||
|
||||
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:
No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by ravel123
script counts post not the thread..![]()
u can use this condition <vb:if condition="$mostactive[count] > 0"> my message </vb:if> No members have liked this post.
|
#10
|
|||
|
|||
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. No members have liked this post.
Last edited by mikeinjersey; 04 Aug 2011 at 23:04. |
#11
|
|||
|
|||
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 No members have liked this post.
|
#12
|
||||||||
|
||||||||
Originally Posted by Badshah93
![]()
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. No members have liked this post.
|
![]() |
![]() |
||||
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 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:55.