Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11913
Latest: g0ordo0n4
New This Month: 14
New This Week: 2
New Today: 1
Stats
Total Posts: 37892
Total Topics: 6667
Most Online Today: 93
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 85
Total: 85

Author Topic: How To: Restrict Options When Adding Items  (Read 3489 times)

0 Members and 1 Guest are viewing this topic.

Offline frustrated

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
How To: Restrict Options When Adding Items
« on: May 11, 2011, 11:19:27 am »
Hi all,

With the new store feature that allows you to have users sell items, I figured I'd drop this little hint...

If you want to restrict what people can or can't do when posting something for sale, like when you don't want people being able to set shipping, etc. just do this:

1.) Find the "additem" function in Store2.php

2.) Place style="display:none;" within the <tr> tag of any option you want to disappear! They're named pretty clearly in the code, so you'll be able to spot which lines of code relate to which options.


It's that simple.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3334 Views
Last post May 18, 2008, 06:00:34 pm
by SMFHacks
0 Replies
2064 Views
Last post October 13, 2008, 08:49:00 am
by darkorical
1 Replies
3293 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
4429 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
3568 Views
Last post August 10, 2012, 09:51:49 am
by amwebby

+- Recent Topics

Custom Fields in Gallery by bknapp
Today at 11:41:23 am

With .htaccess, how do I redirect an action to another action by nend
Today at 10:29:51 am

RSS Feed killed my forum by hippieboy123
April 18, 2017, 07:39:26 am

Is there a converter than converts all files found in topics of a specific board by SMFHacks
April 13, 2017, 02:46:18 pm

Sidebar Image width by hippieboy123
April 12, 2017, 01:32:00 pm

I run a Custom Theme and have many Test Failed - What to do? by SMFHacks
April 11, 2017, 05:12:15 pm

Daughter menus by Labradoodle-360
April 08, 2017, 05:37:22 pm

Lost my copyright removal when I converted forum to SSL by Nova
April 08, 2017, 01:19:50 pm

Newsletter Pro errors in log by SMFHacks
April 03, 2017, 04:54:40 pm

Random Image Block code by landyvlad
March 30, 2017, 02:54:32 am

Powered by EzPortal