vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Contact Us Enhancement (https://vborg.vbsupport.ru/showthread.php?t=280572)

BirdOPrey5 03-22-2012 11:00 PM

Contact Us Enhancement
 
Contact Us Enhancement
by ChrisTERiS

25 Mar 2012 New version 1.1.0 Changes
  • Shows the company email as: you [at] domain.com instead of link
  • Moves the error messages just above the form to be more visible
  • Fixes a bug of blank page if errors occured.
  • I made transparent the image which appears in the form, for better appearance in dark backgrounds.
To upgrade:
  1. Download and unzip the new version
  2. Upload contactus.php at your forum directory
  3. Upload the file images/misc/contactus.png to images/misc overwritting the old one.
  4. Import product-contactus.xml checking overwrite.
----------------------------------------------------------------------




Like my Memberlist, this hack adds more features and a better design to the poor vB Contact Us Form. In details
  1. Lite version
    1. Ability to show one (or more) from the fields below in the contact us page:
      1. Company Name
      2. Address
      3. City, Zipcode
      4. State, Country
      5. Phone
      6. Fax
      7. Website
      8. Email
      9. Working hours
    2. Ability to request email verification from guest who are using the contact us form. If the user does not confirm his email in the given time, then a cronjob removes it, and you'll never be distrurbed from the spam emails.
    3. Visitor can request to get a copy of the message
    4. Ability to request from Guest to agree to your TOS before the "Submit button" appears.
    5. Ability to add a welcome intro text which appears at the top of the page.
  2. Pro version
    1. No Copyright link
    2. Ability to show Google Map of your location (just below your company's details)
    3. Ability to set departments, each one with its own email address.
    4. Ability to add extra fields in the form.
Installation:
  1. Download, Unzip and upload all files from the folder upload to the directory where your vB installation exist. contact.php file must be on the same level as forum.php
  2. Login to your Admincp and import product-contactus.xml
  3. Set the settings at Contact Us-> General settings
  4. That's all. After testing it's functionality and you want to use this page instead the original one, you must goto vB Settings-> Site Name / URL / Contact Details and replace sendmessage.php with contactus.php
Copyright:

There is a small copyright link in the bottom of the page. Don't remove it please.

Thank you
Chris

persianpros 03-23-2012 09:42 PM

nice mod but i like the pro version :D

Christos Teriakis 03-24-2012 06:17 AM

Quote:

Originally Posted by artman_hacker (Post 2312639)
nice mod but i like the pro version :D

I think that even with these features is much better than the original contact form.

Chris

bloodyred 03-24-2012 04:15 PM

I can already see the spam without having a captcha ... The Horror!

Bots can click links in emails!!!

Christos Teriakis 03-24-2012 04:27 PM

Quote:

Originally Posted by bloodyred (Post 2312857)
I can already see the spam without having a captcha ... The Horror!

Bots can click links in emails!!!

If you don't want to show your email there, just leave the email field empty.

Chris

Christos Teriakis 03-24-2012 05:41 PM

I changed the way that company's email appears, by replacing @ with ' [at] '. An update will soon be realize.

Chris

1320Nation 03-24-2012 06:05 PM

Is there anyway for us to change the css in the image with the girl? I have a dark website and the current text does not appear very well.

Christos Teriakis 03-24-2012 06:21 PM

Quote:

Originally Posted by psychobike (Post 2312890)
Is there anyway for us to change the css in the image with the girl? I have a dark website and the current text does not appear very well.

Tomorrow I'll release some additional photos and the only that you need is to rename it. Yestrerday I was in rush to relase it, so I added the one that I've in my site.

Chris

1320Nation 03-24-2012 06:37 PM

Quote:

Originally Posted by ChrisTERiS (Post 2312891)
Tomorrow I'll release some additional photos and the only that you need is to rename it. Yestrerday I was in rush to relase it, so I added the one that I've in my site.

Chris

Great...thank you!

Christos Teriakis 03-24-2012 06:43 PM

Quote:

Originally Posted by psychobike (Post 2312898)
Great...thank you!

Even if I'm not good designer, give me your background color to modify the current photo and send it to you.

Chris


All times are GMT. The time now is 04:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02094 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete