![]() |
Areku, I got our original message in the email sent to me. Did you figure out how to make the delete message default? :)
|
Yes, it was dumbass easy, i thought it was php but it was a checked html thing instead ;)
|
Nice man. THis worked perfectly, and so easy to instal with vbFTP :D ILL NEVER GO BACK TO PROGRAM BASED FTP :D
|
Quote:
|
nice hack Erwin
thanks |
Excellent! It works perfect for me! Great work Erwin!!! :D
|
You're welcome. :D
|
Works like a charm!! Thanks for another great hack Erwin!!!!
|
Okay, got a little request here if anyone could help me out. I just installed this hack. Though in the past I also installed another hack which makes it so when you reply to a PM only the last quote shows and it gets rid of the rest.
FYI: Hack = https://vborg.vbsupport.ru/showthrea...threadid=41074 (I used FireFly's version btw, not the thread starter's) I was wondering how I could add that to the quick pm replier as well. Make it so only the last quote shows up in the quick pm reply box? Someone help? =\ |
I too have a request, but it's so minor you may be annoyed by the request...
i think I installed everything correctly, but here's what's annoying me.. when I am on the privmsg page, the cursor is not in the quick reply box. i have to either tab a few times to get the cursor, or click in the qucik reply box with the mouse. is there a way to make it so the cursor is waiting in the quick reply box and will accept typing right away? |
hey erwin, i got your response, thank you, but I think i didn't express myself well with what i wanted...
even if i scroll down with the mouse, the cursor is not in the box initially until i click in the quick reply box with my mouse. what I am trying to accomplish is to just have the cursor already blinking in there by default, as I am a keyboard guy. don't like using the mouse except when necessary :D you know how it is..... |
oops, i tried following your instructions, and i don't have the word "code" in my privmsg template. did I do somehting wrong?
|
Easy...
Replace <body> with <BODY onLoad="document.forms.vbform.message.focus()"> |
I replaced both body entries with that and it works. it goes directly do the quick reply box now, but i guess that's all right.
|
There should be only 1 <body> tag in each of your templates. :)
|
Ok I made the body tag change and WOW it seems to cause the font color and the backgroung color to change drasticlly example my background on the rest of the forum is black and the font is a light grey. The change seems to make it white and black. Though it does make the cursor jump to the quick PM window though :)
|
That's because it means that the <body> tag in your style is replaced with something else usually. To get around this, just add a <body> tag underneath this one - in other words, have just 1 <body> and then have the code as well.
If you just want to have 1 body tag, copy the body tag contents from your style, and paste it into the body tag in the template. But this is time consuming, as you would have to do this for each style that you have. So in essence, I take back what I said - :) - to maintain your background colors, you need to have <body> still in your privmsg, as well as my additional one. :p |
Ah like this? I did it this way and it seems to work just fine and I am using the default theme
Code:
<body> |
Yup - that works.
I was using that, but my members started complaining lots, so I took it out. :) |
Hey Erwin, I updated the HTML code for the template a bit to make the tables look better. Here it is:
[edit: attached instead, the code tags messed up the topic page.] Thanks a lot for this hack, I love it. :) |
Working Like a dream, and SO easy to install! Thanks!! :D
|
Thanks for the kind words. :)
|
Awesome, doctor. Dunno why I didn't think of this before!
/me clicks install |
>>to maintain your background colors, you need to have <body> still in your privmsg, as well as my additional one.
Or at the bottom of privmsg put Code:
<script language="javascript"> |
thanks :)
|
Very nice hack Erwin, and my users love it.
Overgrow, kudos for that script addition, for two reasons: 1, I wanted the 'gotfocus' function without losing my colors (which is what Erwin's included script did) and 2, I was able to use the same code to 'getfocus' on my regular Showthread/QuickReply box. |
I've installed it. Tested it. Works fine, except that bit at the bottom for getting the cursor to go automatically to the Quick PM Reply Box makes my PM body background go white and my toplink buttons have odd colour edges.
|
Update Version 2.3 - minor template mod
I realized that I forgot to do something simple when I released the hack - include the name of the PM sender and time of PM in the automatic quote section. :) To update from 2.2 to 2.3 is easy: In the "privmsg" template, find: Code:
[quote] Code:
[quote] |
lol i wonder why these are not included in the default release by now :D
so useful things like this are |
Quote:
|
I did the same thing a few weeks ago, but I also put the pm message number in there (just to see if I could do it). ;)
|
Is there any update solving the multiple Re: Re: Re: Re: Re: additions?
|
Quote:
Fixed. :) Version 2.4 - Fixed the repeated "Re:" bug. Now, if there is one "Re:" in the message title, no other "Re:" will be added to avoid the multiple "Re:" problem. To update manually from 2.3 to 2.4, do this: 1. In private.php, find: PHP Code:
PHP Code:
Code:
"RE: $message[title]" Code:
"$re$message[title]" |
An easier way to do this would be:
PHP Code:
|
Use my method - it is not case sensitive, and it prevents the addition of extra re:'s - your method is case sensitive and just changes 2 re: to 1 re: - the 2 work in different ways.
|
LOL at Erwin. That fix came from Xenon and it works EXACTLY like yours except for the case sensitivity (which is Re according to the php file anyway). It will replace 2 instances of Re with 1 Re which would stop the addition of any Re after that. You are using extra code that really isn't needed. ;)
|
I am using code direct from other parts of private.php - it is just the way private.php is coded, so it is done that way for consistency. If your code works for you, fine. But if I decide to manually put in RE: or re: in the message title, your code won't work.
|
True, but why would anyone manually put an re: in the title?
|
|
Quote:
|
All times are GMT. The time now is 03:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|