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
  #11  
Old 03-23-2012, 04:58 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,408
SilverDragonTears is on a distinguished road
Default

Parse error: syntax error, unexpected T_CLASS in /home/taleofdr/public_html/sort.php on line 62

???
__________________

Check out SilvaTales
Reply With Quote
  #12  
Old 03-23-2012, 06:15 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,408
SilverDragonTears is on a distinguished road
Default

Ok I figured out that problem... there was
Code:
tent .= "
that in there, lol which must have been part of article_content that was meant to be removed. But now it says:

Parse error: syntax error, unexpected T_ELSE in /home/taleofdr/public_html/sort.php on line 68
__________________

Check out SilvaTales
Reply With Quote
  #13  
Old 03-24-2012, 01:06 AM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,070
!Alive is on a distinguished road
Default

Try changing the while to a if.

this:
while($row = $stmt->fetchObject())

to this:
if($row = $stmt->fetchObject())
Reply With Quote
  #14  
Old 03-24-2012, 01:13 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,408
SilverDragonTears is on a distinguished road
Default

Ohhh yay :) Now instead of it switching the places... how do I make it just move to where I put it? Without moving the other one to where the one I'm moving is?
__________________

Check out SilvaTales
Reply With Quote
  #15  
Old 03-24-2012, 01:48 AM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,070
!Alive is on a distinguished road
Default

XD

In the HTML javascript,
Change this
Code:
$('.sortable_adoptables')
                    .css('background-color', '#FFFF66')
                    .animate({ backgroundColor: realBg },  'slow' )
                    .sortable({ 
                        cursor: 'pointer', connectWith: ".sortable_adoptables", receive: function(event, ui) {
                            var $this = $(this);
                            if ($this.children('table').length > 1) {
     				$this.children('table').not(ui.item).appendTo(ui.sender);
				}
                        }
                    });
to This
Code:
$('.sortable_adoptables').css('background-color', '#FFFF66').animate({ backgroundColor: realBg },  'slow' ).sortable({ cursor: 'pointer', connectWith: ".sortable_adoptables" });
And it should just move them.
Reply With Quote
  #16  
Old 03-24-2012, 01:51 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,408
SilverDragonTears is on a distinguished road
Default

It does and works but it literally puts the adopt on top of the other in the same <td> lol. That might get confusing...
__________________

Check out SilvaTales
Reply With Quote
  #17  
Old 03-24-2012, 02:01 AM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,070
!Alive is on a distinguished road
Default

Yeah I know. Which is why I had them switch places. Though once submitted(and page has been refreshed) the adoptables will snap into the proper places. *actually had to get someone else to help me with the Javascript* I don't really know how to make it do what I would ideally like. I'll let you know if/when I figure out anything new that would fix the issue.
Reply With Quote
  #18  
Old 03-24-2012, 02:03 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,408
SilverDragonTears is on a distinguished road
Default

Thanks :) For now it's fine how it is... I'm just so relieved to have the other part working. I saw you signed up, lol. Easier to actually see the problem. Is your site up? If so I'd love to take a look if you want to PM it to me.
__________________

Check out SilvaTales
Reply With Quote
  #19  
Old 03-24-2012, 02:13 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,408
SilverDragonTears is on a distinguished road
Default

Darnit. I was trying to do the same rows thing in the profile and it's not working... minus the sortable stuff. Just wanted the rows like in the sort page.
__________________

Check out SilvaTales
Reply With Quote
  #20  
Old 03-24-2012, 02:14 PM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,070
!Alive is on a distinguished road
Default

Yeah it is.

*sent you the link to my site*

Do you need columns on the profile? It already shows them in lines. Though you should be able to add the column formatting to them...
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
Silly bots. --" how can I make a clickery? kitty08 Questions and Supports 6 10-24-2011 07:26 AM


All times are GMT -5. The time now is 12:45 PM.

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