+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 115
Total: 115

Forum > General SMF Forum

Contact Page Version 4.0

(1/2) > >>

Binkie:
I see only a Guest must use the 'verification' how can I make it so 'everyone' using the Contact Page must use the 'verification'

Thanks

Ron.. ;D

SMFHacks:
You would need to modify Sources/Contact2.php

And remove checks for $context['user']['is_guest'] == true

Binkie:

--- Quote from: SMFHacks on September 09, 2017, 11:40:04 pm ---You would need to modify Sources/Contact2.php

And remove checks for $context['user']['is_guest'] == true

--- End quote ---

This is the part: if ($_REQUEST['sa'] == 'save')
      {
      
         if ($context['user']['is_guest'] == true)
         {   

So if I'm reading you correct, I remove the following: if ($context['user']['is_guest'] == true) or just remove the ( & ) at the beginning and the end..

SMFHacks:
Yes that is part of it. There is one other spot
Change

--- Code: --- $context['require_verification'] = (!empty($modSettings['reg_verification']) && $context['user']['is_guest'] == true);

--- End code ---
To

--- Code: --- $context['require_verification'] = true;

--- End code ---

Binkie:

--- Quote from: SMFHacks on September 10, 2017, 09:09:50 am ---Yes that is part of it. There is one other spot
Change

--- Code: --- $context['require_verification'] = (!empty($modSettings['reg_verification']) && $context['user']['is_guest'] == true);

--- End code ---
To

--- Code: --- $context['require_verification'] = true;

--- End code ---

--- End quote ---

I did remove the ( and ) from the first part. I also removed the text: $context['require_verification'] = (!empty($modSettings['reg_verification']) && $context['user']['is_guest'] == true); and replaced it with: $context['require_verification'] = true;

End up with a blank page when opening Contact Page.. What am I doing wrong here..

Navigation

[0] Message Index

[#] Next page

+- Recent Topics

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

Powered by EzPortal
Go to full version