The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
|||
|
|||
So if I just do the first 2 steps (simple install) I should be all set?
I have one concern 2. c. says If you are doing a full install, you can skip this: Go through the vB files and replace all occurances of 'mail(' with 'mime_mail(' All the files? There is a lot of files that make up VB. Do we really have to go through every single file? How many instances are there? |
#33
|
|||
|
|||
Quote:
The full install instructions actually list all the bits that need changing. That will include all the mail() calls. There's not really that many compared to some of the hacks here. In your case, you should be able to just do the simle install (ie. steps 1 & 2. then follow the step in the instructions that changes the mail() call in functions.php which is 6a. Code:
A) ADMIN/FUNCTIONS.PHP OLD CODE -------- mail($touser[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>"); NEW CODE -------- // START MIME/HTML/SMTP HACK eval("\$emailmsghtml = \"".gettemplate("email_notify_html",1,0)."\";"); mime_mail($touser[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>", $emailmsghtml, $touser[emailtextonly]); // END MIME/HTML/SMTP HACK |
#34
|
|||
|
|||
Quote:
By the way thanks fo your help :-) |
#35
|
|||
|
|||
Was wondering if anyone could help me with the following error I'm getting trying to send email to a member after installing the SMTP Hack (full install) by fastforward?
Database error in vBulletin 2.2.2: Invalid SQL: SELECT username,email,showemail, FROM user WHERE userid='1' mysql error: You have an error in your SQL syntax near 'FROM user WHERE userid='1'' at line 1 mysql error number: 1064 Date: Tuesday 26th of February 2002 08:36:21 PM Script: http://www.ellardobluth.homelinux.ne...rum/member.php Referer: http://www.ellardobluth.homelinux.ne...lform&userid=1 |
#36
|
|||
|
|||
Just so I'm being thorough, here's the code I believe is causing the error in members.php:
// START MIME/HTML/SMTP HACK $destuserinfo=$DB_site->query_first("SELECT username,email,showemail,$emailtextonly FROM user WHERE userid='$destuserid'"); // END MIME/HTML/SMTP HACK Anyone see any problems with it? |
#37
|
|||
|
|||
Database error in vBulletin 2.2.2:
Invalid SQL: SELECT DISTINCT user.email,.emailtextonly FROM moderator,user WHERE moderator.userid=user.userid AND forumid IN (2,1,-1) AND (newthreademail=1 OR newpostemail=1) mysql error: You have an error in your SQL syntax near 'FROM moderator,user WHERE moderator.userid=user.userid AND forumid IN (2,1,-1) A' at line 1 mysql error number: 1064 Date: Wednesday 27th of February 2002 06:07:30 AM Script: http://www.ellardobluth.homelinux.ne.../newthread.php Referer: http://www.ellardobluth.homelinux.ne...read&forumid=2 ================== think I'll just give up on this hack and try to revert it back out. Sounds like a good thing ...but can't get any help on it. |
#38
|
|||
|
|||
Your problem is with the $emailtextonly variable. Are you sure you added the column with the 'DEFAULT 1' option? Also, check the template modifications for the CP to make sure it defaults to 1.
Do a query on the user table and see if you have any null values for the emailtextonly column. |
#39
|
|||
|
|||
Quote:
Just a question: is it possible send attachments with this kind of mail ? Standard MIME should permit that... How could I send - for example - something attached to the webmaster email under certain conditions ? Thanks |
#40
|
|||
|
|||
I've been holding off on upgrading to 2.2.2+ b/c i was waiting on a new version hack of this to come out.. Does anyone know if this works on 2.2.5? This is the only hack i've ever installed and it kinda scares me when i do anything like this.. I really wish SMTP support was included into vbulletin without having to do any hacks. If anyone has tried this in 2.2.5 plz let me know, Thanks
-X69 |
#41
|
||||
|
||||
just installed it on 228 and i can't even log in to admin CP, have nothing to delete on mime_html_smtp.inc after <?
what should i do? help me please :banana: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|