Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11315
Latest: MrOsE57Th0
New This Month: 7
New This Week: 15
New Today: 1
Stats
Total Posts: 35528
Total Topics: 6271
Most Online Today: 58
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

Author Topic: How To: Restrict Options When Adding Items  (Read 2502 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.

 

+- Recent Topics

Banned!!! by SMFHacks
July 03, 2015, 12:01:08 pm

No option to ad picture to Members Galleries in drop down list. by vmstek
July 02, 2015, 08:47:41 am

suggestion picture upload by exit
July 02, 2015, 02:30:08 am

"Bulk Add Pictures" doesn't work | Version 7.0.4 by lakestclair
July 01, 2015, 10:57:05 am

Slideshow ends after 50 pics by SMFHacks
June 30, 2015, 10:01:30 pm

What is the advantage of this mod over doing it manually? by rexall
June 29, 2015, 11:15:35 pm

Badge Awards by balon
June 29, 2015, 04:59:35 pm

Mark all as Viewed by SMFHacks
June 28, 2015, 01:18:38 pm

How to do like button on smf like this page by SMFHacks
June 28, 2015, 12:44:29 pm

Early support for smf 2.1 by SMFHacks
June 28, 2015, 12:06:54 pm

Powered by EzPortal