![]() |
Hall of Fame - Top vBExperience Members - Widget, Forum Block and VBA CMPS Module
1 Attachment(s)
On my site running vBExperience 4, I needed to have a CMS Widget and Forum Block showing Top Members, aptly named as Hall of Fame. So I wrote this one. This is not a standalone widget and it is only tested with vBExperience 4 and vBulletin 4.0.6. I will try and help if you have any issues but I can't guarantee support.
What this does: Not much... :) This is totally based on the need of my site where I wanted to show member's avatar's besides their names, titles and Experience Points. So that's all this will show. If you need anything more you will have to change the Query. INSTALL INSTRUCTIONS 1) Add the CSS which we will use Styles & Templates > select style > Edit Template > CSS Templates > additional.css Add the below CSS Before you add the CSS, a very important point to note is that I use a 300px sidebar column on CMS and 300px sidebar on Forums. If your CMS/Forum sidebar column is of less width, you should change the CSS values accordingly. I highly recommend playing with Firebug to arrive at optimum Display. HTML Code:
.clearfix { For Widget: Styles & Templates > select style > Add Template Title - vbcms_widget_execphp_hof Template code - HTML Code:
<div class="cms_widget"> Styles & Templates > select style > Add Template Title - block_hof Template code - HTML Code:
<li> 3) Cache Templates Plugins & Products > Add New Plugin > leave everything default except: Hook Location - cache_templates Title - Cache templates for Hall of Fame Plugin PHP code - PHP Code: PHP Code:
4) Create a new Widget vBulletin CMS > Widgets > Create New Widget Widget Type - PHP Direct Execution Title - Hall of Fame SAVE 5) Configure the Widget Now go to vBulletin CMS > Widgets > Hall of Fame > Configure Change the Template Name to - vbcms_widget_execphp_hof Add the following code PHP Code:
Save 6) Add the widget to a proper layout. 7) Create New Forum Block Forums & Moderators > Forum Blocks Manager > Add Block Block Type - Custom Html/PHP Title - Hall of Fame Content Type - PHP Content - Add this PHP Code PHP Code:
Change template to use block_hof Save Save a proper Display Order Of course, I use both CMS Widget and Forum block, you may use either only one. :) VBAdvanced CMPS Module is attached. Thanks to DS MrSinister who provided this. Working Demo can be seen on my site : Oracle Forums Community. Screen shots not attached as don't want to show my member's avatar's here. Hope someone uses this... lol... :) |
any luck making this to work with vBadvanced CMPS? i am sure there are people will be asking for it also. thanks for sharing.
|
Quote:
|
Hi...All my avatars are showing like unknown avatars.
Any idea? |
Quote:
|
Np...i wait :D
Ty a lot in advance :D |
Nice 1 cheers
Just changed the avatar for users with none selected but will await the image.php you say |
Quote:
Quote:
Quote:
Thanks |
wow thanks. thought you would not posted a fixed until much later. i am still trying to figure out how to get this to work with vbadvanced. still not luck yet. my skills are still not that good yet.
|
Quote:
|
Thanksd mate
Looking good |
Ty u for the update Sadikb.
|
installed thanks
|
Quote:
Quote:
Quote:
|
I have referenced this widget in my readme. Thank you for sharing.
|
Thanks man!! Good job
//edit Not working widget cms. I see a small square Any idea? |
Quote:
|
Quote:
Quote:
Quote:
Edit: Sorry I just noticed. Have fixed the Widget Php code. Please again copy-paste the widget php code. It should be working now. Thanks |
1 Attachment(s)
OK this is the best i can do with my limited knowledge of php and vba.
Hall Of Fame for vBadvanced CMPS. also attach screen shot so you can see what it looks like. enjoy. if anyone wants to clean it up some feel free. Sadikb. feel free to added it to the main post or what ever you would like to do.. |
Quote:
|
very welcome sir.. thanks for adding it.
|
Is it possible to only allow a set number of usergroups ?
|
This is an interesting MOD, in deed. But has to many MySQL DB querys - unninstalled :(
|
I dont use the cms of vb4 can i do this just for the forum block?
|
Quote:
|
Awesome thanks!
|
installed and workin great, quick question though, is there any way to reduce the size of the avatars ?
|
Quote:
|
Quote:
|
All times are GMT. The time now is 05:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|