Previous Thread
Next Thread
Print Thread
Rate Thread
#318166 08/24/2009 1:26 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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.
Attachments
UBBContactv01.zip (3.87 KB, 22 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, My UBB Scripts
Sponsored Links
Gizmo #318167 08/24/2009 1:49 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
thanx again :-)

testing this out today

Joined: Mar 2007
Posts: 94
Power User
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

Joined: Mar 2007
Posts: 94
Power User
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.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Sponsored Links
Gizmo #318172 08/24/2009 3:40 PM
Joined: Mar 2007
Posts: 94
Power User
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!

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Gizmo #318174 08/24/2009 4:45 PM
Joined: Mar 2007
Posts: 94
Power User
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.

badfrog #318177 08/25/2009 10:12 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Very nice Gizzy, thank you for posting it thumbsup


- Allen wavey
- What Drives You?
Joined: Mar 2007
Posts: 94
Power User
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
badfrog #318179 08/25/2009 11:50 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Gizmo #318180 08/25/2009 1:23 PM
Joined: Mar 2007
Posts: 94
Power User
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.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts

Link Copied to Clipboard
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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)