MyAlerts color based!

by AAA - 13-02-2016, 10:05 PM
Offline
Divine
Posts:
932
Joined:
Jan 2015
Likes:
93
Credits:
733
Reputation:
65
3 Years of Service
#1
OP
Posted: 13-02-2016, 10:05 PM
MyAlerts alert color based on number (something similar to NBB)
In this tutorial I'll teach you how to get alerts similar to NBB alerts as in when you have no alerts there is no number, and when you have an alert there is a green number.

For this tutorial you'll need the following plugins:

MyAlerts
PHP and Template Conditionals

What we're making:

[Image: hUuNtZh.png]

In your active theme template find MyAlerts -> myalerts_headericon

Replace all the code with the following:

Please register or login in order to unlock hidden content.

To change the color simply replace #4CC417 with a color of your choosing, though you must use hexadecimal formatting. (Just look up HTML colors on Google)
To make it exactly same like NBB you can play with some basic HTML/CSS/JS

:zzz:
[Image: XhhKTdF.png]
Closed Account
Posts:
76
Joined:
Jun 2015
Likes:
10
Credits:
89
Reputation:
0
2 Years of Service
#2
Posted: 02-05-2016, 10:55 PM
nice man, thanks bro
Banned
Posts:
10
Joined:
Aug 2016
Likes:
0
Credits:
10
Reputation:
-3
1 Year of Service
#3
Posted: 02-08-2016, 03:18 AM
This is pretty cool im definitely going to use this thanks for sharing.
👻👻👻👻👻👻👻👻
Posts:
358
Joined:
Aug 2016
Likes:
68
Credits:
976
Reputation:
33
1 Year of Service
#4
Posted: 07-08-2016, 02:39 PM
pretty good bro!
thans for share
I will be your website dev - PM

Upgraded by Wrath  In Love
Write if you need some link

Never argue with an idiot. They will only bring you down to their level and beat you with experience

The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)