To do what Charles said to do isn't too hard, really... JS is executed in the order it appears in the HTML, so instead of this:
[/code]Use this:
</pre></div></div>And near the end (by the closing HTML tag) add this:<br><br>[code]
Untested, but it should work... Alternatively you may just be able to check if the JS variable haspms exists at the bottom, it'd save on one line of code
But yeah, good job and a great idea, which could possibly even be included in the stock code and turned on/off from the CP...
it wouldn't work for me, does it work for anyone else?
That's really just pseudocode, I'm not great when it comes to JS so there might be something wrong in there... I think I should leave it for someone else to "proof-read"
can anyone help with this?
updated txt, now final. post any problems you have with it
yeah, i used the beta code when you first posted this.
do you have the instructions on what to cut and paste over from the beta version since i do not have the original file anymore?
updated txt to include both upgrade and fresh install instructions. if there is any confusion, just reply here, and I'll help
Any chance of this hack being upgraded to 6.7?
In Step 2. you are to find:
quote:
~ unless ($vars_registration{DisplayRegistration} ne "YES");
The closest I can find to this is on line 317.
quote:
[qb]if($vars_registration{DisplayRegistration} eq "NO") {[/qb]
I have tried messing with this on a test install of 6.7 Beta release 1 with some unpredicable results.
I am a complete newbe with Perl and am working through the Llama book right now. Next will be the Camel.
This looks like it should not be a major problem for one of you expert "Haxxors". If you happen find the time to look into this, I'd be ever so grateful.
thanks
updated
download the one marked 6.7
Thank-you ever so much.
Not only will this help me get the hack installed, it will serve as a lesson in Perl.
The code is ugly as hell, but I do like its power and flexability. (Perl that is... Not your hack.
)
Hi is it possible that users can chosse at their profile if users whant the pop-up or not?
not as of now, it would require a rewrite that I don't have time for right now
School isn't important ;-)
What's important is to change a pop-up to "Open PM in new Window"
Can't do that for many reasons.
1. I don't get that kind of information with PM Notification, only the number of PMs.
2. If 9 PMs... a lot of windows.
3. I've actually had it requested that it never do that, cause many find it frustrating being forced to view the PM
I surf pirate4x4.com a lot. Their PM notification pops up with "You have new Private Massages. Open in new window?" and buttons for OK and Cancel. If you hit OK, it just takes you to your PM page to list all of them. ;-)
Originally posted by PhillipBurum:
I surf pirate4x4.com a lot. Their PM notification pops up with "You have new Private Massages. Open in new window?" and buttons for OK and Cancel. If you hit OK, it just takes you to your PM page to list all of them. ;-)
Added for 6.7 version.
Hmmmmm...my old PM folders worked fine on 6.5, but for some reason something doesn't look right on 6.7.1.
Certain areas, the colors are off.
There is no outline trim around the folders and in the inbox the words "Subject", "From:", "Date:" are the same color as the header strip.
I've tried to change them in the "Style" section but that doesn't work either.
If anyone has the time, would you please take a look and offer any suggestions.
http://www.ronaldreagan.com/ubb/ultimatebb.php Login = Tester3
Password = testing
I've tried reinstalling it 3 times and I keep getting the same results.
Thanks in advance for any help anyone can offer.
This isn't the right topic for that. PM Folders is a different mod altogether.
Originally posted by Ian Spence:
This isn't the right topic for that. PM Folders is a different mod altogether.
Eek, my apologies...I clicked on the wrong thread.