vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Threadstarter icon to Threadstarters posts (https://vborg.vbsupport.ru/showthread.php?t=239015)

Kolbi 03-23-2010 10:00 PM

Threadstarter icon to Threadstarters posts
 
1 Attachment(s)
This little modification adds a Threadstarter icon to every post the threadstarter is posting.

Search in template postbit_legacy or postbit for:
HTML Code:

<vb:if condition="$post['userid']">
                                {vb:raw memberaction_dropdown}
                                {vb:raw post.onlinestatus}
                        <vb:else />
                                <span class="username guest">{vb:raw post.musername}</span>
                        </vb:if>

and add after:
HTML Code:

<vb:if condition="$post['userid'] == $thread['postuserid']"><img src="{vb:stylevar imgdir_misc}/thread_starter.png" border="0" alt="thread starter" /></vb:if>
and upload the icon in the attachement.

Demo


Please click INSTALL

Regards
Matthias
www.2-wheel-planet.de

sKippah 03-24-2010 03:59 PM

Thanks man, but i think it will be much easier if u post a Screenshot to it.. Thanks Tagged

War.Frog 03-24-2010 04:04 PM

I like the concept. I might want to use a different icon though - the pencil looks too much like the Administrator's edit functions.

Kolbi 03-24-2010 04:07 PM

Screenshot will be added soon.

If you upload a icon I´ll include it to first post.

Alien 03-24-2010 08:50 PM

Does this add any queries?

Kolbi 03-25-2010 11:30 AM

No, this modification is just only a template modification that is based on if conditions.


All times are GMT. The time now is 09:27 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.02454 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete