![]() |
Remove ability to unfreeze?
I really need this b.c with my 5 egg limit they can freeze and egg and then adopt one and then unfreeze it and then have 6 eggs...
not cool >.> |
Not fine tuned, very basic.
Open: myadopts.php Find: (Around line 516) PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open: lang/lang.php Find: (Around line 50) PHP Code:
PHP Code:
This just fully removes the freeze/unfreeze to everyone but people whom can use admin cp. If you want them ability to freeze, but not unfreeze its honestly a matter of skipping the first chunk and just putting it lower down in the freeze section of myadopts.php |
Before I read this I just removed the unfreeze link and tweaked some other things... so I guess it's working.
Can you help me with disallowing frozen abandoned pets to show up in the pound? |
Decided to do it up quick before I go to work, for freeze but no unfreeze unless they can see admin cp
Open: myadopts.php Find: (Around line 549) PHP Code:
PHP Code:
Let's also remind them when they are going to freeze the adoptable that they will not be able to unfreeze it Open: lang/lang.php Find: (Around line 95) PHP Code:
PHP Code:
|
Well removing the link will work for the most part, but if someone happen to remember the link to freeze/unfreeze a pet they could easily manually enter it into the url bar. I don't have time to look at the pound script or how it shows the adoptables, but I'll work after I get out of work tomorrow morning, I don't guarantee anything on that though, I may or may not be able to mess with it enough. If it deals with messing with more than a few files I likely won't bother with it as it then becomes more work than its worth to repost all the steps
|
Ok I followed your steps =) Feel more comfortable with it now =)
|
Really glad to have someone as helpful as ipengu, though i dont think you have introduced yourself.
And SDT your members are little basterds lol:D |
bahahahahahaha!! Not all of them =) Any idea how to fix the abandoned thing Nem?
|
sorry but no. I really want to help though, so I am currently learning php, then i'll have to figure out the script. then we will see what i can do but don't expect help from me till like after Christmas when i can be of help.
|
eh. i'm sure i'll get it eventually. just been overloaded with coding my site lately... gets tiring.
ETA: *does happy dance* I did it!! I did it!! Yea you know I did it!! |
Yea never did an introduction as I'd have not much to say, my site is currently not public till my artists get some more things drawn and I get a response from someone about something else.
Also I'm far from being great at php/mysql, I just pick things up (like how the script works for most part) quick then branch off it. I'm definitely more of a marketing/advertising type of person or the one that just manages all the business. But if a boss can't get their hands dirty sometimes theres just no fun in it. |
All times are GMT -5. The time now is 05:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.