Terms And Conditions

Mark

Administrator
Staff member
I dont have time to write the code for you at the moment, but edit the child/join_form template using basic HTML/CSS and you should get it without much trouble.
 

Basti

Administrator
Staff member
{$join_security_extra} you will want to move in this case
Move it out of the floats ( left / right side ) and then style the textarea in user.css
e.g
Code:
#p_terms {
    width: 400px;
    height: 250px;
}
 

magnum

Member
Ich habe es so gelöst.

Script:
Code:
$(document).ready(function(){   
    $('.agbs').hide().before('<a href="#" id="toggle-agbs" class="btn">AGBs und Regeln Open/Close</a>');
    $('a#toggle-agbs').click(function() {
        $('.agbs').slideToggle(1000);
        return false;
    });
});
plugins/Terms/terms.html
Code:
<div class="agbs">
    <label for="p_terms">{$lng->p_terms_label}</label>
    <textarea id="p_terms" class="custom_input" cols="50" rows="10">{$p_terms}</textarea><br />
</div>
{$p_terms_agree}
 

Basti

Administrator
Staff member
For everyone using elegant join together with this plugin, i released a fixed to the elegant join plugin which makes these 2 compatible again.
 

Basti

Administrator
Staff member
As of now that is not possible sorry. The custom join forms does not include such a feature
 

cajkan

Active Member
Hello Legendz, you can try adding this code but im not sure if this will work, coz terms plugin is part of {$join_security_extra}

Open join_form.html

Add this code:
HTML:
<label for="p_terms">Terms and Conditions</label>
<textarea id="p_terms" class="custom_input" cols="50" rows="10" disabled>TERMS OF SERVICE (Modified October 29, 2013)
 
General:
This website is owned and maintained by megawebsites.org. By using the websites directory, which includes all subdomains, you agree to be bound by the Terms of Service (&quot;TOS&quot;). The owner reserves the right to modify the TOS without notice. You are agreeing to modifications, after the TOS have been modified.
 
Payment, Recurring Fee and Refunds:
All payments are due upon submission. If your listing was declined for some reason we will fully refund your money back to you. Payments are non-refundable once a site was accepted.
 
Restrictions on Use:
You may not copy, reproduce, modify, upload, or distribute any material from megawebsites.org. You may not reformat the results from a search result and display them on other sites, or mirror the home page. You may not send automated queries to megawebsites.org.
 
Site Submissions:
Site submissions are subject to our Submission Guidelines, which are accepted by submitting the submission-form. The site applicant guarantees that the submitted site includes no illegal content in any form. There exists no right for inclusion to our index.
 
Third Party Content:
The owner declines all responsibility for law conformity, actuality or accessibility upon sites where links on megawebsites.org are leading to.
 
Contact Information:
If you have any questions about Mega Websites Directory, please contact us at admin[at]megawebsites.org.
 
 
SUBMISSION GUIDELINES (Modified October 29, 2013)
 
General:
•    Do not submit mirror sites or doorway pages.
•    Do not submit a website that redirects to another URL, or websites that are &quot;Under Construction&quot;.
•    Do not submit websites with porn, illegal, violent, discriminating or racialist content or links.
•    Do not submit a website that contains mostly affiliate links or excessive advertising.
•    We reserve the right to add, move, modify or delete listings without notice.
•    We reserve the right to remove a website if the content changes significant, or the site is down respectively unusable.
•    Submitted sites must be accessible for free, without password requirement, and must have a clear identifiable content.
•    Paid Submissions without payment will be rejected without notice and may cause IP-blocking.
 
Category:
•    Reciprocal and Featured Submission:  Find the most appropriate category for your website.  Submission to an unsuitable category will be declined or moved.
  (If you are not sure which is the most relevant category for your site please contact us: admin[at]megawebsites.org)
•    The final decision of category choice will be made by our editor!
 
Blog Submission:
•    The blog must be active with at least two months of postings.
 
URL:
•    Sub-pages and sub-domains are allowed.
•    Do not use capitals in domain names.
•    Do not add a tracking code.
 
Site links:
•    Site links must be from the same domain like the main link and related to the same company (if any).
•    Redirects are not accepted.
•    Duplicate URLs and titles are not allowed.
 
E-Mail Address:
•    Submit a valid email address.
•    We do not give away this email address. It is only used to send notification if your site is accepted.
 
Title:
•    The title must include the official name of your website or company.
•    Avoid any kind of promotional language.
•    Do not use ALL CAPS.
•    Capitalize each word in the title.
 
Description:
•    The description must be objective, written in complete sentences and correct punctuation. No keyword list!
•    Avoid any kind of promotional language (e.g. &quot;the best&quot;, &quot;number one&quot;, &quot;Visit us today!&quot;).
•    Do not include prices, discounts, bonuses or contact information (e.g. phone numbers).
 
We reserve the right to edit the URL, title, description, keywords, and category choice of existing listings at any time.</textarea>
<br />
 
<div id="p_terms_agree_container" class="">
    <label for="p_terms_agree"></label>
    <input type="checkbox" name="p_terms_agree[]" value="agree"  class="required" /> By checking this box you agree to our terms and conditions<br />
</div>
 

Basti

Administrator
Staff member
That will not work out. Then he has to delete the plugin and then the validation is gone.
We will need some better way to handle this in the future.

In the meantime jquery could handle this.

join_form.html
Code:
$( document ).ready(function() {
Add on a new line below the above
Code:
$('textarea#p_terms').attr('readonly','readonly');
 
Top