Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12060
Latest: dpalenski
New This Month: 8
New This Week: 2
New Today: 1
Stats
Total Posts: 38559
Total Topics: 6796
Most Online Today: 69
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 32
Total: 32

Author Topic: Contact Page Version 4.0  (Read 563 times)

0 Members and 1 Guest are viewing this topic.

Offline Binkie

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Seniors Worldwide
Contact Page Version 4.0
« on: September 09, 2017, 07:24:27 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14320
    • View Profile
Re: Contact Page Version 4.0
« Reply #1 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Binkie

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Seniors Worldwide
Re: Contact Page Version 4.0
« Reply #2 on: September 10, 2017, 08:26:41 am »
You would need to modify Sources/Contact2.php

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

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..

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14320
    • View Profile
Re: Contact Page Version 4.0
« Reply #3 on: September 10, 2017, 09:09:50 am »
Yes that is part of it. There is one other spot
Change
Code: [Select]
$context['require_verification'] = (!empty($modSettings['reg_verification']) && $context['user']['is_guest'] == true);
To
Code: [Select]
$context['require_verification'] = true;
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Binkie

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Seniors Worldwide
Re: Contact Page Version 4.0
« Reply #4 on: September 10, 2017, 10:15:25 am »
Yes that is part of it. There is one other spot
Change
Code: [Select]
$context['require_verification'] = (!empty($modSettings['reg_verification']) && $context['user']['is_guest'] == true);
To
Code: [Select]
$context['require_verification'] = true;

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..

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14320
    • View Profile
Re: Contact Page Version 4.0
« Reply #5 on: September 10, 2017, 10:19:56 am »
for this part just set change to
if ($context['user']['is_guest'] == true)
To
if (1==1)
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Binkie

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Seniors Worldwide
Re: Contact Page Version 4.0
« Reply #6 on: September 10, 2017, 10:50:39 am »
Works, this is what I wanted..Thanks for helping me.

Thanks

Ron..

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14320
    • View Profile
Re: Contact Page Version 4.0
« Reply #7 on: September 10, 2017, 11:17:40 am »
Glad to help
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Binkie

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Seniors Worldwide
Re: Contact Page Version 4.0
« Reply #8 on: September 10, 2017, 11:26:19 am »
Glad to help

I am glad you are around, and making good mod.'s for us..

 

Related Topics

  Subject / Started by Replies Last post
Contact Page

Started by SMFHacks « 1 2 3 4 » Latest Mods

47 Replies
45100 Views
Last post February 23, 2008, 01:03:32 pm
by Ken.
2 Replies
3372 Views
Last post February 29, 2008, 01:18:32 am
by thekid
1 Replies
2718 Views
Last post December 25, 2008, 10:48:12 pm
by bluedevil
3 Replies
3733 Views
Last post January 31, 2009, 10:53:15 am
by fire2104
2 Replies
2443 Views
Last post January 14, 2010, 09:08:27 am
by Morfus

+- Recent Topics

[Theme] Sketchzoo by SMFHacks
February 22, 2018, 07:36:54 pm

Responsiveness SMF Gallery Pro 8 by SMFHacks
February 19, 2018, 11:50:25 am

database error by SMFHacks
February 17, 2018, 08:22:17 pm

SMF Status Update by Raziba
February 17, 2018, 07:32:02 pm

SMF Gallery Pro 8.0 Released! by SMFHacks
February 17, 2018, 06:50:01 pm

Just Paid for Pro...now what do I do? by SMFHacks
February 15, 2018, 03:19:20 pm

Search Feature by shuban
February 14, 2018, 02:23:03 pm

Credits from Referrals? by SMFHacks
February 13, 2018, 09:14:56 am

Uploading Video by TKO-100
February 13, 2018, 05:59:33 am

Pretty URLs issue by juliereader
February 10, 2018, 05:52:48 am

Powered by EzPortal