Previous Thread
Next Thread
Print Thread
Rate Thread
[7.x] UBB.Contact #318166 08/24/2009 1:26 PM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline OP
UBB.Dev / UBB.Wiki Owner
Time Lord
OP Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
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 Files
UBBContactv01.zip (3.87 KB, 21 downloads)
SHA1: 35ffbe6e4407de0ecd2142d4c16ef838642536cb
Last edited by Gizmo; 08/24/2009 1:37 PM.

UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Sponsored Links
Re: [7.x] UBB.Contact [Re: Gizmo] #318167 08/24/2009 1:49 PM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
thanx again :-)

testing this out today

Re: [7.x] UBB.Contact [Re: badfrog] #318168 08/24/2009 1:53 PM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
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

Re: [7.x] UBB.Contact [Re: badfrog] #318170 08/24/2009 2:23 PM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
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.

Re: [7.x] UBB.Contact [Re: badfrog] #318171 08/24/2009 2:58 PM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline OP
UBB.Dev / UBB.Wiki Owner
Time Lord
OP Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
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>


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Sponsored Links
Re: [7.x] UBB.Contact [Re: Gizmo] #318172 08/24/2009 3:40 PM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
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!

Re: [7.x] UBB.Contact [Re: badfrog] #318173 08/24/2009 3:51 PM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline OP
UBB.Dev / UBB.Wiki Owner
Time Lord
OP Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
A wordlet can be anything you want; just be sure to escape "'s hehe...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] UBB.Contact [Re: Gizmo] #318174 08/24/2009 4:45 PM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
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.

Re: [7.x] UBB.Contact [Re: badfrog] #318177 08/25/2009 10:12 AM
Joined: Mar 2000
Posts: 21,079
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Very nice Gizzy, thank you for posting it thumbsup


- Allen wavey
- What Drives You?
Re: [7.x] UBB.Contact [Re: AllenAyres] #318178 08/25/2009 11:47 AM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
figures, I say I'm not worried about the captcha, never seem to get spammed, and last night I get nailed....

Sponsored Links
Re: [7.x] UBB.Contact [Re: badfrog] #318179 08/25/2009 11:50 AM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline OP
UBB.Dev / UBB.Wiki Owner
Time Lord
OP Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
lol... could always require registered users and pray you don't get emails about registration issues lol..


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] UBB.Contact [Re: Gizmo] #318180 08/25/2009 1:23 PM
Joined: Mar 2007
Posts: 94
badfrog Offline
Power User
Offline
Power User
Joined: Mar 2007
Posts: 94
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.

Re: [7.x] UBB.Contact [Re: badfrog] #318181 08/25/2009 2:56 PM
Joined: Jan 2000
Posts: 5,786
Gizmo Offline OP
UBB.Dev / UBB.Wiki Owner
Time Lord
OP Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,786
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.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps

Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,490
Posts293,665
Members13,828
Most Online5,166
Sep 15th, 2019
Top Posters(All Time)
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,786
Greg Hard 4,625
Top Posters(30 Days)
isaac 4
Today's Statistics
Currently Online 1426
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 21
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191013.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.044s Queries: 16 (0.013s) Memory: 3.2997 MB (Peak: 3.5218 MB) Data Comp: Zlib Server Time: 2019-10-21 15:30:48 UTC
Valid HTML 5 and Valid CSS