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)
-   -   Immediately show textbox code after adopting? (http://www.mysidiaadoptables.com/forum/showthread.php?t=1041)

crydrk 08-02-2009 03:28 PM

Immediately show textbox code after adopting?
 
What I want is for people to be able to see on the doadopt.php page a textbox with code for myspace immediately after adopting a pet.

I've successfully modified the code on the page where it normally shows the bbcodes and html codes to do alternate code for html:

Quote:

$article_content = $article_content."<p><u>HTML Code (for myspace or other websites)</u>:</p>
<p>
<textarea name='textarea' cols='50' rows='4'><a href=\"http://www.".$domain."".$scriptpath."/levelup.php?id=".$aid."\" target=\"_blank\">
<img src=\"http://www.".$domain."".$scriptpath."/get/".$aid.".gif\" border=0></a>
</textarea>

</p>";
And I have also realized that on the doadopts page I need to change 'aid' to 'id' but when I put this code in all that happens is it shows the image as it would appear as a signature but no text box whatsoever.

BMR777 08-02-2009 03:53 PM

RE: Immediately show textbox code after adopting?
 
It shouldn't be showing the image, it should show the code for the image. Can you paste all of your doadopt.php code here please? :)

crydrk 08-02-2009 04:27 PM

RE: Immediately show textbox code after adopting?
 
Ah, unfortunately I had gotten that far in the process by trial and error, and I have since deleted it without a backup. (my bad) I've been trying to recreate the problem, but with no success unfortunately.


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

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