Add to Google

Add Flashing Inbox To Invisionfree Forum - Html code for invsiionfree!!

free web hosting
Open Discussion > CONTRIBUTE > Tutorials

Add Flashing Inbox To Invisionfree Forum - Html code for invsiionfree!!

miikerocks
Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for Example this is flashing: Inbox (2)
In version 2 (the second code) the word inbox changes to messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still flashes Red

Put the following In the Header and Body Section (Admin Cp>>>Skinning and Styles>>>Board Wrapppers>>Header and Body):
Version 1:

CODE
<script>//New PM Flasher - By miikerocks
userLinks=document.getElementById('userlinks');
if(userLinks.innerHTML.match("Inbox"))
{
newMsg=false;
a=userLinks.getElementsByTagName("A");
for(i=0;i<a.length;i++)if(a[i].innerHTML.match(/Inbox\s\([0-9]+\)/)&&a[i].innerHTML.match(/[0-9]+/)>0)newMsg=i;
if(newMsg)
{
inbox=a[newMsg];
inbox.style.fontWeight="Bold";
inbox.style.color="red";
flash();
}
}
function flash()
{
if(inbox.style.visibility=="hidden")inbox.style.visibility="visible";
else inbox.style.visibility="hidden";
setTimeout("flash()",500)
}
</script>

&lt;script type='text/javascript'>
<!--
// Change the Inbox text at the user links
// code by miikerocks
// http://z11.invisionfree.com/FreeLoads
e = document.getElementById('userlinks')
a = e.getElementsByTagName('A')
for (i =0; i < a.length; i++) {
if (a[i].href.indexOf('act=Msg&CODE=01') != -1) {
s = a[i].innerHTML
a[i].innerHTML = s.replace(/Inbox/, 'Inbox')
break
}}
// -->
</script>

<% NAVIGATION %>


If you have anything else in the Header and Body section that is above the <% NAVIGATION %> tag, then highlight the
<% NAVIGATION %> Tag AS YOU PASTE THE CODE INTO YOUR FORUM.


[b]If you wish to have the inbox link on your forum changed to messages, use this code I made. (AKA version 2)

CODE
&lt;script>//New PM Flasher - By miikerocks
userLinks=document.getElementById('userlinks');
if(userLinks.innerHTML.match("Messages"))
{
newMsg=false;
a=userLinks.getElementsByTagName("A");
for(i=0;i<a.length;i++)if(a[i].innerHTML.match(/Inbox\s\([0-9]+\)/)&&a[i].innerHTML.match(/[0-9]+/)>0)newMsg=i;
if(newMsg)
{
inbox=a[newMsg];
inbox.style.fontWeight="Bold";
inbox.style.color="red";
flash();
}
}
function flash()
{
if(inbox.style.visibility=="hidden")inbox.style.visibility="visible";
else inbox.style.visibility="hidden";
setTimeout("flash()",500)
}
</script>

&lt;script type='text/javascript'>
<!--
// Change the Inbox text at the user links
// code by miikerocks
// http://z11.invisionfree.com/FreeLoads
e = document.getElementById('userlinks')
a = e.getElementsByTagName('A')
for (i =0; i < a.length; i++) {
if (a[i].href.indexOf('act=Msg&CODE=01') != -1) {
s = a[i].innerHTML
a[i].innerHTML = s.replace(/Inbox/, 'Messages')
break
}}
// -->
</script>

<% NAVIGATION %>


If you want it to flash a different color, or if you have problems/need help, Post below.

---miikerocks---

 

 

 


Reply

iGuest
Great Code! Except...
Add Flashing Inbox To Invisionfree Forum

I love this script! It works just as it should, except I have a problem.

On my forums, ALL links are bolded red font. I don't know too much javascript, but I could change the font color to white. Now I'd like to make it italicized instead of bolded. Is that possible?

If so, please email me, as I am on a public computer and cannot bookmark this page.

Thanks!

M Mazur

-reply by M Mazur

Reply

gameratheart
My friend runs an Invisionfree Forum of which I am a member, and both of us are forever failing to notice when we have new PMs. So, thanks for this code - I think we'll both find it useful. Hey, this code should be a default function of Invision Forums!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. code invisonfree - 7.08 hr back. (3)
  2. invisionfree forum code - 17.49 hr back. (1)
  3. html button tag invisionfree - 18.37 hr back. (1)
  4. flashing inbox to invisionfree forum - 28.95 hr back. (1)
  5. how to put a youtube video on your sidebar on invisionfree? - 28.99 hr back. (1)
  6. codes, invisionfree.com - 33.77 hr back. (1)
  7. code for new pm box pop out on invisionfree forums - 39.86 hr back. (1)
  8. how to enable html in posts on invisionfree - 45.50 hr back. (1)
  9. how to add music in signature with invisionfree - 46.05 hr back. (1)
  10. add notice to invisionfree - 46.45 hr back. (1)
  11. how do u put a banner on a invisionfree website - 49.43 hr back. (2)
  12. invisionfree layouts - 63.27 hr back. (1)
  13. invisionfree legend table - 65.32 hr back. (1)
  14. invisionfree forum html - 66.46 hr back. (1)
Similar Topics

Keywords : add, flashing, inbox, invisionfree, forum, html, code, invsiionfree

  1. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
  2. How To Disable Flashing In Windows Freecell
    note: for XP (0)
    Just a hack I've made in the past. I think I disabled the Game Over pop-up sometime as well,
    except I didn't write it down anywhere. Disable Flashing in FreeCell Windows FreeCell
    flashes the window whenever your available moves is equal to one. If you find the flashing annoying
    like me, this hack will banish it to the dark realms. (Wikipedia says Vista FreeCell doesn't
    flash the screen anymore!) The guide: We only need one download to get this working:
    Any generic hex editor (I'll use xvi32). Download is here: http://www.hands....
  3. Azurian Skin
    put on forum (0)
    Azurian forum style for invisionfree forum. For preview of this skin visit:
    z11.invisionfree.com/FreeLoads To install this skin, the writing in red must be changed.
    yourBOARDNAMEhere has to be changed to urs (such as mine is FreeLoads), and the z11 in red has to be
    yours (yours couls be z4). For help removing the miikerocks copyright and replacing with your own,
    seek my other tutorials. There are to header and body's-one for the style only, the other is my
    configuration - (the style with music and message flasher added.) There is also 2 footers-One just
    for the styl....
  4. Invisionfree Skin How-to Put On Your Forum
    A skin I partially made, I show you how to put on your forum. (1)
    Hey All who may want an invisionfree forum skin, because they are tired of their old, boring,
    squarish one. Well I helped with this skin, and I'm going to give an explanation for starting
    users, so that they may too, have a nice forum skin! First of all, when installing a new skin on
    your board, no upload or download is needed. You will most definately have to replace your old forum
    CSS or "Style sheets" (as called in the invisionfree Admin CP). You will almost all the time have
    to place something in the footer (in Board wrappers IN THE ADMIN CP), and usually a ....
  5. How To: Html Tables.
    I find these really useful. (8)
    If you are a novice web designer, but want your site to look advanced and proffessional, then what
    better way to do so than to use HTML tables? HTML tables are a really easy way of formatting your
    text, to make your ste look proffesional. It looks good, and its easy, what more can you ask for?
    You have to use the tag, so first lets start off with: HTML Table > /table > In
    between theese two tags, we will add the data for the table, using the tags and . =Table
    Heading (Title) =Table Data (what you want in the table) =table row (new row) So, lets ....
  6. [php] Clean Code Functions
    Clean up your html output from php scripts (5)
    There is another Topic about writing 'clean' HTML code posted elsewhere on the Forum.
    I'll edit this Topic and add the link so you can review it on your own, and there is no need for
    me to comment on it in this thread, but the purpose of this Topic is to introduce a pair of
    functions which can be used for making sure that the HTML output from my scripts is readable when a
    view-source is reviewed. Two handy functions are included here. They work together quite nicely,
    and I will start this Tutorial with a short summary of the reasons for their 'being....
  7. How To Setup A Website After Your Forum
    (3)
    This tutorial is about how to setup a website after you have setup a forum. That means, you have a
    forum, and are wanting to add a website. This tutorial will show you how to create the website in
    your root directory(Example: http://domainname.com) , while your traffic gets redirected to your
    forum while you are creating it, until you're ready for guests to see it. This method is
    opposed to setting it up in another directory, then moving it(particularly more time consuming if
    you're site is PHP based). First of all, you are going to want to setup a redirect ....
  8. Cakephp On Ubuntu
    using your own public_html folder (0)
    Hi, there are many tutorials about this, but i would like to type the steps i followed in order to
    get cakephp working on my user public_html folder. as many of you probably know, if you have
    apache's userdir module loaded, you can put your web pages on /home/user/public_html , and
    access them with the url: http://localhost/~user/ . I really prefer this, so all my web pages are
    on my personal home, but how to configure cakephp to work with these paths, i got a hard time with
    this, but finally got it!. here's how: in case you don't have apache2's u....
  9. Html Span
    (7)
    HTML Span Description The span tag is quite the handy tag to have at your disposal. You can use
    it for everything from Text Formating, to creating a scrollable text area. When combined with CSS it
    becomes an easy-to-use tool for making your website as uniform as possible, as your not bogged down
    with tags for every heading and title on your website. Try It Out CODE <html>
    <body> <div class="content"> <span class="heading1"> Heading
    or title goes here. </span><br><br> All the content insi....
  10. Html Bdo...
    (13)
    Description I find that it is often difficult to write a sentence backwards, but thanks to HTML, I
    can now complete this task in only a few seconds. Now the only problem is it is very difficult to
    read... Try It Out Welcome to one of the most useless functions of HTML. The tags enable you to
    write a sentence backwards. The code is quite simple. CODE <bdo dir="rtl">I
    find that it is often difficult to write a sentence backwards, but thanks to HTML, I can now
    complete this task in only a few seconds. Now the only problem is it is very difficult to r....
  11. Want-to-start Html Tutorials
    An HTML tutorial that covers the basics (2)
    NOTE: Don't use a rich text editor* for writing HTML code! Use Notepad in Windows,
    SimpleText in Mac or TextEdit in OSX, but you must set the following preferences for the HTML code
    to work! In the Format menu, select Plain Text. Open the preferences window from the Text
    Edit menu, then select "Ignore rich text commands in HTML files." Start Creating Your Own HTML
    File You can either use HTM or HTML file extensions. For more information, visit:
    http://filext.com/file-extension/htm for HTM or http://filext.com/file-extension/html for HT....
  12. Creating Navigation For Html Websites
    Have a common navigation menu for the whole website! (12)
    Pre-requisite: HTML, inline frame tags 1 Attachment(.zip) included. Updates : 29-12-07: Doctype
    added in example files (Advised by jlhaslip) Designing a whole website takes a lot of planning
    and organization. Designing a proper navigation system is a basic step in building your website. If
    you are developing webpages in html you would have observed that as you go on creating pages it
    becomes difficult to maintain the links to the pages. This article will guide you in developing a
    common navigation menu for your website. It describes three ways, so if you don'....
  13. Install An Aef Forum Onto The Trap17
    From a zip file (11)
    Installing an AEF Forum on the Trap17 Server Preparation for Installing the AEF Forum
    The following items are required for the installation of the packaage onto your site: 1. - a copy
    of the AEF Forum zip package from http://anelectron.com/download.php 2. - a MySql Database 3. - a
    Database User 4. - a password for the Database User 5. - Privileges allowed for the Database User
    The details for ensuring that you have all of these items are as follows: 1. - a copy of the AEF
    Forum zip package from http://anelectron.com/download.php . Simply browse to t....
  14. Create A Simple Html Editor With Php And Javascript
    (3)
    Ok, I will teach you how to create a simple HTML editor that runs online with buttons that add HTML
    tags. Before we start: You should have basic knowledge of these languages. HTML/XHTML
    Javascript PHP You will need Ability to use filesystem functions. Chmodding abilities
    Features of Editor Online PHP safe Full HTML support A Few Bad Features Can only create new
    documents or overwrite Fairly unsafe Now we are ready to begin. The PHP Script This will be
    our PHP script that we will use to make the file. Make a file called save.php Here is the....
  15. Nice Clean Php Layout Coding.
    Learn a nice neat way to code your layouts with php (7)
    There are basically two main ways to code your php. Method 1) Creating a php document with an html
    look. The you throw in include tags all over the place. Its unorganized, and you have lots of stray
    files hidden in folders and scattered in your base directory. Its difficult to organize, and you
    make mistakes easily. Example: This document would be called index.php Whatever
    Banner or something Some content here. Mostly along the lines of You might ask what
    the problem was? Well, those include tags tend to multiply, and so do all those unne....
  16. Html Legend
    Learn how to create a handy legend with HTML! (9)
    I think this is pretty neat... good for those people who maybe aren't that great at designing
    things but still want something to look nice.. CODE <fieldset> <legend>Legend
    title</legend> Content </fieldset> try it in note pad.. it looks nice...good for
    forums, sign up forms.......
  17. Adding An Aef Forum To Snews Cms
    "almost" integrated (2)
    Adding an AEF Forum to sNews CMS Although not truly integrated, here is an explanation of the
    steps I took to have an AEF Forum Software present itself as an 'integrated' page on the
    sNews CMS. 1. Download a standard sNews version 1.6 Content Management System. Instructions are
    found on the sNews site. (refer to link list below) There are several flavours of sNews. This method
    has only been tested on the sNews 1.6, but should work on other versions as well. 2. Created a
    MySQL Database and user, Modded the snews.php, and took the usual steps for installin....
  18. How To Make A Decent Forum
    Some great tips on how to make and maintain a good forum (8)
    -Firstly, come on, use a decent forum system. Visitors to forums hate advertisements. The best way
    to guarantee no ads is to host it yourself. There’s loads of free web hosts out there- there’s loads
    of free forum software, too. So, come on! It doesn’t take much energy to find a good host and
    upload some files. I think the two best forum softwares to use are SMF(www.simplemachines.org) and
    phpBB(www.phpbb.com). -Secondly, if anybody is actually reading the topic with the link to your
    forum in, they must be dedicated to this one, and not many people are dedicated to ....
  19. How To Create Forum Smilies
    Make smilies for your forums! (3)
    Wanna make your own pixel smilies! For cutenews, your forums, websites, etc.. What you need: A
    graphics program that allows you to zoom in very closely to an image (paint is OK... but not the
    best...) OPTIONAL... a program that has a grid when you zoom in (most graphics programs have them)
    I'll use a program called paint.NET START 1. Copy this image and paste into a graphics
    program 2. Then ZOOM so you can see the image close up. For easy use make sure it is in some sort
    of "grid mode" Example: 3. Draw your eyes, face, nose, ears, etc... Your *may*....
  20. Aef Forum Modifications [resolved]
    Header bar, Footer Bar and Styling them (3)
    Here are a couple of Tutorials I have posted on my AEF Forum hosted here at the Trap17. Since the
    Tutorials are already published, I will merely link to them. Header Bar Information :
    http://www.jlhaslip.trap17.com/aef103/index.php?tid=11 Footer Bar Information :
    http://www.jlhaslip.trap17.com/aef103/index.php?tid=10 Styling the Header/Footer Bar :
    http://www.jlhaslip.trap17.com/aef103/index.php?tid=16 The first two are about how to add some
    html code to the space reserved in the Forum layout for an optional Advertising spot. I adapted some
    code so that several ....
  21. Spice Up Your Forms
    With a bit of CSS and HTML alignment (11)
    Ever wonder how to make those stylish forms you see everywhere? Well now it's your change to
    learn. This short tutorial will show you how to do exactly that. Here is a bit of css to spice
    up the form. I have included comments to explain what classes will change what in the forms.
    CODE <style type='text/css'> .form table { background-color: #187cae; }
    /*The following css class will change the table cells within the .form div */ .form td {
    background-color: #bbe0f4;            padding: 3px;            border: 0px;         ....
  22. Do You Want To Use Php Code In Your Html Pages?
    Within two minutes you will! (9)
    Whilst searching around for help to setup cutenews blog I came across a way to use php in html pages
    - lo and behold it works! so I thought I'd share it with you all (Unfortunately I can't
    remember the site so I wrote this up a couple of minutes after I did it:) ). This method requires a
    web server with apache installed. So, luckily for us all this covers the whole of Trap17... even
    Qupis /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Just
    to make the point, this is in no way a difficult task and it doesn't requir....
  23. Simple Scripts In Html And Javascript
    Things like BackgroundColorChanger and so (7)
    like in the topic, here is a description how to change the Backgroundcolor "On The Fly", by klicking
    on a button or radio-box first, we ned the html-and body-tags, create a new html-file on your
    desktop and write the following: QUOTE <script language = "JAVASCRIPT">
    browser interpretation: html - tag means "hey, browser, here comes HTML" in the body-tag you define
    the looking of your site. you can add things like "bgcolor" for the background, "text" for the
    textcolor and link / alink / hlink / vlink to define the linkcolor ( ) the scripttag i....
  24. Your First Autoit
    Learning To Code.. (4)
    Autoit is a simple, yet powerful programming language, it allowed the creation of the pangea
    desktops, and the Remote Pc Control with a cell.. You can learn it too. Here is the first of several
    lessons i will post inside of this topic. It is a 32 bit program, it doesnt work on windows 98, 95,
    and i dont think (THINK) Windows ME Step 1: Download and install the latest version of autoit from
    http://www.autoitscript.com i prefer that you use beta. Step 2: Right click somewhere on your
    desktop or my documents, and mouseover new and click Autoit V3 Script Step 3 (optiona....
  25. Putting A Signature On The Forum
    A tutorial on how to put a signature on here (35)
    Concidering it is a part of the rules that we put signatures in the signature portion instead of
    typing it every time you make a post, i made this to tel people how to put the signature up for
    people to see. It will automaticly be added to the end of every single post you make! First Off
    you need to go to "My Controlls" which can be found in the top right hand side of the screen...
    Once you are in your controlls look on the left hand side for "Edit Signature" once you are
    there you should see a screen like this that shows your current signature for ex: m....
  26. Pet/animal Care Forum
    Online veterinary advise (18)
    Hi I am A veterinarian and would like to offer through this forum an online tutorial and
    consultation service... For a start lemme tell you something about training, feeding and breeding
    your pets... QUOTE Training Pets Training pets Dog training is an art and science. It is
    very important for your dog to be trained at least to the extent of obeying your basic commands. The
    training must be methodical and must be regularly carried out. An obedient dog is an asset and also
    required for the owner’s safety. An untrained adult Alsatian or Doberman can be quite letha....
  27. Phpbb Forum Site Transfer
    How to do it, step by step instructions (20)
    I'm sure many of you out there have used phpBB at some point. To those who enjoy running forums
    and online communities, specifically supporting phpBB, I am about to tell everyone how to restore
    the forums database from one website, to another. This is presuming you do not have any mods or
    hacks installed. Some of you may find this information useful. Here is the scenario: Let's say
    you have forums running phpBB version 2.0.17 (currently the latest one). You have decided that you
    want to move your forums to a whole new URL and provider, and as an added bonus, ch....
  28. How To Create A Phpbb Fm
    Create a Fully Modded forum. (52)
    1. Well once you get the file onto your computer, your going to need an FTP client. I suggest Core
    FTP, just do a Google search for it, and theres a free version, which I use, and is just great. 2a.
    I'm guessing you already have an unzipping program to unzip the file you're downloading, so
    we'll skip that step. 2b. Go to http://phpbbfm.net . On the left side, e little below the top,
    click on the Zip link, which will download the file. Unzip the file you just got. 3. Once all the
    files have been unzipped from the main file you just got, find the folder tha....
  29. How To Put A Phpbb Login Box On Your Main Site.
    Code and .php included!!! (18)
    I have included my coded file with this... Ok here is the code. CODE // //Create login area,
    replace the phpBB2 in /phpBB2/login.php with your forum's //directory // <form
    action="/phpBB2/login.php" method="post" target="_top"> <table
    width="25%" cellspacing="2" cellpadding="2" border="0"
    align="center">  <tr> <td align="left"
    class="nav"><a href="/phpBB2/index.php" class="nav">Prank Place
    Forum Index</a></td>....
  30. HTML tags and examples
    Condensed form of course from my site... (37)
    Well, I decided to try and help out some of the users here who might be unexperienced in HTML, so I
    condensed the begginer's HTML course at my website. Here it is... Lesson 1 HTML means Hyper
    Text Markup Language. HTML is a very common language used for many websites, is the base for more
    complicated and powerful langauges like php, HTML can seem hard, but you will find it is one of the
    easiest langauges one can learn. The core of HTML is the tag, a tage is just a set of two
    arrows-like brackets created by hitting Shift and the comma key, or Shift and the period....

    1. Looking for add, flashing, inbox, invisionfree, forum, html, code, invsiionfree

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for add, flashing, inbox, invisionfree, forum, html, code, invsiionfree

*MORE FROM TRAP17.COM*
Similar
Create Dynamic Html/php Pages Using Simple Vb.net Code - Taking your application data, and creating a webpage for others to vie
How To Disable Flashing In Windows Freecell - note: for XP
Azurian Skin - put on forum
Invisionfree Skin How-to Put On Your Forum - A skin I partially made, I show you how to put on your forum.
How To: Html Tables. - I find these really useful.
[php] Clean Code Functions - Clean up your html output from php scripts
How To Setup A Website After Your Forum
Cakephp On Ubuntu - using your own public_html folder
Html Span
Html Bdo...
Want-to-start Html Tutorials - An HTML tutorial that covers the basics
Creating Navigation For Html Websites - Have a common navigation menu for the whole website!
Install An Aef Forum Onto The Trap17 - From a zip file
Create A Simple Html Editor With Php And Javascript
Nice Clean Php Layout Coding. - Learn a nice neat way to code your layouts with php
Html Legend - Learn how to create a handy legend with HTML!
Adding An Aef Forum To Snews Cms - "almost" integrated
How To Make A Decent Forum - Some great tips on how to make and maintain a good forum
How To Create Forum Smilies - Make smilies for your forums!
Aef Forum Modifications [resolved] - Header bar, Footer Bar and Styling them
Spice Up Your Forms - With a bit of CSS and HTML alignment
Do You Want To Use Php Code In Your Html Pages? - Within two minutes you will!
Simple Scripts In Html And Javascript - Things like BackgroundColorChanger and so
Your First Autoit - Learning To Code..
Putting A Signature On The Forum - A tutorial on how to put a signature on here
Pet/animal Care Forum - Online veterinary advise
Phpbb Forum Site Transfer - How to do it, step by step instructions
How To Create A Phpbb Fm - Create a Fully Modded forum.
How To Put A Phpbb Login Box On Your Main Site. - Code and .php included!!!
HTML tags and examples - Condensed form of course from my site...
advertisement



Add Flashing Inbox To Invisionfree Forum - Html code for invsiionfree!!



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE