vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Show Thread Enhancements - PS - Boxed Postbit Information & Centered Postbit (https://vborg.vbsupport.ru/showthread.php?t=170238)

Caddyman 02-12-2008 01:52 AM

yes it does work the same...lol

hrk 02-12-2008 04:17 AM

Quote:

Originally Posted by youradhere4222 (Post 1441147)
Paul Sonny,

Here is the template which controls the post-bit for the Post Thanks hack. Can you tell me where to insert the coding in here?

Code:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr>
                        <td class="alt2" style="padding:0px">
                                <if condition="$post['post_thanks_amount'] == 1">
                                        <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                                <else />
                                        <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
                                </if>
                        </td>
                        <if condition="$bbuserinfo['usergroupid'] == 6">
                                <td class="alt2" style="padding:0px" align="right" nowrap="nowrap">
                                        <a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
                                </td>
                        </if>
                        <if condition="$post['show_thanks_remove_option']">
                                <td class="alt2" style="padding:0px" align="right" nowrap="nowrap">
                                        <a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
                                </td>
                        </if>
                </tr>
                <tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr>
        </table>
</div>


pls try this


find :
Code:

<div>$post[post_thanks_bit]</div>
replace with


Code:

<div class = "postinfo">$post[post_thanks_bit]</div>

PaulSonny 02-12-2008 09:39 AM

Please Mark As Installed

I have updated the modification and the download file to include the Post Thanks Hack.

Thanks, Paul.

Magnumutz 02-12-2008 04:15 PM

Dude... i don't wanna be a jerk or something... but this is pretty much basic, don't ya' think?

I mean, 90% of the skins (except for the default one) have this.

PaulSonny 02-12-2008 05:51 PM

Yes this is very basic, I agree.

But not everyone, including me is not that advanced in coding and this provides a set by set walkthrough on how to do it which I think most people would appreciate.

Unless you have more constructive comments I would suggest not posting in future.

Thanks, Paul.

youradhere4222 02-12-2008 08:54 PM

I, for one, am glad there's finally a simple way to organize a post-bit. I'll click install right away. ;)

Netaudio 02-20-2008 09:11 AM

*installed*

thx, but who can i modify "Blog-Entries" in postbit_legacy?

I cant´t found it, help me please.

bxbigt 02-21-2008 07:41 PM

Quote:

Originally Posted by hrk (Post 1441204)
pls try this


find :
Code:

<div>$post[post_thanks_bit]</div>
replace with


Code:

<div class = "postinfo">$post[post_thanks_bit]</div>

Not working here :(

PaulSonny 02-22-2008 09:07 PM

Quote:

Originally Posted by Netaudio (Post 1447178)
*installed*

thx, but who can i modify "Blog-Entries" in postbit_legacy?

I cant?t found it, help me please.

I would need to see your postbit and postbit_legacy.

Quote:

Originally Posted by bxbigt (Post 1448314)
Not working here :(

The same for you big t, your postbit and postbit_legacy.

Thanks for your support.

Thanks, Paul.

OrionsMom 02-23-2008 11:42 AM

Very kewl, thanks for the neato hack :)


All times are GMT. The time now is 02:20 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.01208 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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