vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - Navbar Change on new pm (https://vborg.vbsupport.ru/showthread.php?t=155718)

nix 08-19-2007 10:00 PM

Navbar Change on new pm
 
This will change the Navbar where the userinfo is to a different color when a user has a new pm.

This can be done with a simple template edit but I do this on so many forums I'm tired of doing the template edit every update. So this hack is born.

Install Info:
  1. Import the product.
  2. done.

See SS for example.

How to change the style:

I used the td.inlinemod class for the color effect. If you wish to use your own just create some custom CSS and add it in the additional CSS field in you style manager for the styles you use. You could also add a background image in your custom CSS for other effect.

To change the CSS go into the options page for this hack and where it says replacment text change the following:

Code:

<td class="inlinemod" valign="top" nowrap="nowrap">

Now you would replace the text in red "inlinemod" to your custom CSS. Depending on your style it would look something like this.

Code:

<td class="yourcss" valign="top" nowrap="nowrap">

tipoboy 08-20-2007 10:33 AM

thanks for this nix

chuchukuttie 08-20-2007 02:21 PM

Thanks, looks great.

JD45 08-20-2007 03:39 PM

Almost like this: https://vborg.vbsupport.ru/showthread.php?t=124426

StuntFactoryX 08-20-2007 07:11 PM

will it work w/ vbadvanced?

nix 08-20-2007 09:17 PM

Yea

SnowBot 08-20-2007 09:24 PM

GOOD job many thanks

Smoothie 08-21-2007 01:45 AM

Nice and simple, just the way I like it.

Hornstar 08-21-2007 07:28 AM

Hey this is cool, im sure ive seen this in use on other sites before.

Would be cool if there were options to change the colour without having to change the css, but other then that, looks cool.

Thanks.

nix 08-21-2007 07:32 PM

I could probably add something like that in.


All times are GMT. The time now is 06:58 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
  • Page Generation 0.02023 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete