![]() |
If the queries mess up, they can not be undone in the sense of "Control + Z" but there are queries that you can run to undo their action.
And run it via the manual query; copy and paste each line (full line, not word-wrapped ones) into the box and run the query. |
nice hack, thanks!
|
Not working for me. I installed it and the actual file hack is the problem. I did do the edit user registration options in the admincp and saved it but still have an sql error. When i remove the edit from register.php everything works fine (no pm of coarse, but also no errors). Any idea?
|
What's the error?
|
Doesnt give an exact error, just says sql error.
|
Then view the source and you should see the SQL error. Paste that here.
|
wow never knew that before...
HTML Code:
<!-- |
could it be that extra comma that is in the text?? right below VALUES??
Im not sure where that is coming from however because it is not in our sourcecode like this. |
found the problem! My stupid fault... i had the wrong userid in the spot for the person in the from section of the pm. Thanks for your help.
|
Quote:
|
how you make to NOT make a popup ?
|
As of now, there isn't a way; you'd have to disable the JavaScript popup in the Default Registration Options.
|
[
PHP Code:
I added a prefix of 'vB3' to all the tables in my database when i uploaded it. so if i were to run this query where would i make the changes? any help would be great. thanks |
Here:
Code:
INSERT INTO `PREFIX_setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('regpmfrom', 'register', '1', '1', '', 140, 0, 0); |
thanks i will give it a try :)
|
I'm just affraid to install this hack, yet I really need it to encourage members to post. I just don't like how it says SQL querys can't be undone. I know I would have to run the querys via the admin cp, but it just gives me creaps because I have no experience in restoring a database or anything.
Any suggestions? |
worked great thanks alot rod :)
**clicks install** |
Quote:
if you need to delete a query rob shows how to do it in post #72 of this thread. |
Quote:
|
Quote:
To test it to make sure users can still register, should I try to register after I do this hack, just to see if its all working? If so, I'll prob give this a try later tonight, to see if I can get it going or not! It looks easy though, just sounds disasterouse! |
quick question,
1. lets say after I open admin cp and run each query individually, how can I test to see if it worked? I mean will I see side effects if it doesn't? 2. I forget should I run it manually or automatic in the admin cp 3. I created the board, but it says I don't have permissions to exicute an SQL query. I know when I transfered my PHP board, it transfered my admin account, then created another admin account. I deleted that without thinking. So how do I make myself a super admin again??? Thanks for all of your help :) |
Quote:
Quote:
And there should be three new options: Registration PM From, Text, and Title. Quote:
Quote:
|
i would like to install this hack. however, i know absolutely NOTHING about mysql.
i would be able to run the queries just fine, but i need to know now to uninstall the hack for future upgrades and whatnot. if anyone could provide an exact undo of every change to the database (putting it back just like it was before the hack was installed), that would be fantabulous. i could then install the hack without worrying about foreign things in my vbulletin database that i have no idea how to get rid of. :) if this is alot of work, then nevermind. :) |
The following two queries will undo any database changes:
Code:
DELETE FROM `setting` WHERE `varname` IN ('regpmfrom', 'regpmtext', 'regpmtitle'); |
thanks :)
|
Thanks a lot for this hack!
|
Thanks for this hack !
click install ;) |
Ran all queries, clicked "save" in ACP User registration options and did the file edit. When I registered a test user I got an error message that there was a problem with the database. This is the error msg that was emailed to me.
Quote:
|
Looks like exactly what I was after. Just so I'm clear on this... do PM's need to be enabled for users awaiting email confirmation or will the welcome PM just wait until the account is activated?
|
Quote:
Quote:
|
Thanks Rob, that did the trick. Very useful hack indeed! Is there a way to format the text in the welcome mail to put in links (to other pages on the forum)? I noticed HTML doesn't work.
|
Glad that did the trick :)
Standard vB code will work. |
**install**
Flawless install for me. |
First off, thanks for a great hack. It's exactly what I was after.
Quote:
I just installed it, and ran the first test of a new user registration. I was alarmed to see the PM before I clicked the link in the email that I was supposed to click before becoming a member. I was even more alarmed to be taken to my inbox with no problem after clicking 'ok' to accept the PM. Quote:
The defalut PM your out of the box hack should include, should tell the user that they still need to check their email and click a link, (if the board requires it). Had I seen that as the PM I wouldnt have been so alarmed, as the webmaster. That scared the ** out of me because I thought my users now didnt need to click the link in the email to get their permissions. Just could have been a little less harsh with that surprise. Off to my sites! Thanks again, MH |
Hmm... it really let you go into the inbox before you activated your account? That shouldn't happen (I think)... I'll do some testing tomorrow (or later tonight) to see if I can figure out why you were able to view your inbox prior to activation as vBulletin should prevent that from happening.
Another alternative would to hide the popup box when inserting the PM into the database, but new users who are not familiar with a forums system may not notice the "You have 1 new PM" in the upper right corner. I wonder if there is a way to suppress email messages about PMs, though.... |
Quote:
"Thank you for registering, testuser6. An email has been dispatched to testuser6@edit.com with details on how to activate your account. Click here to return to where you were previously. You will receive an email in your inbox. You MUST follow the link in that email before you can post on these forums. Until you do that, you will be told that you do not have permission to post." If they click 'here' to return to where they were previously, bang, the popup (as well as the page I was previously on). The popup then takes me to the inbox, and I'm in. I see how this could be confusing to inexperienced users. |
Just for the record, I'm also able to reply to the message. Not cool.
Also, I set up "Welcome Message Ghost" as the user who 'sends' this PM, so I as the admin dont get bombarded with newbie pms. And the subtitle on this new user tells them: "Please do not reply to me. I'm just a robot. Use the 'contact us' link for assistance." This will help cut back the time I spend chatting 1 on 1 with new members unnecessarily. But, back to it - I think it's not so cool that they can read and write from the inbox if they aren't 'opted in' by clicking the link they were sent. Your hack is excellent in 99% of its regards, except that the uses can kind of 'get in the side entrance' per say. |
What are your permissions on the "Users Awaiting Email Confirmation" usergroup?
|
Quote:
It's a lot of variables. Everything is set to 'NO', except for the following, which are yes: Usergroup Options: Allow Users to have Member Groups (Sets whether or not permissions from the user's member (secondary) user group memberships are inherited or not) General Permissions: Can View Member Info Can Edit Own Profile Can Set Self to Invisible Mode Show edited by note on edited messages? Can Use Signatures Forum Viewing Permissions Can View Forum Can View Others' Threads Can Search Forums Who's Online Permissions Can View Who's Online If I left it out, its because it is set to 'NO', or it's a file size variable that wont matter here. Many thanks, MH |
I have had this being reported afew times now and was hoping someone can advise me on what to do. ?
Quote:
Thanks |
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:
|