vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Contact Us Email Feedback Form (with IP address & status of sender) (https://vborg.vbsupport.ru/showthread.php?t=41791)

Chris M 08-06-2002 12:34 PM

Winner:)

Satan

Erwin 08-06-2002 01:16 PM

New Version 2.2:

If the member who emails you is Unregistered or Not Logged In, the email will tell you that the Sender is Unregistered or Not Logged In.

If the member who emails you is Registered, then the username and email address of the member on file will be sent to you as well - this way, even if a registered member tries to pretend to be another member or put in a fake address, you will know who the member is.

Example of an email from a Registered Member:
----------------------------------------------------------

Quote:


******* Delete this section before replying ********

IP address of sender: 123.123.12.12
Host name: test.hostname.com
Click below to search for members with same IP:
http://www.yourforums.com/forums/adm...=123.123.12.12

Registered Member - Username: Erwin
Email on file: admin@myforums.com

******* Delete this section before replying ********

Hi,

Test message here...

- Erwin



Email from a Unregistered User or Member who is Not Logged In:
----------------------------------------------------------------------

Quote:


******* Delete this section before replying ********

IP address of sender: 123.123.12.12
Host name: test.hostname.com
Click below to search for members with same IP:
http://www.yourforums.com/forums/adm...=123.123.12.12

Not Logged In or Unregistered User


******* Delete this section before replying ********

Hi,

Test message here...

- Erwin



Upgrading
-------------------

- to upgrade from version 1.2 - upload the new contact.php and send.php files, and replace the "contact" template with the new one.

- to upgrade from version 2.0 - upload the new send.php

- to upgrade from version 2.1 - upload the new send.php

freeshares1 08-06-2002 02:52 PM

erwin,

Great hack, that keeps getting betting. ! thing how about a pull down box with the subjects.

Erwin 08-06-2002 11:08 PM

I was debating between radio buttons or a pull-down menu - it's easy to set up either way - in the end I decided on radio buttons, because if they chose other "Other" it was clear that they had to fill out the text box to the right. You can't really make it as clear with a pull-down menu.

But if you want a pull down menu, just use the < select > < /select > tags.

MalaK_3araby 08-08-2002 11:37 AM

Erwin ...
Thanks for a sweet sweet hack.
am off to update it.

Dark_Wizard 08-08-2002 12:00 PM

Nice hack! Thx!

nhlrat 08-11-2002 11:37 AM

If a user is unregisterd should it let them use the form anyway? Currently if a new user comes along and is having trouble registering, so they click the footer asking to contact us for help, they are not given access to the contact.php page becasue they aren't registered??? Thanks.

Jim

Erwin 08-11-2002 11:39 AM

Unregistered users can still use the form - that is the point of this hack - you get different information in the email if the person is unregistered.

nhlrat 08-13-2002 05:11 PM

Thanks for your response and the great hack, but I guess what I was trying to say is that the results I am getting is that if I come along as an unregistered/not logged in user and try to access the contact page to send an email becasue maybe I'm having problems registering, I am told I can't access the contact.php page because I'm not logged in. Is there a way to fix this?

Erwin 08-13-2002 08:20 PM

Quote:

Originally posted by nhlrat
Thanks for your response and the great hack, but I guess what I was trying to say is that the results I am getting is that if I come along as an unregistered/not logged in user and try to access the contact page to send an email becasue maybe I'm having problems registering, I am told I can't access the contact.php page because I'm not logged in. Is there a way to fix this?
I had a look at my php files again.

Neither the contact.php or the send.php files check for user status. Unless you added anything new to the files, or you check status for every page of your forum via global.php, it's not my hack that is causing the problem.

Make sure you don't add the additional code elsewhere in this thread to restrict the page to registered members only. Download the current ZIP and upload the 2 PHP files to your forum directory again. I repeat - my files in the ZIP do NOT check user status. So I don't know why unregistered users cannot access your feedback form. It is designed to work for ALL users.


All times are GMT. The time now is 01:06 PM.

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.01218 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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