Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 08-17-2011, 08:48 PM
ipengu's Avatar
ipengu ipengu is offline
Member
 
Join Date: Aug 2011
Location: Central NY
Posts: 50
Gender: Male
Credits: 10,656
ipengu is on a distinguished road
Default

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:
if($isfrozen == "yes"){

$status "<img src='templates/icons/freeze.gif'> Frozen<br>";
$go "<a href='myadopts.php?act=freeze&id=".$id."&more=unfreeze'><img src='templates/icons/unfreeze.gif' border=0> Unfreeze This Adoptable</a>";

Replace with:
PHP Code:
if($isfrozen == "yes"){

$group getgroup();
$cancp cancp($group);

if(
$cancp == "yes"){
$status "<img src='templates/icons/freeze.gif'> Frozen<br>";
$go "<a href='myadopts.php?act=freeze&id=".$id."&more=unfreeze'><img src='templates/icons/unfreeze.gif' border=0> Unfreeze This Adoptable</a>";
}
else{
$status "<img src='templates/icons/freeze.gif'> Frozen<br>";
$go "You are not allowed to unfreeze this adoptable. <a href='javascript:history.go(-1)'>Click here to go back.</a>";
}


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:
$lang_freeze_warning "<img src='templates/icons/warning.gif'> <b>WARNING:</b> Freezing an adoptable REJECTS any clicks that the adoptable receives while it is frozen.  
Users who click on this adoptable while it is frozen will see a message stating that their click DID NOT COUNT towards this adoptable's leveling.  By enabling 
a freeze on this adoptable you are essentially rejecting all further clicks until the adoptable is unfrozen.  In addition, some management features of this adoptable may be disabled until you unfreeze it."

Replace with:
PHP Code:
$lang_freeze_warning "<img src='templates/icons/warning.gif'> <b>WARNING:</b> <FONT COLOR='red'><b>You will not be able to unfreeze this adoptable after you have frozen it.</b></FONT> Freezing an adoptable REJECTS any clicks that the adoptable receives while it is frozen.  
Users who click on this adoptable while it is frozen will see a message stating that their click DID NOT COUNT towards this adoptable's leveling.  By enabling 
a freeze on this adoptable you are essentially rejecting all further clicks until the adoptable is unfrozen.  In addition, some management features of this adoptable may be disabled until you unfreeze it."

__________________
Coder/Marketer/Etc
Super busy, lack of time for computer related things for awhile.

Current Mods:
Slim Profile | Disallow unfreezing adoptable
Longer Shoutbox | IP Tracking/Account Limiter
Colorblast | Flux Series

In the works:
Integrated Forum (Very unlikely to be a free public mod, at first anyways)15%
Better admin control panel (current one is terrible)
Couple Themes
Few other things.
Reply With Quote
 


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
Remove CKEditor from Shoutbox? AlexC Questions and Supports 17 04-17-2012 11:29 AM
Remove Sidebar? SilverDragonTears Questions and Supports 0 06-03-2011 08:42 PM
Remove Adoptables? Blues Questions and Supports 3 07-28-2009 03:08 PM
Remove Adoptables from adopt.php? Tequila Questions and Supports 8 03-13-2009 08:28 AM
Remove Search Bar LilPixie Questions and Supports 3 02-12-2009 04:26 PM


All times are GMT -5. The time now is 07:31 AM.

Currently Active Users: 3754 (0 members and 3754 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636