miikerocks
Jul 10 2008, 09:03 PM
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>
<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 <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>
<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---
Comment/Reply (w/o sign-up)
iGuest-M Mazur
Aug 22 2008, 06:26 AM
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
Comment/Reply (w/o sign-up)
gameratheart
Sep 6 2008, 09:02 AM
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!
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : add, flashing, inbox, invisionfree, forum, html, code, invsiionfree
- Create Dynamic Html/php Pages Using Simple Vb.net Code
Taking your application data, and creating a webpage for others to vie (1)
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.handshake....
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....
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 head....
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 ....
[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....
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 ....
Cakephp On Ubuntu
using your own public_html folder (1) 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 userd....
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 Heading or
title goes here. All the content inside the div tags go here Above we have a very
basic page. The tag would be used to house the content of your page. The woul....
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 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... Well there you go.....
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 HTML.
Ope....
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'....
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....
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....
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....
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 Legend title Content try it in
note pad.. it looks nice...good for forums, sign up forms.......
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....
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 load....
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* wan....
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 ....
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 .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; font-family: verdana; font-size: 10px; ....
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 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 is the tag, we'll need now (sorr....
Your First Autoit
Learning To Code.. (7) 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....
Flashing Your Motherboard's Bios
How to flash a BIOS (11) Hello Everyone, Let me start with reintroducing myself into this forum. My name is Michael Odo. A
Nigerian and one of the previous most active members of this great online community. Well, I know
that I have been off from here for quite a very long time due to some hard times but, I am back now
and in full force . Back to the topic of my discussion . BIOS means Basic Input/Output System .
It is a software embedded into your motherboard and which controls everything on your system.
Flashing the BIOS is quite a risky affair and you are better adviced not to try t....
Putting A Signature On The Forum
A tutorial on how to put a signature on here (41) 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: mine ....
Pet/animal Care Forum
Online veterinary advise (19) 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....
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....
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....
How To Put A Phpbb Login Box On Your Main Site.
Code and .php included!!! (19) 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 // Prank Place
Forum Index Please enter your username and password to log in.
Username: Password:
Log me on automatically each visit:
I forgot my password You can test this out on my....
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....
Looking for add, flashing, inbox, invisionfree, forum, html, code, invsiionfree
|
Searching Video's for add, flashing, inbox, invisionfree, forum, html, code, invsiionfree
See Also,
|
advertisement
|
|