Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[0.7.3 / 0.7.4 ] Single Seller Mod (originally created by Renlok)
#1
The single seller mod essentially makes it so only you can sell items on the platform

Open: register.php
Find
Code:
'" . $selected_accounttype . "')";

Replace With

Code:
'buyer')";

Open: header.php
Find:

Code:
'B_CAN_SELL' => (($system->SETTINGS['uniqueseller'] > 0 && $_SESSION['WEBID_LOGGED_IN'] == $system->SETTINGS['uniqueseller']) || $system->SETTINGS['uniqueseller'] == 0),

Replace With

Code:
'B_CAN_SELL' => ($system->SETTINGS['accounttype'] == 'sellerbuyer' && $_SESSION['PHPAUCTION_LOGGED_ACCOUNT'] == 'seller'),

SQL:
run this in the phpmyadmin or whatever SQL program you use

Code:
UPDATE webid_users SET accounttype = 'seller' WHERE id = 1;
UPDATE webid_settings SET accounttype = 'sellerbuyer';
(change 1 to the id of your user account on your site)

and now only your account can sell items
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Rommie