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-02-2016, 01:17 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 117,109
Abronsyth is on a distinguished road
Default Remove styling from a php page?

OK, so I'm trying to set up a cheat-proof riddle system on my site, and my idea is to use an iframe to display a PHP page on a ACP-created page (pages/view/riddle) so that way I can promocode-protect the page, but then show my PHP content.

However I am not sure how to make it so that the css/style does not appear on my PHP page (/riddle.php).

I'm sure it shouldn't be too difficult?

I appreciate any help you can offer!
-Pero
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
  #2  
Old 03-02-2016, 01:39 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 90,803
Kyttias is on a distinguished road
Default

Your pages all get their css from the your site's theme. There's no real way to just turn it off for a particular page???

If what you're actually talking about is "I don't want my entire page template appearing again inside my iframe with its own menu, sidebar, etc." - you really, really can't avoid that by using the normal page creation methods, that I know of.

Like, I guess you could use javascript/jQuery to remove elements from the page so all you're left with is the content area... seems harsh.

I know that I can create a directory that the Mysidia framework does not touch (which not only includes the theme but it also means no access to user variables or the database without doing it completely manually) -- but this probably isn't going to help.
__________________
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.
Reply With Quote
  #3  
Old 03-02-2016, 09:57 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 117,109
Abronsyth is on a distinguished road
Default

It's peculiar because I swear I've made a .php file within the home directory and had it not include any of the styling information.

I suppose I can take a look at the pages and see if I can sort of copy the promocode setting that closes pages off..?
__________________
My Mods Site (1.3.4, 2020 Mods)
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


All times are GMT -5. The time now is 11:50 AM.

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