![]()  | 
	
		
 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. 
	 | 
		
 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: 
	
		
		 | 
		
 Aha! Excellent, thank you Kyttias! I wasn't too far off but I see now where I was going wrong. 
	 | 
		
 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 ...  | 
		
 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  | 
		
 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? 
	 | 
| All times are GMT -5. The time now is 08:15 AM. | 
	Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.