Thread: Major Additions - iTrader v2.8 - Powerful Rating System
View Single Post
  #229  
Old 03-02-2010, 02:19 PM
entertain entertain is offline
 
Join Date: May 2007
Location: Bavaria
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Verionia View Post


there it is
the problem seems to be your modified style.
Quote:
Originally Posted by sHORTYWZ View Post
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 View Post
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 View Post
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 View Post
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?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01106 seconds
  • Memory Usage 1,783KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete