View Single Post
  #1  
Old 09-20-2004, 03:00 AM
dune dune is offline
 
Join Date: May 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Post Icons not showing on Thread List...

I've got a post at vbulletin.com that probably won't get any help there, so I'm hoping somebody here can figure it out:

http://www.vbulletin.com/forum/showthread.php?p=736338

From gfd:

My thread icons only show when viewing the actual threads. No thread icons appear anywhere else.

From Me:

I have the same problem. Interestingly enough, I also have vBadvanced CMPS installed, though based on what I've found so far that doesn't seem to have anything to do with it...

I've been trying to track it down, but can't figure it out.

After updating the first post in a thread to change (or add) a post icon, I see that the thread table STILL says icon = 0. But even if I update the iconid in the thread table manually, I can't get anything to show on the forumdisplay thread listing...

gfd, I assume the soccer ball is your default icon? Does that icon get set in the iconid column of the thread table or am I chasing the wrong value there?

I THINK (I'm just a vB newbie, what do I know?) that it might be a problem in iconcache. When I check the conditionals in functions_forumdisplay.php that build the icon bits, I find that in:

Code:
                        // get icon from icon cache
                        if ($thread['threadiconid'])
$thread['threadiconid'] is ALWAYS 0 ...so this has nothing to do with the style templates...

[update] Ok, when I post a NEW thread with an icon, thread.iconid gets set. Yet, there is STILL no icon showing on the thread listing (but it does show on the thread display).

[update] That's odd. When I post a BRAND NEW thread, thread.iconid gets the right value. And when I update that post, thread.iconid also changes. But in neither case does the thread icon show on the thread list. What's even wierder is that when I edit an EXISTING thread, thread.iconid will NOT change. And of course does not show in the thread list...
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01202 seconds
  • Memory Usage 1,766KB
  • 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
  • (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