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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2010, 05:13 PM
TF4U TF4U is offline
 
Join Date: May 2010
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Article Archive Widget issue in VBulletin 4.0.4 PL1

can anyone tell me why the following template is not showing the thumbnails in the article archive widget for member articles??

PHP Code:
<div class="cms_widget_post_bit">
    <
div class="cms_widget_post_userinfo">
    <
vb:if condition="$article['showuser'] && $vboptions['avatarenabled']">
        <
div class="cms_widget_post_useravatar">
        <
vb:if condition="$avatar">
            <
class="comments_member_avatar_link" href="{vb:link member, {vb:raw article}}">
                <
img alt="{vb:raw article.username}-{vb:raw article.userid}" src="{vb:raw vboptions.bburl}/{vb:raw avatar.0}" {vb:raw avatar.1} />
            </
a>
        <
vb:else />
            <
img alt="{vb:raw article.username}-{vb:raw record.userid}" src="{vb:stylevar imgdir_misc}/unknown.gif" />
        </
vb:if>
        </
div>
    </
vb:if>
    </
div>
        <
div class="cms_widget_post_comment<vb:if condition="!$vboptions['avatarenabled']">_noavatar</vb:if>">
            <
h4 class="cms_widget_post_header"><a href="{vb:raw article.page_url}">{vb:raw article.title}</a></h4>
            <
class="cms_widget_post_content">
                {
vb:raw previewtext}
            </
p>
            <
div class="meta">
                <
vb:comment><a href="{vb:link member, {vb:raw article}}" class="username">{vb:raw article.username}</a></vb:comment>
            <
vb:comment>
                <
class="searchdescription">{vb:raw article.previewtext}...
                    <
a href="{vb:raw article.page_url}">{vb:rawphrase read_more}</a>
                </
p>
                <
img class="searchicon" alt="{vb:rawphrase search}" src="{vb:stylevar unknownsgicon}" />
                <
h4 class="nocss_label">{vb:rawphrase last_post_by}</h4>
            </
vb:comment>
            <
vb:comment>
                <
div class="searchcat">
                    <
h4 class="searchlastpostlabel understate">{vb:rawphrase content} :</h4>
                    <
span class="understate">{vb:rawphrase article}</span>
                </
div>
            </
vb:comment>
            <
vb:if condition="$categories">
                <
div class="searchstats">
                    {
vb:rawphrase categories}: 
                    <
vb:each from="categories" key="categoryid" value="category">
                    <
a href="{vb:raw category.category_url}">{vb:raw category.category}</a>&nbsp;
                    </
vb:each>
                </
div>
            </
vb:if>

            <
vb:if condition="$tags">
                <
div class="searchstats">
                    {
vb:rawphrase tags}: 
                    <
vb:each from="tags" key="tagid" value="tag">
                    <
a href="{vb:raw vboptions.bburl}/tags.php?tagid={vb:raw tagid}">{vb:raw tag.tagtext}</a>&nbsp;
                    </
vb:each>
                </
div>
            </
vb:if>
            </
div>
            <
a href="{vb:link member, {vb:raw article}}" class="username">{vb:raw article.username}</a>
            {
vb:date {vb:raw article.publishdate}, {vb:raw vboptions.dateformat}}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:date {vb:raw publishdate} {vb:raw vboptions.timeformat}}</span></vb:if> <a href="{vb:raw article.page_url}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
        </
div>
</
div
Reply With Quote
Reply


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 07:45 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.05873 seconds
  • Memory Usage 2,206KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)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
  • (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_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • 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