vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Widget - Donations / Forum Sidebar - Donations (https://vborg.vbsupport.ru/showthread.php?t=230728)

Bouncer222 12-29-2009 03:21 AM

Quote:

Originally Posted by IR15H (Post 1935592)
The first steps should take you here;
http://img96.imageshack.us/img96/3835/87185179.png
You should then see the following screen;
http://img24.imageshack.us/img24/6428/96004313.png

Hope that solves your problem :).



It'd be possible (I'd have to learn a bit), but would require a plugin and is a bit beyond the scope of what I wanted to do with a simple widget/side block. I've had a quick search and there's two mods that have progress bars; Cyb - PayPal Donate and Donation Progress Bar-Forumhome. You're probably better of asking one of them to update either mod to vB4, in which adding compatibility to display the bar in a widget/block would probably be fairly straight forward. If neither mod owners are willing to update their mods then I'll look into doing it myself further.



You can, please see the third post on details on how to do this.



You can enable this on the forum-only package and make it visible on every page. This is explained in the third post of this thread. In regards to the donation bar, see my comments above to steven s.

Cyb has not responded for a long time to any of his mods, and the other mod is really really old, so if you could create it, it would be great :)

maidos 12-29-2009 07:29 AM

there is no reply... wondering if u can work on the donation bar which can display on forum home?

lovefords 12-29-2009 04:55 PM

Thank you very much.

linuxututs 12-30-2009 10:33 AM

Guess I'll have to wait till the update release comes out, because its not showing for me no matter who's code I use.

The thing is, this is the only problem I've came across since "Finally" getting my board upgraded. ( Took a few restores to get it right [ or so I thought] ) :)

Thanks,

unit727 12-30-2009 01:36 PM

A donation goal bar would be great if it's possible because other versions still have not been updated.

fayax 12-30-2009 07:47 PM

I made my own from paypal ..it works now. I still voted excellent for this mod.

DUI_ 12-30-2009 10:49 PM

*Installed* Love it! thanks :)

Griffoneur 12-31-2009 05:41 PM

Thank you for this mod. It works great and was on my "want list" for quite some time!:D

IR15H 01-01-2010 02:38 PM

Quote:

Originally Posted by Bouncer222 (Post 1940935)
Hmm its too much stretched out, gotta figure out how to make it less wider, any ideas?

The widget's width is determined by the setting you chose in your Grid Manager and Layout Manger in your Admin CP under CMS options.

Quote:

Originally Posted by jonah1892 (Post 1941133)
is there anyway to allow custom ammounts to be input by the donator?

Yes :). Find;

HTML Code:

  <select name="amount">
    <option value="10.00">10</option>
    <option value="15.00">15</option>
    <option value="20.00">20</option>
    <option value="25.00">25</option>
    <option value="50.00">50</option>
    <option value="100.00">100</option>
  </select>

Replace with;
HTML Code:

<input type="text" value="" size="5" name="amount"/>
Quote:

Originally Posted by unit727 (Post 1942506)
A donation goal bar would be great if it's possible because other versions still have not been updated.

Quote:

Originally Posted by Bouncer222 (Post 1941156)
Cyb has not responded for a long time to any of his mods, and the other mod is really really old, so if you could create it, it would be great :)

Quote:

Originally Posted by maidos (Post 1941298)
there is no reply... wondering if u can work on the donation bar which can display on forum home?

Cyb has stated in his signature;
Quote:

Note: All of my products are supported, but I'm busy with my main job, so please be patient when asking for support. *** vBulletin 4 versions will be released once we buy new license. No ETA ATM.
None the less, a basic one to do until that happens. Taken pretty much directly from this guide;
  1. Edit Template
    • Admin CP > Styles & Templates > Style Manager > Edit Template > vbulletin.css
      • At then end of the template, add;
      • Code:

        div.progress-container {
          border: 1px solid #ccc;
          width: 100px;
          margin: 2px 5px 2px 0;
          padding: 1px;
          background: white;
        }

          div.progress-container > div {
          background-color: #ACE97C;
          height: 12px
        }

  2. Edit Widget/Sidebar
    • ADMIN CP > vBulletin CMS > Widgets > Configure and/or ADMIN CP > Forums & Moderators > Forum Blocks Manager > Edit
      • Chose where you want the progress bar to appear, insert;
      • Code:

        We're currently 50% of the way to achieving our goal of &pound;100.
        <br />
        <div class="progress-container" align="left">         
            <div style="width: 50%"></div>
        </div>

      • Change percentage, currency and goal amount to suit your needs.

You should end up with something like below;
http://img29.imageshack.us/img29/7067/77965989.png



Quote:

Originally Posted by linuxututs (Post 1942367)
Guess I'll have to wait till the update release comes out, because its not showing for me no matter who's code I use.

The thing is, this is the only problem I've came across since "Finally" getting my board upgraded. ( Took a few restores to get it right [ or so I thought] ) :)

Thanks,

I don't understand your problem, sorry.

---------------------

Again, thanks to all those who have marked installed :).

linuxututs 01-01-2010 07:06 PM

Thanks for The Great hack.
I was able to finally get this to work for me by adding this to the bottom of "vbcms_widget_recentforumposts_page".

PHP Code:

<div class="cms_widget">
    <
div class="block">
        <
div class="cms_widget_header">
        <
h3><img title="Donations" src="images/cms/widget-donations_colour.png" alt="" /> Donations</h3>
        </
div>
        <
div class="cms_widget_content" align="center">

If 
you like our website and would like to give something in return, you can make a donationAll donations are gratefully received.
<
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="your_email@your_site.com" />
  <
input type="hidden" name="item_name" value="www.your_site Donation" />
  <
input type="hidden" name="no_note" value="1" />
  <
input type="hidden" name="tax" value="0" />
<
select name="currency_code">
<
option value="USD">$ - USD</option>
<
option value="EUR">&euro; - EUR</option>
<
option value="GBP">&pound; - GBP</option>
</
select>
  <
select name="amount">
    <
option value="10.00">10</option>
    <
option value="15.00">15</option>
    <
option value="20.00">20</option>
    <
option value="25.00">25</option>
    <
option value="50.00">50</option>
    <
option value="100.00">100</option>
  </
select>
  </
div>
<
br />
Select your preferred currency and donation amountthen click the donate button.
<
br /><br />
<
fieldset>
<
center><input type="image" src="images/cms/widget-donations_paypal.png" title="Pay Securely via PayPal" alt="Pay via PayPal" /></center>
</
fieldset>
   </
form>
<
br />
<
center>Or You can choose any amount here.</center>
<
center>Your_Paypal_code_button_from_paypal</center>
</
div>
    </
div>
</
div

I got the regular paypal button from my paypal account, and remeber to replace your_site and your_email with your own.

This is just an alternative and is quit nice being under "Latest Forum Post" also.

You can see the results Here.

Thank You,


All times are GMT. The time now is 10:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01219 seconds
  • Memory Usage 1,783KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete