vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - iTrader v2.8 - Powerful Rating System (https://vborg.vbsupport.ru/showthread.php?t=232044)

entertain 02-20-2010 02:17 PM

@jacven:
you can search the phrases in your admincp and then you have the possibilty to translate them?
I don't know really how this link is called in the english admincp... might be something like "Search Phrases".

An other way would be to open the xml and translate the phrases there.

entertain 02-20-2010 02:21 PM

iTrader 2.6.0 released!

[FIX] Page Title on Submit Feedback Page
[FIX] Page Title on Options Page
[FIX] Options Page Templates not cached
[FIX] Typo 'bocksubhead' in Template "memberinfo_block_cat_itrader_stats"
[FIX] Invalid User Message - now there is a login
[FIX] Main Page - Wrong Rating Counts
[FIX] Design Enhancements
[FIX] Feedback Score Memberlist Issues
[FIX] Feedback Score Postbit Issues
[NEW] Completely redesigned Search Pages
[NEW] Optimized Layout of Submit Feedback/Answer Page


Since iTrader 2.5.2:
Changed Templates:
itrader_detail_feedback
itrader_feedback
itrader_search
itrader_search_bits
memberinfo_block_cat_itrader_stats

New Templates:
itrader_feedback_score

Changed Files:
itrader_detail.php
itrader_global.php
itrader_main.php
functions/functions_itrader.php


Update
Simply overwrite all files and the product.

Warning
This version was only tested with vBulletin 4.0.2.

Supramania 02-20-2010 03:00 PM

Quote:

Originally Posted by entertain (Post 1987274)
Are you using vBulletin 4.0.2 with iTrader 2.5.2?

Negative. iTrader 2.5.2 with vBulletin 4.0.1 (I've been holding off on 4.0.2 for various reasons)

Should I try upgrading to 2.6?

entertain 02-20-2010 03:22 PM

@Supramania:
As you can see from the filename, iTrader 2.5.2 is only working correctly with 4.0.2 (and maybe 4.0.0). It is not my fault, it's because of a bug which was "integrated" in 4.0.1.

You have two ways of fixing it:
(1) Downgrade iTrader to 2.5.1 (should work without any problems)
(2) Upgrade vBulletin to 4.0.2

;)

Supramania 02-20-2010 03:30 PM

Entertain, I understand completely - 4.0.1 hasn't been fun for any of us. ;)

I'll downlevel to 2.5.1 until we move and they go right to 2.6.

4.0.2 is in my plan, however I run about 30 plugins and a ton of custom code, I need to test it all on my 4.0.2. test site - it will be a while before we can make that leap.

Thanks for the quick response.

Fastbird 02-21-2010 04:49 AM

Do you have updated direction to change the Feedback Score: 0 (XX%) line in the postbit? After updating, I went back to the plugins to update and it looks like you changed some stuff around, so the old method is no longer valid.

If you could post that, I would appreciate it.

entertain 02-21-2010 08:48 AM

Quote:

Originally Posted by Fastbird (Post 1987809)
Do you have updated direction to change the Feedback Score: 0 (XX%) line in the postbit? After updating, I went back to the plugins to update and it looks like you changed some stuff around, so the old method is no longer valid.

If you could post that, I would appreciate it.

Yes, you can now change it in the template called "itrader_feedback_score". In my opinion this is easier.

jacven 02-21-2010 12:30 PM

Quote:

Originally Posted by entertain (Post 1987333)
@jacven:
you can search the phrases in your admincp and then you have the possibilty to translate them?
I don't know really how this link is called in the english admincp... might be something like "Search Phrases".

An other way would be to open the xml and translate the phrases there.

@entertain thanks for that tip. I was able to mostly translate everything about this mod to Spanish. But here "itrader_feedback.php?u=24" there is a word which says "Kommentar" which I cannot find it using the phrase option in admin.

Also, is it possible to remove the URL option where users can rate others?

Thanks in advanced.

entertain 02-21-2010 04:45 PM

@jacven:
oh, sorry.
Here is a fix:

Template itrader_feedback:

Search for:
HTML Code:

<h3 class="blocksubhead">Kommentar</h3>
Replace by:
HTML Code:

<h3 class="blocksubhead">{vb:rawphrase itrader_detail_comment}</h3>

To remove URL option, find in the same template:
HTML Code:

                <div class="blockrow">
                        <label for="threadurl">{vb:rawphrase itrader_thread_url}: (<vb:if condition="$vbulletin->options['itrader_requrl'] == 1">{vb:rawphrase itrader_required}<vb:else />{vb:rawphrase itrader_optional}</vb:if>)</label>

                        <input class="primary textbox" type="text" name="dealurl" size="45" maxlength="255" value="{vb:raw itrader.dealurl}"><br />

                        {vb:rawphrase itrader_url_example} <vb:if condition="$vboptions[friendlyurl] == '0'">http://www.site.com/forum/showthread.php?t=1234</vb:if><vb:if condition="$vboptions[friendlyurl] == '1'">http://www.site.com/forum/showthread.php?1234-Thread-Title</vb:if><vb:if condition="$vboptions[friendlyurl] == '2'">http://www.site.com/forum/showthread.php/1234-Thread-Title</vb:if><vb:if condition="$vboptions[friendlyurl] == '3'">http://www.site.com/forum/threads/1234-Thread-Title</vb:if>
                </div>

and remove it. ;)

