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)

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


All times are GMT. The time now is 09:14 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.04905 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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