Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2009, 12:11 AM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,909
Blue Icebox
Default Change the MyAdopts.php page!

Well, it started that I didn't like the format of MyAdopts.php

It looks... to plain... and it's very un-cool to look at... so I made my own design!

Just follow this:

1. Go to myadopts.php
2. Find something like
PHP Code:
//Loop out code
$i=0;
while (
$i $num) {

$aid=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel=@mysql_result($result,$i,"currentlevel");
$type=@mysql_result($result,$i,"type");
$name=@mysql_result($result,$i,"name");

// Our code to determine if we show the table or not...


$article_content $article_content."<table width='440' border='1'><tr>";



// Output the table information...
// Get the current adoptable's image

$image getcurrentimage($aid); 
using Ctrl-F
3. Change <table width='440' border='1'><tr>
to <table width=\"440\" border=\"0\" align=\"center\">

Find everything from $article_content to $i++;

and change that to

PHP Code:
$article_content $article_content."<tr><td><center>
~"
.$naem."~<br>
<a href=\"/levelup.php?id="
.$id."\"><img src='".&image."'></a><br>
<b>Petted</b> "
.$totalclicks." <b>, is level</b> ".$currentlevel." <b> and will be level</b> ".$nloutput."<b> needing</b> ".$ctg." <b>clicks!</b>
</center></td><td>
<a href='myadopts.php?act=stats&id="
.$id."'>Stats</a><br>
<a href='myadopts.php?act=bbcode&id="
.$id."'>Display Codes</a><br>
<a href='myadopts.php?act=rename&id="
.$id."'>Rename</a><br>
<a href='myadopts.php?act=freeze&id="
.$id."'>Un/Freeze</a><br>
<a href='myadopts.php?act=kill&id="
.$id."'>Kill</a><br>
</td></tr>"
;

$article_content $article_content."</table><br>";

$i++; 
And tada! You see a more decent style! The other style is still available if you want to add the link...

Code:
<a href=\"myadopts.php?act=manage&id=".$id."\">Full Ind. Edit</a>
to the list, that's fine!
Reply With Quote
  #2  
Old 05-01-2009, 05:10 AM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 15,199
trollis76
Default RE: Change the MyAdopts.php page!

Could you like, show me/us an example of how it looks like? Like a screenshot or something?[hr][hr]
EDIT: I get this error at the adoptable site:
Parse error: syntax error, unexpected '&' in /home/a8498929/public_html/myadopts.php on line 115
Reply With Quote
  #3  
Old 05-01-2009, 06:48 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,552
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Change the MyAdopts.php page!

Quote:
Originally Posted by trollis76
Could you like, show me/us an example of how it looks like? Like a screenshot or something?[hr][hr]
EDIT: I get this error at the adoptable site:
Parse error: syntax error, unexpected '&' in /home/a8498929/public_html/myadopts.php on line 115
All he did was add more words to the page, and change the layout.
Nothing fancy. But something the members will see.
Reply With Quote
  #4  
Old 05-03-2009, 02:36 PM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,698
gjac1
Default RE: Change the MyAdopts.php page!

Quote:
Originally Posted by trollis76
Could you like, show me/us an example of how it looks like? Like a screenshot or something?[hr][hr]
EDIT: I get this error at the adoptable site:
Parse error: syntax error, unexpected '&' in /home/a8498929/public_html/myadopts.php on line 115
I get the same error as you....
Reply With Quote
  #5  
Old 05-03-2009, 03:04 PM
mugwumpr mugwumpr is offline
Member
 
Join Date: Apr 2009
Posts: 41
Credits: 5,292
mugwumpr
Default RE: Change the MyAdopts.php page!

I'm guessing that
Quote:
~".$naem."~<br>
should be
Quote:
~".$name."~<br>

And that the error is coming from here:
Quote:
<img src='".&image."'></a>
Shouldn't that be
Quote:
<img src='".$image."'></a>
Perhaps?
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
Fatal Error with Myadopts page Abronsyth Questions and Supports 2 12-29-2014 03:54 PM
Add a new function in the myadopts page? Infernette Questions and Supports 8 07-02-2013 12:12 PM
How to Restyle Myadopts Page? AlexC Questions and Supports 3 04-04-2013 10:34 AM
MyAdopts page? Aasixx Questions and Supports 4 04-15-2012 06:37 PM
Sidebar wonky on the myadopts page coffeeaddict Questions and Supports 2 03-01-2011 06:56 PM


All times are GMT -5. The time now is 06:34 PM.

Currently Active Users: 813 (0 members and 813 guests)
Threads: 4,081, Posts: 32,029, 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