The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Show TOP Reputation Poster
Hi,
I would like to show the Top reputation poster on my board. Preferably on the sidebar. Is there a way? |
#2
|
||||
|
||||
Yes, you will need to create a new "Forum Block."
Follow: AdminCP -> Forums & Moderators -> Forum Blocks Manager At the bottom of the form, click "Add Block". From the drop-down menu for "Select Block Type", choose "Custom HTML/PHP" then click "Continue". You will be presented with a form for defining your new block. Give it a title, such as "Top 5 Reputations" and a description. I recommend caching the block for at least 60 minutes, this way the database need only be queried once an hour. Set the display order so that it shows where you desire in the sidebar. For "Content Type" select "PHP". And for the content, add the following code: PHP Code:
PHP Code:
Note: Users who have elected to hide their reputations will not be displayed. It only makes sense to honor this setting here. Also, banned users are excluded. If you have any changes to the way the users are displayed, please let me know. The usernames are shown with their username markup, and link to their profiles. |
#3
|
||||
|
||||
Quote:
can also avatar be displayed? Also I want admin to be escluded from the list please |
#4
|
||||
|
||||
Quote:
PHP Code:
|
#5
|
||||
|
||||
Quote:
There is an avatar issue (check screenshot below) they should be all square Also I would disable the bullet points Thank you! |
#6
|
||||
|
||||
If you force the avatars to be square, then the aspect ratio of the images won't be preserved, and you will wind up with "squished" images. However, give this a try, and you'll see what I mean:
PHP Code:
|
#7
|
||||
|
||||
Quote:
Do you think it can be also made by top poster of the week, month and so? You should make it as an official mod Thanks dude |
#8
|
||||
|
||||
When I have more time, I will come up with a better solution for the avatars.
Yes, creating a forum block for the top posters for various time periods could be done...it's just a matter of coming up with the right db queries. Let me know exactly what you want, and I will see what I can do. |
#9
|
||||
|
||||
Ok what I have in mind is the box that I have now on my board's sidebar , with 3 different tabs:
- top reputation of the week - top reputation of the month - all time top reputation |
#10
|
||||
|
||||
I get a blank white page following the link you posted to your site. However, if you could create a mockup image of what you want this reputation block to ultimately look like, that would be a huge help in making certain I get what you want without having to make multiple changes.
Also, this would take some time, so it would be a while once I know exactly what you want before I would have the code ready. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|