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
  #21  
Old 04-10-2012, 01:40 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,783
SilverDragonTears is on a distinguished road
Default

If I did it right
echo '<p>Adoptables have been rearranged'.$_COOKIE->mysuid.'</p>';

then it only printed Adoptables have been rearranged.
__________________

Check out SilvaTales
Reply With Quote
  #22  
Old 04-10-2012, 01:41 AM
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: 343,350
Hall of Famer is on a distinguished road
Default

Oh nope, the $COOKIE is a superglobal array, its not an object. You need to use {$COOKIES['mysuid']} here, if you need me to explain to you what are the differences of objects and arrays I am glad to help.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #23  
Old 04-10-2012, 01:46 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,783
SilverDragonTears is on a distinguished road
Default

It's not echoing anything still
__________________

Check out SilvaTales
Reply With Quote
  #24  
Old 04-10-2012, 01:53 AM
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: 343,350
Hall of Famer is on a distinguished road
Default

I see, then guess what? Do not use $_COOKIE at all, try to select uid from table prefix.users and it will work this way. In next release I will enable $_SESSION to store uid and username for almost every page, so you will be using sessions instead of cookies. For now, you have to write a code to fetch uid from database.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #25  
Old 04-10-2012, 01:54 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,783
SilverDragonTears is on a distinguished road
Default

How do I do that? Sorry very tired here :(
__________________

Check out SilvaTales
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
New newbie joining in destrovel Newcomer Center 2 09-14-2014 11:18 AM
Shop Tables SilverDragonTears Questions and Supports 1 02-02-2013 03:26 PM
More fetching from tables help SilverDragonTears Questions and Supports 4 04-30-2012 03:00 PM
Tables StarGirl Questions and Supports 3 04-26-2012 02:57 PM
Joining Usergroups Cindykt Questions and Supports 1 08-19-2011 09:25 PM


All times are GMT -5. The time now is 04:05 AM.

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