vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - iTrader 2.1.0 (Interim Release) (https://vborg.vbsupport.ru/showthread.php?t=182400)

zeus_r6 07-18-2008 02:52 AM

Tried installing this on my 3.6.4 forums and the older version thread has been put in the mod graveyard. Does anybody have the older version files yet?

zeus_r6 07-19-2008 06:20 AM

anybody?

zeus_r6 07-19-2008 02:08 PM

BTW-This version will not work on older versions of VB

Anshpcea 07-20-2008 02:15 AM

i installed it , but its not showing in my forums. Did I need any template edit?
Please help.

Shazz 07-20-2008 03:03 AM

Quote:

Originally Posted by Anshpcea (Post 1579545)
i installed it , but its not showing in my forums. Did I need any template edit?
Please help.

Yes, go through every file in that zip and read everything.

masterweb 07-20-2008 09:00 AM

I'm running a 3.7.2 board, after uploading all files once i try to import the product (the xml file) i get:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: credits_cantearn = prefixrequired

So what to do???

Digital Jedi 07-20-2008 12:37 PM

You need to upgarde vBCredits. But check within the vBCredits thread to be sure.

Robi_Kenobi 07-20-2008 11:21 PM

Works really good for me. Can you please add checking if a "deal URL" is entered twice. So everyone can one rate once per deal URL.

Pirat3 07-22-2008 06:06 AM

Will this cause lag or slow down my website? I have a fairly large website so would like to know thanks.

Digital Jedi 07-22-2008 12:59 PM

No, it won't. It's just a rating system.

Jah-Hools 07-22-2008 01:40 PM

Digging it so far! Thanks!

But for my forum, member's feedback ratings need to be hidden OUTSIDE the classifieds forum. (the classifieds is HIDDEN on my forum and is only visible to registered members so this will confuse non members who will be wondering what its for and will give away the secret of the classifieds)

Can you supply some template code to fix it so that the Itrader score is shown only in selected forums please?

Many thanks

Shazz 07-22-2008 02:00 PM

Quote:

Originally Posted by Jah-Hools (Post 1581417)
Digging it so far! Thanks!

But for my forum, member's feedback ratings need to be hidden OUTSIDE the classifieds forum. (the classifieds is HIDDEN on my forum and is only visible to registered members so this will confuse non members who will be wondering what its for and will give away the secret of the classifieds)

Can you supply some template code to fix it so that the Itrader score is shown only in selected forums please?

Many thanks

Search for the <if condition type code that you need to display that in certain forums.

ETDC 07-23-2008 02:47 PM

Installed, thanks. :)

marc2005 07-27-2008 03:29 PM

wait for final release of 3.7.x! Great!

TimberFloorAu 07-30-2008 11:12 PM

We have uninstalled this mod, until its out of BETA.

We now have numerous MySql errors and need to fix this.

All template edits have been reverted, product succesfully uninstalled.

The error we get ( but cannot locate ) .. so help needed is:

Code:

nvalid SQL:

              SELECT
                      userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
                      IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
                      language.phrasegroup_global AS phrasegroup_global,
                      language.phrasegroup_itrader AS phrasegroup_itrader,
                      language.phrasegroup_posting AS phrasegroup_posting,
                      language.phrasegroup_prefix AS phrasegroup_prefix,
                      language.phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
                      language.options AS lang_options,
                      language.languagecode AS lang_code,
                      language.charset AS lang_charset,
                      language.locale AS lang_locale,
                      language.imagesoverride AS lang_imagesoverride,
                      language.dateoverride AS lang_dateoverride,
                      language.timeoverride AS lang_timeoverride,
                      language.registereddateoverride AS lang_registereddateoverride,
                      language.calformat1override AS lang_calformat1override,
                      language.calformat2override AS lang_calformat2override,
                      language.logdateoverride AS lang_logdateoverride,
                      language.decimalsep AS lang_decimalsep,
                      language.thousandsep AS lang_thousandsep
                      ,mgcugp.mgc_cb_evo_default_color, ppgal_user.*
              FROM yobromofuser AS user
              LEFT JOIN yobromofuserfield AS userfield ON (user.userid = userfield.userid)
              LEFT JOIN yobromofusertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN yobromoflanguage AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
                LEFT JOIN yobromofusergroup AS mgcugp ON (user.usergroupid=mgcugp.usergroupid)
LEFT JOIN yobromofppgal_user AS ppgal_user ON (ppgal_user.userid = user.userid)
              WHERE user.userid = 2;

MySQL Error  : Unknown column 'language.phrasegroup_itrader' in 'field list'
Error Number  : 1054
Request Date  : Thursday, July 31st 2008 @ 09:37:38 AM
Error Date    : Thursday, July 31st 2008 @ 09:37:38 AM
Script        : http://www.xxxxxxxx.com/forum/itrader_feedback.php?u=34
Referrer      :
IP Address    : xxx.xxx.xxx.xxx
Username      :
Classname    : vB_Database
MySQL Version :


TimberFloorAu 08-01-2008 08:59 PM

Anyone any suggestions?

msken 08-03-2008 02:48 AM

Could someone tell me what "is_member_of()" function" code I would need to put in my postbit to exclude certain usergroups from displaying a itrader score? I don't want my banned users or sponsors to have a feedback score for obvious reasons. Thanks everyone!

packetattack 08-03-2008 02:52 AM

Quote:

Originally Posted by TimberFloorAu (Post 1589480)
Anyone any suggestions?

Sorry, not sure about the SQL issue, however I'm getting the "iTrader is closed" message as well as a few other people here. I read through the entire thread and tried everything, reuploading files, re-importing XML with overwrite etc. Still no go. I'm stumped. I'm pretty good at getting plugins/mods working, just can't figure out why this is a no go. I had a previous version of iTrader before that was working fine. Not sure if the upgrade process munged something but as of right now I have no iTrader anymore, sucks.

Jah-Hools 08-03-2008 08:14 PM

Installed!

Early days yet..

I am hoping it will work out!

Thanks

TimberFloorAu 08-03-2008 11:59 PM

We still have SQL errors, caused during and after the removal of this mod. My suggestion would be, unless your a database whizzkid, or the author actually ever posts here again, to avoid until he has answered some issues, and addressed them, and or its gone gold.

Ozzy

DsmNikki 08-03-2008 11:59 PM

Installed Works Awesome Thanks :)

packetattack 08-04-2008 12:41 AM

Figured it out. I had to follow the version number update after doing the debug option. Works great!

Thanks!

Digital Jedi 08-04-2008 05:10 AM

Quote:

Originally Posted by TimberFloorAu (Post 1590823)
We still have SQL errors, caused during and after the removal of this mod. My suggestion would be, unless your a database whizzkid, or the author actually ever posts here again, to avoid until he has answered some issues, and addressed them, and or its gone gold.

Ozzy

So far your the only one I know of who has reported any database errors. When did you encounter your first error? Are you sure you fully uninstalled? You should no longer have any tables in the database.

Technically, this isn't a BETA version, but an interim release until the full version is completed, which is reported to be an undermined amount of time. What you might have here, since I'm not hearing this to be a common problem, is a modification conflict with something else. Have you tried disabling your hacks to see if you still get the error with them all off?

MoneyProBlog 08-04-2008 06:39 AM

Quote:

Originally Posted by Shazz (Post 1576252)
For whatever template you want to display it in, postbit, profile etc. The directions are inside the zip.

Use the 3.6.x version

iTrader 2.0


I don't think the instructions are going to be enough for me to get this one.

Below are the instructions inside the zip:

-----------------------------------------------------------

Two fields are added to the "user" table to facilitate rating usage pretty much anywhere you please within the forum. The two fields are:

* itrader_total - iTrader Score (stored as an integer)
* itrader_pcnt - Percent Positive Feedback (also stored as an integer)

Most likely you will want to add the score info to the postbit and/or postbit_legacy template(s), MEMBERINFO, and memberlist_resultsbit template. Actual placement and style is entirely up to you, however here's a sample to get you started. Note that the MEMBERINFO & memberlist_resultsbit templates won't need the conditional around the text since you can't view a "guest" in those cases.

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

Additionally it would be wise to have some sort of link that is easily accessible to your members so they can view their own ratings. My suggestion would be to add some code in the navbar or usercp menu somewhere. If no userid is specified then the system defaults to the user's own iTrader page.

<a href="itrader.php?$session[sessionurl]">iTrader</a>

Use your imagination where you want these links to be visible, there's nothing set in stone where it should be display or how it should look. Some people wanted the percent score so I added in this version. You can get creative and use some stars or something based on their score or positive ranking.

If you only wanted the info to show up for specific usegroup, you can use the "is_member_of()" function conditional in your templates. Also if you only wanted it to show up for specific forum sections, you could use the "in_array()" function. Read more in the vBulletin documentation for nifty things with template conditionals.

Sorry to skimp on the documentation, next release will be much better, however most people should know what they are doing by now with templates and if you don't, spend the time to learn as you can greatly enhance your forum.

------------------------------------------------------------------------------------------------------------

Can anybody give me the code and where to put it (in relation to the other code) for the member info and member list templates? I've never implemented a hack besides putting the initial code in the post bit legacy and inserting the vbulletin blog so I can't use my imagination on where to put it.

Shazz, Mark, and all those that have helped - thank you very much. I'm very new to this code and I am struggling.

I've tried implementing the codes suggested but none have worked - either nothing happens or it screws up the other code.

Digital Jedi 08-04-2008 06:59 AM

Quote:

Originally Posted by MoneyProBlog (Post 1590985)
I don't think the instructions are going to be enough for me to get this one.

Below are the instructions inside the zip:

-----------------------------------------------------------

Two fields are added to the "user" table to facilitate rating usage pretty much anywhere you please within the forum. The two fields are:

* itrader_total - iTrader Score (stored as an integer)
* itrader_pcnt - Percent Positive Feedback (also stored as an integer)

Most likely you will want to add the score info to the postbit and/or postbit_legacy template(s), MEMBERINFO, and memberlist_resultsbit template. Actual placement and style is entirely up to you, however here's a sample to get you started. Note that the MEMBERINFO & memberlist_resultsbit templates won't need the conditional around the text since you can't view a "guest" in those cases.

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

Additionally it would be wise to have some sort of link that is easily accessible to your members so they can view their own ratings. My suggestion would be to add some code in the navbar or usercp menu somewhere. If no userid is specified then the system defaults to the user's own iTrader page.

<a href="itrader.php?$session[sessionurl]">iTrader</a>

Use your imagination where you want these links to be visible, there's nothing set in stone where it should be display or how it should look. Some people wanted the percent score so I added in this version. You can get creative and use some stars or something based on their score or positive ranking.

If you only wanted the info to show up for specific usegroup, you can use the "is_member_of()" function conditional in your templates. Also if you only wanted it to show up for specific forum sections, you could use the "in_array()" function. Read more in the vBulletin documentation for nifty things with template conditionals.

Sorry to skimp on the documentation, next release will be much better, however most people should know what they are doing by now with templates and if you don't, spend the time to learn as you can greatly enhance your forum.

------------------------------------------------------------------------------------------------------------

Can anybody give me the code and where to put it (in relation to the other code) for the member info and member list templates? I've never implemented a hack besides putting the initial code in the post bit legacy and inserting the vbulletin blog so I can't use my imagination on where to put it.

Shazz, Mark, and all those that have helped - thank you very much. I'm very new to this code and I am struggling.

I've tried implementing the codes suggested but none have worked - either nothing happens or it screws up the other code.

The block of code that begins with if condition, just put that anywhere in your postbit_legacy template.

MoneyProBlog 08-04-2008 07:42 AM

I have it in and working in the postbit legacy but I can't implement it anywhere else.

Thanks for the reply.

Digital Jedi 08-04-2008 07:46 PM

That block of code is only for the postbits, and not anywhere else. The next line of code in the documentation is for creating a link to iTrader everywhere else.

TimberFloorAu 08-04-2008 09:51 PM

Quote:

Originally Posted by Digital Jedi (Post 1590948)
So far your the only one I know of who has reported any database errors. When did you encounter your first error? Are you sure you fully uninstalled? You should no longer have any tables in the database.

Technically, this isn't a BETA version, but an interim release until the full version is completed, which is reported to be an undermined amount of time. What you might have here, since I'm not hearing this to be a common problem, is a modification conflict with something else. Have you tried disabling your hacks to see if you still get the error with them all off?

we are getting approx 50 emails per day from our site , with itrader related error.

I have no idea why and what is causing it, we have removed the product in its entirety, and also reverted any template changes, according to reverse install procedures.


Error email we receive is thus...

Code:

Database error in vBulletin 3.7.2:

Invalid SQL:

                                      SELECT languageid,
                      phrasegroup_global AS phrasegroup_global,
                      phrasegroup_itrader AS phrasegroup_itrader,
                      phrasegroup_prefix AS phrasegroup_prefix,
                      phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
                      options AS lang_options,
                      languagecode AS lang_code,
                      charset AS lang_charset,
                      locale AS lang_locale,
                      imagesoverride AS lang_imagesoverride,
                      dateoverride AS lang_dateoverride,
                      timeoverride AS lang_timeoverride,
                      registereddateoverride AS lang_registereddateoverride,
                      calformat1override AS lang_calformat1override,
                      calformat2override AS lang_calformat2override,
                      logdateoverride AS lang_logdateoverride,
                      decimalsep AS lang_decimalsep,
                      thousandsep AS lang_thousandsep
                                      FROM yobromoflanguage
                                      WHERE languageid = 1;

MySQL Error  : Unknown column 'phrasegroup_itrader' in 'field list'
Error Number  : 1054
Request Date  : Monday, August 4th 2008 @ 06:47:20 PM
Error Date    : Monday, August 4th 2008 @ 06:47:20 PM
Script        : http://www.yobromofo.com/forum/itrader.php?u=34
Referrer      :
IP Address    : xx.xx.xx.xx
Username      :
Classname    : vB_Database
MySQL Version :

However, I have noticed, the user id is always the same.
It being one of our moderators.

Any suggestions greatly received, as its driving me mad !

Raptor 08-05-2008 09:34 PM

all installed ok - however i cannot see where / how to leave feedback ?

any clues ? Thanks

Raptor 08-05-2008 09:43 PM

ok found the link itrader_feedback.php?u=X

great mod *installed*

Digital Jedi 08-06-2008 04:17 AM

That is wierd. Have you looked over your database in phpMyAdmin to see if there's anything lingering?

TimberFloorAu 08-06-2008 12:59 PM

Quote:

Originally Posted by Digital Jedi (Post 1592358)
That is wierd. Have you looked over your database in phpMyAdmin to see if there's anything lingering?

I honestly cannot see anything, the table it refers to doesnt exist..

its weird lol

soundbarrierpro 08-06-2008 01:08 PM

Love the product and it's usefulness. However, I get this below on my memberlist. How can I remove it?

https://vborg.vbsupport.ru/external/2008/08/67.jpg

m4x3vo 08-06-2008 05:02 PM

Ive followed all the steps in the readme and the template html's. But im still getting the no permission thing when i click on my itrader. I enabled itrader, but for some reason when i go to user permissions and try to adjust the itrader 3 buttons at the bottom, and turn them to yes, they dont change at all, but it says successful. When i go back they're still on no. Please help me

After clicking save changes when i set all the itrader permissions to Yes. It creates that group again in the custom groups o.0. for example i clicked edit adminstrator in the default groups, and set the permissions to yes, and when i clicked save, it created another admin group in the custom groups o___o

obetyance 08-07-2008 09:35 AM

Downloaded, Installed and Nominated!!! Everything is working perfectly well. I just followed all the instructions and use my admin instinct and common sense.

Before I installed this, I was just using my REPUTATION POWER which is just a waste of space and bandwidth and time. :)

Anyway, is there a way I could use this iTrade in replacement of the REP POWER by adding some items? And then name it User's Rating. Right now, there's BUYER, SELLER, TRADE... How about adding something like FRIEND, ACQUAINTANCE, GENERAL, ETC. So, it would be relevant to rate somebody outside the For Sale section regarding his personality or whatever.

I'm not really good in messing up with the codes. When I looked at iTrade, it gave me a migraine on how and where to start.

Thanks so much for your time. :)

domaino 08-07-2008 01:43 PM

Hey,

Can anyone help me out with this? The mod seems to have installed no problem, but I am having problem when it comes to placement. I have included the if conditional inside my postbit_legacy template but to no avail.

I am interested in providing a system similar to that of namepros where the trader rating for each member is displayed inside each and every thread as well as inside their profile.

http://www.namepros.com/parking-and-...ml#post2969073

Could someone help me out with this please and perhaps tell me where I'm going wrong?

Cheers.

soundbarrierpro 08-07-2008 01:46 PM

Quote:

Originally Posted by domaino (Post 1593406)
Hey,

Can anyone help me out with this? The mod seems to have installed no problem, but I am having problem when it comes to placement. I have included the if conditional inside my postbit_legacy template but to no avail.

I am interested in providing a system similar to that of namepros where the trader rating for each member is displayed inside each and every thread as well as inside their profile.

http://www.namepros.com/parking-and-...ml#post2969073

Could someone help me out with this please and perhaps tell me where I'm going wrong?

Cheers.

by default this mod has your itrader stat in every thread after the templates are modified. You need to install this itrader add on in order for it to be in their profile.
https://vborg.vbsupport.ru/showthrea...hlight=itrader

domaino 08-07-2008 02:08 PM

Quote:

Originally Posted by soundbarrierpro (Post 1593408)
by default this mod has your itrader stat in every thread after the templates are modified. You need to install this itrader add on in order for it to be in their profile.
https://vborg.vbsupport.ru/showthrea...hlight=itrader

Ok, thanks for the reply.

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

inside my postbit_legacy template, but see nothing in the way of ratings. Is there something I'm missing? Do I need to add this code anywhere else in order to see ratings displayed under the user's name in every thread? Or is it a matter of an incorrect install?

Help appreciated.

soundbarrierpro 08-07-2008 02:21 PM

I think it's gotta be missing something. You need to edit a few templates, but you don't need the if tags

Just this.
Code:

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

Digital Jedi 08-07-2008 02:22 PM

I was about to suggest the same thing. The <if> conditional is probably making it invisible.


All times are GMT. The time now is 12:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01626 seconds
  • Memory Usage 1,866KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (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