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)
-   -   images not showing (http://www.mysidiaadoptables.com/forum/showthread.php?t=1430)

dragonqueen 05-21-2010 01:57 PM

images not showing
 
When I post the BBcode in my forum, the image doesn't show, just the word "image". I noticed the same thing was happening to Arvyre pets for awhile but those are showing now, so I'm sure it's nothing to do with my host or forum settings. I read previous topics and I don't have a htaccess file anywhere in my adoptables files. Could that be the problem or maybe because I uploaded my images to photobucket to save upload time? Do they need to be on my server?
Thanks for any help!
http://pattyjean78.plesk.freepgs.com/adoptables/index.php <--adoptables site

http://pattyjean78.plesk.freepgs.com/phpBB3/viewtopic.php?f=48&t=829 <---pets

Tequila 05-21-2010 09:10 PM

RE: images not showing
 
Looks like you're still on the old script, a lot has been fixed since and there is very little support for the old version at the moment.

I'd recommend upgrading, it's easy and you'll keep everything you already have (minus mods).

dragonqueen 05-21-2010 11:35 PM

RE: images not showing
 
k, thought I had downloaded the latest but I see the new one now. Thanks, I will try it out tomorrow. ;)

Tequila 05-22-2010 09:03 AM

RE: images not showing
 
No problem. :)

dragonqueen 05-22-2010 07:11 PM

RE: images not showing
 
I installed the new script. Everything installed without problems. However, the images are still not showing up and the link to level them up isn't working either. Could it be a permissions thing?

New site: http://pattyjean78.plesk.freepgs.com/adoptables/index.php

BBcode for a pet:
Edit: I figured out why the link wasn't working but not the image. In the bbcode, it adds www to the link. If you remove the www it works. I will need to figure how to change that so it doesn't add it in each time. Still can't figure the image issue out. :(

Tequila 05-22-2010 09:27 PM

RE: images not showing
 
Quote:

Originally Posted by dragonqueen
I installed the new script. Everything installed without problems. However, the images are still not showing up and the link to level them up isn't working either. Could it be a permissions thing?

New site: http://pattyjean78.plesk.freepgs.com/adoptables/index.php

BBcode for a pet:
Edit: I figured out why the link wasn't working but not the image. In the bbcode, it adds www to the link. If you remove the www it works. I will need to figure how to change that so it doesn't add it in each time. Still can't figure the image issue out. :(

It should be changeable on your myadopts.php page. Look for the following and modify to suit your site.

PHP Code:

else if($act == "bbcode"){

if(
is_numeric($id)){

// Now we see if the adoptable actually exists...

$query "SELECT * FROM ".$prefix."owned_adoptables WHERE owner='$loggedinname' and aid='$id'";
$result mysql_query($query);
$num mysql_numrows($result);

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

$aid=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel=@mysql_result($result,$i,"currentlevel");
$type=@mysql_result($result,$i,"type");
$name=@mysql_result($result,$i,"name");
$totalclicks=@mysql_result($result,$i,"totalclicks");
$isfrozen=@mysql_result($result,$i,"isfrozen");

$i++;
}

if(
$aid == $id){

$altbb grabanysetting("usealtbbcode");

// Adoptable exists, so show the BBCode:

$article_title "Codes for ".$name;
$article_content $lang_bbcode_explain."<br>
<p><u>Forum Codes / BBCode: </u></p>
<p>
  <textarea name='textarea' cols='50' rows='4'>[url="
.$domain."".$scriptpath."/levelup.php?id=".$aid."][img]".$domain."".$scriptpath."/siggy.php?id=".$aid."[/img][/url]
</textarea>
</p>"
;

if(
$altbb == "yes"){

// Use the seo friendly alternate bbcodes...

$article_content $article_content."<p><u>Alternate BBCodes (Use if the above do not work on a forum): </u></p>
<p>
  <textarea name='textarea' cols='50' rows='4'>[url="
.$domain."".$scriptpath."/levelup.php?id=".$aid."][img]".$domain."".$scriptpath."/pet/".$aid.".gif[/img][/url]
</textarea>
</p>"
;

}



$article_content $article_content."<p><u>HTML Code</u>:</p>
<p>
<textarea name='textarea' cols='50' rows='4'><a href=\""
.$domain."".$scriptpath."/levelup.php?id=".$aid."\" target=\"_blank\">
<img src=\""
.$domain."".$scriptpath."/siggy.php?id=".$aid."\" border=0></a>
  </textarea>
   
</p>"
;




dragonqueen 05-22-2010 09:53 PM

RE: images not showing
 
Not sure what to edit but thanks for trying to help.

Tequila 05-22-2010 10:11 PM

RE: images not showing
 
It's all right, mine has been edited to work better with my site, you can see basics of how to change the original script.


All times are GMT -5. The time now is 02:31 PM.

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