vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Custom Profile Tabs (https://vborg.vbsupport.ru/showthread.php?t=179995)

Playa82 05-27-2008 09:30 AM

i tried it, but it doesn't work...

:-(

Lynne 05-27-2008 04:22 PM

Quote:

Originally Posted by Playa82 (Post 1532708)
i tried it, but it doesn't work...

:-(

Quote:

Originally Posted by Lynne (Post 1530327)
Take a stab at it yourself. If it doesn't work, post your code here and let us know what sort of errors you are currently getting.

Please post your code or we can't help you.

Playa82 05-27-2008 07:11 PM

Quote:

Originally Posted by Lynne (Post 1533094)
Please post your code or we can't help you.

Code:

<!-- [START HACK='Yet Another Awards System hack' AUTHOR='HacNho'] -->
<if condition="$show['userawards']">
<a name="award"></a>
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="tcat" colspan="3" align="center">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('award_showcase')"><img id="collapseimg_award_showcase" src="$stylevar[imgdir_button]/collapse_generic{$collapseimg_award_showcase}.gif" alt="" border="0" /></a>
                        $vbphrase[award_showcase] ($total_awards $vbphrase[awards])
                </td>
        </tr>
<tbody id="collapseobj_award_showcase" style="{$collapseobj_award_showcase}">
        <tr>
                <if condition="$vboptions[aw_showicon]">
                                <td class="thead" nowrap>$vbphrase[award_icon]</td>
                </if>
                <if condition="$vboptions[aw_showimage]">
                                <td class="thead" nowrap>$vbphrase[award_image]</td>
                </if>
                <td class="thead" width="100%">$vbphrase[award_description]</td>
        </tr>
        $userawardslistbits
</tbody>
</table>
</if>
<!-- [END HACK='Yet Another Awards System hack' AUTHOR='HacNho'] -->

That's the code from the hack. i can add it via $awards_showcase in my memberinfo

Lynne 05-27-2008 07:24 PM

I thought you were trying to use this: [How-to] Add more tabs to the vB 3.7 profile pages What you posted is not what the article says to do. You need to make a plugin using the member_build_blocks_start hook and that is what you need to post. You said you tried it but it didn't work. So, I'm wondering what you put in the plugin that didn't work. You really need to read that article and follow the instructions.

PoetJA-1975 06-29-2008 05:48 AM

Old bump - but thanx for the tip - I'm in the process of upgrading my Forum - so this how-to tutorial come in handy - thanx for the link ;)

Jacquii.


All times are GMT. The time now is 03:57 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.01013 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete