Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12356
Latest: Hermankidd
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 39780
Total Topics: 7006
Most Online Today: 78
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 37
Total: 37

Author Topic: Classifieds v2.0 how to disable add auction menu  (Read 1535 times)

0 Members and 1 Guest are viewing this topic.

Offline cosmicx

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Baguio Ads | Baguio City Online Classifieds Ads
Classifieds v2.0 how to disable add auction menu
« on: August 15, 2011, 11:26:56 pm »
any how-to's?

i want to disable/remove the add auction menu.
« Last Edit: August 15, 2011, 11:28:33 pm by cosmicx »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14904
    • View Profile
Re: Classifieds v2.0 how to disable add auction menu
« Reply #1 on: August 15, 2011, 11:45:38 pm »
Open Sources/Classified2.php this will remove the top level menu for add auction/listings

Around line 7172
Find and remove
Code: [Select]

// Are there listing categories
if ($listing != 0)
$context['classifieds']['buttons']['selectaddlisting'] =  array(
'text' => 'class_text_addlisting',
'url' => $scripturl . '?action=classifieds;sa=selectcat;type=listing' . $catExtra,
'lang' => true,
);
// Are there auction categorys
if ($auction != 0)
$context['classifieds']['buttons']['selectaddauction'] =  array(
'text' => 'class_text_addauction',
'url' => $scripturl . '?action=classifieds;sa=selectcat;type=auction' . $catExtra,
'lang' => true,
);

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline cosmicx

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Baguio Ads | Baguio City Online Classifieds Ads
Re: Classifieds v2.0 how to disable add auction menu
« Reply #2 on: August 16, 2011, 01:14:52 am »
thank you very much... it worked well.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2512 Views
Last post June 17, 2009, 10:44:22 am
by SMFHacks
0 Replies
1605 Views
Last post January 03, 2011, 10:59:31 pm
by G1
1 Replies
1722 Views
Last post April 12, 2011, 02:08:15 pm
by SMFHacks
1 Replies
1992 Views
Last post April 15, 2011, 02:31:43 pm
by SMFHacks
2 Replies
144 Views
Last post May 19, 2019, 11:03:42 pm
by ajac63

+- Recent Topics

[Mod]Login Menu Button by SMFHacks
July 05, 2019, 03:26:24 pm

Update by SMFHacks
June 19, 2019, 10:58:25 am

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

Powered by EzPortal