![]()  | 
	
| Home Community Mys-Script Creative Off-Topic | 
		
			
  | 
	|||||||
![]()  | 
	
	
| 
		 | 
	Thread Tools | Display Modes | 
| 
		 
			 
			#11  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			Is there a way to make it so that the pet's "profile" is shown when the pet is frozen? I've tried several things but to no avail as of yet.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	My Mods Site (1.3.4, 2020 Mods)  | 
| 
		 
			 
			#12  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			I did some thinking on this today. You can find this line in levelup.php and comment it out (just make it so this whole elseif clause doesn't fire) - 
		
		
		
		
		
		
			PHP Code: 
	
			
	PHP Code: 
	
			
	Instead, we're going to pop on back up to where we checked if the pet had been visited today or not. This line opens up this clause: PHP Code: 
	
			
	PHP Code: 
	
			
	PHP Code: 
	
			
	Okay, so, ACTUALLY, if you used the code I gave originally without modifying it much, you'll see that I already did included something to happen if you're somehow on the page but hadn't visited the pet - the word 'Play' instead of the thankyou message. (To be honest I want to eventually create a feature so pet's aren't automatically counted as being clicked/visited as soon as the page loads, but wait until a button is pressed, so that's why it's there - well that doesn't work like that, and I haven't invented such a thing yet.) Regardless, here's that bit of code how I gave it in the original post: PHP Code: 
	
			
	
				__________________ 
		
		
		
		
		
			Please do not contact me directly outside of Mysidia. 
			I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-26-2015 at 08:28 PM.  | 
| 
		 
			 
			#13  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			Aha! Excellent, thank you Kyttias! I wasn't too far off but I see now where I was going wrong.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	My Mods Site (1.3.4, 2020 Mods)  | 
| 
		 
			 
			#14  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			Does anyone have the code to make this simple profile page ? I've tried fixing up the code here for levelup and not having too much success. 
		
		
		
		
		
		
		
		
	
	This is the last thing I need for my sites, a basic working public pet profile page :) Can anyone help on what to change/take out to make it work ? I just get white pages no matter what I do ...  | 
| 
		 
			 
			#15  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			I have the profiles for my pets set up: 
		
		
		
		
		
		
		
		
			But would it be possible to have the same show up on the view_levelup file? I've tried tinkering but it does not want to work, and I think I lack the understanding to know 100% where I've gone wrong... for now, I've added a link under all the text that refreshes the page to take you to their 'profile'. Thank you ^_^ EDIT: I made some changes to my levelup view file! It now looks the same as my levelup so it's almost like the same page... I'm pretty happy I did it myself XD Took a while to realise I had to do {$adopt->whatever} and not {$this->adopt-whatever}... XD Last edited by parayna; 12-20-2016 at 12:51 PM.  | 
| 
		 
			 
			#16  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			I don't understand how to make the public profile. I have it working if you've already played with the pet but where is the code for the actual public profile?
		 
		
		
		
		
		
		
			
		
		
		
		
		
	
	 | 
![]()  | 
	
	
		
		
  | 
	
		
  | 
						What's New? | 
					
						What's Hot? | 
					
						What's Popular? |