Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11591
Latest: PatriciaApril1
New This Month: 17
New This Week: 2
New Today: 2
Stats
Total Posts: 36565
Total Topics: 6418
Most Online Today: 54
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 42
Total: 43

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

Gallery search sub category by Michel68
February 13, 2016, 11:48:21 am

Does this mod still exist? by TehranSD
February 13, 2016, 08:34:42 am

Possible to make keywords required by SMFHacks
February 12, 2016, 10:02:46 am

Moderation of files, option to message uploader by Puppeteer
February 09, 2016, 10:47:00 pm

[Mod]Open Embed by nend
February 08, 2016, 07:40:25 am

Copyright Removal Key Fail - EzPortal by HDB
February 07, 2016, 04:41:59 pm

I need totorial how to place ad codes outsite smf on blogspot by SMFHacks
February 07, 2016, 03:07:46 pm

Link user categories to profiles? by Dragon41673
February 07, 2016, 08:38:58 am

Horizontal Banner within post by northview
February 06, 2016, 11:50:48 pm

Open Embed 0.4 by nend
February 04, 2016, 09:50:05 pm

Powered by EzPortal