Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 08-31-2013, 10:26 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 49,666
Hwona is on a distinguished road
Default

I kind of need the same thing too. xP Even though the shop is "hidden", it appears as "closed" on the marketplace page.
__________________
Reply With Quote
  #12  
Old 09-01-2013, 01:36 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,544
IntoRain is on a distinguished road
Default

My item-related files are kinda modified at the moment, so they don't really have this mistake anymore, but I'll try to help

In class_shoplist

PHP Code:
 protected function setfetchmode($fetchmode){
     
// This method determines the fetchmode of shoplist
     
$whereclause "shoptype = '{$this->type}' ";
     switch(
$fetchmode){
        case 
"invisible":
           
$whereclause .= "and status='invisible'";
           break;
        case 
"open":
               
$whereclause .= "and status='open'";
               break;
           case 
"closed":
               
$whereclause .= "and status='closed'";
        default:
           
$whereclause .= "";        
     }
     
// End of Switch Statement
     
return $whereclause;
  } 
Is it like this? When you create a shoplist in Shop (or any other page you make for the hidden shops) you have to count the Construct which takes a fetchmode (open, closed or invisible), I don't know which arguments yours takes but I think it's at least fetchmode. So it's like:

$shoplist = new Shoplist("open") will only retrieve Shops with status = open
__________________


asp.net stole my soul.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
More Questions ^^'' Brookreed Questions and Supports 4 08-08-2013 05:06 PM
Just some Questions i have. rickasawr Questions and Supports 3 04-30-2011 11:04 PM
Some Questions? :) blondbananamix Questions and Supports 10 04-25-2011 01:47 PM
two questions RoconzaArt Questions and Supports 10 02-24-2011 09:15 AM
Some questions PokePets Questions and Supports 7 07-15-2010 03:04 PM


All times are GMT -5. The time now is 08:36 PM.

Currently Active Users: 953 (0 members and 953 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636