vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Paypal Donations for vBulletin 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=82978)

xfaethorx 06-13-2005 08:40 PM

hi,

i'm using the current zip as of this thread and i've found whats caused my problem.

for some reason the template database has mangled templates in it from the install

+------------+-------+-------------------+--------------------------------+---------+-------------+--------------+----------+----------+
| templateid | title | template | version | styleid | template_un | templatetype | dateline | username |
+------------+-------+-------------------+--------------------------------+---------+-------------+--------------+----------+----------+
| 8777 | -1 | adv_portal_donate | <!-- Donations Block -->

<t | 0 | template | | 0 | 3.0.7 |
+------------+-------+-------------------+--------------------------------+---------+-------------+--------------+----------+----------+

stumped as to why thats happened can someone tell me if that tables right?!?! this dbs been around since like vb 2 and upgraded everytime so i wonder if somethings gone wrong. Still have to find out WHY that happened.

dsboyce8624 06-13-2005 08:46 PM

Quote:

Originally Posted by xtreme-mobile
will this work on vbadanced v2 portal?

We haven't tried yet.

xtreme-mobile 06-13-2005 08:48 PM

okwill try installing in and see if i can get it to work :D

dsboyce8624 06-13-2005 08:58 PM

Quote:

Originally Posted by xfaethorx
hi,

i'm using the current zip as of this thread and i've found whats caused my problem.

for some reason the template database has mangled templates in it from the install

+------------+-------+-------------------+--------------------------------+---------+-------------+--------------+----------+----------+
| templateid | title | template | version | styleid | template_un | templatetype | dateline | username |
+------------+-------+-------------------+--------------------------------+---------+-------------+--------------+----------+----------+
| 8777 | -1 | adv_portal_donate | <!-- Donations Block -->

<t | 0 | template | | 0 | 3.0.7 |
+------------+-------+-------------------+--------------------------------+---------+-------------+--------------+----------+----------+

stumped as to why thats happened can someone tell me if that tables right?!?! this dbs been around since like vb 2 and upgraded everytime so i wonder if somethings gone wrong. Still have to find out WHY that happened.

Beyond me. Have to wait for CR.

xfaethorx 06-13-2005 09:10 PM

lol yeah i stopped there too :D. its probably something odd at my side as i've installed it no problems elsewhere

Cloudrunner 06-13-2005 10:15 PM

Quote:

Originally Posted by caimakale
Code:

Donations Currency Exchange Quotes
 
 
 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=USD&format=CSV&dest=Get+Table&sel_list=USD): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29
 
 Warning: implode(): Bad arguments. in /includes/cron/donation_currency_exchange.php on line 31
 
 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=AUD&format=CSV&dest=Get+Table&sel_list=USD): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29
 
 Warning: implode(): Bad arguments. in /includes/cron/donation_currency_exchange.php on line 31
 
 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=CAD&format=CSV&dest=Get+Table&sel_list=USD): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29
 
 Warning: implode(): Bad arguments. in /includes/cron/donation_currency_exchange.php on line 31
 
 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=EUR&format=CSV&dest=Get+Table&sel_list=USD): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29
 
 Warning: implode(): Bad arguments. in /includes/cron/donation_currency_exchange.php on line 31
 
 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=GBP&format=CSV&dest=Get+Table&sel_list=USD): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29
 
 Warning: implode(): Bad arguments. in /includes/cron/donation_currency_exchange.php on line 31
 
 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=JPY&format=CSV&dest=Get+Table&sel_list=USD): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29
 
 Warning: implode(): Bad arguments. in /includes/cron/donation_currency_exchange.php on line 31
 
 Done


I think I've fixed that issue....I'll be updating the zip here shortly. Please bear with me, I just got home.

Cloudrunner 06-13-2005 10:21 PM

Quote:

Originally Posted by guvner
LOL- now I'm adding existing donors to the DB - but it's gonna be a nightmare :cheeky:

Is there any way that the drop down box of members could be sorted alphabetically instead of by member no.?

My forum's not that big but I still have nearly 2,000 members and I have to add in over 120 donors - I'm going blind atm trying to find them in that long list :cry:

Also, a little bug - after a "donator is added, on the view donators page, I'm getting the dreaded red X for their avatar - it seems that the admincp has been added to to path to the call the avatar.

i.e.
Code:

http://www.mysite.com/forum/admincp/image.php?u=52&dateline=1108213260
whereas the actual path is
Code:

http://www.mysite.com/forum/image.php?u=52&dateline=1108213260

Fixed both of these, thank you for finding them.

Cloudrunner 06-13-2005 10:31 PM

Quote:

Originally Posted by xfaethorx
lol yeah i stopped there too :D. its probably something odd at my side as i've installed it no problems elsewhere

I'm currently looking at the duplicate entries at install at the moment, not sure exactly what's going on here, but as soon as I figure it out I'll get 1.03 out. Plese be patient, will be shortly.

Cloudrunner 06-13-2005 11:07 PM

Quote:

Originally Posted by xfaethorx
+------------+-------+----------+---------+---------+-------------+--------------+----------+----------+
| templateid | title | template | version | styleid | template_un | templatetype | dateline | username |
+------------+-------+----------+---------+---------+-------------+--------------+----------+----------+

Your schema is goofed, but I can work around that...was using short-hand for the inserts, looks like I'm going to have to use long-hand to do it right for everyone. Sorry bout that folks, but that is where your errors are coming from. Thank you xfaethorx for finding this issue for me today. I will get this fixed and reworked in the system. It may take a couple of hours, so I will release when that is completed.

Thank you for your patience!

oh, and the schema for the templates DB as I have it for 3.0.7 is:
Quote:

+------------+---------+-------+----------+-------------+--------------+----------+----------+---------+
| templateid | styleid | title | template | template_un | templatetype | dateline | username | version |
+------------+---------+-------+----------+-------------+--------------+----------+----------+---------+
Again thanks folks for being patient with me, I'll get this fixed and we'll go from there.

)O( Cloudrunner )O(

Cloudrunner 06-14-2005 12:03 AM

This is to let you all know that I have dropped a new archive of the system on vb.org. This archive fixes (hopefully) most of the installation problems some users were experiencing. That being said, I cannot plan for everything so please let me know if you run into any issues.

If you are one of the users who were plagued by the install problems (OF ANY KIND) then please download this update and overwrite everything then uninstall (using the NEWEST installer) the old stuff. After uninstallation, check your forums main page for problems if you had the vBadvanced Module installed. If you had the module installed and you now experience errors with the donations system uninstalled, simply go into your AdminCP and then go to the VBACMPS-->edit Pages and select each page individually and save it without changing anything and this will fix the errors experienced (this shouldn't happen though as I've coded to avoid this specific problem, but hey, you never know). After all is good then go ahead and reinstall the system. All *SHOULD* be good at this point.

Here is what I have addressed in this release:



  1. Fixed bug where on installation the currency exchanges were not being populated properly.
  2. Changed user list on "Add Donator" page in AdminCP to be sorted alphabetically.
  3. Fixed Avatar display for custom avatars in the AdminCP.
  4. Fixed short hand INSERTs in the installer. Should work with all versions of DB schemas now.
Please let me know if you run into anymore issues!



Please Note: If you did not experience any problems installing the hack then you do NOT need to install this update as it only fixes a few things outside of the installer itself. If you want the extra functionality (correct avatar in AdminCP and the alphabetical listing of usernames), then simply upload all the files except the installer and the install directory.


As soon as I am confident that this will install on almost everyone's installation of VB I will continue onto additional functionality.


Thank you for your support of this hack!

Love and Light to you all!

)O( Cloudrunner )O(


All times are GMT. The time now is 03:23 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.01481 seconds
  • Memory Usage 1,784KB
  • 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_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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