Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11984
Latest: adm123123
New This Month: 10
New This Week: 5
New Today: 2
Stats
Total Posts: 38104
Total Topics: 6708
Most Online Today: 114
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 111
Total: 111

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

+- Recent Topics

[Urgent] What happens to CheckGroupExpire if index.php gets hit hard per second by shuban
August 23, 2017, 04:40:16 pm

Purchase Notification Email to Store Admins by SMFHacks
August 22, 2017, 12:21:44 pm

Advance Fake Users and Guests Online by SMFHacks
August 22, 2017, 12:03:40 pm

Won't install in ShelfLife theme. No code matching "Find" code. by ted245
August 11, 2017, 10:12:59 am

Image Linking Codes section missing after install by ted245
August 11, 2017, 08:31:52 am

please i need a programmer who can build this exact forum using smf by horlique
August 07, 2017, 09:03:25 am

Are SMFHack mods compatible with SMF 2.1? by SMFHacks
August 06, 2017, 07:56:38 am

Allow user to customize username and password by SMFHacks
August 04, 2017, 12:22:53 pm

Reset gallery by SMFHacks
August 03, 2017, 11:04:39 am

Members Can't create a Category to upload photos to by SMFHacks
August 02, 2017, 05:07:03 pm

Powered by EzPortal