Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11949
Latest: ted245
New This Month: 14
New This Week: 1
New Today: 1
Stats
Total Posts: 37980
Total Topics: 6685
Most Online Today: 58
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 55
Total: 55

Author Topic: How To: Restrict Options When Adding Items  (Read 3562 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
3408 Views
Last post May 18, 2008, 06:00:34 pm
by SMFHacks
0 Replies
2114 Views
Last post October 13, 2008, 08:49:00 am
by darkorical
1 Replies
3337 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
4495 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
3638 Views
Last post August 10, 2012, 09:51:49 am
by amwebby

+- Recent Topics

Ad sell pro by SMFHacks
June 26, 2017, 01:18:52 pm

Importing GeoIP into MySQL by kirkvan
June 26, 2017, 10:42:01 am

ad code by SMFHacks
June 24, 2017, 11:45:17 am

Responsive SMFHacks mods for SMF2.1 by Vincent Volmer
June 23, 2017, 09:16:48 am

[WIP] SMF Wiki for SMF 2.0.14 by SMFHacks
May 31, 2017, 10:49:05 pm

Are you killing your forum? by shuban
May 25, 2017, 01:26:02 pm

[Mod]Unofficial SMF 1.1.23 for PHP7 by shuban
May 25, 2017, 01:15:53 pm

Bulk Upload Option? by SMFHacks
May 25, 2017, 01:07:41 pm

nCode Image Resizer ssl sertifika ? by sempatiko
May 23, 2017, 02:50:28 pm

seo4smf_lite-3.2.0-2.1.x by sempatiko
May 23, 2017, 02:34:10 pm

Powered by EzPortal