PDA

View Full Version : QUESTIONS (need answer ASAP)


zhiichiro
03-24-2009, 06:44 PM
1. can i remove the html nad bbcode boxes, since we cannot use it?
if ever, how?

2. how can i send an adoptable or egg to 1 user/adopter only, and not post it as new adoptable? and how can i delete users?

3. how can i put a "for sale" bar like on arvyre.com where i can sell rare pets??
(i need an answer to this number, i want to donate to you guys, but first i have to earn it!), where i can use paypal

more questions but i forgot.

BMR777
03-24-2009, 07:15 PM
1. You'll have to edit the code of the files. Are you familiar at all with editing PHP?

2. This is not currently possible, however this will be possible in the next release. :)

3. I'll look into this for the next release. :)

zhiichiro
03-24-2009, 07:27 PM
can you tell me how can i exactly edit it?

or can i just change it?

because on bbcodes:

[img]my site's url here, and the id[/img*]
creature name blah blah
[url=my site]click here to blah blah blah my pet[/url*]

well, i'm using photo bucket on the pictures..
when i right click my pets, and click view image, the photobucket url is shown in the address toolbar.

can i change it to :

[url=my site][img]the picture[/img*][/url*]

or [url=my site][img]the picture on photobucket site[/img*][/url*]

that format is the one used in other adoptables site.. such as
komuripets arvyre, my favorites.

ofcourse it dont have *

BMR777
03-24-2009, 07:44 PM
Well, the users on your site would have to change the image every time the adoptable reaches a new level.

zhiichiro
03-24-2009, 08:10 PM
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.

BMR777
03-24-2009, 08:35 PM
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:

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\">http://www.".$dname."".$spath."/get.php?id=".$cid."
Creature Name: ".$name."
Level this creature up! Click Here! (http://www.".$dname."".$spath."/levelup.php?id=".$cid.")</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:

$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\">http://www.".$dname."".$spath."/get.php?id=".$cid."
Creature Name: ".$name."
Level this creature up! Click Here! (http://www.".$dname."".$spath."/levelup.php?id=".$cid.")</textarea><br><br>You can now manage ".$name." on the <a href='myadoptables.php'>My Adoptables Page</a>.";

That will disable all BBCodes. :)

zhiichiro
03-24-2009, 08:56 PM
ok ill try it thanks

Ashje
03-25-2009, 12:24 AM
It is possible to give Promo adoptables to certain people. I'll make a tut.

zhiichiro
03-25-2009, 09:30 PM
yeah.. and i have new questions..

how can i edit the "My Acount" page on my site??

how can i delete their pets, if they adopted wrong pets?
because i have put wrong things.. i want to kill all.
but non of them are always log-in and i cant tell them to delete/kill the pet..

how can i send promo pets to certain members?

how can i edit their profile, such as passwords...

BMR777
03-26-2009, 11:03 AM
A lot of this is coming in the next release. Otherwise you can do most of this in the database. Search around here, almost all those questions have been answered before. :)