Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Templates and Themes (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=26)
-   -   Session Street: Sunset (http://www.mysidiaadoptables.com/forum/showthread.php?t=1780)

Tequila 01-23-2011 07:12 PM

Go ahead and add them in. :)

Just need to add the following somewhere in the CSS file:
PHP Code:

table {
width:100%;
border:0px;



RoconzaArt 01-23-2011 10:54 PM

I think I found a error. I installed the theme and add the changes to the functions only to get this in my trade/redeem page.

Trade.php
Quote:

Fatal error: Call to undefined function getcash() in /home/a8858065/public_html/adoptables/trade.php on line 87
Redeem.php
Quote:

Fatal error: Call to undefined function getcash() in /home/a8858065/public_html/adoptables/redeem.php on line 79
I didn't do any thing to the script but install the theme and change the functions.php like the install said. In fact after removing your functions edit the trade page returned back to normal.

Hall of Famer 01-23-2011 10:59 PM

Well it appears that the function getcash() is missing? Add the lines below somewhere in your function.php file:

PHP Code:

function getcash($loggedinname){

include(
"config.php");

//First we see if we are logged in or not

$loginstatus logincheck();
$isloggedin $loginstatus[loginstatus];
$loggedinname $loginstatus[username];

$query "SELECT * FROM ".$prefix."users WHERE username = '$loggedinname'";
$result = @mysql_query($query);
$num = @mysql_numrows($result);

//Loop out code
$i=0;
while (
$i 1) {

$mycash=@mysql_result($result,$i,"dollar");

$i++;
}

return 
$mycash;




RoconzaArt 01-23-2011 11:17 PM

Yep that was it right there.

Hall of Famer 01-23-2011 11:19 PM

Did it work when you add getcash() to function.php, or did it still give you the same error?

RoconzaArt 01-23-2011 11:53 PM

Yes it did, thank you very much.

Hall of Famer 01-24-2011 12:03 AM

You are very welcome, guess I should tell Enddayne to use upgraded version of Mysidia Adoptables to develop her themes. XD


All times are GMT -5. The time now is 05:22 AM.

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