PDA

View Full Version : iTrader Extension [Mainpage, Search, AND MORE]


Gio~Logist
15 Feb 2006, 21:10
Brought to you by:
DopeGFX (http://www.dopegfx.com)
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------



Changelog:
2-25-06
* UserCP navigation problem has been fixed
(Note: If you already installed this hack, just read this post (http://www.vbulletin.org/forum/showpost.php?p=910062&postcount=63) for the fix.)

Changelog:
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
You must have iTrader installed

Enjoy the hack.


Don't forget to click INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=108065)

As always, feel free to make a donation to:
gio@dopegfx.com

https://www.vbulletin.org/forum/external/2006/07/12.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=gio%40dopegfx%2ecom&item_name=Giovanni%20Martinez%20Services%20Donation&no_shipping=0&no_note=1&tax=0&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)

Gio~Logist
15 Feb 2006, 21:10
Screenshots
Screen1 - Mainpage
Screen2 - Browse All Members
Screen3 - Find a customer
Screen4 - Find a seller
Screen5 - Your Options
Screen6 - Navigation

misticjeff
15 Feb 2006, 21:58
Whoopee!!! I love being first...

Installed!!! and a BIG thank you.

Gio~Logist
15 Feb 2006, 21:59
Whoopee!!! I love being first...

Installed!!! and a BIG thank you.

:p You are welcome.

Gio~Logist
15 Feb 2006, 22:23
Small problem found when not logged in. Just go to itrader_main.php and remove the following from the top:

// Get info for user we are viewing / rating.
$userinfo = verify_id('user', $vbulletin->GPC['userid'], 1, 1, 0);
$userperms = cache_permissions($userinfo, false);

Zip updated.

Odysseus
15 Feb 2006, 22:53
Ah, that is exactly what I was looking for.
Thank you so much for sharing!

Only one thing:
The "Hall of Shame" will show Members without any transactions or even members with 100% goot ratings, if there are not "enough" shamers with less than 100% than the maximum display setting.

Change the "Hall of Shame" SQL to this in order to have only members with less than 100% rating and at least one transaction:

$itrader_shame_get = $vbulletin->db->query_read("SELECT itrader_total, itrader_pcnt, username, userid, joindate
FROM " . TABLE_PREFIX . "user
WHERE itrader_total > 0
AND itrader_pcnt < 100
ORDER BY itrader_pcnt ASC
LIMIT $mainpagelimit

itrader_main.php, starting at line 122

hotwheels
15 Feb 2006, 22:56
I just installed and for the most part it is working right, i am having a couple issue's here:
Find a customer
Find a seller
Your Options

All give me this error: Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT itrader_buy, itrader_sell, userid
FROM vb3user
WHERE userid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Date : Wednesday, February 15th 2006 @ 06:55:31 PM
Script : http://www.insanemustangs.com/forums/itrader_main.php?do=options
Referrer : http://www.insanemustangs.com/forums/itrader_main.php?do=search
IP Address : #######
Username : #######
Classname : vb_database

Gio~Logist
16 Feb 2006, 00:14
I just installed and for the most part it is working right, i am having a couple issue's here:
Find a customer
Find a seller
Your Options

All give me this error:


lol. Sorry about that. I deleted a little to much. You really only have to delete
$userperms = cache_permissions($userinfo, false);

Instead of the whole:
// Get info for user we are viewing / rating.
$userinfo = verify_id('user', $vbulletin->GPC['userid'], 1, 1, 0);
$userperms = cache_permissions($userinfo, false);

I will update zip now.

Gio~Logist
16 Feb 2006, 00:17
Ah, that is exactly what I was looking for.
Thank you so much for sharing!

Only one thing:
The "Hall of Shame" will show Members without any transactions or even members with 100% goot ratings, if there are not "enough" shamers with less than 100% than the maximum display setting.

Change the "Hall of Shame" SQL to this in order to have only members with less than 100% rating and at least one transaction:

$itrader_shame_get = $vbulletin->db->query_read("SELECT itrader_total, itrader_pcnt, username, userid, joindate
FROM " . TABLE_PREFIX . "user
WHERE itrader_total > 0
AND itrader_pcnt < 100
ORDER BY itrader_pcnt ASC
LIMIT $mainpagelimit

itrader_main.php, starting at line 122


Good suggestion, accept the best way to do that would just be
WHERE itrader_total != 0

I am updating zip now with both of these changes (the post before and this one).

Gio~Logist
16 Feb 2006, 00:23
The zip has been updated. Thank god there were no major errors :p I don't believe there is anything else that needs to be edited. However, feel free to post any bugs you may see.

docvader
16 Feb 2006, 00:47
I'll wait another five minutes.

I almost installed this ten minutes ago, before you updated, LOL.

Looks like a great hack. A little bit of ebay on your own website. I like it.

Gio~Logist
16 Feb 2006, 00:48
I'll wait another five minutes.

I almost installed this ten minutes ago, before you updated, LOL.

Looks like a great hack. A little bit of ebay on your own website. I like it.


You can go ahead and install it now if you'd like. The zip has been updated.

graham_w
16 Feb 2006, 00:49
Nice little extension. My only thing is I was just hoping to have a front page with latest trades/highest ratings etc, not all of the little extras. Is there a way to turn off the extras ?

Gio~Logist
16 Feb 2006, 00:57
Nice little extension. My only thing is I was just hoping to have a front page with latest trades/highest ratings etc, not all of the little extras. Is there a way to turn off the extras ?

If you'd like, just delete the links from the navbar and run the uninstall query to delete the fields of the what i'd like to buy and what i'd like to sell.

hotwheels
16 Feb 2006, 01:16
right on, i uploaded the new file's.........the "your options" is now working, but "find a customer and find a seller" still aren't working........here are their error's: Find a customer's error Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT COUNT(*) AS total
FROM vb3user
WHERE user.itrader_buy LIKE '%nothing%' OR user.itrader_buy LIKE '%at%' OR user.itrader_buy LIKE '%the%' OR user.itrader_buy LIKE '%moment%';

MySQL Error : Unknown table 'user' in where clause
Error Number : 1109
Date : Wednesday, February 15th 2006 @ 09:14:03 PM
Script : http://www.insanemustangs.com/forums/itrader_main.php?do=findcustomer
Referrer : http://www.insanemustangs.com/forums/index.php?
IP Address : ######
Username : ######
Classname : vb_database

and "find a seller error: Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT COUNT(*) AS total
FROM vb3user
WHERE user.itrader_sell LIKE '%nothing%' OR user.itrader_sell LIKE '%at%' OR user.itrader_sell LIKE '%the%' OR user.itrader_sell LIKE '%moment%';

MySQL Error : Unknown table 'user' in where clause
Error Number : 1109
Date : Wednesday, February 15th 2006 @ 09:15:42 PM
Script : http://www.insanemustangs.com/forums/itrader_main.php?do=findseller
Referrer : http://www.insanemustangs.com/forums/index.php?
IP Address : ######
Username : ######
Classname : vb_database

Other then those 2 error's, the extension works very well and is a nice addition to the itrader.

Gio~Logist
16 Feb 2006, 01:29
right on, i uploaded the new file's.........the "your options" is now working, but "find a customer and find a seller" still aren't working........here are their error's: Find a customer's error

and "find a seller error:

Other then those 2 error's, the extension works very well and is a nice addition to the itrader.


Ah yes, this is due to your table prefix. Try overwriting itrader_main.php with the attached file and let me know if it works so that i can go ahead and update zip.

hotwheels
16 Feb 2006, 01:49
That was it man...............work's awesome, great job..

ImportPassion
16 Feb 2006, 01:50
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.

VBUsers
16 Feb 2006, 02:14
Ah yes, this is due to your table prefix. Try overwriting itrader_main.php with the attached file and let me know if it works so that i can go ahead and update zip.

this helped me as well thanks

Gio~Logist
16 Feb 2006, 02:32
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.

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.

docvader
16 Feb 2006, 02:55
Gio, another "updated zip"?
I just installed this... :)

Agree with Derek's observations, though, I have no problems with the colors, and have no issues with Join Date ( I agree that's Derek's issue). The "advanced search" should match the other search box; it looks like an orphaned child standing on the side there.

Shall I wait ten minutes to download and reinstall? Got to admit man, you are most definitely on top of this today. Impressive.

Nice job. Very useful and well designed.

rich

bada_bing
16 Feb 2006, 03:33
Wow this sounds like a great extention to an already great hack. I want to install this but I would like to either remove or have the ability in adminCP to shut off this feature as I use my forums to post this.

-The ability for users to have an option for "What they want to buy" and "What they are selling",

Snake
16 Feb 2006, 09:17
Coolio I'll install this now!!! :)

Snake
16 Feb 2006, 09:19
Nevermind.

Gio~Logist
16 Feb 2006, 17:28
Wow this sounds like a great extention to an already great hack. I want to install this but I would like to either remove or have the ability in adminCP to shut off this feature as I use my forums to post this.

-The ability for users to have an option for "What they want to buy" and "What they are selling",


I will provide that option in the next update.

ImportPassion
16 Feb 2006, 19:03
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.

2. No I didn't. Works fine everywhere else.
3. I'll check
4. Just looks out of place on 1600x1400 screen. I'll change it on my own. No big deal.
5. thx

ImportPassion
16 Feb 2006, 19:04
oh ya, #2 had a question about the avatars as well.

Gio~Logist
16 Feb 2006, 19:12
oh ya, #2 had a question about the avatars as well.

2. Your join date is a unique problem. Not something really that could be wrong with the code as it works with all other accounts.

As for the avatars, NO avatars show? That's another problem i've only seen with you. I'm not saying that you're doing something wrong or anything or accusing you. Just wondering if perhaps you have a hack that conflicts with this.

djjeffa
17 Feb 2006, 00:24
great hack but i have 2 problems
1. none of the avatoers are showing up here http://www.djjeffa.com/vb/itrader_main.php?do=search

2. The hall of shame is empty and there are members with - feedback http://www.djjeffa.com/vb/itrader_main.php?

Gio~Logist
17 Feb 2006, 00:40
great hack but i have 2 problems
1. none of the avatoers are showing up here http://www.djjeffa.com/vb/itrader_main.php?do=search

2. The hall of shame is empty and there are members with - feedback http://www.djjeffa.com/vb/itrader_main.php?

I do not believe that you have the latest zip :p

Try re-downloading the zip. Also, try updating itrader scores to fix your hall of shame problem.

And although a user may have ONE bad feedback comment. It only shows if they have a positive TOTAL. Meaning their TOTAL is -x, x being their number. Would you guys like me to change that to something else?

VBUsers
17 Feb 2006, 00:54
great hack but i have 2 problems
1. none of the avatoers are showing up here http://www.djjeffa.com/vb/itrader_main.php?do=search

2. The hall of shame is empty and there are members with - feedback http://www.djjeffa.com/vb/itrader_main.php?


did you get it? if you need help let me know on aim. i think you do need the newest zip

djjeffa
17 Feb 2006, 00:56
I do not believe that you have the latest zip :p

Try re-downloading the zip. Also, try updating itrader scores to fix your hall of shame problem.

And although a user may have ONE bad feedback comment. It only shows if they have a positive TOTAL. Meaning their TOTAL is -x, x being their number. Would you guys like me to change that to something else?

im a lil dumb with this so please bare with me

How do I upgrade to the latest zip? what has to be done? or uploaded?
also how do I update the itrader score?
thanks for your pacients

Gio~Logist
17 Feb 2006, 01:08
im a lil dumb with this so please bare with me

How do I upgrade to the latest zip? what has to be done? or uploaded?
also how do I update the itrader score?
thanks for your pacients

In admincp there's a link to do so in the itrader section. Also, to upgrade, just re upload (overwrite) files and then overwrite the product.

djjeffa
17 Feb 2006, 01:29
In admincp there's a link to do so in the itrader section. Also, to upgrade, just re upload (overwrite) files and then overwrite the product.
i could not find the update link for itrade and i re ul everything and ansd overwrite but still no luck with the avator either

Gio~Logist
17 Feb 2006, 01:34
i could not find the update link for itrade and i re ul everything and ansd overwrite but still no luck with the avator either

Not the itrader hack. Rewrite the files and product for THIS HACK by re downloading it.

djjeffa
17 Feb 2006, 01:59
Not the itrader hack. Rewrite the files and product for THIS HACK by re downloading it.

thats what i did lol

webwheeling
17 Feb 2006, 02:55
I am having the same problem with the avatars. On the custom avatars it is truncating the name of the avatar after an underscore (_). I did download the zip and reupload the files and reimport the product xml file but it still doesn't work. Looks great otherwise!

Gio~Logist
17 Feb 2006, 03:17
I am having the same problem with the avatars. On the custom avatars it is truncating the name of the avatar after an underscore (_). I did download the zip and reupload the files and reimport the product xml file but it still doesn't work. Looks great otherwise!

May i ask, do you guys have the avatars uploading in file mode or regular mode?

In the meantime, i suppose you can just leave the show avatars option as no until i find the fix.

Edit: Hopefully i will be able to release another update tommorow (friday), which will fix that as well as the "invalid user" error that you get while logged out. Besides that it's flawless i believe. However, i do want to get those fixed and plan to do so by tommorow.

docvader
17 Feb 2006, 06:31
Well Gio, on my install, it does seem to work flawlessly, as designed.

Just had one question though, as I have not yet had the ability to see this. If you have five thousand members, and two of them have something to sell, do they automatically go to the top of the "find a seller" list? Since every member has the "nothing to sell" description, how do we know that there isn't a seller way back there on page 35...?

Gio~Logist
17 Feb 2006, 10:22
Well Gio, on my install, it does seem to work flawlessly, as designed.

Just had one question though, as I have not yet had the ability to see this. If you have five thousand members, and two of them have something to sell, do they automatically go to the top of the "find a seller" list? Since every member has the "nothing to sell" description, how do we know that there isn't a seller way back there on page 35...?

Even though everyone has "nothing to sell", once the person who's looking for a seller changes what they want to buy, it will ONLY pull up a match of someone who IS SELLING what he wants to buy. I hope that makes sense to you and is clear :p

webwheeling
18 Feb 2006, 00:18
May i ask, do you guys have the avatars uploading in file mode or regular mode?

In the meantime, i suppose you can just leave the show avatars option as no until i find the fix.

Edit: Hopefully i will be able to release another update tommorow (friday), which will fix that as well as the "invalid user" error that you get while logged out. Besides that it's flawless i believe. However, i do want to get those fixed and plan to do so by tommorow.

I am still somewhat new to vB so I am pretty certain it is regular. It is a recent import from PHPBB2 using Impex if that helps any.

Gio~Logist
18 Feb 2006, 19:55
All errors have been fixed. Just overwrite the .xml and files. I do not think there are any bugs left. I spent a while messing with it to check.

Zip Updated With All Fixes

Afterlifer82
19 Feb 2006, 13:56
I think the avatars don't show if you have avatars that are separated into different folders, this itrader hack apparently only looks in the root of the avatars folder and not through each folder in there.

Is there any way to have the itrader menu only in the navbar for certain usergroups, any response is greatly appreciated, thanks for this hack.

Silviu
19 Feb 2006, 16:31
Try changing navbar template like this:
<if condition="is_member_of($bbuserinfo, [usergroupid1], ..., [usergroupidN])">
...Here is iTrader menu...
</if>

Gio~Logist
19 Feb 2006, 16:31
I think the avatars don't show if you have avatars that are separated into different folders, this itrader hack apparently only looks in the root of the avatars folder and not through each folder in there.

Is there any way to have the itrader menu only in the navbar for certain usergroups, any response is greatly appreciated, thanks for this hack.


It shows the avatars according to the location listed in the database. So it does www.yoursite.com/location If you installed the newest zip it should work.

Gio~Logist
19 Feb 2006, 16:32
Try changing navbar template like this:
<if condition="is_member_of($bbuserinfo, [usergroupid1], ..., [usergroupidN])">
...Here is iTrader menu...
</if>

I made it so that only members can see it...

Afterlifer82
19 Feb 2006, 17:21
I got the avatar problem fixed by re-uploading everything but I still have the problem of the iTrader link on the navbar appearing for all members, even unregistered members. It doesn't give them all the options but it does allow them to browse the members.

Gio~Logist
19 Feb 2006, 17:30
I got the avatar problem fixed by re-uploading everything but I still have the problem of the iTrader link on the navbar appearing for all members, even unregistered members. It doesn't give them all the options but it does allow them to browse the members.


Ah yes i gave them that option. I figured why not, it wouldn't hurt. However, if you want to make it so that they can't just:

Change this:

<!-- iTrader Extension Navbar -->
<div class="vbmenu_popup" id="itrader_ext_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<if condition="$vboptions['itrader_active'] != 1">
<tr><td class="thead"><a href="ushop.php?$session[sessionurl]">$vbphrase[itrader]</a></td></tr>
<tr><td class="vbmenu_option">$vbphrase[itrader] is turned off.</td></tr>
<else />
<tr><td class="thead"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader] Mainpage</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=search">Browse All Members</a></td></tr>
<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findcustomer">Find A Customer</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findseller">Find A Seller</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=options">Your Options</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader.php?u=$bbuserinfo[userid]">Your $vbphrase[itrader] Profile</a></td></tr></if>
</if>
</table>
</div>
<!-- End iTrader Extension Navbar -->


To this

<!-- iTrader Extension Navbar -->
<div class="vbmenu_popup" id="itrader_ext_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<if condition="$vboptions['itrader_active'] != 1">
<tr><td class="thead"><a href="ushop.php?$session[sessionurl]">$vbphrase[itrader]</a></td></tr>
<tr><td class="vbmenu_option">$vbphrase[itrader] is turned off.</td></tr>
<else />
<tr><td class="thead"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader] Mainpage</a></td></tr>
<if condition="$show['member']">
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=search">Browse All Members</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findcustomer">Find A Customer</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findseller">Find A Seller</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=options">Your Options</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader.php?u=$bbuserinfo[userid]">Your $vbphrase[itrader] Profile</a></td></tr></if>
</if>
</table>
</div>
<!-- End iTrader Extension Navbar -->


Mode the <if condition="$show['member']"> accordingly to reflect upon what you do not want to show.

djwins
19 Feb 2006, 23:01
Wow, this looks great!
One suggestion...

Many forums with trading allow users to create a single trade list in the form of a thread. I like what you have done with the "wants to buy, wants to sell", but I think you might want to consider adding a place for users to display a link to their main trade list.

Nice work!

Gio~Logist
19 Feb 2006, 23:51
Wow, this looks great!
One suggestion...

Many forums with trading allow users to create a single trade list in the form of a thread. I like what you have done with the "wants to buy, wants to sell", but I think you might want to consider adding a place for users to display a link to their main trade list.

Nice work!


Sounds like a nice idea. Perhaps you can elaborate more on this via PM?

ryansmith
20 Feb 2006, 01:08
The colors on the Control Panel under "Your Options" are not right. Here's a picture of the iTrader control panel next to my normal UserCP control panel. Can anyone tell me what I need to edit to make the iTrader one look like the UserCP one?

https://www.vbulletin.org/forum/external/2006/02/5.jpg

Gio~Logist
20 Feb 2006, 01:28
The colors on the Control Panel under "Your Options" are not right. Here's a picture of the iTrader control panel next to my normal UserCP control panel. Can anyone tell me what I need to edit to make the iTrader one look like the UserCP one?

http://www.drownedworld.net/itrader.jpg

Yes i know. That's a small problem we've been trying to fix. I'll check again today and see what i come up with.

phonexpo
20 Feb 2006, 21:11
Installed ;)

hotwheels
22 Feb 2006, 19:55
great job man.............update is working very well here, thank you

bada_bing
22 Feb 2006, 20:36
Any idea when the next relaese will be out with some of the great suggestions like ability to turn on/off the trader now sellling feature?

Gio~Logist
23 Feb 2006, 00:50
Any idea when the next relaese will be out with some of the great suggestions like ability to turn on/off the trader now sellling feature?

Once i get some more nice requests for features and such.


Giovanni Martinez

djwins
23 Feb 2006, 07:09
Installed! Thanks for the great extension. I'd love to help you improve on it, although you would have to do all the real work (coding). I sent you a PM with my AOL IM info.

Thanks again!

EDIT: Suggestion...When somone is viewing any itrader page, it would be ideal if the "iTrader" link in the main navbar would link back to the itrader_main page, rather than give you the url to the page you are already viewing.

djwins
24 Feb 2006, 15:53
Another suggestion: Remove banned users from Main Page (esp. Hall of Shame).

Bug fix: Join date on my profile on findseller/findcustomer/etc is listed as 12-31-1969

Gio~Logist
25 Feb 2006, 17:02
Another suggestion: Remove banned users from Main Page (esp. Hall of Shame).

Bug fix: Join date on my profile on findseller/findcustomer/etc is listed as 12-31-1969

That's a problem we pointed out as not part of the hack's fault. It shows like that because apparently you must have either added yourself via admincp or mysql as appose to registering or something else was different with your account. If it works fine for all accounts and not one or another, it's an account problem.

djwins
25 Feb 2006, 17:06
Bingo...no worries then! Thanks for the great hack...you were the reason I was able to upgrade from 3.0.x to 3.5.4!

Chris-777
25 Feb 2006, 17:19
/me clicks install

Gio~Logist
25 Feb 2006, 17:32
* Chris-777 clicks install

:p Thank you.

Gio~Logist
25 Feb 2006, 17:46
The UserCP navigation problem has been fixed, if you already hav this hack installed, just upload the attached file and replace the one you already have.

Changelog:
2-25-06
* UserCP navigation problem has been fixed

ZIP UPDATED

Dennis B
14 Mar 2006, 16:37
Thanks Gio for another great hack.
I have to say, though, that I'd like it better if it was phrased. ;)

Gio~Logist
14 Mar 2006, 20:36
Thanks Gio for another great hack.
I have to say, though, that I'd like it better if it was phrased. ;)

What would you like to be phrased? I think i can phrase it up a bit. Most of the hacks i make are originally for my use and the words i put are words i'd have on my own site so at times i forget to create phrases as i myself won't need them. However, they can indeed be useful, and i will be happy to create them for this hack.

phonexpo
16 Mar 2006, 12:43
Sorry if this has been asked before, is it possible to integrate the star (https://www.vbulletin.org/forum/external/2006/03/19.gif)system with this like on eBay?

Like this seller for example - ruiloureiro (http://feedback.ebay.ie/ws/eBayISAPI.dll?ViewFeedback&userid=ruiloureiro&iid=9112561185&frm=284)https://www.vbulletin.org/forum/external/2006/03/20.gif ( 213 (http://feedback.ebay.ie/ws/eBayISAPI.dll?ViewFeedback&userid=ruiloureiro)https://www.vbulletin.org/forum/external/2006/03/19.gif)

Gio~Logist
16 Mar 2006, 19:50
Sorry if this has been asked before, is it possible to integrate the star (https://www.vbulletin.org/forum/external/2006/03/19.gif)system with this like on eBay?

Like this seller for example - ruiloureiro (http://feedback.ebay.ie/ws/eBayISAPI.dll?ViewFeedback&userid=ruiloureiro&iid=9112561185&frm=284)https://www.vbulletin.org/forum/external/2006/03/20.gif ( 213 (http://feedback.ebay.ie/ws/eBayISAPI.dll?ViewFeedback&userid=ruiloureiro)https://www.vbulletin.org/forum/external/2006/03/19.gif)

Do you mean in their postbit and profile?

Trana
16 Mar 2006, 20:00
Ack, how did I miss this hack? I will be installing this tonight, I already have iTrader and it works great.

One idea though. The other hack you are working on, the custom fields, have you thought about integrating that with this hack? The ability to use a custom field for a classifieds type forum and the ability to search in this hack for "what I am selling" seems immensely powerful. People ask for this functionality nearly every day here. I think it would be a major hit!

Trana
16 Mar 2006, 22:09
OK, my members are getting an error:

Database error in vBulletin 3.5.1:

Invalid SQL:
UPDATE user
SET itrader_buy = 'multi-color'd zoos, not green',
itrader_sell = 'chiller, sea swirl, mh pendant, bak pak...'
WHERE userid = 837;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'd zoos, not green',
itrader_sell = 'chiller, sea swirl, mh pendant, ' at line 2 Error Number : 1064

Gio~Logist
16 Mar 2006, 22:31
I do not normally agree to give support to people who do not click install, so i'd appreciate it if you can do that now :p

Try this in itrader_main.php

Find:$buyerwants = strtolower($buyerwants);

Add Below:$buyerwants = addslashes($buyerwants);


Find:$sellerproducts = strtolower($sellerproducts);

Add Below:$sellerproducts= addslashes($sellerproducts);

Let me know if that works.

zendiver
18 Mar 2006, 18:36
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.

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
19 Mar 2006, 00:22
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
19 Mar 2006, 14:46
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):user.joindate
3. replace with: user.joindate, user.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
19 Mar 2006, 15:52
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
19 Mar 2006, 16:06
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
19 Mar 2006, 16:19
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
19 Mar 2006, 16:39
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
19 Mar 2006, 18:03
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
19 Mar 2006, 18:50
anyway thumbs up for that great hack! :up:
Felix

zendiver
20 Mar 2006, 00:08
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:
$searcher_date['datejoined'] = vbdate($vbulletin->options['dateformat'], $bbuserinfo['joindate']);

TO
$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.

derfelix
20 Mar 2006, 08:33
just to get clear which date u are talking about...
in my version all join dates are correct.. except for my own.. in the top right of the hack.. (just above the links to my profile and my real profile)
(in the userlist below its correct)

- I am going to remove that anyway.. because ist a waste of space to tell the user when he joined himself... he knows that.. the interesting part.. when other users joined.. works fine for me !

Felix

Gio~Logist
20 Mar 2006, 10:06
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:
$searcher_date['datejoined'] = vbdate($vbulletin->options['dateformat'], $bbuserinfo['joindate']);

TO
$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.

Will look into this.

GSX-Racing
23 Mar 2006, 04:24
What are my options if my NAVBAR template doesn't have this code...

<td class="vbmenu_control"><a href="calendar.phtml$session[sessionurl_q]">$vbphrase[calendar]</a></td>

hotwheels
23 Mar 2006, 05:54
It should be there, it is standard with vbulletin...........but you can put it where ever you would like in the navbar template... <td class="vbmenu_control"><a href="usercp.phtml$session[sessionurl_q]">$vbphrase[usercp]</a></td>

GSX-Racing
23 Mar 2006, 06:03
It should be there, it is standard with vbulletin...........but you can put it where ever you would like in the navbar template...

I have a custom skin installed though. You can see my forum at

http://www.groundpilots.com/vb

GSX-Racing
23 Mar 2006, 06:07
The second edit is in the header template. Could I send someone my header and navbar template to look at?

GSX-Racing
23 Mar 2006, 06:21
I think I got it, had to put one code in the navbar, and the other in the header.

Gio~Logist
23 Mar 2006, 11:13
I think I got it, had to put one code in the navbar, and the other in the header.

Ah i see. Glad you got it to work.

GSX-Racing
25 Mar 2006, 02:39
I recently installed this, and have created a button instead of the text for the forum menu. However, I can't seem to get rid of the little arrow.

By clicking the button, the popup menu exists, but the little arrow is causing the table to look weird

Can anyone help me with getting rid of it.

You can see it in the screen shot.

Gio~Logist
25 Mar 2006, 16:55
Search for:
<script type="text/javascript"> vbmenu_register("itrader_ext");</script>
Replace it with:
<script type="text/javascript"> vbmenu_register("itrader_ext", 1);</script>

GSX-Racing
25 Mar 2006, 18:38
Thank you so much, worked like a charm!!!!

Gio~Logist
28 Mar 2006, 23:45
Thank you so much, worked like a charm!!!!

For future referance, this will happen with any hack you install. By default, everything added to the navbar has that arrow. If you run into this problem with any hacks, just add the ,1.

kellyandmike
04 Apr 2006, 16:48
I just added the mainpage to my navbar template. The "tab" is there, on my profile page, but just the little arrow is there on the others. From my profile page, I keep getting errors on 5 out of the 6 drop down options, and am thinking I didn't upload the files in the upload folder to the right destination. If you would like to take a peek it's at www.couponchix.com/feedback/index.php

There are three things in the upload folder:
1. an images folder (uploaded this to my database, images, avatars folder)
2. an includes folder (uploaded the file functions_itrader_main.php to my database uploads folder)
3. itrader_main.php file (uploaded this to my database folder)

I made the changes to my navbar template. I uploaded the 3 things in the upload folder as described above. Can someone tell me where to move the files so I don't get that error?

This is the error I get:
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT user.userid, user.username, user.itrader_total, user.itrader_pcnt, user.itrader_buy, user.itrader_sell, user.joindate
,avatar.avatarpath,NOT ISNULL(customavatar.userid) AS hascustomavatar,customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight
FROM user AS user
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
ORDER BY user.itrader_total DESC
LIMIT 0, 10;

MySQL Error : Unknown column 'user.itrader_buy' in 'field list'
Error Number : 1054
Date : Tuesday, April 4th 2006 @ 09:27:13 AM
Script : http://www.couponchix.com/feedback/itrader_main.php?do=search
Referrer :
IP Address : edited out
Username : edited out
Classname : vb_database

kellyandmike
04 Apr 2006, 17:13
Just made a small donation. It's not much, but I guess if everyone here did, it would make it worth your time and effort.

I LOVE iTrader, and in fact, it is the ONLY reason I subscribed for vBulletin!
Having little minor problems, but once I get them worked out (I am a newb), then it'll be SUPER!

Gio~Logist
04 Apr 2006, 23:41
Just made a small donation. It's not much, but I guess if everyone here did, it would make it worth your time and effort.

I LOVE iTrader, and in fact, it is the ONLY reason I subscribed for vBulletin!
Having little minor problems, but once I get them worked out (I am a newb), then it'll be SUPER!

Thank you for your kind donation. May i ask if you made sure to upload the product? It seems to me that the query to add that column to the table just wasn't ran. This query is ran via uploading the product. Therefore, i am guessing that you forgot to do that :p

kellyandmike
04 Apr 2006, 23:45
Thank you for your kind donation. May i ask if you made sure to upload the product? It seems to me that the query to add that column to the table just wasn't ran. This query is ran via uploading the product. Therefore, i am guessing that you forgot to do that :p

Ok, call me a ditz. Where do I put that xml file? Which folder? Please help. I put it in the xml folder and on the database folder, which in this case is called "feedback".

HELP! :cross-eyed:

kellyandmike
05 Apr 2006, 14:18
Could someone please help me. I have made the changes to my templates. I have uploaded the files to my server in the various folders. I think my last step is to "Step 1. Import the following product: product-itrader_extension.xml"

Is this done in my admin panel -Style Manager-Download/Upload Styles?
Whenever trying to import the xml file, I get an error that says it is not a valid file.

Help Import Style XML File
EITHER upload the XML file from your computer
OR import the XML file from your server

Merge Into Style
(Selecting a style here will cause the imported style to be merged into an existing style, overwriting any conflicting entries. Leave blank to create a new style) (Create New Style) -- Default Style -- iTrader

Ignore Style Version
Use style file even if it was created by a different version of vBulletin? Yes No

The following options apply only if you are creating a new style, rather than overwriting an existing style
Title for Uploaded Style
(Leave blank to use the style title specified in the style file)

Parent Style No Parent Style -- Default Style -- iTrader

Display Order

Allow User Selection Yes No

akoj
05 Apr 2006, 16:10
You need to go to the admincp---plugin system---manage products--upload it there. This is where you upload all the .xml files for products.

BTW--this addon to Itrader absolutely rocks! Thanks

kellyandmike
05 Apr 2006, 16:20
Ok, if I already edited the templates, will I have to edit them again since I went out of order on the steps?

Here are the steps:

Step 1. Import the following product: product-itrader_extension.xml
Step 2. Upload the files in the upload folder.
Step 3. Do the edits located below

I uploaded the files by ftping them Is that okay?

akoj
05 Apr 2006, 16:24
You should be fine to just upload the .xml. There is no need to re edit templates. Yes, FTP the other files...You can check it out on the afullcup link in my sig.

kellyandmike
05 Apr 2006, 17:06
It worked. Thank you. What a RELIEF!!!

Did you check out couponchix.com?

bada_bing
05 Apr 2006, 17:51
Before I install I had a question. Currently my itrader has a link in my Quick Links menu called My trader rating. How can I add the new links from this hack to either show up under the Quick Link Menu under my current trader rating link or better yes place a new catagory instead of Miscellaneous call it Itrader and place all the link under that?

kellyandmike
05 Apr 2006, 18:01
(I think) this hack puts an itrader drop down menu in your navbar. That is probably what you are looking for.

bada_bing
05 Apr 2006, 18:45
(I think) this hack puts an itrader drop down menu in your navbar. That is probably what you are looking for.
Nope I down want it as a seperate dropdown I want it in my Quick Link Menu on my navbar

bada_bing
07 Apr 2006, 15:58
Any one can help?

arossphoto
09 Apr 2006, 04:32
I guess I was a bit confused about what this would do for me, and now I think I want to uninstall it. I have a Buy & Sell forum and I somehow thought that users would be able to link their posts in that forum to the "What you are selling" and "What you are buying" feature. Maybe I'm missing the point of this, but I'm pretty sure my users are never going to post their stuff for sale in the forum and then go looking for a link in the iTrader menu called "Your Options" so they can post the item again. Also when I go looking for a seller this doesn't provide any link to the seller's listing in the Buy & Sell forum. So what am I supposed to do, email or PM them so they can direct me to the post in the forum for more info? Wouldn't it just be easier to search the Buy & Sell forum for the items I'm looking to buy?

Sorry if I sound so critical, but I really don't see how this is supposed to make things easier for my members?

Gio~Logist
09 Apr 2006, 04:37
I guess I was a bit confused about what this would do for me, and now I think I want to uninstall it. I have a Buy & Sell forum and I somehow thought that users would be able to link their posts in that forum to the "What you are selling" and "What you are buying" feature. Maybe I'm missing the point of this, but I'm pretty sure my users are never going to post their stuff for sale in the forum and then go looking for a link in the iTrader menu called "Your Options" so they can post the item again. Also when I go looking for a seller this doesn't provide any link to the seller's listing in the Buy & Sell forum. So what am I supposed to do, email or PM them so they can direct me to the post in the forum for more info? Wouldn't it just be easier to search the Buy & Sell forum for the items I'm looking to buy?

Sorry if I sound so critical, but I really don't see how this is supposed to make things easier for my members?

You can add that feature by just putting $post[itrader_selling] in postbit.

Also, if you need a classified system (which sounds like what you need), i just released one today.

akoj
09 Apr 2006, 05:11
It worked. Thank you. What a RELIEF!!!

Did you check out couponchix.com?
I just did. It looks like you have been coding like crazy. Good job. Let me know if you need anything.

akoj
09 Apr 2006, 05:34
You can add that feature by just putting $post[itrader_selling] in postbit.


Hi,
I am trying to accomplish this but am having problems with the following code directing to the users itrader main page. Can someone please take a look and tell me what I am missing?
<if condition="$post['userid']">
<tr><td class="vbmenu_option">

<div> View $post[username]'s trader feedback(<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>

<if condition="$post['userid']"> <tr><td class="vbmenu_option">
<div> See what $post[username] is trading(<b><a href="itrader.php?$session[sessionurl]u=$post[itrader_selling]">$post[itrader_selling]</a></b>)</div></if>

Gio~Logist
09 Apr 2006, 07:01
Sorry about that. The correct variables are itrader_sell and itrader_buy

bada_bing
11 Apr 2006, 03:58
Before I install I had a question. Currently my itrader has a link in my Quick Links menu called My trader rating. How can I add the new links from this hack to either show up under the Quick Link Menu under my current trader rating link or better yes place a new catagory instead of Miscellaneous call it Itrader and place all the link under that?
Can someone help me with this please?

Gio~Logist
11 Apr 2006, 13:57
Can someone help me with this please?

Just inserrt the cells into the quick links table.

bada_bing
12 Apr 2006, 02:43
Just inserrt the cells into the quick links table.
I am not a coder can you give me some details of how and where I should place the links as I mentioned in my earlier post

Gio~Logist
12 Apr 2006, 22:55
I am not a coder can you give me some details of how and where I should place the links as I mentioned in my earlier post

Ignore all the specified edits in the navbar template and do this instead:

Search for: </table>
</div>
<!-- / user cp tools menu -->

Add above:
<if condition="$vboptions['itrader_active'] != 1">
<tr><td class="thead"><a href="ushop.php?$session[sessionurl]">$vbphrase[itrader]</a></td></tr>
<tr><td class="vbmenu_option">$vbphrase[itrader] is turned off.</td></tr>
<else />
<tr><td class="thead"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader] Mainpage</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=search">Browse All Members</a></td></tr>
<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findcustomer">Find A Customer</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findseller">Find A Seller</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=options">Your Options</a></td></tr>
<tr><td class="vbmenu_option"><a href="itrader.php?u=$bbuserinfo[userid]">Your $vbphrase[itrader] Profile</a></td></tr></if>
</if>

ddolliver
16 Apr 2006, 21:23
Hi Giovanni,

How can I as admin, change a neutral rating by one of the board users (an error), to a positive rating. For that matter shouldn't the admin be able to change or delete feedback? These are features much needed on a large board.

Thanks,

...Dwight...

Gio~Logist
16 Apr 2006, 22:41
Hi Giovanni,

How can I as admin, change a neutral rating by one of the board users (an error), to a positive rating. For that matter shouldn't the admin be able to change or delete feedback? These are features much needed on a large board.

Thanks,

...Dwight...

That would be the itrader hack itself, not this add on. I am not sure if the itrader hack supports this. Feel free to try SR Classifieds if you'd like, as it comes with a rating system that does support this.

kellyandmike
17 Apr 2006, 04:36
Hi Giovanni,

How can I as admin, change a neutral rating by one of the board users (an error), to a positive rating. For that matter shouldn't the admin be able to change or delete feedback? These are features much needed on a large board.

Thanks,

...Dwight...

Hi Dwight,
You can delete feedback etc by clicking on the middle icon in the person's feedback. There is one icon to see if the other trader left feedback in return, then the middle one for editing and deleting feedback, and one other icon.

rareclownfish
20 Apr 2006, 04:44
Installed

ltaylor
06 May 2006, 02:51
Thanks a bunch!!!! Install!

eoc_Jason
06 May 2006, 18:36
Finally, someone made a main page... ;)

ltaylor
13 May 2006, 11:25
While uploading and configuring the itrader hack/s I am receiving this script error below when trying to leave FEEDBACK for customer.

Script or Action BlockedThe requested URL /forums/itrader_feedback.php?u=2 contains a script or action that has has been deteremined unsafe. It has been disabled to prevent abuse.

This is a result of a PHP program on my server that haults scripts that may be email or webmail based. There's no way around this. Because one of the PHP files is named "leave_feedback".php it's the "feedback" namethat's causing this error (444).

Where and what should I do to allow this script to run without any probs?
Can it be a simple as changing the this files name......if so, please list all the php files/extentions I need to change to match........OR is there a way to change the "extention=php" to run in another computer language?

Please advice.
Thankyou!

bizpro
25 May 2006, 04:19
I too have a custom skin, so I had to put the one edit in my header instead of navbar.

But I had to fool with it to get it straight but I dont think I have it right.

I replaced my calendar button with the itrader button in my navbar.

So I replaced this:
<a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a><img src="images/hexcell/header/navdiv.gif" alt="navdiv" class="navdiv" />

with this:
<a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a><img src="images/hexcell/header/navdiv.gif" alt="navdiv" class="navdiv" />

But it was supposed to be this:
<!-- iTrader Extension Navbar -->
<if condition="$show['popups']">
<td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
<else />
<td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
</if>
<!-- End iTrader Extension Navbar -->

So did I do it right ot am I way off??? Cuz I dont get the drop menu thing when you click the itrader button in my navbar.

Also, My board is newer so i only have 568 posts.
But, when viewing someones user rating it says:
"568 Total Feedback Received By "user""
When it should be zero.

It is saying the total feeback is the same as the total posts.

please help.

cookiepants
25 Jul 2006, 18:34
I accidentally deleted the iTrader in the postbit part of my forum, and my members would like it to be put back. I'm not sure how to do this. If you can help, I'd REALLY appreciate it!

Thanks so much!

Megan

http://sewingmamas.com/b


edited to add: I fixed it, I used this code if anyone else has the problem. I changed it in the postbit:

<a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a>

BiReL41r
26 Jul 2006, 13:08
Hi! I'm having some issues putting the iTrade dropdown on my navbar...

For some reason, it's show up like it should, except there's no background like the rest of the buttons. Do you have a possible diagnosis?

Here's some more info;

The current template I have, stores the navbar info in the headerpostbit

Here's my header, with your script bolded;

<!-- logo -->
<if condition="$bbuserinfo['pmunread']">
<div id="infobar"><a href="http://www.yourforums.com/private.php"><p>You have an Unread Private Message, Click here to view. . .</p></a></div>
</if>
<a name="top"></a>
<div style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
<div class="topnav">
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" title="$vboptions">$vboptions[bbtitle]</a></li>
<li><a href="advertising.php?$session[sessionurl]" title="Advertising Information">Advertising Information</a></li>
<li><a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li>
</ul>
</div>

<a href="http://www.site5.com/affiliates/idevaffiliate.php?id=740" title="Web Hosting"><img src="http://www.site5.com/affiliates/banners/site5-468x60c.gif" border="0" alt="Web Hosting" style="float: right; padding: 7px;" title="Web Hosting" /></a>

<a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

<!-- nav buttons bar -->
<div align="center">
<table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<!--<td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->

<if condition="$show['member']">
<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<[B]!-- iTrader Extension Navbar -->
<if condition="$show['popups']">
<td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
<else />
<td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
</if>
<!-- End iTrader Extension Navbar -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$bbuserinfo['userid']">
<td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</div>
<!-- /logo -->
<center><script type="text/javascript"><!--
google_ad_client = "pub-0224615960946416";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "566B79";
google_color_bg = "E7EBED";
google_color_link = "374248";
google_color_text = "000000";
google_color_url = "303A41";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<!-- content table -->
$spacer_open

$_phpinclude_output


Here's my forum homepage;

http://thebuyselltradeforum.com/usercp.php

As you can see, it works, but the visuals are messed up. A diagnosis would surely make my day!

Trana
26 Jul 2006, 13:31
Try changing the <TD> class to whatever class you are using for the other menu options.

BiReL41r
26 Jul 2006, 14:04
Ah! I got it. I had to take out

class="vbmenu_control"

chinch
02 Aug 2006, 22:26
has anyone tried this with vB 3.6 release candidates?

i'd like to upgrade to that but iTrader is mandatory :)

Eric
03 Aug 2006, 10:06
has anyone tried this with vB 3.6 release candidates?

i'd like to upgrade to that but iTrader is mandatory :)
I've not installed this..yet, however, iTrader is working fine on 3.6 RC3 ;)

chinch
04 Aug 2006, 02:18
thanks for the info!

chinch
05 Aug 2006, 19:44
installed on 3.6.0 :)

i have a comment regarding usability (ease of use).

the SEARCH links you to the forum profile, not iTrader profile.

is there a way to have the iTrader profile appear as a link from member profiles?

otherwise searching is very confusing. i expect to get alot of "how do i add trader ratings" inquiries.

Ncturnal
27 Aug 2006, 04:07
There is another mod to add the iTrader stats to the user profile. I recommend it and it works well in 3.6.0.

http://www.vbulletin.org/forum/showthread.php?t=107828

We also put a link to the users iTrader rating in the postbit. You can see an example in this thread: http://www.mr2board.com/forums/site-announcements-questions-comments/Toyota-MR2-2835-itrader-previously-called-trader-ratings.html

Here's the code for the postbit link (which was included in the iTrader install documentation). Put it wherever you would like the link to show up.

<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>

acorndomains.co
09 Sep 2006, 08:33
I cant get the Navbar option to work, having just upgraded to 3.6.x

This worked in 3.5:
<!-- iTrader Extension Navbar -->
<if condition="$show['popups']">
<td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
<else />
<td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
</if>
<!-- End iTrader Extension Navbar -->

What do I need to change for it to work in 3.6?

Many thanks

ryansmith
12 Sep 2006, 19:49
I fixed it. Working smoothly on 3.6.0 now.

oldfan
17 Sep 2006, 03:12
I'm having problems get the dropdown menubar to work, could someone help me out please.
my site > http://www.metallifukinca.com

michaelsilvia
15 Oct 2006, 06:10
As always nice job!

Will you upgrade to 3.6.2 after iTrader is updated?

Mike

rareclownfish
16 Oct 2006, 02:37
Waiting for 3.6.2 uprage
thanks

rareclownfish
05 Nov 2006, 16:04
Can anyone tell me how to get rid of the thread icon next to iTrader button in the nav bar?

VBUsers
07 Nov 2006, 04:14
will this work with 3.6.2?

rareclownfish
07 Nov 2006, 04:32
I have this working on 3.6.2,

Neutral Singh
12 Nov 2006, 12:59
I am trying to uninstall itrader from my board and have uninstalled everthing but when i go to member profile page following error show up.

Warning: Unknown(/home/****/public_html/includes/functions_itrader.php): failed to open stream: No such file or directory in /includes/init.php(317) : eval()'d code on line 6

Fatal error: (null)(): Failed opening required '/home/****public_html/includes/functions_itrader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/****/public_html/includes/init.php(317) : eval()'d code on line 6

Any clues will be really helpful.

JohnSilver
15 Nov 2006, 11:26
please keep away from installing this hack. They didn't update from Feb06 any.

cTak
05 Feb 2007, 14:38
Can't get the link to show up on the nav bar on http://forum.widsm.org

??

dbirosel
19 Feb 2007, 20:14
<!-- Faq -->
<td width="93">
<table width="93" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_faq.gif);"><a href="$vboptions[bburl]/itrader.php?$session[sessionurl]" rel="nofollow"
onmouseover="JSFX.fadeIn('faq')"
onmouseout="JSFX.fadeOut('faq')"><img
src="$stylevar[imgdir_misc]/bouton_faq.gif" name="faq" width="93" height="40" border="0" class="imgFader" id="faq" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Faq -->


That is what i am using for my itrader. The button is all custom so it's called My Feedback Ratings. Www.CarAudioJunkyard.com/forum


How do i combine it so that this code will work??

<!-- iTrader Extension Navbar -->
<if condition="$show['popups']">
<td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
<else />
<td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
</if>
<!-- End iTrader Extension Navbar -->


Thank you.

dbirosel
19 Feb 2007, 20:15
Omg.. u guys are saying that this mod doesn't work well with 3.6.4???

dbirosel
19 Feb 2007, 20:54
Whoo-hoo i got it to work with 3.6.4!!!

tsp
23 Feb 2007, 04:13
Just installed the latest update. Everything is working fine except for the display of avatars. It seems that the link to the avatar is missing the revision number at the end. If I added a 1 to the code [avatarrevision] only avatars with _1 revision number would show.

This is the link I see...

http://www.londonautoclub.org/forum/images/customavatars/avatar498_.gif

this is what is should be..

http://www.londonautoclub.org/forum/images/customavatars/avatar498_4.gif

Any ideas as to how I could code it so it works?

thanks.

Gil427
03 Mar 2007, 15:12
How do I get to NAVBAR?

fx4matt
06 Mar 2007, 20:02
Will itrader work in vB 3.6.5?