Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 03-24-2009, 08:35 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 18,611
BMR777 is on a distinguished road
Default RE: QUESTIONS (need answer ASAP)

Quote:
Originally Posted by zhiichiro
yeah :(

can i just change it??

how can i change it.. and how can i remove the www. on the bbcodes?
because of that, it doesnt open.

please tell me how. ty.
To remove the bbcodes, open up manage.php and find:

PHP Code:
else if($action == "bbcode"){
//Adoptable ID is not empty, continue...
    //Check that the adoptable does in fact exist...
    
$query "SELECT * FROM owned_adoptables WHERE uid = '$id'";
    
$result = @mysql_query($query);
    
$num = @mysql_numrows($result);

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

    
$name=@mysql_result($result,$i,"name");
    
$imageurl=@mysql_result($result,$i,"imageurl");
    
$currentlevel=@mysql_result($result,$i,"currentlevel");
    
$totalclicks=@mysql_result($result,$i,"totalclicks");
    
$owner=@mysql_result($result,$i,"owner");

    
$i++;
    }
    if(
$name != ""){
    
    
$cid $id;

    
$article_title "Codes for ".$name."";
    
$article_date date('Y-m-d');
    
$article_content "You can use the codes below to show off your adoptable and get others to level them up.  If you have a website, use the HTML code to put your creature on your website.  If you want to link to your creature in forums, use the BBCODE.<br><br>";
    
$article_content $article_content."<b>HTML:</b><br><textarea name=\"textarea\" cols=\"50\" rows=\"4\"><img src=\"http://www.".$dname."".$spath."/get.php?id=".$cid."\"><br>Creature Name: ".$name."<br>
    <a href=\"http://www."
.$dname."".$spath."/levelup.php?id=".$cid."\">Level this creature up!  Click Here!</a><br></textarea>";

    
$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>";

    }
    else{
    
$article_title "Invalid Adoptable ID";
    
$article_date date('Y-m-d');
    
$article_content "The adoptable ID specified does not exist in our system.  If you would like your own adoptable you can
    <a href='adopt.php'>get one free here</a>."
;

    }



Then delete that code.

You can also edit that code if you want to change the BBCodes.

To remove the bbcodes in adopt.php find and remove:

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

    
$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><br>You can now manage ".$name." on the <a href='myadoptables.php'>My Adoptables Page</a>."
That will disable all BBCodes. :)
Reply With Quote
 


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
Just A Few Questions: Mousewhisper Questions and Supports 4 04-14-2012 07:05 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
2 Questions :D powerchaos Webmasters Area 2 04-27-2010 07:09 PM


All times are GMT -5. The time now is 03:24 PM.

Currently Active Users: 1986 (0 members and 1986 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636