Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hall of Fame - Top vBExperience Members - Widget, Forum Block and VBA CMPS Module Details »
Hall of Fame - Top vBExperience Members - Widget, Forum Block and VBA CMPS Module
Mod Version: 1.1, by Sadikb (Coder/Designer) Sadikb is offline
Developer Last Online: Nov 2020 I like it Show Printable Version Email this Page

vB Version: 4.0.6 Rating: (2 votes - 5.00 average) Installs: 21
Released: 18 Sep 2010 Last Update: 29 Sep 2010 Downloads: 70
Supported Uses Plugins Template Edits Re-usable Code Translations  

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.



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

2) Create a new Templates

For Widget:

Styles & Templates > select style > Add Template
Title - vbcms_widget_execphp_hof
Template code -


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

For Forum Block:

Styles & Templates > select style > Add Template
Title - block_hof
Template code -


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

I usually remove the atrocious PHP/HTML icons that appear beside widget and block headings.

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:

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

Plugin is Active - Yes

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

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

You can change $member_count to as many members as you want to display.

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


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

Again, You can change $member_count to as many members as you want to display.

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...

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Hall of Fame Coroner vBulletin 3.7 Add-ons 4 25 Feb 2009 00:05
Administrative and Maintenance Tools Search for Best Posts, Worst Posts (Post Hall of Fame, Hall of Shame) AngelBlue Modification Graveyard 7 31 Aug 2008 00:21

Comments
  #2  
Old 18 Sep 2010, 19:50
DS MrSinister's Avatar
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
any luck making this to work with vBadvanced CMPS? i am sure there are people will be asking for it also. thanks for sharing.
Reply With Quote
  #3  
Old 18 Sep 2010, 19:53
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Originally Posted by DS MrSinister View Post
any luck making this to work with vBadvanced CMPS? i am sure there are people will be asking for it also. thanks for sharing.
Ah... sorry mate, haven't got vbAdvanced installed. Shouldn't be difficult to make though, given that the php code is already there. By the way I have marked the code re-usable so anyone who has vBA can go ahead and make one.
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #4  
Old 18 Sep 2010, 21:05
Aramist Aramist is offline
 
Join Date: Apr 2006
Hi...All my avatars are showing like unknown avatars.

Any idea?
Reply With Quote
  #5  
Old 18 Sep 2010, 21:37
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Originally Posted by Aramist View Post
Hi...All my avatars are showing like unknown avatars.

Any idea?
Yes... Should have seen this coming... My avatar's are in the database. The avatar url through image.php is probably not working for you. Will check in the morning... It's 3 am here...
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #6  
Old 18 Sep 2010, 21:44
Aramist Aramist is offline
 
Join Date: Apr 2006
Np...i wait

Ty a lot in advance
Reply With Quote
  #7  
Old 18 Sep 2010, 23:20
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Nice 1 cheers

Just changed the avatar for users with none selected but will await the image.php you say
Reply With Quote
  #8  
Old 19 Sep 2010, 04:35
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Smile

Originally Posted by Aramist View Post
Hi...All my avatars are showing like unknown avatars.

Any idea?
Originally Posted by Aramist View Post
Np...i wait

Ty a lot in advance
Originally Posted by betts02 View Post
Nice 1 cheers

Just changed the avatar for users with none selected but will await the image.php you say
Avatar Issue Fixed. Please change the PHP Code in Widget/Forum Block.

Thanks
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #9  
Old 19 Sep 2010, 04:45
DS MrSinister's Avatar
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
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.
Reply With Quote
  #10  
Old 19 Sep 2010, 05:17
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Originally Posted by DS MrSinister View Post
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.
I haven't used vbA in a long time. How does vbA create a new php module? Does it allow you to? If yes, what you need to do is first put in the php code from the widget into vbA php module. Once you have the php running (check by echoing), it's a question of displaying the variable in html.
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #11  
Old 19 Sep 2010, 11:49
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
Thanksd mate

Looking good
Reply With Quote
  #12  
Old 19 Sep 2010, 15:09
Aramist Aramist is offline
 
Join Date: Apr 2006
Ty u for the update Sadikb.
Reply With Quote
  #13  
Old 20 Sep 2010, 07:15
warrior uw warrior uw is offline
 
Join Date: Sep 2010
installed thanks
Reply With Quote
  #14  
Old 21 Sep 2010, 09:36
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Originally Posted by gwerzal View Post
Thanksd mate

Looking good
Originally Posted by Aramist View Post
Ty u for the update Sadikb.
Originally Posted by warrior uw View Post
installed thanks
You are welcome!
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #15  
Old 21 Sep 2010, 10:05
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Real name: Marius
I have referenced this widget in my readme. Thank you for sharing.
Reply With Quote
Reply


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

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 15:55.

Layout Options | Width: Wide Color: