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)

guvner 06-14-2005 09:54 AM

Thanks for that, but there's something else that's a little odd. Some of the avatars still show red X's, when I right click and check the properties, all avatars that are called through image.php with all the dateline stuff show up fine, others have a standard URL and still have the red X

e.g.

Code:

http://www.yoursite.com/forum/image.php?u=1155&dateline=1116977135
are good

Code:

http://www.yoursite.com/forum/images/avatars/49toon.gif
show the red X

Now I have no idea what the differences between those 2 calls are, could it be that some are custom avatars?

Sorry to keep buggin you - everything else is sweet :) (if I could only get my damn sandbox working right to test it) :P

Cloudrunner 06-14-2005 02:27 PM

Quote:

Originally Posted by guvner
Thanks for that, but there's something else that's a little odd. Some of the avatars still show red X's, when I right click and check the properties, all avatars that are called through image.php with all the dateline stuff show up fine, others have a standard URL and still have the red X

e.g.

Code:

http://www.yoursite.com/forum/image.php?u=1155&dateline=1116977135
are good

Code:

http://www.yoursite.com/forum/images/avatars/49toon.gif
show the red X

Now I have no idea what the differences between those 2 calls are, could it be that some are custom avatars?

Sorry to keep buggin you - everything else is sweet :) (if I could only get my damn sandbox working right to test it) :P

Do me a favor, check that user's (the one(s) giving issues in the Admincp) avatar image on yer main site and give me the two URL's of what is in the AdminCP and the main site so I can see the difference? (I'm at work right now, no access to the code, but I may be able to fix just by using this.)

mkdevo 06-14-2005 02:46 PM

Quote:

Originally Posted by TTG
Doesn't seem to like 3.0.6 :disappointed:

Code:

Database error in vBulletin 3.0.6:

Invalid SQL: ALTER TABLE language ADD phrasegroup_ppdonations MEDIUMTEXT NOT NULL ;
mysql error: Duplicate column name 'phrasegroup_ppdonations'

mysql error number: 1060

Date: Monday 13th of June 2005 01:27:56 AM
Script: http://www.**********/forum/admincp/donations_install.php
Referer: http://www.***********/forum/admincp/donations_install.php
Username: ********
IP Address: **.**.102.40



i'm getting a similar error in 3.0.7:

Quote:

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE language ADD phrasegroup_ppdonations MEDIUMTEXT NOT NULL ; mysql error: Duplicate column name 'phrasegroup_ppdonations'

mysql error number: 1060
this is my first time installing it. i ran the uninstall, tried again, same thing..

any ideas?

Cloudrunner 06-14-2005 03:31 PM

Quote:

Originally Posted by mkdevo
i'm getting a similar error in 3.0.7:



this is my first time installing it. i ran the uninstall, tried again, same thing..

any ideas?

Which version of this hack are you running? (look up at the top there on the installer). Current version is 1.03 and it addresses this issue with a recoded installer. The zip on the first post is the current version of the hack as of 11:30 PM last night.

If the version you are running is anything less than 1.03 then please redownload and the upload overwriting all files, then uninstall and install again. Problem should be addressed. If your version is 1.03 then when I get home this afternoon I will look into addressing this again...

mkdevo 06-14-2005 03:31 PM

Quote:

Originally Posted by Cloudrunner
Which version of this hack are you running? (look up at the top there on the installer). Current version is 1.03 and it addresses this issue with a recoded installer. The zip on the first post is the current version of the hack.

1.03 it is...

Cloudrunner 06-14-2005 03:54 PM

Quote:

Originally Posted by mkdevo
1.03 it is...

Try this then (again, I'm at work so bear with me...)

Go into the file: ./admincp/donation_install/donation_install_phrases.php and find near the bottom:
PHP Code:

if (isset($test_language['phrasegroup_ppdonations']) AND !empty($test_language['phrasegroup_ppdonations'])){ 

And replace with:
PHP Code:

if (isset($test_language['phrasegroup_ppdonations'])){ 

Let me know if this helps, if it does I'll get it in the next update if not then I'll have to look into it abit more when I get home.

mkdevo 06-14-2005 04:26 PM

Quote:

Originally Posted by Cloudrunner
Try this then (again, I'm at work so bear with me...)

Go into the file: ./admincp/donation_install/donation_install_phrases.php and find near the bottom:
PHP Code:

if (isset($test_language['phrasegroup_ppdonations']) AND !empty($test_language['phrasegroup_ppdonations'])){ 

And replace with:
PHP Code:

if (isset($test_language['phrasegroup_ppdonations'])){ 

Let me know if this helps, if it does I'll get it in the next update if not then I'll have to look into it abit more when I get home.

bingo! thank you!

while i haven't tried out the actual mod functionality yet, i was now able to get past that point in the install, so it worked.

dsboyce8624 06-14-2005 04:28 PM

Nothing like a million testers to work out the kinks, eh?

guvner 06-14-2005 08:53 PM

Quote:

Originally Posted by Cloudrunner
Do me a favor, check that user's (the one(s) giving issues in the Admincp) avatar image on yer main site and give me the two URL's of what is in the AdminCP and the main site so I can see the difference? (I'm at work right now, no access to the code, but I may be able to fix just by using this.)

OK, they're just like I wrote above, but here they are again:

Member 1 (with red X in donor admin)
Code:

http://www.mysite.com/forum/admincp/images/avatars/49toon.gif
Member 1 - Normal forum path
Code:

http://www.mysite.com/forum/images/avatars/49toon.gif
Compared to a member with an avatar that works fine in both areas:

Donor admin path
Code:

http://www.mysite.com/forum/image.php?u=423&dateline=1113379178
Member 2 - Normal forum path
Code:

http://www.mysite.com/forum/image.php?u=423&dateline=1113379178
Any clues there?

Cloudrunner 06-14-2005 09:00 PM

Quote:

Originally Posted by guvner
OK, they're just like I wrote above, but here they are again:

Member 1 (with red X in donor admin)
Code:

http://www.mysite.com/forum/admincp/images/avatars/49toon.gif
Member 1 - Normal forum path
Code:

http://www.mysite.com/forum/images/avatars/49toon.gif
Compared to a member with an avatar that works fine in both areas:

Donor admin path
Code:

http://www.mysite.com/forum/image.php?u=423&dateline=1113379178
Member 2 - Normal forum path
Code:

http://www.mysite.com/forum/image.php?u=423&dateline=1113379178
Any clues there?

Yep ;)

in donation_admin.php find:
PHP Code:

if ($user_row['avatarid']){
                            
$avatarurl $user_row['avatarpath'];
                        } else {
                            if (
$user_row['hascustomavatar']){
                                if (
$vboptions['usefileavatar']){
                                    
$avatarurl $vboptions['avatarurl']."/avatar".$row['userid']."_".$user_row['avatarrevision'].".gif";
                                } else {
                                    
$avatarurl $vboptions['bburl']."/image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$user_row['avatardateline'];
                                }
                            } else {
                                
$avatarurl '';
                            }
                        } 

replace with:
PHP Code:

if ($user_row['avatarid']){
                            
$avatarurl $vboptions['bburl']."/".$user_row['avatarpath'];
                        } else {
                            if (
$user_row['hascustomavatar']){
                                if (
$vboptions['usefileavatar']){
                                    
$avatarurl $vboptions['bburl']."/customavatars/avatar".$row['userid']."_".$user_row['avatarrevision'].".gif";
                                } else {
                                    
$avatarurl $vboptions['bburl']."/image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$user_row['avatardateline'];
                                }
                            } else {
                                
$avatarurl '';
                            }
                        } 

Fixed *Should be anyway*. Will be in next update

Thank you!


All times are GMT. The time now is 03:19 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.01301 seconds
  • Memory Usage 1,791KB
  • 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
  • (13)bbcode_code_printable
  • (6)bbcode_php_printable
  • (9)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