vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Coppa Form Page (https://vborg.vbsupport.ru/showthread.php?t=317152)

CAG CheechDogg 02-04-2015 10:10 AM

Coppa Form Page
 
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/ne...p?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 [DATE]1423052347[/DATE] at [TIME]1423052347[/TIME] ---------------

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/ne...p?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:
Code:

<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.
Code:

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/ne...p?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.


All times are GMT. The time now is 12:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01005 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete