Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11128
Latest: gordonlife
New This Month: 45
New This Week: 8
New Today: 2
Stats
Total Posts: 34778
Total Topics: 6161
Most Online Today: 103
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 62
Total: 62

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

Enotify - assistance by gordonlife
Today at 03:55:07 am

post topic in a forum board when a picture is uploaded by donk
Today at 12:39:10 am

Mutiple ads on right side, header, footer, etc. by SMFHacks
February 26, 2015, 12:13:27 pm

TopMessageIndex by rickk
February 26, 2015, 04:33:50 am

Problem Leaving Feedback in Trader System Mod. by mrnuke7175
February 25, 2015, 09:58:45 pm

Addthis linking for Facebook incorrect link .. by SMFHacks
February 25, 2015, 09:34:14 pm

Virus, malware, etc. protection for uploads via Download, gallery, etc. by access control forum
February 25, 2015, 08:28:37 pm

Thumbnails on category by Empire
February 25, 2015, 06:51:08 pm

Where setup days left by SMFHacks
February 24, 2015, 08:08:36 pm

Photo Tagging collor by Panoulis64
February 24, 2015, 09:30:22 am

Powered by EzPortal