View Single Post
  #3  
Old 01-06-2009, 12:53 PM
mcahill mcahill is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would be the problem. Attempts to show the vbulletin threadbit array as used in the showforums page doesn't give us the dimensions of the array, only a formatted output.

PHP Code:
<tr
    <
td class="alt1" id="td_threadstatusicon_377785"
        
        <
img src="http://images.splitcoaststampers.com/forums/images/scs2/statusicon/thread.gif" id="thread_statusicon_377785" alt="" border="" /> 
    </
td
    
        <
td class="alt2"><img src="images/icons/icon12.gif" alt="Wink" border="0" /></td
    
 
    <
td class="alt1" id="td_threadtitle_377785" title="Hi All!  I'm new and have a question - I'm looking for 2009 calendars approximate size 2&quot;x2&quot; or 2&quot;x3&quot; up to 3&quot;x3&quot; or 3&quot;x4&quot;.  Does anyone have info as to where I can get these?"
 
        
        <
div
            
                <
span style="float:right"
                    
                    
                    
                     <
a href="#" onclick="attachments(377785); return false"> <img class="inlineimg" src="http://images.splitcoaststampers.com/forums/images/scs2/misc/paperclip.gif" border="0" alt="1 Attachment(s)" /></a
                    
                    
                </
span
            
            
            
            
            
            <
a href="showthread.php?t=377785" id="thread_title_377785">2009 Calendars</a
            
        </
div
    
        
            
        <
div class="smallfont"
            
            
                <
span style="cursor:pointer" onclick="window.open('member.php?u=191203', '_self')">CraftyGrandma</span
            
        </
div
        
        
        
    </
td
    
    
    <
td class="alt2" title="Replies: 1, Views: 16"
        <
div class="smallfont" style="text-align:right; white-space:nowrap"
            
08-28-2008 <br /> 
            
by <a href="member.php?find=lastposter&amp;t=377785" rel="nofollow">Crafty Secrets</a>  <a href="showthread.php?p=11113776#post11113776"><img class="inlineimg" src="http://images.splitcoaststampers.com/forums/images/scs2/buttons/lastpost.gif" alt="Go to last post" border="0" /></a
        </
div
    </
td
    
    
    
        <
td class="alt1" align="center"><a href="#" onclick="who(377785); return false;">1</a></td
        <
td class="alt2" align="center">16</td
            
        
    
    
    
</
tr
--------------- Added [DATE]1231288767[/DATE] at [TIME]1231288767[/TIME] ---------------

So I have spent the better part of the day on this with no results. I have found no way to get the dimensions of the array, since vbulletin is not allowing me to do array_keys either in the product I am developing with or via the page source code. I can do print_r and that's it.

So I need to either know what the keys are named in the threadbit array on forumdisplay.php, or I need to find a way to output the keys.

ANy help appreciated...
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01064 seconds
  • Memory Usage 1,807KB
  • 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_php
  • (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