vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Donations Progress Image (Wiki lookalike) (https://vborg.vbsupport.ru/showthread.php?t=137348)

scan-pa 01-30-2007 02:20 PM

Can anyone help do a vbA module for these 2 hacks? Or point me to the instructions.

TIA

scan-pa 01-30-2007 04:37 PM

Quote:

Originally Posted by scan-pa (Post 1170558)
Can anyone help do a vbA module for these 2 hacks? Or point me to the instructions.

TIA

Never mind. I found it with a little more looking.

for anyone who wants to add the donation module to there vBadv portal, here is the link.

http://www.vbadvanced.com/forum/show...onation+module


Works fine on vB 3.6.4

masons 01-30-2007 05:38 PM

Hello everyone, it WORKS! great
http://www.novusordosaeculorum.com/index.php

But a question,

On the left site, under statistics, I like to add a small list with the latest donations, and I have no idea how to hack that! Can someone tell me or post the cut and paste and locations?

Thanks you?

masons 01-30-2007 05:42 PM

Also, it says 53 dollars in donations, and I really dont have any! how can i fix this?

scan-pa 01-30-2007 10:20 PM

Quote:

Originally Posted by masons (Post 1170713)
Also, it says 53 dollars in donations, and I really dont have any! how can i fix this?

I noticd that my donation page says:

We have collected a total of $85.59 since Jan. 15, 2007

However the amount should say $110.00

everything else is working. I looked in the db to find the $85.59 but could not find it stored anywhere.

anyone know where this info is contained in the db?

Ahsin1 01-30-2007 10:46 PM

Quote:

Originally Posted by Mr Chad (Post 1170276)
can you export your donation_goals table and post it here

I dont knw how export them lol


Is tht wht u talking abut

PHP Code:

<td colspan="2" class="alt1">$title - <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount</td>
                        </
tr>
                        <
tr>
                            <
td class="alt2" width="50%">$description</td>
                            <
td class="alt2">
                                
$vbphrase[we_have_collected] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$total_donated $vbphrase[in_donations_towards_our_goal_of] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount
                                
<br />
                                <
br />
                                <
img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=200&height=9">
                                <
br />
                                
$vbphrase[we_have_collected$percentage%
                                <
br />
                                
$vbphrase[thank_you]!
                            </
td>
                        </
tr>
$end 


Mr Chad 01-30-2007 11:01 PM

Quote:

Originally Posted by Ahsin1 (Post 1170909)
I dont knw how export them lol


Is tht wht u talking abut

PHP Code:

<td colspan="2" class="alt1">$title - <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount</td>
                        </
tr>
                        <
tr>
                            <
td class="alt2" width="50%">$description</td>
                            <
td class="alt2">
                                
$vbphrase[we_have_collected] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$total_donated $vbphrase[in_donations_towards_our_goal_of] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount
                                
<br />
                                <
br />
                                <
img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=200&height=9">
                                <
br />
                                
$vbphrase[we_have_collected$percentage%
                                <
br />
                                
$vbphrase[thank_you]!
                            </
td>
                        </
tr>
$end 


no lol. im talking about the values in your mysql database.

Ahsin1 01-31-2007 01:19 AM

got it check attachment

Mr Chad 01-31-2007 02:22 AM

ok in the php file find:
PHP Code:

$query_goals $vbulletin->db->query("SELECT * FROM ".TABLE_PREFIX."donation_goals WHERE active = '1' ORDER BY title ASC LIMIT 0,2"); 

and try changing the end ASC LIMIT 0,2");

try these 5 combos
  • 0,0
  • 0,1
  • 1,1
  • 1,2
  • 2,2

Ahsin1 01-31-2007 03:33 AM

I tried all of them dosent work

0,1 seems to work buh its only showing 1 goals ammount


All times are GMT. The time now is 02:33 PM.

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.01136 seconds
  • Memory Usage 1,790KB
  • 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
  • (3)bbcode_php_printable
  • (4)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