Thread: Add-On Releases - Yet Another Awards System
View Single Post
  #612  
Old 02-13-2012, 12:51 AM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, so I always attempt things myself before seeking help, I usually succeed, after various hours.. However I've been at this now for coming up to 4 hours now and I'm baffled.

Attached is a file of the tab "My Awards" - My aim is to remove the "Icons" section, and simply just have "Image" "Description" and "Actions"

Image would be the image
Description would be the name of the award and date issued and reason issued
& actions would be Recommend & Request link

Would be GREAT if someone could help me on this! Let me know if you need any of my templates, but here is my awards_userawards_bit template

PHP Code:
<tr>

<if 
condition="$vboptions[aw_showicon]">
    <
td class="$bgclassalign="center">
        <
img src="$award[award_icon_url]border="0">
    </
td>
</if>

<if 
condition="$vboptions[aw_showimage]">
    <
td class="$bgclassalign="center">
        <
a name="award$award[award_id]"></a>
        <
img src="$award[award_img_url]alt="$award[award_name]border="0">
    </
td>
</if>

<if 
condition="$vboptions[aw_showdesc]">
    <
td class="$bgclass"><b><a href="awards.php?do=viewaward&award_id=$award[award_id]">$award[award_name]</a></b>
        <
div class="smallfont">$award[award_desc]
        <
hr>
        
$vbphrase[award_name]: <b>$award[award_name]</b><br>
        
$vbphrase[award_description]: <i><b>$award[award_desc]
        </
div>
    </
td>
</if>

<if 
condition="$vboptions[aw_actioncolumn]">
    <
td class="$bgclassalign="center" nowrap>
<if 
condition="$vboptions[aw_requestaward]">
<if 
condition="$award[award_allowrequest]">
        <
a href="request_award.php?$session[sessionurl]award_id=$award[award_id]">$vbphrase[request_award]</a>
</if>
</if>
<if 
condition="$vboptions[aw_recommendaward]">
<if 
condition="$award[award_allowrecommend]">
        <
br /><a href="recommend_award.php?$session[sessionurl]award_id=$award[award_id]">$vbphrase[award_recommend_award]</a>
</if>
</if>

    </
td>
</if>

</
tr
and this one is the original that works, but not really how I want it

PHP Code:
<tr>
    <
td class="$bgclassalign="center">
        <
img src="$award[award_icon_url]border="0">
    </
td>

    <
td class="$bgclassalign="center">
        <
a href="awards.php?$session[sessionurl]#award$award[award_id]">
        <
img src="$award[award_img_url]border="0"></a>
    </
td>

    <
td class="$bgclassvalign="top">
        <
a name="aw_issue$award[issue_id]"></a>
        
$vbphrase[award_name]: <b>$award[award_name]</b><br>
        
$vbphrase[award_description]: <i><b>$award[award_desc]</b></i>

        <
fieldset class="fieldset">
            <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
            <
tr>
                <
td>
                    <
i>$vbphrase[award_reason]: $award[issue_reason]</i><br>
                    <
i>$vbphrase[award_time]: $award_issue_date $award_issue_time
                
</td>
            </
tr>
            </
table>
        </
fieldset>

    </
td>
</
tr
Attached Images
File Type: png Untitled.png (22.0 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01231 seconds
  • Memory Usage 1,851KB
  • Queries Executed 12 (?)
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
  • (2)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_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete