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)
-   -   Mini Mods - Change Notifications Box Background on New Notifications (https://vborg.vbsupport.ru/showthread.php?t=175841)

Hasann 04-10-2008 10:00 PM

Change Notifications Box Background on New Notifications
 
What does it?:
This will change the Navbar where the Notifications Box is to a different Background Image 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.

Install Instructions:

upload newnotifications.gif image to your images/misc folder

import product-notificationsbg.xml file to your product manager.

that's all it.. have fun :D

Hasann 04-11-2008 03:11 PM

11. April 08 -> first release: v1.0.0

11. April 08 -> final release: Final Version
- added an admin option to turn this hack on or off
- added an admin option for newnotifications.gif image path url
- fixed bug alt1 class problem -> alt1 changed to alt2

KURTZ 04-11-2008 03:26 PM

wow Hasann ... simply and useful!!!

Hasann 04-11-2008 03:28 PM

thanks buddy..
my small but simply and usefully releases will continue :D:up:

rizelim 04-11-2008 04:18 PM

very nice hack

1Turk 04-11-2008 04:25 PM

thanks hasan :)

installed*

purepothead 04-11-2008 05:07 PM

Not sure if it was just my template being custom but...

I had to change


Code:

$_find = '<td class=\"alt1\" nowrap=\"nowrap\">';

to

Code:

$_find = '<td class=\"alt2\" nowrap=\"nowrap\">';

then it started working. mine not have alt1 :D

Thanks!

KURTZ 04-11-2008 05:24 PM

Quote:

Originally Posted by purepothead (Post 1488404)
Not sure if it was just my template being custom but...

I had to change


Code:

$_find = '<td class=\"alt1\" nowrap=\"nowrap\">';

to

Code:

$_find = '<td class=\"alt2\" nowrap=\"nowrap\">';

then it started working. mine not have alt1 :D

Thanks!

me too

kaptanblack 04-11-2008 05:32 PM

puhaha :D

https://vborg.vbsupport.ru/attachmen...9&d=1207929866

Resim harika olmuş

Picture is wonderful :D

Hasann 04-11-2008 05:49 PM

11. April 08 -> final release: Final Version
- added an admin option to turn this hack on or off
- added an admin option for newnotifications.gif image path url
- fixed bug alt1 class problem -> alt1 changed to alt2

onnenkolikko 04-11-2008 06:13 PM

Doesnt work on my 3.7 RC3 with default style :(

Hasann 04-11-2008 06:15 PM

Quote:

Originally Posted by onnenkolikko (Post 1488462)
Doesnt work on my 3.7 RC3 with default style :(

heyy buddy please now download it and re-install it overwrite it will work

KURTZ 04-11-2008 06:25 PM

just upgraded: working fine :) thx

onnenkolikko 04-11-2008 06:28 PM

Quote:

Originally Posted by Hasann (Post 1488465)
heyy buddy please now download it and re-install it overwrite it will work

Thank you, works now in default :) But it doesnt work with my custom template, but that wasnt a surprise :) Any idea which lines I should add, and where?

Forum Lover 04-11-2008 07:28 PM

I just wonder!! How do u manage those ideas!! :p clicked install.

carrlos 04-11-2008 07:36 PM

Works with RC3! Uninstalled the other guy's and installed this one! Much better! :D

nix 04-11-2008 08:11 PM

um. its the exact same thing...

macc 04-11-2008 08:41 PM

works fine ... have vb 3.7 rc3

Thanks Hasann!

regards

macc

carrlos 04-11-2008 08:54 PM

Quote:

Originally Posted by nix (Post 1488569)
um. its the exact same thing...

Almost the same except that I can now change the background image more easily without customizing CSS (I'm not a coder). Both work fine, though!

What I would really like, now, is to flash the words "Your Notifications:" in red also. Is that possible anyone???

Magnumutz 04-12-2008 06:51 AM

Way better than NIX's product... and easier to use :)

KURTZ 04-12-2008 06:51 AM

Quote:

Originally Posted by Magnumutz (Post 1488861)
Way better than NIX's product... and easier to use :)

agreed :)

