Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11897
Latest: NCorleone1
New This Month: 15
New This Week: 3
New Today: 1
Stats
Total Posts: 37802
Total Topics: 6655
Most Online Today: 93
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 68
Total: 68

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

+- Recent Topics

Extreme coding help by SMFHacks
March 23, 2017, 07:37:58 pm

Permissions system by Darkshadow
March 23, 2017, 09:26:41 am

Aprove link by Darkshadow
March 23, 2017, 09:23:04 am

Downloads folderm by davejo
March 21, 2017, 11:33:14 am

use on a sandbox pre-production? by drewactual
March 19, 2017, 10:22:13 pm

Delete ratings from profile? by yameth
March 17, 2017, 03:32:17 am

tiny url error by SMFHacks
March 16, 2017, 03:49:25 pm

Daughter menus by KevinK
March 16, 2017, 04:02:43 am

[Mod] Tagging System by Web Presence Consulting
March 15, 2017, 08:50:21 pm

audio into downloadsystem by johannes47
March 14, 2017, 11:15:33 am

Powered by EzPortal