Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11875
Latest: adam8matek
New This Month: 12
New This Week: 2
New Today: 2
Stats
Total Posts: 37597
Total Topics: 6619
Most Online Today: 121
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

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

+- Recent Topics

Size of Image inserted into Forum Topic by scalesusa
February 18, 2017, 07:28:38 pm

Is it possible to not send email notification on sendpm function? by SMFHacks
February 16, 2017, 12:46:02 pm

Create One New Forum Topic with Batch Upload by SMFHacks
February 15, 2017, 09:46:26 pm

Looking for a mod that helps use include image in the post by DenDen60
February 13, 2017, 02:04:07 pm

Issue with resizing of images by SMFHacks
February 12, 2017, 07:30:16 am

Unable to upload MP4 video by landyvlad
February 12, 2017, 07:25:05 am

need help with Trader System 1.7 by snowball
February 11, 2017, 10:18:41 am

In a source file, how do I prompt guests that they are not allowed to enter by shuban
February 10, 2017, 01:35:29 pm

Do not run a query Mysql by GeorG
February 10, 2017, 08:56:57 am

Banned!!! by GeorG
February 10, 2017, 07:55:05 am

Powered by EzPortal