![]() |
When it happens, go into the database and make sure that there is something in both the pmtext and pm table.
If there isn't, try rehacking the file; if there is, could you please paste the values of those two rows (and also their appropriate fields)? |
Quote:
|
Yup... and I can not recreate this on my test forum at all with this hack installed. I'll keep trying various permission combinations.
|
Does anyone know if this mini-mod interfere with the v3 Articles hack?
|
whats the difference between this and the welcome pm thats in vb3???
|
The welcome message built into VB3 is sent via email... this is by PM when they first login.
|
ummmm, its already in vb3... the last option in the vboptions...
|
Quote:
|
lol
well thats weird, its not a hack I have 3.0.0 gold, been there since vb3 beta versions |
Quote:
|
ummmmm hello!! look at the screen shot lol
https://vborg.vbsupport.ru/external/...chmentid=19189 'default PM' 'send default PM to new users?' I get replies to this PM all the time on my board... lol |
Hi all,
there is a problem when the username has a ' in the name like "Tom's" I get a MySQL Error while inserting the PM in the database because the PM receivername will be closed after Tom instead of Tom's. any idea to fix that ? |
Quote:
|
Quote:
Quote:
Quote:
|
thanks for your fast reply and fix of the code rob_daemon ;)
|
Quote:
I dont see how its still in the options and works fully with vb3 but anyways I guess I'm lucky, or something. |
Quote:
|
My new users dont get a PM but get the message via email .... any idea how to fix this ?
|
Quote:
|
Quote:
|
Hmm... I'm not sure why that would be happening. I'll see if I can recreate this tomorrow and if I am able to, I'll see if I can't come up with a fix.
|
Cool that will be great :) Thanks for the fast responce :)
|
the attachement seems to be messed up.. can some one send me the instructions?
|
Small update to find the correct place to put the code in register.php for vB3.0.2 or 3.0.3:
find: PHP Code:
PHP Code:
Please update the installation instruction ;) |
[QUOTE=Onkel_Tom]Small update to find the correct place to put the code in register.php for vB3.0.2 or 3.0.3:
find: PHP Code:
On the register.php file for 3.0.3, I can't find $username = $_POST['username']; This is the part I think you are talking about: Code:
$email = $_POST['email']; On top of that code is: Code:
if ($vboptions['newuseremail'] != '') Any idea? |
In the original file register.php it's line 743 with
$username = $_POST['username']; |
Quote:
The file has been updated with the new instructions. |
Code:
Error vB 3.0.3. |
You don't need to redo the queries if you have already installed the mod.
Quote:
|
Quote:
You can't add a setting twice with the same name. If you have installed the hack before all is fine and you can proceed with the other instructions. If not you have to check which hack also uses a varname called regpmfrom in the settings table. |
Oh okay. So I applied the hack on the new register.php file (3.0.3) and then tested it out.
I got a new popup so that is a good start. There was no text on the PM so I went to the admin setting. Under Options, User Registion Options, on the bottom, I only see "User Who Sends Automatic PM Upon Registration" (which I set to admin) and "Title Of the PM That is Automatically Sent to New Users." But I don't see where I could put the Welcome PM text in. ANy idea? |
Hmm... I see the problem. Run this query:
Code:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('regpmtext', 'register', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'textarea', 150, 0, 0); |
Quote:
Bingo! :cool: Thanks a lot rob_daemon. Have a great weekend! |
No problem; and have a great weekend yourself :)
|
One of my favorite hacks, ported over wonderfully to vb3. If I hadn't screwed up a query by repeating it accidentally (my fault entirely), this would've been a perfect install!
Great work. Thanks very much! |
clicks install
|
This didn't work properly for me either. I followed the instructions like a religious man and one of the queries wouldn't work, also I couldn't find where to "customise" the welcome PM, nor would the title of the PM show.
|
Hmm... that's very odd. Which query did not work? What version of vB are you running and what is the last updated date on the hack?
|
Quote:
|
In the hack file, there's a line that says "Last Updated" and there's a date next to it. What is that date?
|
All times are GMT. The time now is 12:49 PM. |
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:
|