Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:20 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.04639 seconds
  • Memory Usage 2,437KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadedmode.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete