Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4291
Latest: Robertqt
New This Month: 5
New This Week: 1
New Today: 0
Stats
Total Posts: 43721
Total Topics: 7586
Most Online Today: 43
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 38
Total: 39

Author Topic: Remove 'Additional Options'  (Read 3809 times)

0 Members and 1 Guest are viewing this topic.

Offline Tonyvic

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 35
    • View Profile
Remove 'Additional Options'
« on: March 19, 2018, 10:23:15 am »
As we don't allow comments would it be easy to remove the 'Additional Options' on the Add Picture page?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16643
    • View Profile
Re: Remove 'Additional Options'
« Reply #1 on: March 19, 2018, 10:30:59 am »
Do you just want to remove it from the template?
And how did you disable comments via permissions? or ?
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 Tonyvic

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 35
    • View Profile
Re: Remove 'Additional Options'
« Reply #2 on: March 19, 2018, 02:19:09 pm »
I guess removing it from the template would achieve the desired effect, please advise.
Disabled was probably the wrong word, all membergroups are denied adding comments in the SMF permissions and also via the 'Category Permissions' in the gallery settings.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16643
    • View Profile
Re: Remove 'Additional Options'
« Reply #3 on: March 19, 2018, 02:37:27 pm »
Remove this code in multiple spots in gallery2.template.php in your themes default.
Will check permissions in future versions for comments

Code: [Select]
<input type="checkbox" name="sendemail" checked="checked" /><b>' . $txt['gallery_notify_title'] .'</b>
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 Tonyvic

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 35
    • View Profile
Re: Remove 'Additional Options'
« Reply #4 on: March 23, 2018, 05:45:23 am »
Many thanks for your reply but as that code is not on it's own line in each spot it's a step too far for me. ???
I will leave it for now and hope a Mod or an easier option will be available in the future.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
4767 Views
Last post April 21, 2007, 10:13:58 pm
by olandir
6 Replies
7463 Views
Last post February 09, 2009, 07:13:38 pm
by SMFHacks
7 Replies
10433 Views
Last post April 10, 2014, 08:20:58 am
by SMFHacks
1 Replies
6039 Views
Last post July 11, 2011, 08:55:18 am
by SMFHacks
8 Replies
10611 Views
Last post August 19, 2016, 04:45:29 am
by Tonyvic

+- Recent Topics

ST Shop integration by SMFHacks
March 17, 2025, 08:28:26 pm

Contact Us by SMFHacks
March 16, 2025, 07:49:23 pm

HTTP 500 error during install by SMFHacks
March 13, 2025, 10:44:31 am

Site upgrade to 2.1 by SMFHacks
March 12, 2025, 09:29:43 pm

[Mod]WebP and AVIF File Support for SMF 2.1 by SMFHacks
March 10, 2025, 04:32:57 pm

Pretty URL's Pro support/help by [chrisB]
March 03, 2025, 10:18:09 am

More RSS feeds by melon
February 28, 2025, 08:23:21 am

SMF Shop / ST Shop Credits? by SMFHacks
February 22, 2025, 06:13:10 pm

Down_sendpm Error by Senkusha
February 22, 2025, 07:49:24 am

Additional Recommendations for SMF Store by SMFHacks
February 20, 2025, 03:40:50 pm

Powered by EzPortal