Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Honorable Member Details »»
Honorable Member
Version: 1.00, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-23-2006 Last Update: 01-25-2006 Installs: 76
DB Changes Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

Honorable Member 1.0 - (day / week /month / year)

Cerdits: Vb 3.0x Ver
Rigel Kentaurus (http://www.cemzoo.com)

Redesign:
Zachariah (http://www.gzhq.net)

################################################## ####################

This hack lets you "elect" @ random a Honorable Member.

The member is someone randomly picked from all the users in
your forum that met a certain criteria.

By default it appers in top of the forumhome. It is a nice way for members
of the forum to get to know each other.

DEMO - CMPS Block: Honorable Member

################################################## ####################
There is 2 Options to this Hack:
- Forumhome and/or CMPS
- CMPS (only)
- Do not install both XML files.

================================================== =====
1 Query added to page load.

File edit: 1-2
Upload: 1-2 file
Add: 1-2 templates
Plugins: 0-2

Tested on:
- vBulletin 3.5.3
- vBadvanced CMPS v2.0.0 (vB 3.5)
- PhotoPost vBGallery v1.0.1 (vB 3.5) - add-ons soon
================================================== =====


Shows: (At the moment)
- Member Name
- Avatar
- Post Count w/ link to show all posts
- Reputation Count
- Age
- Most active forum w/ link (forum the member posts in the most)

Options: (At the moment)

- Minimum posts that the user must have
- The user must had logged in the forum in the last x days
- The user must had posted in the forum in the last x days
- Minimum reputation the user must have
- If a user is elected he cannot be elected again in this number of days
- Your private or hidden forums so they are not shown in the "favorite forum"

To Do's:
- BBCodes
- Smiles
- Photopost vBGallery (links to Images and posts)
- Photopost other 3 products (links)
- VBPortal Block
- VBA Links (links ot submited)
- Any others?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-24-2006, 01:06 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am very busy @ the moment.
I will pop in and out of this hack @ odd times w/ Add-Ons and support.

Responce Time: 1-2 days

:rambo:


FAQ:

Q: Why don't the member's info update on the hack after selected ?
A: All the info is cached when the selection process is done. Updates to the member will not update untill they are selected again.

* How to move location of the FORUMHOME
* Place the block where you want on the FORUMHOME

Add-ons:
Soon

####################################

There is 2 Options to this Hack:
- Forumhome and/or CMPS
- CMPS (only)
- Do not install both XML files.

Template options:

forumhome_honorable
adv_portal_honorable

- $mday[userid] - User ID
- $mday[username] - Username
- $mday[usertitle] - Usergroup name
- $mday[birthday] - Date of B-Day
- $mday[age] - Age
- $mday[reputation] - User reputation
- $mday[posts] - Post count
- $mday[forumid] - Fav. forum ID
- $mday[forumname] - Fav. forum name
- $mday[fieldX] - X = profile Field # you wish to show up
- $mday[icq] , $mday[yahoo], $mday[aim], $mday[scype] - IM data
- $mday[styleid] - Style ID
- Many more (I'll list them later)

Everything about the person in tables:
- user
- userfield
- usertextfield

$mday[fieldname]
Reply With Quote
  #3  
Old 01-24-2006, 01:15 PM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks really cool, ill take a look at this later on
Reply With Quote
  #4  
Old 01-24-2006, 01:42 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to move location of the FORUMHOME.

To make it a hackless install (no template edits) this places a template on a unique "anchor" within the FORUMHOME template.

Code:
$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_honorable'),$vbulletin->templatecache['FORUMHOME']);
This says SEARCH for $navbar in template FORUMHOME and place template "forumhome_honorable" after.

Edit Plugin: Honorable Member: Forumhome

Find:
Code:
$search_text = '$navbar';
Change $navbar to where you wish to place the hack.

Anchor spots: (this will place in FORUMHOME)
$header - Above the Navbar
$navbar - Below the Navbar
<!-- what's going on box --> - Above what's going on box.
<!-- end what's going on box --> - Below what's going on box.

Many others explore :squareeyed:
(text / comment that is different than anything else in the template.)
Reply With Quote
  #5  
Old 01-24-2006, 02:25 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Place the block where you want

You will want to edit the forumhome template and place the block where you want vs. use an anchor:

Edit plugin: Honorable Member: Forumhome
Replace:
Code:
$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_honorable'),$vbulletin->templatecache['FORUMHOME']);
with

Code:
eval('$honorable = "' . fetch_template('forumhome_honorable') . '";');
Edit FORUMHOME: Place in location of choice.
Code:
$honorable
Reply With Quote
  #6  
Old 01-24-2006, 04:04 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for releasing a great hack such as this one!
Reply With Quote
  #7  
Old 01-24-2006, 09:31 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you!!

I've been waiting for this, can't wait to install it.
Reply With Quote
  #8  
Old 01-24-2006, 10:52 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think for starters, it would be easier if you broke the install details up completely, one set for if it is used without CMPS, and one set for if it is with CMPS. It's hard for me to pick out the differences.

Also, need to know about the other files - I assume we are uploading them into the proper directories, but you may just want to add that in as a step..

Going to try and install now and see how it goes
Reply With Quote
  #9  
Old 01-24-2006, 11:05 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jilly
I think for starters, it would be easier if you broke the install details up completely, one set for if it is used without CMPS, and one set for if it is with CMPS. It's hard for me to pick out the differences.

Also, need to know about the other files - I assume we are uploading them into the proper directories, but you may just want to add that in as a step..

Going to try and install now and see how it goes
Ya it's a mess
- Was burning some midnight oil.
- I'll break it up. (day or so)
- It's like the directions for for putting your kids new bike together @ the moment. :tired:
Reply With Quote
  #10  
Old 01-25-2006, 12:10 AM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it on the first try but I had to check my edits and read the installations instructions many times... LOL! Agreed Instructions needs refining but great job.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 04:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05195 seconds
  • Memory Usage 2,303KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete