|
Author | Topic: Click-It! PM Bar V2 (Read 1,905 times) |
Smangii Legend
     member is offline
![[avatar]](http://smangii.com/me/av.png)
Joined: Feb 2006 Gender: Male  Posts: 847 Karma: 12 |  | Click-It! PM Bar V2 « Thread Started on Jun 26, 2006, 11:24am » | |
--- Old Version Deleted ---
Since a couple of problems arose, I've just made it overall neater and much more understanding to all. Here's the "beta" version of v2.
Crossbrowser: YES Location: Main Headers/Footers
Main Header:
Code:<!-- Click-It PM Bar v2 (Beta) by Smangii [url]http://smangii.proboards78.com[/url] Main Header Part //-->
<table align="center" class="bordercolor" width="92%" cellpadding="4" cellspacing="1"> <tr> <td align="center" class="titlebg"><a href="javascript:hideshow('myPM')">+/- Messages »</a> </td> <td id="myPM" align="center" class="windowbg" height="10px" style="display: none;">Please <a href="/index.cgi?action=login">Login</a> or <a href="/index.cgi?action=register">Register</a> to use this feature. </td> </tr> </table>
|
|
Main Footer:
Code:<script type="text/javascript"> <!-- /* Click-It PM Bar v2 (Beta) by Smangii [url]http://smangii.proboards78.com[/url] Main Footer Part */
function hideshow(id) { if(document.getElementById(id).style.display==""){ document.getElementById(id).style.display="none"; } else { document.getElementById(id).style.display=""; }}
var TD = document.getElementsByTagName("td"); var myPM = document.getElementById("myPM");
if(TD[2].innerHTML.match(/you have <.+?>(.+?) (message|messages)<.+?>/i)){ myPM.innerHTML = '<div style="float:left">Hi, ' + pb_displayname + '! Your Inbox: <a href="/index.cgi?action=pm">' + RegExp.$3 +' New</a> | ' + RegExp.$1 + ' Old.</div> <div style="float:right">[ <a href="/index.cgi?action=pmsend">Compose</a> ] [ <a href="/index.cgi?action=pmmarkasread">Mark All Read</a> ] [ <a href="/index.cgi?action=pmprefs">Prefs</a> ]</div>'; } // --> </script>
|
|
|
![[image]](http://i63.photobucket.com/albums/h131/smangiisigfx/sicolorad.png) |
|
aith Guest
|  | Re: Click-It! PM Bar V2 « Reply #1 on Oct 9, 2006, 7:53pm » | |
Cool! But, how/can you move the pm thing by the logo? I just want that single PM bar by itself instead of two. :/
| |
|
Andrew Administrator
     member is offline
![[avatar]](http://img143.imageshack.us/img143/9219/eaavvycu7.png)
Joined: Nov 2005 Gender: Male  Posts: 1,141 Location: England Karma: 20 |  | Re: Click-It! PM Bar V2 « Reply #2 on Oct 29, 2006, 4:47pm » | |
Insert this into the top of your global footers
Code:<script language=javascript> <!-- var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild) document.getElementsByTagName('tr')[1].deleteCell(1); --> </script> |
|
That will remove your the PM area from your logo.
~Andrew
| ElseAndrew.com - Free online games! |
|
iisme Guest
|  | Re: Click-It! PM Bar V2 « Reply #3 on Nov 23, 2006, 11:11pm » | |
This is doing it 'login or register' thing again. I sign in over and over but it doesn't tell me if i have any new PMs. Im using V2 too. What's up?
| |
|
Smangii Legend
     member is offline
![[avatar]](http://smangii.com/me/av.png)
Joined: Feb 2006 Gender: Male  Posts: 847 Karma: 12 |  | Re: Click-It! PM Bar V2 « Reply #4 on Nov 25, 2006, 12:00am » | |
I've enhanced the version, see if it works now =)
|
![[image]](http://i63.photobucket.com/albums/h131/smangiisigfx/sicolorad.png) |
|
iisme Guest
|  | Re: Click-It! PM Bar V2 « Reply #5 on Nov 25, 2006, 12:31pm » | |
Nope
| |
|
Smangii Legend
     member is offline
![[avatar]](http://smangii.com/me/av.png)
Joined: Feb 2006 Gender: Male  Posts: 847 Karma: 12 |  | Re: Click-It! PM Bar V2 « Reply #6 on Nov 28, 2006, 7:35pm » | |
A board url would be nice =)
Are you placing it in main headers/footers?
|
![[image]](http://i63.photobucket.com/albums/h131/smangiisigfx/sicolorad.png) |
|
iisme Guest
| |
fernstar Student
 member is offline
Joined: Feb 2007 Posts: 4 Karma: 0 |  | Re: Click-It! PM Bar V2 « Reply #8 on Dec 4, 2006, 6:00pm » | |
is this the same one on the warrior cats v4 site?
| |
|
iisme Guest
|  | Re: Click-It! PM Bar V2 « Reply #9 on Dec 6, 2006, 5:17am » | |
Not sure what the warrior cats site is.
| |
|
Smangii Legend
     member is offline
![[avatar]](http://smangii.com/me/av.png)
Joined: Feb 2006 Gender: Male  Posts: 847 Karma: 12 |  | Re: Click-It! PM Bar V2 « Reply #10 on Dec 9, 2006, 1:26am » | |
I see it working >_>
|
![[image]](http://i63.photobucket.com/albums/h131/smangiisigfx/sicolorad.png) |
|
leopardz Student
 member is offline
Joined: Mar 2007 Gender: Female  Posts: 12 Karma: 0 | |
Michael Administrator
     member is offline
![[avatar]](http://img.photobucket.com/albums/v638/TheHarbor/m89b.png)
Joined: Jan 2005 Gender: Male  Posts: 4,496 Location: Callahan Karma: 32 |  | Re: Click-It! PM Bar V2 « Reply #12 on Mar 21, 2007, 11:11am » | |
Okay, I think I see the problem. Did you copy and paste Smangii's code into your Main Headers and Footers?
If so, you need to delete Scorpions Ultimate PM Menu code. This code is interferring with Smangii's making it mess up on your board. So delete Scorpions code and if it's still not working... come back and I guess Smangii can help you. ;]
|
![[image]](http://img.photobucket.com/albums/v638/TheHarbor/ocgfx-1.png)
![[image]](http://img73.imageshack.us/img73/8404/roskd6.png) |
|
leopardz Student
 member is offline
Joined: Mar 2007 Gender: Female  Posts: 12 Karma: 0 |  | Re: Click-It! PM Bar V2 « Reply #13 on Mar 21, 2007, 11:23am » | |
Okay then...
Oh, gah! It keeps on saying login or register....
| |
|
Michael Administrator
     member is offline
![[avatar]](http://img.photobucket.com/albums/v638/TheHarbor/m89b.png)
Joined: Jan 2005 Gender: Male  Posts: 4,496 Location: Callahan Karma: 32 |  | Re: Click-It! PM Bar V2 « Reply #14 on Mar 21, 2007, 11:24am » | |
Yes, I noticed. I put this code in and it did the same for me... and I was logged in! I'll PM Smangii on SIgfx
|
![[image]](http://img.photobucket.com/albums/v638/TheHarbor/ocgfx-1.png)
![[image]](http://img73.imageshack.us/img73/8404/roskd6.png) |
|
leopardz Student
 member is offline
Joined: Mar 2007 Gender: Female  Posts: 12 Karma: 0 |  | Re: Click-It! PM Bar V2 « Reply #15 on Mar 21, 2007, 12:08pm » | |
Thank you!
I was given the challenge of making the school forum, and that website was the result
| |
|
Michael Administrator
     member is offline
![[avatar]](http://img.photobucket.com/albums/v638/TheHarbor/m89b.png)
Joined: Jan 2005 Gender: Male  Posts: 4,496 Location: Callahan Karma: 32 |  | Re: Click-It! PM Bar V2 « Reply #16 on Mar 22, 2007, 12:20am » | |
Smangii PMed me earlier. He said try putting them in the Global Header and Footers; however, I tried that on my test board and it's doing the same. I let him know and I'm now waiting for his reply on it... But I'll let you know when I find out. ;]
|
![[image]](http://img.photobucket.com/albums/v638/TheHarbor/ocgfx-1.png)
![[image]](http://img73.imageshack.us/img73/8404/roskd6.png) |
|
nO.one Student
 member is offline
Joined: Jul 2009 Gender: Female  Posts: 2 Karma: 0 |  | Re: Click-It! PM Bar V2 « Reply #17 on Jul 2, 2009, 5:49pm » | |
Smangii your a genius! You made this so much easier for me. Thanks a ton!
| |
|
|