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-19-2009, 01:35 AM
mugwumpr mugwumpr is offline
Member
 
Join Date: Apr 2009
Posts: 41
Credits: 4,522
mugwumpr
Default Adoptable description is.... where?

Okay, it's late and I'm feeling dumber than your average bear, but....

I entered a brilliantly literate description for my adoptables tonight, but I can't for the life of me figure out where that shows up. It's not on the first adopt page, it's not on the 2nd ("rename me") adopt page. Should it be showing up somewhere? Did I miss something in my template?

I've checked in IE, FF and Chrome, and it's not on any of them. The link to my site, if you need it, is http://www.pogwoddlemarsh.com

:P
Reply With Quote
  #2  
Old 04-19-2009, 01:47 AM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 10,076
Ashje
Default RE: Adoptable description is.... where?

In adopt.php, find this:
Code:
$article_content = $article_content."<p><b><a href='adopt.php?id=".$aid."'><img src='templates/icons/add.gif' border=0> Adopt ".$type."</a></b></p>";
Change it to this:
Code:
$article_content = $article_content."<p><b><a href='adopt.php?id=".$aid."'><img src='templates/icons/add.gif' border=0> Adopt ".$type."<br>".$description."</a></b></p>";
That should work.
Reply With Quote
  #3  
Old 04-19-2009, 02:11 AM
mugwumpr mugwumpr is offline
Member
 
Join Date: Apr 2009
Posts: 41
Credits: 4,522
mugwumpr
Default RE: Adoptable description is.... where?

Fabulous, thanks! Now, one more question, how do I get the random \s out of things? "isn\t", he\'s". I understand the purpose of the \, but it doesn\'t make for the easiest reading.

;)

[Edit: if I take it out of the MySQL table directly, will that break anything?]
Reply With Quote
  #4  
Old 04-19-2009, 04:34 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,726
BMR777 is on a distinguished road
Default RE: Adoptable description is.... where?

You probably have to change Ashje's code to:

PHP Code:
$description stripslashes($description);
$article_content $article_content."<p><b><a href='adopt.php?id=".$aid."'><img src='templates/icons/add.gif' border=0> Adopt ".$type."<br>".$description."</a></b></p>"
That should remove the \'s from the text. I put in the description field but did not implement it due to space constraints. I thought I may implement something using it in a future release. :)
Reply With Quote
  #5  
Old 04-19-2009, 05:06 PM
mugwumpr mugwumpr is offline
Member
 
Join Date: Apr 2009
Posts: 41
Credits: 4,522
mugwumpr
Default RE: Adoptable description is.... where?

Brandon, I've said it before, and I'll probably say it again in the future.... You rule!!

:D
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
Remove name and description on adoption page Abronsyth Questions and Supports 7 08-13-2014 03:28 PM
Search engine description edit? Ruinily Questions and Supports 14 06-20-2013 03:42 PM
Description Writer(s) Needed! AlexC Staff Central 11 03-26-2012 03:53 PM
Pet description Kyris Questions and Supports 5 01-31-2011 07:30 AM
Pet description Koppa Questions and Supports 6 04-05-2010 03:36 PM


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

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