2022-02-03, 09:06 PM
Screen Recording: https://i.gyazo.com/932e13099879fb8499a7...ce990e.mp4
Issue:
Cookie is working on submit! It does set the cookie.
However, when the cookie is not set and the page displays the "must consent"/"verify age", the website continues to load and load and load until you click the submit button. I'm not sure why? Any help to fix this would be awesome!
Plugin Function Code:
removed
Template:
Issue:
Cookie is working on submit! It does set the cookie.
However, when the cookie is not set and the page displays the "must consent"/"verify age", the website continues to load and load and load until you click the submit button. I'm not sure why? Any help to fix this would be awesome!
Plugin Function Code:
removed
Template:
<html>
<head>
<title>{$mybb->settings['bbname']} - Content Restricted – {$agerequired}+</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="misc.php" method="post">
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<th class="thead">Content Restricted – {$agerequired}+</th>
</tr>
<tr>
<td class="trow1">
{$custommessage}
<p>The content you are about to view may contain material that is not suitable for those under {$agerequired} years of age. Due to this, age confirmation is necessary for access to this website.</p>
<div class="error" style="text-align: center; font-weight: bold;">By submitting this form you are certifying that you are of required, and legal, age to view content that may be of adult or mature nature, and may be explicit and uncensored.</div>
</td>
</tr>
<tr>
<td class="tfoot" style="text-align: right;">
<input type="hidden" name="action" value="contentrestricted" />
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="submit" class="button" name="submit" value="I Am {$agerequired}+" />
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>