Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 184
Total: 184

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

0 Members and 1 Guest are viewing this topic.

Offline Binkie

  • Member
  • *
  • 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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Binkie

  • Member
  • *
  • 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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Binkie

  • Member
  • *
  • 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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Binkie

  • Member
  • *
  • 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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Binkie

  • Member
  • *
  • 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

49 Replies
53803 Views
Last post August 03, 2022, 09:45:42 pm
by Nicole
8 Replies
10626 Views
Last post May 19, 2008, 10:52:15 pm
by Skyview
0 Replies
4682 Views
Last post August 18, 2007, 03:01:18 pm
by Hefestos
2 Replies
4924 Views
Last post February 29, 2008, 01:18:32 am
by thekid
2 Replies
4227 Views
Last post January 14, 2010, 09:08:27 am
by Morfus

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal