The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Contact Us Enhancements (updated) Details »» | |||||||||||||||||||||||||||||||||||
This is a small mod I coded for a client of mine and thought to share it here as well for all those that might have a need for it too.
This mod will send automatically a pm to users whenever they will submit a contact form. You can also choose if you want the contact form to be posted as a thread automatically at a forum of your choosing. This can be handy if you want the other members of your staff to view the contact forms submissions. You can also choose to increase the post count of the user or not when the contact thread is automatically created. After installation go to Options->Site Name / URL / Contact Details and all the way down you will see 6 new options. Configure the options to your needs/likings. For more info, please have a look at the attached screenshots. Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
Insta-Gator |
Comments |
#12
|
||||
|
||||
Quote:
It is strange because it should post the thread automatically each time an users submits a contact request. The guy I originally coded it for is using constantly and it works fine without any issues. Not to mention that I have tested it thoroughly as well myself without any issues. But maybe you have another mod that might conflict with this one. There is no other reason that I can think of that why is behaving like that at your forum. |
#13
|
|||
|
|||
I agree and have looked over the code without any issues found. I would think that if there was code conflict with any other mod it wouldnt be so hit or miss as I have lost a thread creation as both guest and logged in. But it doesnt seem to be consistant with any action in particular. Granted I cannot test this currently on a base oem style or code, I will do some more tests to see why this may be happening.
|
#14
|
||||
|
||||
This is a strange issue. Are you testing it in a brand new (test) forum?
|
#15
|
|||
|
|||
Update, in an attempt to isolate where it drops the thread creation, I isolated the email function by deleting my contact email addy in acp, and then adding an if/else in the xml product where if the contact email addy doesnt exist in options it doesnt fetch the hook.
It should just go to the create thread routine. So far, sometimes it does, sometimes it doesnt, logged in or not. So the emailer code isnt the issue. Will be back as I take it further... |
#16
|
|||
|
|||
OK, hafta take a break,...gonna let it rest for now, reverted all tests.
|
#17
|
|||
|
|||
Well I had to play with it just a tad more, came home from taking the wife out to dinner, and found a whole bunch of emails from this that suddenly showed up.
Of course there were no threads made but I am left to wonder if they were delayed in a batch email or something, maybe preventing the thread to be made? Dunno, cant dig into it right now, but thought I would mention. It isnt my server, maybe my vb mail settings? |
#18
|
|||
|
|||
I have this setup on a not so busy website, so I tried some email settings,...
old vb options email settings : Email Flood Check - 60 Use Mailqueue System - Yes (no locking) Use Cron Based Sending - Yes Number of Emails to Send Per Batch - 10 E-Mail Send Delay - None new vb options email settings : Email Flood Check - 0 Use Mailqueue System - No Use Cron Based Sending - No Number of Emails to Send Per Batch - 10 E-Mail Send Delay - None Then I tried to do a Contact Us and got the email immediatly but no thread created. Second try produced a thread. |
#19
|
|||
|
|||
Ok, I have been having issues with another mod here and the result of my problems has been the cron system.
I feel the same problem here. I know I posted above that my email settings didnt change the faulty operation, but now it seems to be working properly. My guts tell me that if these two settings in the vb email settings arent set to be off or "no": Use Mailqueue System Use Cron Based Sending That the emailer doesnt release the thread creation as it is waiting on the email cron. I am testing this as I speak, but these two settings may have to be turned off to make this setting work. Ok with me as my board isnt a heavy usage board and my server can handle the load of shooting the emails out on the fly instead of every ten minutes. These two might have to be added to the instructions of this mod. borbole, can you verify this is the settings your client uses for email? More as I test this.... |
#20
|
|||
|
|||
All URL's posted within the contact us message are not being posted as links when a new thread is being created. Just wanted to share.
|
#21
|
|||
|
|||
Yes, the coder explained his client wanted it that way. And he posted the same mod here.
I hope to find a solution for that too as it work better for my needs too. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|