Boofo 04-12-2008 07:54 AM

Quote:

Originally Posted by Magnumutz (Post 1488861)
Way better than NIX's product... and easier to use :)

You can do the same thing wth nix's hack. ;)

carrlos 04-12-2008 02:27 PM

Quote:

Originally Posted by Boofo (Post 1488881)
You can do the same thing wth nix's hack. ;)

I agree except that this one is much easier for the average person (like me) that have basically no CSS coding skills. I can change the background image much easier.

But I used nix's hack and it worked flawlessly.

Hasann 04-12-2008 02:32 PM

Quote:

Originally Posted by carrlos (Post 1488609)
Almost the same except that I can now change the background image more easily without customizing CSS (I'm not a coder). Both work fine, though!

What I would really like, now, is to flash the words "Your Notifications:" in red also. Is that possible anyone???


try this Admincp -> Languages & Phrases - > Search in Phrases -> search Your Notifications phrase and edit first finded phrase

replace it with

<font color="red"><b>Your Notifications</b></font>

your result: https://vborg.vbsupport.ru/

Magnumutz 04-12-2008 02:33 PM

Quote:

Originally Posted by Boofo (Post 1488881)
You can do the same thing wth nix's hack. ;)

NIX's had some problems...

Hasann 04-12-2008 02:37 PM

And thank you all to you who me supported as well :D

Cloudrunner 04-12-2008 07:10 PM

Well done boss. Thank you.

carrlos 04-12-2008 09:02 PM

Quote:

Originally Posted by Hasann (Post 1489081)
try this Admincp -> Languages & Phrases - > Search in Phrases -> search Your Notifications phrase and edit first finded phrase

replace it with

<font color="red"><b>Your Notifications</b></font>

your result: http://img87.imageshack.us/img87/8835/redpf5.jpg

Thanks! :up:

Barakat 04-14-2008 08:20 AM

very nice thanks ...

chick 04-30-2008 07:57 PM

This looks wonderful. I have it marked to try.

Jase2 04-30-2008 08:04 PM

While this is good, isn't it just best to use a simple template edit?

I simply used :

Code:

<if condition="$show['notifications']">
                        <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]"><font
style="background-color: #FFFF00">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>

Note the <font
style="background-color: #FFFF00">

veenuisthebest 05-02-2008 04:58 PM

Quote:

Originally Posted by Jase2 (Post 1503823)
While this is good, isn't it just best to use a simple template edit?

I simply used :

Code:

<if condition="$show['notifications']">
                        <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]"><font
style="background-color: #FFFF00">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>

Note the <font
style="background-color: #FFFF00">

this would only change the background color of Your Notifications: 1 phrase and not the whole notifications box !!

higge 05-17-2008 05:39 PM

great hack, thanks.

BigDog56 05-18-2008 01:35 PM

Works great! Thank you!

carrlos 05-22-2008 07:47 PM

Is there a vba module of this or can it be converted to a module???

Captain Tycoon 06-14-2008 02:18 PM

Sweet! Installed and Marked! :D

TCB 06-29-2008 09:23 AM

Quote:

Originally Posted by Hasann (Post 1488350)
thanks buddy..
my small but simply and usefully releases will continue :D:up:


I love those simple addons. Great job on this one, thanks :D

EagleNick 06-29-2008 06:27 PM

Very nice :)

Does anybody have an image just like the one that was provided, but one that just smoothly blinks a vibrant red?
Or does anybody know how to create one?

Thanks in advance :D

newguy 07-01-2008 11:18 PM

***installed*** Thanks Hasann

redlabour 07-03-2008 01:09 AM

It is incompatible and does not work if :

Non Redundant Notifications

is activated.

Can you fix this?


All times are GMT. The time now is 06:38 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.01330 seconds
  • Memory Usage 1,799KB
  • 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
  • (6)bbcode_code_printable
  • (12)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