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 - highlight threadstarter posts! (https://vborg.vbsupport.ru/showthread.php?t=234150)

ToNetU 01-24-2010 10:00 PM

highlight threadstarter posts!
 
1 Attachment(s)
hi there,

this is an easy way to
highlight threadstarter post by editing ONE template.

In this mod, it will be below the user title, but if you want it somewhere else just let me know here NOT in pm please!

let's start:
1- go to postbit or postbit_legacy template

2- search for:
Code:

<span class="usertitle">
{vb:raw post.usertitle}
</span>

3- add below it:
Code:

<vb:if condition="$post['postcount'] == 1">
<vb:else />
<vb:if condition="$thread[postuserid] == $post[userid]">
<img src="images/misc/subscribed.png" alt="Thread Starter"/> <span style="color:red"><b><u>Thread Starter</u></b></span>
</vb:if></vb:if>


screenshot: http://i45.tinypic.com/2l8d89t.png

FAQ:
- What this mod will do?
it will show you who's the thread starter in the thread by add text "Thread Starter" and an icon next to it!


- Where it will be the "text and icon"?
it will be any where you want in the thread. for example if you want it to be below/above the signature, below the post, with the member info, below the member title... etc!


- Why this mod is very important for some forum?for example here in vb.org how could you know if the post from the thread starter? and you wanna follow his/her posts! better than scrolling up and down to see who's the thread starter!

- If i want to put it somewhere else can you help me?
YES ofcourse! just tell me where do you want it and i will be very happy to help
after you clicked INSTALL.

- Does this mod will appear "thread starter" in the first post [which is the thread] ?
NO THIS WILL NOT APPEAR IN THE FIRST PORT #1 , IT WILL APPEAR IN THE POSTS AFTER THE THREAD ONLY

- Can i change the prefix of "Thread Starter" to something else?
YES you can just edit it to anything else of any language you want!

- Can i change the icon to another one?
YES you can just edit this code
Code:

<img src="images/misc/subscribed.png" alt="Thread Starter"/>

to the icon you want
.
PLEASE DON'T FORGET TO CLICK INSTALL.

that's it :p , enjoy it

mitch84 01-26-2010 06:28 AM

hi, don't work for me

RedHacker 01-26-2010 06:36 AM

Not worked...

ToNetU 01-26-2010 10:31 AM

Quote:

Originally Posted by mitch84 (Post 1966832)
hi, don't work for me

Quote:

Originally Posted by RedHacker (Post 1966834)
Not worked...

sorry for the disappoinment!
can i know guys how you did it and which version you guys are using?

i tried it again and it worked just fine!

RedHacker 01-27-2010 05:08 AM

I have 4.0.1 Version...

mitch84 01-27-2010 06:03 AM

me too

ToNetU 01-27-2010 10:23 AM

Quote:

Originally Posted by RedHacker (Post 1967680)
I have 4.0.1 Version...

Quote:

Originally Posted by mitch84 (Post 1967704)
me too

could you please copy your postbit template and paste it here so i can see what the problem!

have you tried to copy it without changing anything in the vb4 default style?
because as i said it's working perfect with me without any problem at all!

min0taur 01-27-2010 11:43 AM

Quote:

Originally Posted by mitch84 (Post 1966832)
hi, don't work for me

Quote:

Originally Posted by RedHacker (Post 1966834)
Not worked...

If you Edit postbit and it doesnt work try postbit_legacy instead :)

ToNetU 01-27-2010 12:23 PM

Quote:

Originally Posted by min0taur (Post 1967884)
If you Edit postbit and it doesnt work try postbit_legacy instead :)

so it's working fine right?

Front Range 01-27-2010 02:06 PM

Thanks, works for me.


All times are GMT. The time now is 05:36 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.01010 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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