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 02-04-2009, 06:55 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 96,106
Tequila is on a distinguished road
Lightbulb Changing BBCode & HTML output?

How do you change the BBCode & HTML output to only display the image of the adoptable and so it won't give you an error afterward?

I tried to do it, but only got error messages before I reuploaded the original file.

I want the output to do something like this, so that there is less code to place for the users.
Reply With Quote
  #2  
Old 02-04-2009, 07:20 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,549
BMR777 is on a distinguished road
Default RE: Changing BBCode & HTML output?

Try changing:

PHP Code:
    $article_content $article_content."<b><br><br>BBCODE:</b><br><textarea name=\"textarea\" cols=\"50\" rows=\"4\">[img]http://www.".$dname."".$spath."/get.php?id=".$cid."[/img]
    Creature Name: "
.$name."
    [url=http://www."
.$dname."".$spath."/levelup.php?id=".$cid."]Level this creature up!  Click Here![/url]</textarea><br>"
To:

PHP Code:
    $article_content $article_content."<b><br><br>BBCODE:</b><br><textarea name=\"textarea\" cols=\"50\" rows=\"4\">[url=http://www.".$dname."".$spath."/levelup.php?id=".$cid."][img]http://www.".$dname."".$spath."/get.php?id=".$cid."[/img][/url]
</textarea><br>"

See if that works better. That should just make a clickable image that leads directly to the levelup page. :)
Reply With Quote
  #3  
Old 02-05-2009, 07:48 AM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 96,106
Tequila is on a distinguished road
Default RE: Changing BBCode & HTML output?

That worked! Now I'll have to mimic it for the HTML. Thanks!
Reply With Quote
  #4  
Old 02-09-2009, 06:50 PM
LilPixie LilPixie is offline
Member
 
Join Date: Jan 2009
Posts: 75
Credits: 10,218
LilPixie
Default RE: Changing BBCode & HTML output?

Can you use this same thing to change the HTML output?
I tried doing the same thing and changeing it from the default to

Code:
$article_content = $article_content."<b>HTML:</b><br><textarea name=\"textarea\" cols=\"50\" rows=\"4\"><a href=\"http://www.".$dname."".$spath."/levelup.php?id=".$cid."\"><img src=\"http://www.".$dname."".$spath."/get.php?id=".$cid."\"></a><br>
	Level this creature up!  Click Here!</a></textarea>";
and it didn't change on the website.

EDIT: LOL woops, r dumb. Fixed.
__________________
:P Ryn Nursery
Reply With Quote
Reply

Thread Tools
Display Modes

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
Messed up BBCode SilverDragonTears Questions and Supports 19 02-13-2012 10:50 AM
Extra BBcode AlexC Mys v1.2.x Mods 0 04-14-2011 12:48 PM
HTML instead of BBCODE PokePets Questions and Supports 3 08-09-2010 05:36 AM
BBCode Fireballchad Addons/Mods Graveyard 5 09-19-2009 08:09 AM
change the "You just adopted a ..." code output LilPixie Questions and Supports 2 02-14-2009 06:41 PM


All times are GMT -5. The time now is 08:29 AM.

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