Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 01-23-2011, 02:13 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,817
Hall of Famer is on a distinguished road
Default

Oh interesting, you have an evolution system already? Nice! ^^

Edit: I fixed a glitch in this script, which caused big problem for users running Mysidia Adoptables on a subdirectory. To do this, find the following codes below:

PHP Code:
$article_content $article_content."<div style='text-align:center;'>";
if(
$currentpage 1) {
$newpage $currentpage 1;
$article_content $article_content."<a href='/myadopts.php?page=".$newpage."'><img src='/templates/icons/prev.gif' border=0> Previous Page</a> ";
}
else{
$article_content $article_content."<img src='/templates/icons/prev.gif' border=0> Previouse Page ";
}
if(
$currentpage $totalpages) {
$newpage $currentpage 1;
$article_content $article_content." ::  <a href='/myadopts.php?page=".$newpage."'>Next Page <img src='/templates/icons/next.gif' border=0></a> ";
}
else{
$article_content $article_content." ::  Next Page <img src='/templates/icons/next.gif' border=0>";
}
$article_content $article_content."</div>";

Replace with:

PHP Code:
$article_content $article_content."<div style='text-align:center;'>";
if(
$currentpage 1) {
$newpage $currentpage 1;
$article_content $article_content."<a href='myadopts.php?page=".$newpage."'><img src='/templates/icons/prev.gif' border=0> Previous Page</a> ";
}
else{
$article_content $article_content."<img src='/templates/icons/prev.gif' border=0> Previouse Page ";
}
if(
$currentpage $totalpages) {
$newpage $currentpage 1;
$article_content $article_content." ::  <a href='myadopts.php?page=".$newpage."'>Next Page <img src='/templates/icons/next.gif' border=0></a> ";
}
else{
$article_content $article_content." ::  Next Page <img src='/templates/icons/next.gif' border=0>";
}
$article_content $article_content."</div>";

Now this should work for both users running Mys on their root directory or subdirectory. Enjoy. ^^
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #12  
Old 01-23-2011, 06:00 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,635
Bloodrun
Send a message via Yahoo to Bloodrun
Default

These are all useful suggestions lol
Back at RA coding suggestions were barely coming in, and now theres like an overflow o.0
Lol, I have a lot of work to do...
__________________
Have any questions?
Feel Free to PM Me! =D
What you could get with a Premium Member account.
The Forum has been released!
Reply With Quote
  #13  
Old 01-23-2011, 06:17 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,817
Hall of Famer is on a distinguished road
Default

Well I also added a new feature that enables users to manually set the trade status of their pets. By default, all pets are 'fortrade', but the trade status can be changed from 'fortrade' and 'notfortrade' at anytime. I am trying to add pagination for user's profile pets too, and if works I may as well release Mys v1.1.3 prior to the next major release.

Screenshot1:



Screenshot2:



Screenshot3:



Screenshot4:
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #14  
Old 01-23-2011, 08:37 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,862
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by Hall of Famer View Post
Oh interesting, you have an evolution system already? Nice! ^^

Edit: I fixed a glitch in this script, which caused big problem for users running Mysidia Adoptables on a subdirectory. To do this, find the following codes below:

PHP Code:
$article_content $article_content."<div style='text-align:center;'>";
if(
$currentpage 1) {
$newpage $currentpage 1;
$article_content $article_content."<a href='/myadopts.php?page=".$newpage."'><img src='/templates/icons/prev.gif' border=0> Previous Page</a> ";
}
else{
$article_content $article_content."<img src='/templates/icons/prev.gif' border=0> Previouse Page ";
}
if(
$currentpage $totalpages) {
$newpage $currentpage 1;
$article_content $article_content." ::  <a href='/myadopts.php?page=".$newpage."'>Next Page <img src='/templates/icons/next.gif' border=0></a> ";
}
else{
$article_content $article_content." ::  Next Page <img src='/templates/icons/next.gif' border=0>";
}
$article_content $article_content."</div>";

Replace with:

PHP Code:
$article_content $article_content."<div style='text-align:center;'>";
if(
$currentpage 1) {
$newpage $currentpage 1;
$article_content $article_content."<a href='myadopts.php?page=".$newpage."'><img src='/templates/icons/prev.gif' border=0> Previous Page</a> ";
}
else{
$article_content $article_content."<img src='/templates/icons/prev.gif' border=0> Previouse Page ";
}
if(
$currentpage $totalpages) {
$newpage $currentpage 1;
$article_content $article_content." ::  <a href='myadopts.php?page=".$newpage."'>Next Page <img src='/templates/icons/next.gif' border=0></a> ";
}
else{
$article_content $article_content." ::  Next Page <img src='/templates/icons/next.gif' border=0>";
}
$article_content $article_content."</div>";

Now this should work for both users running Mys on their root directory or subdirectory. Enjoy. ^^
Yeah I forgot to remove the forward slash, I added them because I'm trying to make friendly urls. Thanks HoF!
I've also edited the code on the first page and I'll try to make pagination work for your create/edit/delete user's pet from admin cp mod (that's a long name!)

Last edited by fadillzzz; 01-23-2011 at 08:56 PM.
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
My Adopts Page parayna Questions and Supports 14 03-09-2016 09:53 PM
Placing descriptions on the My Adopts page Vaporman87 Questions and Supports 7 02-21-2014 02:02 PM
pagination for my adopts redheadturkey Questions and Supports 18 05-01-2010 10:45 AM
Neater Adopts Page LilPixie Questions and Supports 0 09-06-2009 10:14 PM
My Adopts Page Seapyramid Addons/Mods Graveyard 8 05-02-2009 03:04 PM


All times are GMT -5. The time now is 09:22 AM.

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