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)

derfelix 03-20-2006 07:33 AM

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 03-20-2006 09:06 AM

Quote:

Originally Posted by zendiver
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.

Will look into this.

GSX-Racing 03-23-2006 03:24 AM

What are my options if my NAVBAR template doesn't have this code...

Code:

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

hotwheels 03-23-2006 04:54 AM

It should be there, it is standard with vbulletin...........but you can put it where ever you would like in the navbar template...
Quote:

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

GSX-Racing 03-23-2006 05:03 AM

Quote:

Originally Posted by hotwheels
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 03-23-2006 05:07 AM

The second edit is in the header template. Could I send someone my header and navbar template to look at?

GSX-Racing 03-23-2006 05:21 AM

I think I got it, had to put one code in the navbar, and the other in the header.

Gio~Logist 03-23-2006 10:13 AM

Quote:

Originally Posted by GSX-Racing
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 03-25-2006 01:39 AM

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 03-25-2006 03:55 PM

Search for:
Code:

<script type="text/javascript"> vbmenu_register("itrader_ext");</script>
Replace it with:
Code:

<script type="text/javascript"> vbmenu_register("itrader_ext", 1);</script>

GSX-Racing 03-25-2006 05:38 PM

Thank you so much, worked like a charm!!!!

Gio~Logist 03-28-2006 10:45 PM

Quote:

Originally Posted by GSX-Racing
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-04-2006 03:48 PM

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:
Quote:

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/i....php?do=search
Referrer :
IP Address : edited out
Username : edited out
Classname : vb_database

kellyandmike 04-04-2006 04:13 PM

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-04-2006 10:41 PM

Quote:

Originally Posted by kellyandmike
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-04-2006 10:45 PM

Quote:

Originally Posted by gio~logist
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 04-05-2006 01:18 PM

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.

Quote:

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 04-05-2006 03:10 PM

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 04-05-2006 03:20 PM

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:

Quote:

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 04-05-2006 03:24 PM

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 04-05-2006 04:06 PM

It worked. Thank you. What a RELIEF!!!

Did you check out couponchix.com?

bada_bing 04-05-2006 04:51 PM

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 04-05-2006 05:01 PM

(I think) this hack puts an itrader drop down menu in your navbar. That is probably what you are looking for.

bada_bing 04-05-2006 05:45 PM

Quote:

Originally Posted by kellyandmike
(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 04-07-2006 02:58 PM

Any one can help?

arossphoto 04-09-2006 03:32 AM

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 04-09-2006 03:37 AM

Quote:

Originally Posted by arossphoto
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 04-09-2006 04:11 AM

Quote:

Originally Posted by kellyandmike
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 04-09-2006 04:34 AM

Quote:

Originally Posted by gio~logist
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?
Code:

<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 04-09-2006 06:01 AM

Sorry about that. The correct variables are itrader_sell and itrader_buy

bada_bing 04-11-2006 02:58 AM

Quote:

Originally Posted by bada_bing
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 04-11-2006 12:57 PM

Quote:

Originally Posted by bada_bing
Can someone help me with this please?

Just inserrt the cells into the quick links table.

bada_bing 04-12-2006 01:43 AM

Quote:

Originally Posted by gio~logist
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 04-12-2006 09:55 PM

Quote:

Originally Posted by bada_bing
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:
Code:

                </table>
        </div>
        <!-- / user cp tools menu -->

Add above:
Code:

        <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 04-16-2006 08:23 PM

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 04-16-2006 09:41 PM

Quote:

Originally Posted by ddolliver
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 04-17-2006 03:36 AM

Quote:

Originally Posted by ddolliver
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 04-20-2006 03:44 AM

Installed

ltaylor 05-06-2006 01:51 AM

Thanks a bunch!!!! Install!

eoc_Jason 05-06-2006 05:36 PM

Finally, someone made a main page... ;)


All times are GMT. The time now is 05:04 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.01584 seconds
  • Memory Usage 1,851KB
  • 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
  • (8)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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