Fastbird 02-21-2010 06:13 PM

Quote:

Originally Posted by entertain (Post 1987880)
Yes, you can now change it in the template called "itrader_feedback_score". In my opinion this is easier.

Absolutely. Much easier to work with. Thank you very much!

jacven 02-21-2010 07:30 PM

Quote:

Originally Posted by entertain (Post 1988173)
@jacven:
oh, sorry.
Here is a fix:

Template itrader_feedback:

Search for:
HTML Code:

<h3 class="blocksubhead">Kommentar</h3>
Replace by:
HTML Code:

<h3 class="blocksubhead">{vb:rawphrase itrader_detail_comment}</h3>

To remove URL option, find in the same template:
HTML Code:

                <div class="blockrow">
                        <label for="threadurl">{vb:rawphrase itrader_thread_url}: (<vb:if condition="$vbulletin->options['itrader_requrl'] == 1">{vb:rawphrase itrader_required}<vb:else />{vb:rawphrase itrader_optional}</vb:if>)</label>

                        <input class="primary textbox" type="text" name="dealurl" size="45" maxlength="255" value="{vb:raw itrader.dealurl}"><br />

                        {vb:rawphrase itrader_url_example} <vb:if condition="$vboptions[friendlyurl] == '0'">http://www.site.com/forum/showthread.php?t=1234</vb:if><vb:if condition="$vboptions[friendlyurl] == '1'">http://www.site.com/forum/showthread.php?1234-Thread-Title</vb:if><vb:if condition="$vboptions[friendlyurl] == '2'">http://www.site.com/forum/showthread.php/1234-Thread-Title</vb:if><vb:if condition="$vboptions[friendlyurl] == '3'">http://www.site.com/forum/threads/1234-Thread-Title</vb:if>
                </div>

and remove it. ;)


Thanks, worked like a charm.

John Streetz 02-24-2010 02:02 AM

Thank you so much for this. My site embraces it.

John Streetz 02-24-2010 11:43 AM

Since I installed your latest version of iTrader, I have been getting SQL errors when I click on Browse Users, Find a Seller and a few other options. here is an example of the error. Please help.

Quote:

Database error in vBulletin 4.0.2:

Invalid SQL:

SELECT COUNT(*) AS total
FROM vb1user AS user
WHERE user.itrader_buy != '' OR user.itrader_sell != '';

MySQL Error : Unknown column 'user.itrader_buy' in 'where clause'
Error Number : 1054
Request Date : Wednesday, February 24th 2010 @ 07:42:44 AM
Error Date : Wednesday, February 24th 2010 @ 07:42:44 AM
Script : http://www.magicdeckvortex.com/forum....php?do=search
Referrer : http://www.magicdeckvortex.com/forum/itrader_main.php?
IP Address : 69.243.148.103
Username : Streetz
Classname : vB_Database
MySQL Version : 4.1.22-standard

10 Gauge 02-25-2010 02:59 AM

1 Attachment(s)
I am having a conflict with the Yet Another Awards System product....

Any user who has awards, when you click on their Feedback Score tab it just says "Awards" and does not display their feedback or provide the link to give the user feedback.

