UBB.Dev
Posted By: Gizmo [7.x] UBB.Contact - 08/24/2009 8:26 PM
VNC Web Design UBB.Contact by Gizmo (James at VNC Web Design; http://www.virtualnightclub.net/)

Homepage: http://www.virtualnightclub.net/detail/3/ubb-contact.php
Support: https://www.ubbdev.com/forums/ubbthreads.php/topics/318166/7_x_UBB_Contact.html

About:
This addon will allow you to have a contact page on your forums so your users can send you emails without having to publicly display your email address.

Install Instructions:
Upload the included files to your server then edit the language file to set your parameters.

Instructions:
Call the script as ubbthreads.php/ubb/contact or ubbthreads.php?ubb=contact

Upcoming:
I wanted to wait to release this until I could figure out how Rick handled captcha's in v7 but I've instead left the whole captcha bit out of v0.1 and will instead work on an option for a later release. As a "patch" this ships via stock with only allowing registered users to contact you; if you'd like to change this, change the "reg_only" line in the script file to 0 (vs it's default of 1).

This script also uses a simple mail call vs using the UBB's mail subroutines, in a future version that will be changed as well.

I really don't expect this to work for everyone, but I keep being asked for it, so here it is in all of its incomplete glory.

Attached File
UBBContactv01.zip  (22 downloads)
Posted By: badfrog Re: [7.x] UBB.Contact - 08/24/2009 8:49 PM
thanx again :-)

testing this out today
Posted By: badfrog Re: [7.x] UBB.Contact - 08/24/2009 8:53 PM
how would I chge the thank you page to a URL redirect?

or modify it to look like
http://www.vannin.com/threads/wrapper.php?wrap=added

I know.. I'm so demanding, lol
Posted By: badfrog Re: [7.x] UBB.Contact - 08/24/2009 9:23 PM
other than the thank you/redirect this is working great.
modified the form to look like the one I am currently using, all works well so far.
Posted By: Gizmo Re: [7.x] UBB.Contact - 08/24/2009 9:58 PM
Why change it to that? Just change the wordlet to:
Code
<center><img src=\"http://www.vannin.com/images/img_thanks_2.png\" /><br /><br />\n\n

<span style=\"font-family: Rockwell; font-size: 20pt;\">All e-mails ARE read, some even get answered! ;-)<</span>
Posted By: badfrog Re: [7.x] UBB.Contact - 08/24/2009 10:40 PM
I wasn't sure if you could put code in the wordlet, or if it had to be just text.

thanx, I got it looking the way I want and is now running on my site!
Posted By: Gizmo Re: [7.x] UBB.Contact - 08/24/2009 10:51 PM
A wordlet can be anything you want; just be sure to escape "'s hehe...
Posted By: badfrog Re: [7.x] UBB.Contact - 08/24/2009 11:45 PM
yeah, it took me a few tries to get the escapes correct and the format the way I wanted.

I'm very happy with it, even without captcha verification.
never had it on my old form, rarely ever got spammed.
Posted By: AllenAyres Re: [7.x] UBB.Contact - 08/25/2009 5:12 PM
Very nice Gizzy, thank you for posting it thumbsup
Posted By: badfrog Re: [7.x] UBB.Contact - 08/25/2009 6:47 PM
figures, I say I'm not worried about the captcha, never seem to get spammed, and last night I get nailed....
Posted By: Gizmo Re: [7.x] UBB.Contact - 08/25/2009 6:50 PM
lol... could always require registered users and pray you don't get emails about registration issues lol..
Posted By: badfrog Re: [7.x] UBB.Contact - 08/25/2009 8:23 PM
except I need it to be available to anyone.. I get lots of feedback from non members, don't want to force people to join just to contact me.
Posted By: Gizmo Re: [7.x] UBB.Contact - 08/25/2009 9:56 PM
Originally Posted by badfrog
except I need it to be available to anyone.. I get lots of feedback from non members, don't want to force people to join just to contact me.
Haha, you know, some sites would do just that :x...

I'm thinking about integrating "recaptcha" into the next build; I'd love it if Rick would include it as a captcha option in threads...
© UBB.Developers