Log in

View Full Version : Coppa Form Page


CAG CheechDogg
02-04-2015, 10:10 AM
Can someone take a look at my COPPA form page and tell me how to make it readable? It doesn't have a background or it is not properly cached? I am trying to figure out why it looks like this ...

This is the link: https://www.cagclan.com/community/neptune_venus.php?do=coppaform

ozzy47
02-04-2015, 10:15 AM
How did you create this page?

CAG CheechDogg
02-04-2015, 10:17 AM
I didn't ozzy ...that's the coppa form you get when someone registers and they are a coppa user ..

--------------- Added 1423052347 at 1423052347 ---------------

You can see it here, it's a permission for that the COPPA users have to have their parents fill out and can download ...it's a link to it but it looks all weird:

https://www.cagclan.com/community/neptune_venus.php?do=checkdate

ozzy47
02-04-2015, 10:24 AM
Ok well I never used that, but lets try this.

Edit the template, register_coppaform and at the very top put this:
<style type="text/css">
body {
background: black;
width: 850px;
}
</style>

Now to cache it, add a new plugin using the hook location, cache_templates like so.
cache[] = 'register_coppaform';

CAG CheechDogg
02-04-2015, 10:30 AM
That gave me the following error:
arse error: syntax error, unexpected '[' in /home3/cagisf/public_html/community/includes/class_bootstrap.php(1366) : eval()'d code on line 32

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_bootstrap.php(1366) : eval()'d code:32) in [path]/includes/functions.php on line 5302

So you can see what it looks like ....

https://www.cagclan.com/community/neptune_venus.php?do=coppaform

kh99
02-04-2015, 10:31 AM
There's no reason for a plugin to cache that - the registration script already caches it, and in any case not having it cached wouldn't affect how it looks, it would just add one more database query to the page.

ozzy47
02-04-2015, 10:31 AM
ooops, change the last post to be correct. :p

CAG CheechDogg
02-04-2015, 10:35 AM
Ok good stuff .. .. that worked ... one last question ...why doesn't it have my style's look?

ozzy47
02-04-2015, 10:37 AM
What should it look like? TBH, I would not worry to much about that page, as it is not something that user flock to to see it.

kh99
02-04-2015, 10:37 AM
I think since it's intended to be printed out and mailed, they didn't try to add any fancy formatting.

CAG CheechDogg
02-04-2015, 10:38 AM
Ok makes sense kh99 lol ..

And yeah ozzy yer' right .... :D

Thank you guys !!!!

ozzy47
02-04-2015, 11:05 AM
Not a problem, glad to help. :)