Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Page with Tradable Pets? (http://www.mysidiaadoptables.com/forum/showthread.php?t=2402)

AlexC 09-17-2011 02:35 PM

Page with Tradable Pets?
 
I was wondering if there is a small php code I can enter into a page that will display a list of all the pets available for trade on the site?

I wanted to set up a "marketplace" so to speak, since the site is mostly based off member breeding and so forth. Members can create their own Ratteries and so on~ I want people to be able to just look through a (perhaps randomly organized) page with all of the currently trade-able rats on it, see if anything strikes their fancy and so on.

EDIT: if anyone can help me figure out how to enable the alternate bbcode, that would be wonderful.

SilverDragonTears 09-17-2011 05:38 PM

you can call all the owned adopts that are "fortrade" in the database and show them on a page...

SilverDragonTears 09-17-2011 05:44 PM

also you should add the alternative bbcode to your site =( I can't post them on my forum.

AlexC 09-17-2011 06:09 PM

I honestly have no idea how to do that, I'm not some php genius. xD And I will do that, I just had to reinstall the script due to lingering coding effects, so some of the features I had set up haven't been reactivated.

SilverDragonTears 09-17-2011 06:11 PM

I can code something for you =) Just give me awhile.

AlexC 09-17-2011 06:13 PM

thanks, that would be wonderful! <33

Do you know how to enable the alt bbc? I clicked the selection in the admin area, but it says I need to do something with the .htaccess thing, and I'm not sure. Is there a thread saying how?

SilverDragonTears 09-17-2011 06:17 PM

go into your control panel of your site server or FTP to edit the .htaccess file. Make sure it is named .htaccess

Then tell me what it says in that file (copy and paste it)

AlexC 09-17-2011 06:20 PM

Code:

RewriteEngine On


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^get/([0-9]+).gif$ /adoptables200/siggy.php?id=$1 [L]

This is all it says.

SilverDragonTears 09-17-2011 06:25 PM

Ok remove adoptables200 and put the folder that your adopt script is in. If it is in the root folder remove adoptables200 so it looks like:

Code:

/siggy.php?id=$1 [L]

AlexC 09-17-2011 06:31 PM

I did remove the folder part and now it's just:

Code:

RewriteEngine On


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^get/([0-9]+).gif$ /siggy.php?id=$1 [L]

but when I put the alternate BBCode into my siggy or testing it here, it's still not showing up. D:


All times are GMT -5. The time now is 09:48 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.