If the user has no awards, then everything pops up like it should.

I have attached what it looks like, do you think you might be able to help me figure it out? I really like both products and don't want to sacrifice one for the other.

THANKS FOR YOUR TIME!

vbenhancer 02-25-2010 10:19 AM

...

vbenhancer 02-25-2010 10:21 AM

... sorry, i answered in entertain's release badly.. :)

entertain 02-25-2010 06:59 PM

Quote:

Originally Posted by 10 Gauge (Post 1990923)
I am having a conflict with the Yet Another Awards System product....

Any user who has awards, when you click on their Feedback Score tab it just says "Awards" and does not display their feedback or provide the link to give the user feedback.

If the user has no awards, then everything pops up like it should.

I have attached what it looks like, do you think you might be able to help me figure it out? I really like both products and don't want to sacrifice one for the other.

THANKS FOR YOUR TIME!

Please disable the YAAS product and then try if it works.

10 Gauge 02-26-2010 02:35 AM

Quote:

Originally Posted by entertain (Post 1991448)
Please disable the YAAS product and then try if it works.

With YAAS disabled iTrader works correctly.

entertain 02-26-2010 11:09 AM

Quote:

Originally Posted by 10 Gauge (Post 1991735)
With YAAS disabled iTrader works correctly.

Then it is a bug of YAAS^^

10 Gauge 02-26-2010 02:03 PM

10-4 I will quiz the YAAS author, thanks :)

Verionia 02-27-2010 05:11 PM

How to fix alignment issues in the recent update? The rating scores on thread view drops and isn't aligned with the rest of the site. check my site plz, thanks.

entertain 02-27-2010 05:28 PM

Quote:

Originally Posted by Verionia (Post 1993042)
How to fix alignment issues in the recent update? The rating scores on thread view drops and isn't aligned with the rest of the site. check my site plz, thanks.

could you please create a screenshot?

Verionia 02-27-2010 05:34 PM

Quote:

Originally Posted by entertain (Post 1993058)
could you please create a screenshot?

https://vborg.vbsupport.ru/external/2010/03/112.jpg

there it is

sHORTYWZ 02-28-2010 01:43 AM

Entertain -

I wanted to let you know that I solved the bug that has been bothering me for a while and was posted on a number of times earlier in this thread.

PHP warnings were turned up a notch on my server and they were going off because $specialtemplates wasn't defined in a few of your scripts and the vB_Datastore_Filecache doesn't handle null values very well.

If you simply add

Code:

$specialtemplates = array();
to itrader_report.php, itrader_main.php, and itrader.php, the error PHP was throwing will go away.

Thanks.

cTak 02-28-2010 10:26 PM

Feature Request:

Have an option in the admin to set what forums the "rate seller" link is displayed.
Similar to "Forums Where Feedback Score is shown" but a "Forums Where Rate Seller link is shown"

I'd like to have the option to display the rate seller link on in my for sale sections not the rest of the forum.

Thanks, works great otherwise!

digitalpoint 03-01-2010 03:23 AM

A few scalability issues...

- As someone else mentioned, you need $specialtemplates = array(); in your PHP files if you want them to work when people are using datastores.

- user.itrader_total needs an index if you want to sort the entire user table on it (you are in itrader_main.php).

- itrader table has 2 identical indexes (get rid of one of them)

- Not using the proper methods for SQL queries. Read queries should (usually) use $vbulletin->db->query_first_slave and $vbulletin->db->query_read_slave in place of $vbulletin->db->query_first and $vbulletin->db->query_read. The way it's setup now, all queries go to the master DB server instead of properly offloading the read queries to slaves DB servers.

AlekonaKini 03-02-2010 01:17 PM

Every time I install a plugin (and activate it..) I get this message:

Parse error: syntax error, unexpected '<' in ..board/includes/class_bootstrap.php(1146) : eval()'d code on line 1

.. before board had my server info which I deleted. But this is the general information. I got this while installing the itrader plugin.

Background info: (Version 4)

I placed the XML in the coding area and used the cache_templates as the hook.

Any clue?

entertain 03-02-2010 02:19 PM

Quote:

Originally Posted by Verionia (Post 1993059)

the problem seems to be your modified style. :o
Quote:

Originally Posted by sHORTYWZ (Post 1993363)
Entertain -

I wanted to let you know that I solved the bug that has been bothering me for a while and was posted on a number of times earlier in this thread.

PHP warnings were turned up a notch on my server and they were going off because $specialtemplates wasn't defined in a few of your scripts and the vB_Datastore_Filecache doesn't handle null values very well.

If you simply add

Code:

$specialtemplates = array();
to itrader_report.php, itrader_main.php, and itrader.php, the error PHP was throwing will go away.

Thanks.

Thanks, too! I addes this in the upcoming version.

Quote:

Originally Posted by cTak (Post 1994082)
Feature Request:

Have an option in the admin to set what forums the "rate seller" link is displayed.
Similar to "Forums Where Feedback Score is shown" but a "Forums Where Rate Seller link is shown"


I'd like to have the option to display the rate seller link on in my for sale sections not the rest of the forum.

Thanks, works great otherwise!

would be an idea...
Quote:

Originally Posted by digitalpoint (Post 1994217)
A few scalability issues...

- As someone else mentioned, you need $specialtemplates = array(); in your PHP files if you want them to work when people are using datastores.

- user.itrader_total needs an index if you want to sort the entire user table on it (you are in itrader_main.php).

- itrader table has 2 identical indexes (get rid of one of them)

- Not using the proper methods for SQL queries. Read queries should (usually) use $vbulletin->db->query_first_slave and $vbulletin->db->query_read_slave in place of $vbulletin->db->query_first and $vbulletin->db->query_read. The way it's setup now, all queries go to the master DB server instead of properly offloading the read queries to slaves DB servers.

I changed the 1st und the 4th for the upcoming version - how to fix the other ones?

Thanks for helping!
Quote:

Originally Posted by AlekonaKini (Post 1995254)
Every time I install a plugin (and activate it..) I get this message:

Parse error: syntax error, unexpected '<' in ..board/includes/class_bootstrap.php(1146) : eval()'d code on line 1

.. before board had my server info which I deleted. But this is the general information. I got this while installing the itrader plugin.

Background info: (Version 4)

I placed the XML in the coding area and used the cache_templates as the hook.

Any clue?

And when you disable this mod it works?

SuperGLS 03-02-2010 10:23 PM

Updated for 4.0.2. Works great. Thanks again.

badawidollah 03-03-2010 03:17 PM

installed

triadink 03-06-2010 05:31 PM

I am also having the rating repeat for each new post, the 1st thread in the post is fine but the second adds a rating ect.

you can see HERE

this has been posted on this thread before but nobody could help them.

Markos 03-08-2010 06:53 PM

hi all im trying to add this code on this so it looks like the rest of my postbit

Code:

<div class="eti_postbit">  </div>
https://vborg.vbsupport.ru/

entertain 03-08-2010 07:49 PM

@Markos:
could you please explain more detailed what you want to do?

Markos 03-08-2010 07:56 PM

see the box's around the avatar,posts,location,join date and so on i want to put the box around the itrader score as well

this code her will do it but i dont know where to edit it to add this code

Code:

<div class="eti_postbit">itrader code here</div>
i thought maybe in the itrader_feedback_score template but once i got there i got lost lol as im not to good with coding

Markos 03-10-2010 09:32 PM

any help entertain ?

Jabong82 03-10-2010 10:05 PM

Hello this mod looks interesting. Has it been integrated with MicroClassfieds yet? Thank you.

Markos 03-10-2010 10:06 PM

its cool entertain i got it my self :)

Nayantai 03-12-2010 05:39 PM

https://vborg.vbsupport.ru/external/2010/03/56.jpg

Where can I see these link? I have tried to search it in user "itrader profile", but i didn`t find it. Can you help me?

entertain 03-12-2010 08:07 PM

@Nayantai

Normally your users offer their goods in your forums. There you should enter the Thread URL of this thread where an user offered something (e.g. a mobile phone).

If you don't want to use this feature there is an option in your admincp which makes the deal url unnecessary.

entertain 03-14-2010 09:08 PM

1 Attachment(s)
The next version will include some new features. Two of them are:

- Hide URL Entry

- iTrader Profile Tabs
Attachment 114115

Looks quite good! Coming soon. :)


All times are GMT. The time now is 06:31 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.02396 seconds
  • Memory Usage 1,860KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_html_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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