JoinWithBanner

What do you think about this Plugin?


  • Total voters
    16

Basti

Administrator
Staff member
Think i know where the errors lay. Ill talk with Lemonis when i see him online next time
 

LemoniscooL

Member
@sultime: did you add the {$multi_form} tag?

@Morus: the JoinWithBanner Plugin doesnt add anything to the ACP, it only adds to the Join/Join Existing please give me the link to your site so i can check what you mean, btw did you install it correctly? see the first post for installation notes
 

LemoniscooL

Member
i just tested it on Leonors page who also reported to me that it wasn working .. and after a proper setup it worked perfectly ..
all who have problems installing it please send me a link to the site where its installed by you ill check your installation then
 

Morus

www.votezone.eu , www.privateserversranking.com
All is working fine, I forgot about the {$multi_form} tag. Nice one.
 

sultime

Member
@sultime: did you add the {$multi_form} tag?

@Morus: the JoinWithBanner Plugin doesnt add anything to the ACP, it only adds to the Join/Join Existing please give me the link to your site so i can check what you mean, btw did you install it correctly? see the first post for installation notes
Yes I made the changes that needed to be done

Installation:

In order to install this Plugin correctly please follow the steps below
precisely.

Step 1: Upload the whole JoinWithBanner.zip via the plugin manager of

VisioList inside the admin control panel

Step 2: Go to your skin folder (e.g. /skins/parabola) and open

join_form.html

Step 3: Search for name="join_form" class="uiform" and replace it with

name="join_form" class="uiform" {multi_form}
 

LemoniscooL

Member
@sultime: check if you used {multi_form} or {$multi_form} i accidently wrote {multi_form} inside the first post and the readme
 

sultime

Member
yes here it is

<script type="text/javascript">
function showOwner (ownerbox, box, regform) {
var vis = (box.checked) ? "block" : "none";
var vis2 = (box.checked) ? "none" : "block";
document.getElementById(ownerbox).style.display = vis;
document.getElementById(regform).style.display = vis2;
}


function onSubmitButton(){
document.getElementById("submitButtonDiv").style.display = "none";

if (navigator.appName == "Microsoft Internet Explorer") {
document.getElementById("progressBar").innerHTML = "";
document.getElementById("progressBar").style.display = "block";
document.getElementById("progressBar").innerHTML = "<img src='{$list_url}/progressbar.gif' alt='Progress Bar' />";
} else {
document.getElementById("progressBar").style.display = "block";
}
}


function checkPass(){
//Store the password field objects into variables ...
var password1 = document.getElementById('join_password');
var confirm_password = document.getElementById('join_confirm_password');
var message = document.getElementById('confirmMessage');
var goodColor = "#66cc66";
var badColor = "#ff6666";
if(password1.value == confirm_password.value){
confirm_password.style.backgroundColor = goodColor;
message.style.color = goodColor;
message.innerHTML = "{$lng->join_password_match}"
}else{
confirm_password.style.backgroundColor = badColor;
message.style.color = badColor;
message.innerHTML = "{$lng->join_password_match_error}"

}
}
</script>

<fieldset>
<legend><b>D&eacute;j&agrave; un Membre?</b></legend>
{$lng->g_already}<input type="checkbox" id="owner" name="owner" onclick="showOwner('ownerbox', this, 'regform')"/>

<div id="ownerbox" style="display: none;">
<br />
<b>Connexion avec votre nom d'utilisateur topsite existant et mot de passe:</b><br /><br />
<form action="{$list_url}/index.php?a=user_cpl" method="post">
{$lng->g_username}<br />
<input name="u" size="20" type="text" /><br />

{$lng->g_password}<br/>
<input name="password" size="20" type="password"><br/><br/>

<input value="Login" type="submit"><br/><br/>
<a href="{$list_url}/index.php?a=lost_pw">A oubli&eacute; votre mot de passe?</a>
</form>
<br /><br />

</div>
</fieldset>



<p class="{$error_style_top}">{$error_top}</p>

<form action="{$list_url}/{$url_helper_a}join{$url_tail}" method="post" name="join_form" class="uiform"{multi_form}">
<div id="regform" style="display: block">
<fieldset>
<legend>{$lng->join_user}</legend>

<div class="{$error_style_username}">
<label for="join_username">{$lng->g_username}</label><br />
<input type="text" name="u" size="20" value="{$username}" class="ui-state-hover ui-corner-all"/>
{$error_username}
</div><br />

<div class="{$error_style_password}">
<div style="float: left; margin-right: 2em;">
<label for="join_password">{$lng->g_password}</label><br />
<input type="password" name="password" size="20" onkeyup="checkPass(); return false;" id="join_password" />
</div>
<div>
<label for="join_confirm_password">{$lng->join_confirm_password}</label><br />
<input type="password" name="confirm_password" size="20" onkeyup="checkPass(); return false;" id="join_confirm_password" /> <span id="confirmMessage" class="confirmMessage"></span>
{$error_password}
</div>
</div>

{$join_user_extra}

</fieldset>


<fieldset>
<legend>{$lng->join_website}</legend>

<div class="{$error_style_url}">
<label for="join_url">{$lng->g_url}</label><br />
<input type="text" name="url" size="50" value="{$url}" id="join_url" />
{$error_url}
</div><br />

<div class="{$error_style_title}">
<label for="join_title">{$lng->g_title}</label><br />
<input type="text" name="title" size="50" value="{$title}" id="join_title" />
{$error_title}
</div><br />

<label for="join_description">{$lng->g_description}</label><br />
<textarea cols="40" rows="5" name="description" id="join_description">{$description}</textarea><br /><br />

<label>{$lng->g_category}<br />
{$categories_menu}
</label><br />

<div class="{$error_style_email}">
<label for="join_email">{$lng->g_email}</label><br />
<input type="text" name="email" size="50" value="{$email}" id="join_email" />
{$error_email}
</div><br />

{$join_website_extra}


{$join_captcha}

{$join_recaptcha}

{$join_adscaptcha}

{$join_question}


{$join_security_extra}

<div>
<div id="capbag"> </div>
<div id="capops"> </div>
</div>

<div id="submitButtonDiv"><br /><input name="submit" type="submit" value="{$lng->join_header}" onclick="onSubmitButton(); wswgEditor.doCheck();" /></div>

<div id="progressBar" style="display:none">
<br /><img src="{$list_url}/progressbar.gif" alt="Progress Bar"/>
</div>

</fieldset>
</div>

</form>
 

Morus

www.votezone.eu , www.privateserversranking.com
you have error, place {$multi_form} instead of {multi_form}. You are missing symbol $. Are you adding it to the skin you are using or to parabol?
 
We installed this on our topsite of which we have over 120 members. It works beautifully, quick, easy to use. And it brings in more banners/buttons instead of a ton of default.

Thanks Lemon!
 

sultime

Member
Morus thank you very much it works perfectly, I have successfully tested and thank you for this module Lemoniscool :)
 

leonor

Active Member
License Active
idk but i think i found a bug.
When a user dont add banner at register the plugin dont add the "Default banner for members who do not supply one"
 

Basti

Administrator
Staff member
Indeed, open up join_insert_data.php and join_existing_insert_data.php
P.s think i dont have the recent version, but change should be as follow. If content doesnt look like that anyway, wait for Lemonis, he will also know what to do :)

Code:
    $fullnewname = $CONF['list_url'].'/'.$newname;
change to

Code:
if($image) {
    $fullnewname = $CONF['list_url'].'/'.$newname;
}
else {
    $fullnewname = $CONF['default_banner'];
}
That should do it
 

leonor

Active Member
License Active
Now that LemoniscooL fixed the error reports and the "Default banner for members who do not supply one" this is a pretty nice Plugin im using myself. Since im using it i have many more people uploading a banner!
 
Top