vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   iTrader Extension [Mainpage, Search, AND MORE] (https://vborg.vbsupport.ru/showthread.php?t=108065)

zendiver 03-18-2006 05:36 PM

Quote:

Originally Posted by 7thgenCivic.Com
Couple things.

1. In the Options section, the colors are not right on the menu. See attachment. The options should integrate into the User CP Options area IMO.

2. In Find Customer and Find Seller and Search my Join date says 12-31-1969. Users with custom avatars, the avatars do not show up. Users with a forum avatar get the No Avatar Selected avatar.

3. Seems that all these pages do the same thing Find Customer and Find Seller and Search

4. THe advanced Search link needs to be left aligned.

5. Main page Top Traders. Need to add the % sign on the Positive feedback and add the decimal instead of rounding.

Other than that, it looks promissing.

Quote:

Originally Posted by gio~logist
1. Ah yes, i need to fix that. Not a major problem as it does not effect functionabilit. However, it should/will be fixed ASAP.
2. That could be because you added yourself via mysql and not by registering.
3. The pages do not do same thing at all. Fill out your options and have a look :p.
4. I purposesly put it right aligned. Don't see why it needs to be left aligned.
5. Added.

Gio, I have intstalled this on my testing board and have the same problem in Number #2. I am the installer of the board so I am the only member, registered. Also, if you look at your screen shots, your's also says 12-31-1969.
Got any ideas?

phonexpo 03-18-2006 11:22 PM

Quote:

Originally Posted by gio~logist
Do you mean in their postbit and profile?

Hi,

Yes in the post bit? Just like on eBay. Might be an idea for the future. :)

Thanks anyway I love this hack.

derfelix 03-19-2006 01:46 PM

Ok
I think i solved the customavatar problem.. at least on my system.
the problem is in the query.. its missing the "avatarrevision".

that is why when you build the avatar url
example the avatar for user 3 is: customavatars/avatar_3_1.gif

it will search for customavatars/avatar_3_.gif

i implemented following fix:

1. backup itrader_main.php (its more important than you think) ;)
2. find (its there three times.. do it for all 3 times):
PHP Code:

user.joindate 

3. replace with:
PHP Code:

user.joindateuser.avatarrevision 

4 save

Attention you have to do it 3 times in the file!!!

that made my customavatar appear again...

hope that helps

Felix
PS: on my localhost testboard I only have 3 users.. so i cant tell if it works in all configurations.. but it looks as it was that..

Gio~Logist 03-19-2006 02:52 PM

The latest version doesn't have any avatar problems. I have tested it several times. Please try downloading the latest zip.

The search, find customer, and find seller do not do the same thing at all. Fill in the fields What you want to buy or sell in "itrader options" and you'll see.

derfelix 03-19-2006 03:06 PM

Then there must be 2 versions around..
I downloaded it about five hours ago..
and just checked in case you had updated in the last five hours..
but no.. its the same version

and I had avatar probs ONLY with custom avatar stored in filesystem.. on a windows server...
All other avatars worked fine...

Felix

PS: to bad there arent any file version numbers.. and maybe vbulletin.org restored data from backup or some other server problem restored an older zip_file.. mind checking?

Gio~Logist 03-19-2006 03:19 PM

Quote:

Originally Posted by derfelix
Then there must be 2 versions around..
I downloaded it about five hours ago..
and just checked in case you had updated in the last five hours..
but no.. its the same version

and I had avatar probs ONLY with custom avatar stored in filesystem.. on a windows server...
All other avatars worked fine...

Felix

PS: to bad there arent any file version numbers.. and maybe vbulletin.org restored data from backup or some other server problem restored an older zip_file.. mind checking?

May i ask what happens with these avatars? They do not show? If not, what URL is it trying to pick up te avatar from and what is the correct URL?

derfelix 03-19-2006 03:39 PM

Well the custom avatar was a broken image...

the real avatar is located:
forum/customavatars/avatar3_1.gif

the url of the broken image was:
forum/customavatars/avatar3_.gif

the 1 was missing
the "1" being (thats what i saw in the code) built with $search['avatarrevision']

But the avatarrevision was not pulled in the query.. so therefore empty..

when i added it.. it worked..

Felix

Gio~Logist 03-19-2006 05:03 PM

Quote:

Originally Posted by derfelix
Well the custom avatar was a broken image...

the real avatar is located:
forum/customavatars/avatar3_1.gif

the url of the broken image was:
forum/customavatars/avatar3_.gif


the 1 was missing
the "1" being (thats what i saw in the code) built with $search['avatarrevision']

But the avatarrevision was not pulled in the query.. so therefore empty..

when i added it.. it worked..

Felix

I suppose i didn't consider that, i will update zip shortly.

derfelix 03-19-2006 05:50 PM

anyway thumbs up for that great hack! :up:
Felix

zendiver 03-19-2006 11:08 PM

Gio, also, do you have any idea why the Join Date is wrong: 12-31-69
shows for Browse All Members, Find a Customer, and Find a Seller?

If I change:
Code:

$searcher_date['datejoined'] = vbdate($vbulletin->options['dateformat'], $bbuserinfo['joindate']);
TO
Code:

$searcher_date['datejoined'] = vbdate($vbulletin->options['dateformat'], $userinfo['joindate']);
in all three places, then Find a Customer and Find a Seller displays the correct dates 10-04-04 (the day that I started the board), however, in Browse All Members, it still displays 12-31-69.


All times are GMT. The time now is 04:06 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.01193 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (5)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