The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Widget - Welcome User Log In/ Change To Paypal - Donations Details »» | |||||||||||||||||||||||||||||||||
Widget - Welcome User Log In/ Change To Paypal - Donations
Developer Last Online: Apr 2020
2 Widget in 1 This Widget contains the option to register and log in on the page and after the log in it gives you the option of PayPal Donations. How To Install
Create New Widget
Configure your Widget
Create a New Template
HTML Code:
<div class="cms_widget"> <div class="block"> <div class="cms_widget_header"> <h3><img title="{vb:raw widget_title}" src="images/cms/widget-login.png" alt="" /> {vb:raw widget_title} {vb:raw bbuserinfo.musername}</h3> </div> <div class="cms_widget_content" align="center"> <vb:if condition="$show['member']"> <ul class="isuser"> <div align="center">If you like our website and want to give something back, you can make a donation. All donations are Welcome. <br /><br /> <form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post"> <div> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="XXXXX@PaypalEmail.com" /> <input type="hidden" name="item_name" value="Donations to www.YourSiteHere.com!!!"/> <input type="hidden" name="no_note" value="1" /> <input type="hidden" name="currency_code" value="USD" /> <input type="hidden" name="tax" value="0" />$ <select name="amount"> <option value="5.00">5.00</option> <option value="10.00">10.00</option> <option value="15.00">15.00</option> <option value="20.00">20.00</option> <option value="25.00">25.00</option> </select> </div> <br /> Select a preferred amount of the donation, and then click the donate button. <br /><br /> <fieldset> <input type="image" src="images/cms/widget-paypal-donation.png" title="Pay via PayPal" alt="Pay via PayPal" /> </fieldset> </form> </div> <li><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li> </ul> <vb:else /> <ul class="nouser"> <li> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script> <form action="login.php?{vb:raw session.sessionurl}do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})"> <fieldset id="logindetails" class="logindetails"> <div> <div> If this is your first visit, and you are not registered already, please click the register link below to proceed. <a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a> <br /><br /> <input type="text" class="textbox default-value" name="vb_login_username" id="navbar_username" size="24" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" onfocus="if (this.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'){this.value=''; this.style.color='black';}" onblur="if (this.value == '') {this.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'; this.style.color='#828282';}"/> <br /><br /> <input type="password" class="textbox default-value" tabindex="102" name="vb_login_password" id="navbar_password" size="24" onfocus="this.style.color='black';" /><p></br> </div> </div> </fieldset> <div id="remember" class="remember"> <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label></div> <input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> </li> </ul> </vb:if> </div> </div> </div> Add Widget to a Page
Don't forget to mark as Installed. Last Update: Fix: Error widget on top of others Update: Username HTML Markup in the Welcome "Thanks this for steve1966" Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
||||
|
||||
I second that
|
#23
|
|||
|
|||
Thanks for a Great mod! Now I can fix my header to not include the log in area!!
I did remove the paypal information and will be putting my member's PM box there when they are logged in, that along with their avatar and any other member information. For the guys asking to remove the Paypal Donation part.. Just edit the template and remove the part of the template that calls the donation... then put in whatever you want there after the user has logged in successfully. Easy to change. Thanks again for a great useful widget! |
#24
|
|||
|
|||
does anybody know how to convert this widget into a forum sideblock ?
|
#25
|
|||
|
|||
Okay.. so I want to add this, but nowhere in my V4.0 does it allow me to follow this path:
Admin CP -> Styles and Templates -> CREATE NEW TEMPLATE I have create new style... Am I supposed to add a new template to each style that I want to have this mod? So I added the code to the Widget in configure widget, but I can't see it on my CMS home page. refresh, clear CMS cache everything. What am I overlooking? Anyone? |
#26
|
||||
|
||||
Quote:
Are there more instructions that need to be added? |
#27
|
|||
|
|||
Still hoping this is going to be made into a forum side block, i tried it myself and it went wrong
|
#28
|
||||
|
||||
The instructions left out the fact you must add a new template for each style you have.
But, this is a really nice widget and I hope the dev will update it to include a forum block. Cheers! |
#29
|
||||
|
||||
installed but login tab not working
|
#30
|
|||
|
|||
Widget will not shown in vb4.0.4
Does anyone knows why? |
#31
|
|||
|
|||
Take it out and in again.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|