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
  #1  
Old 03-25-2011, 11:01 AM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,950
RoconzaArt is an unknown quantity at this point
Default Only show egg image with promo code

As the title says I want to only show the egg image when adopting with a promo code.
__________________
Reply With Quote
  #2  
Old 03-25-2011, 11:11 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,882
fadillzzz is an unknown quantity at this point
Default

Open your adopt.php
Find
PHP Code:
             $article_title "Adopting ".$type;
            
$article_content $langa1."".$type.$langa2;

            
$article_content $article_content."<br><img src='".$eggimage."' border='0'><br>
            <form name='form1' method='get' action='doadopt.php'>
              <p>Adoptable Name: 
                <input name='name' type='text' id='name'>
                <input name='id' type='hidden' id='id' value='"
.$id."'>
                <input name='promocode' type='hidden' id='promocode' value='"
.$promocode."'>
              </p>
              <p>
                <input type='submit' name='Submit' value='Adopt Me'>
            </p>
            </form>"

Replace it with
PHP Code:
            $article_title "Adopting ".$type;

            
$article_content "<br><img src='".$eggimage."' border='0'><br>
            <form name='form1' method='get' action='doadopt.php'>
              <p>Adoptable Name: 
                <input name='name' type='text' id='name'>
                <input name='id' type='hidden' id='id' value='"
.$id."'>
                <input name='promocode' type='hidden' id='promocode' value='"
.$promocode."'>
              </p>
              <p>
                <input type='submit' name='Submit' value='Adopt Me'>
            </p>
            </form>"

Reply With Quote
  #3  
Old 03-25-2011, 12:30 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,950
RoconzaArt is an unknown quantity at this point
Default

I meant I only wanted show the egg image for promo codes not on the main adopt page.
__________________
Reply With Quote
  #4  
Old 03-25-2011, 12:39 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,882
fadillzzz is an unknown quantity at this point
Default

So you want to show the egg image, but not the form and everything?
Reply With Quote
  #5  
Old 03-25-2011, 12:43 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,950
RoconzaArt is an unknown quantity at this point
Default

On the adopt page you see a preview of what your adopting right? I want it so you can not see the preview on the normal adopt page. However you can see a preview of the adoptable on the promo page.
__________________
Reply With Quote
  #6  
Old 03-25-2011, 12:51 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,882
fadillzzz is an unknown quantity at this point
Default

Oh so you mean, give the users preview on the promo.php and not on the adopt.php?
If so, just remove this from the code I posted above
PHP Code:
<img src='".$eggimage."' border='0'
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
Promo Code Questions! parayna Questions and Supports 4 10-07-2014 03:12 PM
Show Gender while Naming Pet & Name Promo Code Pets Kyttias Questions and Supports 5 07-11-2014 02:12 PM
Promo code with Disposable keys Chibi_Chicken Tutorials and Tips 3 04-18-2012 04:23 PM
Immediately show textbox code after adopting? crydrk Questions and Supports 2 08-02-2009 04:27 PM
Won't show the image! trollis76 Questions and Supports 6 02-14-2009 10:36 AM


All times are GMT -5. The time now is 01:36 PM.

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