Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11705
Latest: iranwater
New This Month: 25
New This Week: 3
New Today: 1
Stats
Total Posts: 36920
Total Topics: 6493
Most Online Today: 63
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 44
Total: 44

Author Topic: How To: Restrict Options When Adding Items  (Read 3060 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, 10: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
2951 Views
Last post May 18, 2008, 05:00:34 pm
by SMFHacks
0 Replies
1809 Views
Last post October 13, 2008, 07:49:00 am
by darkorical
1 Replies
2920 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
4063 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
3023 Views
Last post August 10, 2012, 08:51:49 am
by amwebby

+- Recent Topics

Simple Portal Block - Classifieds by dan4ever
May 20, 2016, 02:15:37 pm

Release date? by SMFHacks
May 17, 2016, 06:41:15 am

No alerts when I need to aprove a ad by dan4ever
May 16, 2016, 07:32:36 am

how to find my code by SMFHacks
May 15, 2016, 08:51:25 am

anti adblock by SMFHacks
May 12, 2016, 08:36:28 pm

Audio player and profile tab? by SMFHacks
May 06, 2016, 01:02:40 pm

Additional Membergroups by SMFHacks
May 03, 2016, 01:24:46 pm

Menu Editor Pro with Simple Portal Home Page by Labradoodle-360
April 28, 2016, 01:55:16 pm

Menu Editor not functioning properly by Labradoodle-360
April 28, 2016, 01:53:14 pm

I'm lost in the stacks here. :( by SMFHacks
April 27, 2016, 11:37:30 am

Powered by EzPortal