Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12209
Latest: esoterico
New This Month: 17
New This Week: 0
New Today: 0
Stats
Total Posts: 39239
Total Topics: 6906
Most Online Today: 120
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 33
Total: 33

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

0 Members and 1 Guest are viewing this topic.

Offline Tonyvic

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 20
    • 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: 14646
    • 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
  • Newbie
  • *****
  • Posts: 20
    • 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: 14646
    • 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
  • Newbie
  • *****
  • Posts: 20
    • 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
3313 Views
Last post April 21, 2007, 10:13:58 pm
by olandir
6 Replies
4457 Views
Last post February 09, 2009, 07:13:38 pm
by SMFHacks
7 Replies
6290 Views
Last post April 10, 2014, 08:20:58 am
by SMFHacks
1 Replies
3336 Views
Last post July 11, 2011, 08:55:18 am
by SMFHacks
8 Replies
7553 Views
Last post August 19, 2016, 04:45:29 am
by Tonyvic

+- Recent Topics

banner visible only to admin by SMFHacks
October 21, 2018, 08:09:00 am

message editor pro by dan42101
October 19, 2018, 11:26:45 pm

multiple currencies bug by SMFHacks
October 19, 2018, 09:45:49 pm

Looking for ideas for next SMF Classifieds by SMFHacks
October 19, 2018, 04:41:48 pm

Turn off Download Stats? by SMFHacks
October 18, 2018, 12:12:28 pm

KARMA Badge by SMFHacks
October 17, 2018, 11:17:16 pm

remove the boards ? by SMFHacks
October 16, 2018, 03:08:00 pm

Upgraded to pro - some features not working? by SMFHacks
October 16, 2018, 10:21:38 am

SMF lottery mod by SMFHacks
October 13, 2018, 08:02:41 am

Error after adding Russian translation by SMFHacks
October 08, 2018, 04:10:41 pm

Powered by EzPortal