Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
iTrader Extension [Mainpage, Search, AND MORE] Details »»
iTrader Extension [Mainpage, Search, AND MORE]
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-14-2006 Last Update: 02-24-2006 Installs: 176
Uses Plugins Template Edits
Additional Files  
No support by the author.


Brought to you by:
DopeGFX
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------


[high]Changelog:[/high]
2-25-06
* UserCP navigation problem has been fixed
(Note: If you already installed this hack, just read this post for the fix.)

[high]Changelog:[/high]
2-15-06
* Top raters only show users who's total is greater than 0
* Hall of shame only shows users below 0.
* Database error fixed
* Added % to end of feedback score on mainpage
* Prefixed tables are supported now

2-18-06
*No more "invalid userid" error
*Even custom avatars show
*Non-registered users cannot see find a customer, your options, or find a seller.


What does this do?
This hack extends the capabilities of iTrader a great deal. For starters, it supplies a mainpage where you can view recent
ratings, highest rated members, lowest rated members, stats in general, and more. It also supplies a page where you can view
all members and their itrader stats. One of the best features this gives is the ability for people to show what they are selling
and what they are buying at the moment. Using these set fields, users can then click a "find a customer" link, or a "find a seller"
link that will bring up a perfect match for them.

What does this hack add to the functionability of iTrader?
  • Mainpage - Which includes the following
    • iTrader stats for site in general
    • Recent Ratings
    • Top Traders
    • Hall of shame (lowest rated traders)
  • A search where you can see all traders and some stats/info
  • The ability for users to have an option for "What they want to buy" and "What they are selling", which allows for the following:
    • A page where they can edit these fields.
    • A "Find A Customer" page that matches what they are selling with what someone is buying
    • A "Find A Seller" pahe that matches what they are buying with what someone is selling.

What does this hack require?
Template Edits: 2
Products Imported: 1
[high]You must have iTrader installed[/high]

Enjoy the hack.


Don't forget to click INSTALL

[HIGH]As always, feel free to make a donation to:[/HIGH]
gio@dopegfx.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 03-18-2006, 05:36 PM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
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?
Reply With Quote
  #73  
Old 03-18-2006, 11:22 PM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #74  
Old 03-19-2006, 01:46 PM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #75  
Old 03-19-2006, 02:52 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #76  
Old 03-19-2006, 03:06 PM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #77  
Old 03-19-2006, 03:19 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #78  
Old 03-19-2006, 03:39 PM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #79  
Old 03-19-2006, 05:03 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #80  
Old 03-19-2006, 05:50 PM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway thumbs up for that great hack! :up:
Felix
Reply With Quote
  #81  
Old 03-19-2006, 11:08 PM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:42 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.11088 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete