vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Trader Ratings v1.2.0 (https://vborg.vbsupport.ru/showthread.php?t=65730)

Imprezer 06-02-2004 02:01 AM

I edit/saved one of the phrases.

When I look at all the phrases through MyPHPAdmin, I can see that most of them have language ID set to "-1" and some to "0".

The tratings phrases were set to "0".

What should they be set at? Right now, they are at "0" and everything works.

Odoin 06-02-2004 02:03 AM

Just go in and edit one of the phrases and do nothing and save it... it will then reload them :).

eoc_Jason 06-02-2004 03:20 AM

Or just download and run the PHP file I posted... The issue was because adding phrases via direct sql statments doesn't run the build_languages function, which IS run if you add/edit phrases via the CP.

However, they phrases should be set to 0 because they are custom phrases. -1 is default ones for base vB phrases (I think). I suppose you could set them to -1 but it wouldn't make a difference afaik.

Here's what I've been able to decypher so far (if there is official documentation on this, please someone LINK ME!)

-1 = Standard Phrase (aka default install)
0 = Custom Phrase
1 = English

EDIT - DOH, there is also a "Rebuild Languages" button under Languages & Phrases -> Language Manager.

Imprezer 06-02-2004 03:22 AM

Ok, cool.

If you want, Jason, you can link to my site as a showcase. I have a lot of TR data.

Thanks again,

- Alex

GamerJunk.net 06-02-2004 03:54 AM

Omg Thank You

drumsy 06-02-2004 03:57 AM

You are THE MAN!!! I have waited a LONG friggin' time for this to port to vB3 and I'm SO glad that it did!!! YOU ROCK!!!!!!!!!!!!!!!!!!!!

drumsy 06-02-2004 04:30 AM

Installed at www.honda-acura.net

drumsy 06-02-2004 04:34 AM

Hmmm, in viewing members who have a positive score, I have no problems, but I just clicked on a user whose score is (-1) and I get this:

Code:

Warning: Division by zero in /home/hondaacu/public_html/forums/traderratings.php on line 114
Members with a score of (0) do not yield this error.

drumsy 06-02-2004 04:57 AM

Also, I have a user with 22 comments. Is there anyway to spill these over to another page?

r6xual 06-02-2004 05:07 AM

Where exactly do we add the postbit_legacy code into the template. I ran the install, however the traderrating is not showing up at all in the posts. Is there a cerain spot that the postbit.txt needs to be inserted? I also ran the refresh_phrases and still no luck. Any ideas??


All times are GMT. The time now is 09:08 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.01569 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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