Welcome, Guest. Please Login or Register.
November 21, 2024, 04:20:54 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.0] New Instant Messages Alert Box « previous next »
Pages: 1 ... 3 4 [5] 6 7 Reply Ignore Print
Author Topic: [Done 1.4.0] New Instant Messages Alert Box  (Read 257808 times)
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #60 on: April 22, 2003, 03:34:40 PM »
Reply with quote

You guys could always try my new mod...

http://www.yabbse.org/community/index.php?board=158;action=display;threadid=21649

instead of alert box you get a choice of sound...
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Bartman
Jr. Member
**
Posts: 71


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #61 on: April 22, 2003, 03:44:58 PM »
Reply with quote

Quote from: Nemesis on April 22, 2003, 03:34:40 PM
You guys could always try my new mod...

instead of alert box you get a choice of sound...

I like that too ... and used to have a mod that offered the member sound and/or pop-up.

I'll get your mod too ... but for many of my members, who visit the forum while at work, sound notification isn't always a good thing. They may have the speakers turned off so as to not disturb others ... or worse ... they are NOT supposed to be surfing around, but rather working.  ;)

Would you consider adding the pop-up so that it's an option to the user?
Logged
Bartman
Jr. Member
**
Posts: 71


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #62 on: April 27, 2003, 12:14:10 AM »
Reply with quote

Any takers or comments on how to get this going for SE 1.5.1 or 1.5.2?
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #63 on: May 02, 2003, 06:51:14 AM »
Reply with quote

Edit: Ugh. I just had my co-webmaster install it on 1.5.1 FINAL, and I noticed a few bugs/errors. Unfortunately, I can't fix it. I don't have access to a computer that will let me download/upload files (stupid library access) so I can't fix.. :( I know what the problem is, but I can't change my file.

There's problems with the spacing, (there should be more tabs in place, and not normal spacebar spaces) as well as a few dumb errors in the $request= lines that it asks to search/replace. Easy to fix, but nobody who kows how to manually edit the files can fix it.

Grrr. Anybody else mind trying to fix it? ;) The problems are mainly in the InstantMessage.php part of the .mod file.

Maybe I can grab access to my friends' computer and work on it sometime soon..
« Last Edit: May 02, 2003, 09:25:15 AM by 1979Z28 » Logged
Dem0n
Full Member
***
Posts: 107


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #64 on: May 02, 2003, 07:45:06 PM »
Reply with quote

Quote from: Bartman on April 27, 2003, 12:14:10 AM
Any takers or comments on how to get this going for SE 1.5.1 or 1.5.2?

it works fine for me and i'am running yabb se 1.5.1 final ;)
Logged

Tilton53
Jr. Member
**
Posts: 73


I'm a llama!

Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #65 on: May 02, 2003, 09:18:04 PM »
Reply with quote

Here use this:

<script language="JavaScript">
<!--
function displayDragMenu(){
if(dragSubMenu.innerHTML==""){
dragSubMenu.innerHTML=getMenuHTML();
dragMenuTable.className="dragMenu"; //remove this line if you are not using gradients or filters
}else{
dragSubMenu.innerHTML="";
dragMenuTable.className="catbg"; //remove this line if you are not using gradients or filters
}
}

function getMenuHTML(){
docHTML="<TABLE Class=\"windowbg\" cellpadding=\"1\" cellspacing=\"1\" STYLE=\"border: 2 inset #A5A5A5; vertical-align:middle\">";
docHTML=docHTML+"<TR>";
docHTML=docHTML+"<TD><A HREF=\"YOUR PB HOME PAGE/index.cgi?">Home</A></TD>";
docHTML=docHTML+"</TR><TR>";
docHTML=docHTML+"<TD><A HREF=\"/index.php?action=recent\">10 Most Recent Posts</A></TD>";
docHTML=docHTML+"</TR><TR>";
docHTML=docHTML+"<TD><A HREF=\"/index.php?action=search\">Search</A></TD>";
docHTML=docHTML+"</TR><TR>";
docHTML=docHTML+"<TD><A HREF=\"/index.php?action=mlall\">Members</A></TD>";
docHTML=docHTML+"</TR><TR>";
docHTML=docHTML+"<TD><A HREF=\"/index.php?action=calendar\">Calendar</A></TD>";
docHTML=docHTML+"</TR></TABLE>";
return docHTML;
}
//-->
</script>

<script language="JavaScript1.2">
<!--

//Generic Drag Script- © Dynamic Drive (www.dynamicdrive.com)
//For full source code and terms of usage,
//visit http://www.dynamicdrive.com

var ie=document.all
var ns6=document.getElementById&&!document.all

var dragapproved=false
var z,x,y

function move(e){
if (dragapproved){
z.style.left=ns6? temp1+e.clientX-x: temp1+event.clientX-x
z.style.top=ns6? temp2+e.clientY-y : temp2+event.clientY-y
return false
}
}

function drags(e){
if (!ie&&!ns6)
return
var firedobj=ns6? e.target : event.srcElement
var topelement=ns6? "HTML" : "BODY"

while (firedobj.tagName!=topelement&&firedobj.className!="drag"){
firedobj=ns6? firedobj.parentNode : firedobj.parentElement
}

if (firedobj.className=="drag"){
dragapproved=true
z=firedobj
temp1=parseInt(z.style.left+0)
temp2=parseInt(z.style.top+0)
x=ns6? e.clientX: event.clientX
y=ns6? e.clientY: event.clientY
document.onmousemove=move
return false
}
}
document.onmousedown=drags
document.onmouseup=new Function("dragapproved=false")
//-->
</script>
Logged
gijs
Guest
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #66 on: May 30, 2003, 08:22:50 AM »
Reply with quote

tried to download the zip
http://www.ufba.org/Downloads/index.php?download=NewMessageAlert151.zip
but didn't work

Anybody has a download for this mod?

I've got YaBBse 1.5.3 and PfaBB v.6b , any problems to expect from that when installing this mod?
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #67 on: May 30, 2003, 05:44:01 PM »
Reply with quote

I removed the file from my server, since it only works for 1.5.1 build 43, and not 1.5.1 final, or anything newer, ;D I'm working on updating it, and should have it out, and fixed, later today
Logged
gijs
Guest
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #68 on: May 30, 2003, 06:19:59 PM »
Reply with quote

cool! thanx  :) :)
Logged
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #69 on: June 02, 2003, 01:23:53 PM »
Reply with quote

At some point, I may try to see if I can get this mod to do a little more than it currently does. I would love to have it do the following:

Instead of saying how many new messages you have:

It pops up and says "You have x new message(s). Read it(them) now?" and the user could click either "yes" or "no". If the user chose "yes", it would go to the im inbox, otherwise, it would close the alert box and not bug the user for a while... I'm sure this is possible, because you can do a lot with javascript, but it's a lot of work, and I'm still trying to get the edit moods function of my moods mod to work...
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #70 on: June 02, 2003, 08:24:13 PM »
Reply with quote

Should be fairly easy to do, just have it pop up a 'Confirm' or 'Cancel' box, asking if they want to go to their inbox to view their new PMs.

Should be fairly easy, but I was called out of town unexpectedly. I should be able to get to this tomorrow
Logged
gijs
Guest
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #71 on: June 04, 2003, 02:55:24 PM »
Reply with quote

1979Z28,
got anything that I can use 'just for the time being' YaBBse 1.5.3. and PfaBB v.6b?

btw I like the more advanced functionalities you suggested. When there is only 1 new message, I like the idea of reading the headline of that IM in the pop/up.
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #72 on: June 04, 2003, 10:58:10 PM »
Reply with quote

Ok, try this out

I went through and updated it for 1.5.3. It should work for those. I haven't added any new functions to it other than a confirm box whenever you get a new IM.

Download the file here
« Last Edit: June 04, 2003, 10:58:31 PM by 1979Z28 » Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.4.0] New Instant Messages Alert Box
« Reply #73 on: June 05, 2003, 08:00:03 AM »
Reply with quote

Anybody test this out yet? ;)
Logged
gijs
Guest
Re:[Beta 1.5.3] New Instant Messages Alert Box
« Reply #74 on: June 05, 2003, 10:13:10 AM »
Reply with quote

not working!

two problems:

- boardmod gives 3 errors when trying to edit instantmessage.php (the.mod used spaces instead of a tab in front of "global $username, ...etc" --> both when changing IMpreferences and IMpreferences2)
and english.lng. (the .mod used double quotes " instead of single ' )
I fixed it and now that part is working, boardmod gives no errors.

- I get a blank screen when trying to acces the site after installing the mod (db update and boardmod). uninstalling the mod with boardmod solves this problem, but leaves me without the mod (ofcourse). Maybe a small problem, but the mod ain't working yet...  :'(


btw I was sleeping between your last posts... there is an 8 h. time difference I think... :D
« Last Edit: June 05, 2003, 10:26:07 AM by gijs » Logged
Pages: 1 ... 3 4 [5] 6 7 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.0] New Instant Messages Alert Box « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.024 seconds with 20 queries.