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)

GamerJunk.net 06-02-2004 05:18 AM

Ok got it installed but now I have a few problems...

My VBAdvanced mainpage is blank and so is my shoutbox.

What in this script could make those 2 go blank? Is it the permissions?

GamerJunk.net 06-02-2004 05:19 AM

Quote:

Originally Posted by r6xual
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??

Well I put it right after age and before posrs

Rampag33 06-02-2004 05:22 AM

Damn this looks so good. I wish I had a use for this on my site this.
May have to alter a few things.

Great Work.

eoc_Jason 06-02-2004 05:23 AM

Drumsy - I'll take a look into the divide by zero, it should be a simple enough fix. As for pagination, it is set to the forum default (I think it's 40?), however you can manually change it to less if you edit the php file just look at the spot where it says:

// split thread over pages if necessary

But the newest ratings are at the top, so it shouldn't be an issue with that many on a single page.

r6xual - I added mine below the location field, but it's just a user preference how they like their postbit layed out.

eoc_Jason 06-02-2004 05:24 AM

There are no template (beyond one postbit edit) or file changes, so I don't know what would be causing your error...

Quote:

Originally Posted by RasMasta
Ok got it installed but now I have a few problems...

My VBAdvanced mainpage is blank and so is my shoutbox.

What in this script could make those 2 go blank? Is it the permissions?


r6xual 06-02-2004 05:33 AM

Code:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>Trader Rating: (<a>href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div>

Thats a section out of my postbit_legacy template. Howver once again i ran the refresh phrase ph file and still nothing shows up in the posts for the trader rating.

Heres an example thread

http://www.gpfanatix.com/forums/showthread.php?t=16

stangcentral 06-02-2004 05:36 AM

I am getting the following error when i try to install this....

Database error in vBulletin 3.0.1:

Invalid SQL: INSERT INTO vb3_phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'tratings', 'Trader Ratings', 1)
mysql error: Duplicate entry 'tratings-0-1' for key 2

mysql error number: 1062

Spinball 06-02-2004 06:31 AM

Wow - being on another continent means when you wake up you already have the hack released and with some bug fixes.
Well done Jason.

lifesourcerec 06-02-2004 08:13 AM

Quote:

Originally Posted by stangcentral
I am getting the following error when i try to install this....

Database error in vBulletin 3.0.1:

Invalid SQL: INSERT INTO vb3_phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'tratings', 'Trader Ratings', 1)
mysql error: Duplicate entry 'tratings-0-1' for key 2

mysql error number: 1062

That means it is already in your database. So, you may need to use the upgrade and not the new install.

lifesourcerec 06-02-2004 08:14 AM

Jason, how would I add a link to this in member profile? Easier for users to search and then view from member profile.


All times are GMT. The time now is 09:04 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.01733 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_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