vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - Change Userinfo Box on New Notification (https://vborg.vbsupport.ru/showthread.php?t=167539)

nix 01-10-2008 10:00 PM

Change Userinfo Box on New Notification
 
This will change the Navbar where the userinfo is to a different color when a user has a unread private message, unread profile message, profile visitor message awaiting approval, incoming friends request, requests to join users social group or an invitation to join social groups.

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.

1.1 - Fixed the code to match 3.7 (thanks boofo for bringing it up)

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" 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" nowrap="nowrap">

youradhere4222 01-11-2008 08:23 PM

Very nice!

JAuthement 01-12-2008 12:36 AM

Nice mod ... made a few CSS changes to suite my site but overall assessment of this is "Very Nice" and simple!!

Zaiaku 01-13-2008 03:34 PM

Nice simple and very useful

Golzarion 01-13-2008 04:14 PM

I used This modification too. but now I have a problem in navbar view.

I attached the problem screen shot .

How should I changed the navbar to affect the complete color changing ?

Golzarion 01-15-2008 05:09 PM

no idea ?

nix 01-15-2008 07:28 PM

Just change the css or what the mod is looking for in the template.

:Judge: 01-16-2008 08:02 AM

Had a issue but fixed after simply looking at it.

I had to use this:
Code:

<td class="inlinemod" nowrap="nowrap">
because there was no valign in my code.

Thanks!

nix 01-16-2008 07:29 PM

Quote:

Originally Posted by :Judge: (Post 1422392)
Had a issue but fixed after simply looking at it.

I had to use this:
Code:

<td class="inlinemod" nowrap="nowrap">
because there was no valign in my code.

Thanks!

Yea that was just left over from vb 3.6 directions.

Ohiosweetheart 01-26-2008 12:32 PM

GREAT idea! I'll be using this for sure.

kiFF 01-26-2008 01:18 PM

I like it. It makes getting notifications more exciting, lol.

Boofo 01-31-2008 08:57 PM

Quote:

Originally Posted by nix (Post 1422664)
Yea that was just left over from vb 3.6 directions.

This hasn't been fixed in this version yet. ;)

nix 01-31-2008 11:18 PM

Quote:

Originally Posted by Boofo (Post 1433434)
This hasn't been fixed in this version yet. ;)

Ah. Good eye. I didn't notice it. Fixed!

Boofo 02-04-2008 04:22 PM

This is an excellent mod, thank you. ;)

And also thank you for the great tutorial on automatic template changes. ;)

Is there an easier way to do them than building a file manually? That's the only way I could do it.

Black Tiger 02-07-2008 01:03 AM

Does this only change the color? Or does this hack also makes that nice "Your notifications" box which I see in the screenshot?

nix 02-07-2008 04:27 AM

Quote:

Originally Posted by Boofo (Post 1436202)
This is an excellent mod, thank you. ;)

And also thank you for the great tutorial on automatic template changes. ;)

Is there an easier way to do them than building a file manually? That's the only way I could do it.

Not sure what you mean.
Quote:

Originally Posted by Black Tiger (Post 1437791)
Does this only change the color? Or does this hack also makes that nice "Your notifications" box which I see in the screenshot?

That is from vbulletin 3.7

ND4SPD 02-14-2008 09:03 PM

Does this version work with VBA CMPS? The previous version erased the notifications line when viewing the navbar with the CMPS. See screenshot.

uReside.com 02-15-2008 01:37 PM

When i try to download the XML it doesn't do anything... it just clicks. no download. am i doing something wrong?

nix 02-17-2008 09:23 AM

Dunno. That is a problem with you and this site. Ask one of admins on here.

uReside.com 02-17-2008 01:30 PM

Quote:

Originally Posted by nix (Post 1445029)
Dunno. That is a problem with you and this site. Ask one of admins on here.

Strange. I can download all the other ones, just not this one. :(

nix 02-17-2008 05:25 PM

Quote:

Originally Posted by uReside.com (Post 1445156)
Strange. I can download all the other ones, just not this one. :(

Try this zip.

uReside.com 02-18-2008 03:32 AM

That worked! Thanks!

Pamela 03-10-2008 05:51 PM

*clicks install*

Works perfectly! Thank you!!! :)

shlomot 03-11-2008 04:11 PM

Thanks a lot for your nice touch. Installed and rated.

Since you are so on top of this little userinfo, can we ask you to add a forgot password checkbox to this script? We are getting quite a few alerts each week from members that cannot find the forgot password bit on the forum, and I admit that it isn't that obvious even for experienced users.

Zaiaku 03-17-2008 06:28 PM

changing the css definitely makes the mode much better, that yellow just wasn't getting it. Thx again.

Koroku 03-21-2008 02:13 AM

I just installed RC1, and I have to say... already extremely useful. :D

*click install

toucan42 04-09-2008 03:46 PM

execllent! *clicks install* thanks for this one!

Magnumutz 04-09-2008 04:18 PM

This only worked on the default vBulletin skin. Didn't work on dark_vb.
Any ideas why?

nix 04-10-2008 01:41 AM

your html is probably different. You'll have to make it match.

Magnumutz 04-10-2008 02:10 AM

I searched the navbar template of dark_vb and <td class="inlinemod" nowrap="nowrap"> is there.

airborneCAL 04-10-2008 02:20 AM

I'd like to change the css color that shows instead of the yellow but I'm not sure how. Any help? Great mod BTW.

carrlos 04-10-2008 02:53 AM

I too like it but would like a brighter color like flurescent green or pink to make it more visible. How is that done???

carrlos 04-10-2008 03:49 AM

Never mind! I got it! I changed:

Code:

<td class="inlinemod" nowrap="nowrap">
to:

Code:

<td class="pmbox" nowrap="nowrap">
And added this to the Additional CSS Definitions in Style Manager > Main CSS

Code:

.pmbox { background-color: #33CCFF; color: #000000;}

nix 04-10-2008 04:11 AM

Quote:

Originally Posted by airborneCAL (Post 1487169)
I'd like to change the css color that shows instead of the yellow but I'm not sure how. Any help? Great mod BTW.

Quote:

Originally Posted by carrlos (Post 1487215)
Never mind! I got it! I changed:

Code:

<td class="inlinemod" nowrap="nowrap">
to:

Code:

<td class="pmbox" nowrap="nowrap">
And added this to the Additional CSS Definitions in Style Manager > Main CSS

Code:

.pmbox { background-color: #33CCFF; color: #000000;}

Change the html to a class you want to use. Then add that class to the additional CSS.

Magnumutz 04-10-2008 05:22 PM

Any idea on my problem?

nix 04-11-2008 06:15 PM

Quote:

Originally Posted by Magnumutz (Post 1487629)
Any idea on my problem?

You just need to find what the html is when you have a new notification and use that.

On one site I have a totally custom skin. This is what it looks like with a new notification.

https://vborg.vbsupport.ru/attachmen...4&d=1203248390

All this takes is some css skills and a little bit of html.

Magnumutz 04-12-2008 06:52 AM

Nevermind, i found something better, sorry for the trouble.

Boofo 04-12-2008 07:19 AM

Quote:

Originally Posted by Magnumutz (Post 1488863)
Nevermind, i found something better, sorry for the trouble.

What did you find that could possibly be better than this?

nix 04-12-2008 05:21 PM

Cracker Jack coding to the rescue. I guess I'm the only one who sees a problem with one how the "other" is doing it and two the plan just disregard to anything.

I should go make a you thanked hacked. Because its different from the thank you hack because its called you thanked. :/

Boofo 04-12-2008 05:42 PM

nix, you have to realize that some coders can't seem to come up with their own ideas so they take someone else's and rework it into their own, when the idea they stole is actually better than what they come up with. ;)


All times are GMT. The time now is 06:45 AM.

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.02797 seconds
  • Memory Usage 1,816KB
  • 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
  • (10)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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