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
  #1  
Old 04-10-2012, 12:43 PM
StarGirl's Avatar
StarGirl StarGirl is offline
Member
 
Join Date: Feb 2012
Posts: 45
Gender: Female
Credits: 8,681
StarGirl is on a distinguished road
Default Some questions.

1. I just upgraded to v1.3.1, and it said there was a new pound/promocode system. But I can't find any of these options in the admin CP. Where can I find them ?

2. Sig images don't work for me. I copy the BBCode but nothing shows as a result, if I go to the image url then I get a Bad Header request.. ??

3. In the new version, I see you've updated alot of, things. Now the avatar part I put in in functions.php doesn't work anymore. How to make a avatar show up in the sidebar?
Reply With Quote
  #2  
Old 04-10-2012, 12:48 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 396,358
Hall of Famer is on a distinguished road
Default

1. The promocode settings can be accessed from admincp/adopt.php file, while the pound system settings can be edited from admincp/settings.php.

2. Are you sure the images used to work for you in the first place? If so, they should work just fine this time. If you happen to upload images through ACP, try to look into the table prefix.filemap and see if their urls are correct.

3. This I am not quite sure, the approach should not differ much from what you've done in Mys v1.3.0.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 04-10-2012, 02:09 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,908
SilverDragonTears is on a distinguished road
Default

For the avatar in the functions.php just place this where you want it to show up.

Code:
		$row = $GLOBALS['adopts']->select("users_profile", array(), "username='{$loggedinname}'")->fetchObject();

	        $sidebar .= "<img src='{$row->avatar}' border='0' width='100px' height='100px'><br><br>";
__________________

Check out SilvaTales
Reply With Quote
  #4  
Old 04-10-2012, 02:14 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 396,358
Hall of Famer is on a distinguished road
Default

@Silverdragontears:
So you figure this out already, not bad. XD
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 04-10-2012, 02:15 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,908
SilverDragonTears is on a distinguished road
Default

Yep :) Just need your help still in my thread ;)
__________________

Check out SilvaTales
Reply With Quote
  #6  
Old 04-11-2012, 09:25 AM
StarGirl's Avatar
StarGirl StarGirl is offline
Member
 
Join Date: Feb 2012
Posts: 45
Gender: Female
Credits: 8,681
StarGirl is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
1. The promocode settings can be accessed from admincp/adopt.php file, while the pound system settings can be edited from admincp/settings.php.

2. Are you sure the images used to work for you in the first place? If so, they should work just fine this time. If you happen to upload images through ACP, try to look into the table prefix.filemap and see if their urls are correct.

3. This I am not quite sure, the approach should not differ much from what you've done in Mys v1.3.0.
1. Thanks, I thought they would be more visible :P

2. No they never worked. In prefix.filesmap there doesn't seem to be anything wrong though. Unless the server path shouldn't start with a slash, but then only 2 images start with slashes. And now some pets work, i'll check more..

3. Nevermind now, now I can't view my site. Before I upgraded to 1.3.1 everything was fine, after I upgraded it was still fine, but now I get an error: Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
EDIT: Nvm, it was the host. But now I can access index.php it gives me an error, saying database.php or something is non existant. And when I go to see my backup of v1.3 it seems that's not existant too. Something wrong with the host. :P
Quote:
Originally Posted by Silver Kitsune View Post
For the avatar in the functions.php just place this where you want it to show up.

Code:
		$row = $GLOBALS['adopts']->select("users_profile", array(), "username='{$loggedinname}'")->fetchObject();

	        $sidebar .= "<img src='{$row->avatar}' border='0' width='100px' height='100px'><br><br>";
I thought I already tried that and it gave me another error... anyway, thanks! :)

Last edited by StarGirl; 04-11-2012 at 03:27 PM.
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 03:52 PM.

Currently Active Users: 308 (0 members and 308 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