The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code Help

4 posters

Go down

Solved Code Help

Post by aowlthd February 7th 2012, 3:37 pm

While in the ACP, I ended up finding some code for the pages and for registering on the forum. I noticed it said in the code, "I agree and am at least 13 years old", or something to that effect. Because we are looking for 18 and older, I changed the 3 to an 8 in the code. Now the accept button doesn't even show up on the actual registration page, and no one can register any more.

Please help! We need to have this straightened out, and I can't remember how to get back to where I changed the code in the first place.

TIA

aowlthd
aowlthd
Forumember

Posts : 104
Reputation : 0
Language : English

http://aowcod.forumotion.net/

Back to top Go down

Solved Re: Code Help

Post by LGforum February 7th 2012, 3:46 pm

It would help if we could see the code or something.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Code Help

Post by aowlthd February 9th 2012, 10:46 pm

Come on guys....
aowlthd
aowlthd
Forumember

Posts : 104
Reputation : 0
Language : English

http://aowcod.forumotion.net/

Back to top Go down

Solved Re: Code Help

Post by aowlthd February 9th 2012, 10:50 pm

<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></span></td>
</tr>
</table>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th class="thHead" valign="middle" height="25">{SITENAME} - {REGISTRATION}</th>
</tr>
<!-- BEGIN switch_fb_explain -->
<tr>
<td class="row1" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" id="fb_explain">
<tr>
<td align="center" width="10%"><img src="https://2img.net/i/fa/admin/icones/big_ico/warning.png" alt="" /></td>
<td class="genmed align_gauche" width="90%">{switch_fb_explain.FB_EXPLAIN}</td>
</tr>
</table>
</td>
</tr>
<!-- END switch_fb_explain -->
<tr>
<td class="row1" align="center">
<table width="80%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td>
<div class="genmed align_gauche">
<br />{AGREEMENT}<br />{MY_RULES}
<br />
<br />
<div align="center">
<a class="genmed" href="{U_AGREE_OVER18}">{AGREE_OVER_18}</a><br />
<br />
<a class="genmed" href="{U_INDEX}">{DO_NOT_AGREE}</a>
</div>
<br />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
aowlthd
aowlthd
Forumember

Posts : 104
Reputation : 0
Language : English

http://aowcod.forumotion.net/

Back to top Go down

Solved Re: Code Help

Post by ANGrey February 9th 2012, 10:54 pm

Hi-

Double/Triple posting will get you in trouble with the moderators, just to let you know. With no one in between your posts, they have to have at least 24 hours in between them. If you post within 24 hours of yourself posting without anyone else posting after you [in a single topic of course] the moderators will point out that it's against the rule. The edit button works nicely though! Very Happy

Anyways-
I appreciate you providing us with the code for this issue. However, could you maybe provide a screenshot of what it is that's wrong? Just so it's a little more clear, is all.

Hope this helps,
Lock
ANGrey
ANGrey
Forumember

Female Posts : 400
Reputation : 39
Language : English
Location : OK

http://ninjascrolls.forumotion.com/

Back to top Go down

Solved Re: Code Help

Post by LGforum February 9th 2012, 11:24 pm

I presume this is the bit you changed:
Code:

<a class="genmed" href="{U_AGREE_OVER18}">{AGREE_OVER_18}</a><br />

Yup you'll have to change that back. Its a placeholder for where a PHP variable is placed server-side while the page loads. By changing that the inner PHP isn't inserting the necessary stuff.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Code Help

Post by ANGrey February 10th 2012, 3:17 am

To be honest, I wasn't trying to moderate aowlthd. I was trying to prevent him from getting in trouble. D':

Lock
ANGrey
ANGrey
Forumember

Female Posts : 400
Reputation : 39
Language : English
Location : OK

http://ninjascrolls.forumotion.com/

Back to top Go down

Solved Re: Code Help

Post by aowlthd February 10th 2012, 1:26 pm

Darkibara...I'd clean up your own act before trying to clean up others. I've been a member here for a long time. You have NO right to to ask to LOCK this thread when it wasn't solved yet. Trust me, you aren't helping, only hindering.
aowlthd
aowlthd
Forumember

Posts : 104
Reputation : 0
Language : English

http://aowcod.forumotion.net/

Back to top Go down

Solved Re: Code Help

Post by aowlthd February 10th 2012, 1:29 pm

LG / Rideem,

Thanks so much for the help! This problem has been solved and all is working well!
aowlthd
aowlthd
Forumember

Posts : 104
Reputation : 0
Language : English

http://aowcod.forumotion.net/

Back to top Go down

Solved Re: Code Help

Post by Sanket February 10th 2012, 2:27 pm

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum