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)
-   -   Mini Mods - Last Poster Avatar (https://vborg.vbsupport.ru/showthread.php?t=275406)

TheSupportForum 01-13-2012 08:00 PM

Quote:

Originally Posted by IGOTASTi (Post 2287412)
So how do I fix this?

Admicp > Plugins & Products > Plugin Manager >
look for Hook Forumbit Query Fields & Joins

ensure that the fieldnames match the query

I.G.O.T.A. 01-13-2012 08:10 PM

Here is my code.

if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}

TheSupportForum 01-13-2012 09:01 PM

Quote:

Originally Posted by IGOTASTi (Post 2287422)
Here is my code.

if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}

there are also other plugins that go with this
login to your hosting control panel and open up PHPMySQL or similar
you have to ensure that the fieldname e.g. avatarid etc exists

or the other option who be to uninstall it and reinstall the mod
sometimes it resolves the issue

I.G.O.T.A. 01-13-2012 09:17 PM

I uninstalled it and reloaded it in and it stayed the same. When I log into my PHPMySQL what do I do?

bremereric 01-13-2012 10:30 PM

Phpdesk posted the following. Did you guys uninstall and reinstall the older version. I did and it's working fine.

https://vborg.vbsupport.ru/showpost....&postcount=121

phpdesk 01-14-2012 04:54 PM

Hi guys, you have the two versions of the mod, this is a free contribution, so feel free to suggest a merge between the two, and I'll be more than happy to include it into a new release.

goshalim 01-15-2012 04:07 AM

Hi Alex ( phpdesk )
Iam just wondering whyn none of you is to replying to my request !!!!

I cant wait any longer otherwise i will delete this addon.

Someone please can tell me what is going wrong and the username is shown twice next to the picture and also a part of the code is visable to the users?

thanks

phpdesk 01-15-2012 02:44 PM

Hi, goshalim,

I'll work on an update to fix the reported issues as soon as I get a moment, you can use 1.0.5a meanwhile.

kevius 01-15-2012 03:52 PM

and what about "sub-forum" bug ? any idear ?

goshalim 01-15-2012 06:31 PM

i did try 1.0.5 but still the same problem


All times are GMT. The time now is 12:02 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.01354 seconds
  • Memory Usage 1,735KB
  • 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_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