Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Ultimate Header Greeting for vB 4 Details »»
Ultimate Header Greeting for vB 4
Version: 1.0.7, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 06-13-2010 Last Update: 05-17-2012 Installs: 128
Uses Plugins Auto-Templates
 
No support by the author.

Ultimate Header Greeting for vB 4
Version 1.0.7
(By Boofo)

What does this product do?
This product adds an Ultimate Greeting to the header set to each member's local time, instead of the server time, as well as showing the user's real name, if one is available, in the header and the postbit. It also adds the options to automatically check the 'Register Rules Agree' and 'Remember Me' checkboxes.

Version Information:
Version 1.0.0 --Initial release for vB 4
Version 1.0.1 --Added "Ultimate Header Greeting Font Color" setting and made greeting text bold so it matches the line better.
Version 1.0.2 --Added "New User Profile Field" instructions for the real name to the install file. The Real name will now show both in the header and the postbit, if it is available.
Version 1.0.3 --Added option to check "Register Rules Agree" checkboxes separately from the "Remember Me" checkboxes. Added STANDARD_ERROR templates "Remember Me" checkboxes automatic templates edits.
Version 1.0.4 --Fixed issue with phrases and real name not showing properly for some language translations if you had more than one language installed. Added "Sunday brunch" greeting for Sunday at 11:00 am. The lunch greeting will not be shown on Sunday, but will show on all the other days.
Version 1.0.5 --Removed font color setting and added Style Variable setting for the Ultimate Header Greeting Font Color, so it can be set for each style separately.
Version 1.0.6 --Added CSS code so the username is now in the same color as the welcome greeting. Added setting to remove the "My Profile" link from the header, since clicking on the username/real name in the welcome greeting will already take you to your profile. Added birthday greeting that will show all day on each member's birthday. Added setting to turn the birthday greeting on/off.
Version 1.0.7 --Expanded setting to remove the "My Profile" link from the header and/or navbar templates since some designers insist on moving the link to places it shouldn't be moved to. Hopefully, this will allow more custom styles to be able to use this setting without having to manually edit the templates.

Credits:
A big thank you goes out to Dragonsys for supplying me with a backup of my "Ultimate Navbar for vB3.7" mod, on which this is based.

Installation overview:
-------------------------------
1 Product XML (3 Plugins, 30 phrases, 6 settings and 1 Style Variable)

-------------------------------
Installation Instructions:
-------------------------------
1. Add the following code to the bottom of the additional.css template:

.boofo_uhg_fontcolor, .boofo_uhg_fontcolor a, .boofo_uhg_fontcolor a:link, .boofo_uhg_fontcolor a:visited {
font-weight: bold !important;
color: {vb:stylevar boofo_uhg_fontcolor} !important;
}

2. Go to your Admin CP
Scroll down to 'Plugin System'
Click "Manage Products"
Click "Add/Import Product"
Click the "Browse" button, and locate the product-boofo_ultimate_header.xml file on your computer

[OPTIONAL]
3. Go to your Admin CP
Scroll down to "User Profile Fields"
Click "Add New User Profile Field"
Choose "Single-Line Text Box" for Profile Field Type
Enter the following information:

Title: Real Name
Description: Enter your real name here.

Profile Field Type: Single-Line Text Box
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Which page displays this option? Edit Profile

NOTE: These are my settings. Your mileage may vary.


4. Go to your Admin CP -> vBulletin Options -> "Ultimate Header Greeting" and set the following options:
--Enable the Ultimate Header Greeting: Click Yes to enable the "Ultimate Header Greeting". (Default is 'No')
--Real Name Profile Field Number: Enter the profile field number for the Real Name, if you have one. Otherwise, leave this option set at 0. (Default is '0')
--Remove My Profile Link in Header: Click Yes to remove the "My Profile" link in header. (Default is 'No')
--Check Remember Me Boxes: Click Yes to check the "Remember Me" boxes automatically. (Default is 'No')
--Check Register Rules Agree Boxes: Click Yes to check the "Register Rules Agree" boxes automatically. (Default is 'No')
--Show Birthday Greeting: Click Yes to show the birthday greeting all day to each member on their birthday. (Default is 'No')

5. Go to your Admin CP -> Styles & Templates -> Style Manager -> StyleVars (In the All Style Options drop-down) -> Boofo -> boofo_uhg_fontcolor
Enter the color code of the font color that you want the greeting to show up in. -- Default is #FFF099 (Because I'm too lazy to remember the default color for my own site.)

NOTE: You will need to do this for all styles.
-------------------------------

Done!
Enjoy!


Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}

Download Now

File Type: zip Ultimate_Header_Greeting_vb4.zip (5.2 KB, 211 views)

Screenshots

File Type: png ultimate_header_greeting.png (3.2 KB, 0 views)
File Type: png birthday.png (4.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
BCP Hung, elsa23, Hugh_P, Schoelle

Comments
  #102  
Old 05-20-2012, 01:40 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From the first post and install file:

Quote:
5. Go to your Admin CP -> Styles & Templates -> Style Manager -> StyleVars (In the All Style Options drop-down) -> Boofo -> boofo_uhg_fontcolor
Enter the color code of the font color that you want the greeting to show up in. -- Default is #FFF099 (Because I'm too lazy to remember the default color for my own site.)

NOTE: You will need to do this for all styles.
Reply With Quote
  #103  
Old 05-20-2012, 01:46 PM
LLent LLent is offline
 
Join Date: Aug 2010
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i understand boofo to me this is pia doing each style i would like something more universal an option in the acp in the settings would be great
Reply With Quote
  #104  
Old 05-20-2012, 01:58 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it that way at fist but there were too many sites that had dark and light styles that wanted a separate style variable for the color so the colors would look right in each style.
Reply With Quote
Благодарность от:
LLent
  #105  
Old 05-20-2012, 02:05 PM
LLent LLent is offline
 
Join Date: Aug 2010
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I did it that way at fist but there were too many sites that had dark and light styles that wanted a separate style variable for the color so the colors would look right in each style.
could you give us that option to download each file i personally like it universal i would of loved it your orginal way or first way ... i have light and dark skins and would choose one color that looks best imo

and again love this mod you did an excellent job
Reply With Quote
  #106  
Old 05-20-2012, 02:07 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have the old file. This is all I have now.
Reply With Quote
  #107  
Old 09-17-2015, 10:49 AM
Techno Cowboy's Avatar
Techno Cowboy Techno Cowboy is offline
 
Join Date: May 2014
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed & Working Nicely On vB 4.2.3
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 12:10 AM.


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.08312 seconds
  • Memory Usage 2,305KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (5)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (3)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete