vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   RPG Inferno 2.4 Addon: RPG Info in postbit (https://vborg.vbsupport.ru/showthread.php?t=94354)

Cyricx 10-04-2005 04:50 PM

If you use the reputation system then do this part of the instruction file

Code:

If you use the reputation system in /showthread.php
 
-=-=-=-=-
--FIND:
-=-=-=-=-
 
                        " . iif($vbulletin->options['reputationenable'], 'level,') . "
 
-=-=-=-=-
--REPLACE IT WITH:
-=-=-=-=-
                        " . iif($vbulletin->options['reputationenable'], 'reputationlevel.*,') . "
 
-=-=-=-=-
--SAVE AND UPLOAD FILE
-=-=-=-=-

Just tested by doing the edit and then turning on the rep system on my site and I'm not getting any errors.

Are you not doing that edit?

MissKalunji 10-04-2005 05:20 PM

i done it and it doesnt work

MissKalunji 10-04-2005 05:44 PM

and it happens many time with people that uses the hybrid display mode

Cyricx 10-04-2005 06:23 PM

okay, duplicated the error, I'll get to work on this and locate a solution

MissKalunji 10-04-2005 06:27 PM

Quote:

Originally Posted by Cyricx
okay, duplicated the error, I'll get to work on this and locate a solution

here u go

Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar, customavatar.dateline AS avatardateline,
level,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid

,inferno_user.*, inferno_jobs.*, inferno_element.*, inferno_clan.*, journals.journaldesc, journals.journal_id
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid)
LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
LEFT JOIN inferno_user AS inferno_user ON(inferno_user.rid = user.userid)
LEFT JOIN inferno_jobs AS inferno_jobs ON(inferno_jobs.jname = inferno_user.class)
LEFT JOIN inferno_element AS inferno_element ON(inferno_element.eid = inferno_user.element)
LEFT JOIN inferno_clan AS inferno_clan ON(inferno_clan.cid = inferno_user.inclan) LEFT JOIN journals AS journals ON (journals.journalist_id=post.userid)
WHERE post.postid IN (80711,80715,80718,80728);

MySQL Error : Column: 'level' in field list is ambiguous
Error Number : 1052
Date : Tuesday, October 4th 2005 @ 03:26:52 PM
Script : http://www.dancehallareaz.com/forum/...=hybrid&t=4154
Referrer : http://www.dancehallareaz.com/forum/...ad.php?p=80715
IP Address : xxxxxxx
Username : MissKalunji
Classname : vb_database

MissKalunji 10-06-2005 08:18 PM

i figured out the problem

Quote:

" . iif($vbulletin->options['reputationenable'], 'level,') . "
that line appears twice in showthread

and i thought there was only one its today when i oppened and checked notice that line appeared twice switched it and it works now! only thing is in the other mode i cant seem to show the stat when i go on rpg stats....

Cyricx 10-06-2005 08:22 PM

Doh! Your right!! In $posts and $cacheposts!!

which mode are you having problems with? just hybrid?

By replacing that twice I've elminated the bug from my board. It works in all three modes with no errors.

What bug are you still experiencing?

MissKalunji 10-06-2005 08:26 PM

Quote:

Originally Posted by Cyricx
Doh! Your right!! In $posts and $cacheposts!!

which mode are you having problems with? just hybrid?

hybrid's fine now its in threaded mode that when i cant get to show it (nto a big deal) doubt any of the users are actually using that

i hope i put an end to your headache :P

Cyricx 10-06-2005 08:45 PM

can you show me a screenie? or a url to your board?

You helped a ton :), but I want to squash all em darn buggies!

MissKalunji 10-06-2005 08:50 PM

Quote:

Originally Posted by Cyricx
can you show me a screenie? or a url to your board?

You helped a ton :), but I want to squash all em darn buggies!

http://www.dancehallareaz.com/forum/...2734#post82734

username : Cyricx password : testing

then choose display mode threaded :)


All times are GMT. The time now is 07:25 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.01110 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)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
  • (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