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)

F0xy 04-04-2008 08:33 AM

Quote:

Originally Posted by PaulSonny (Post 1482243)
Hello Foxy,

Please see the original thread and download the centered_postbit.txt file.

Thanks, Paul.

yep worked a treat, thanks mate

mblb 04-07-2008 04:21 AM

Okay, so with VB 7.0 RC2 they have their own templates. I modified template: post_thanks_postbit_info
Quote:

<if condition="$post[userid]">
<div class="postinfo">$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]</div>
<div>
<if condition="$post[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</div>
</if>
This worked for the "thanks" but i can not figure out the "thanked" one.

Theres also a template: post_thanks_postbit_legacy
Quote:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="175">
<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>
<if condition="$bbuserinfo['usergroupid'] == 6">
<br /><a href="post_thanks.php?do=post_thanks_remove_all&am p;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>
</if>
<if condition="$post['show_thanks_remove_option']">
<br /><a href="post_thanks.php?do=post_thanks_remove_user&a mp;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>
</if>
</td>
<td class="alt1"><div>$post[post_thanks_bit]</div class="postinfo"></td>
</tr>
</table>
</div>

and a template: post_thanks_postbit

Quote:

<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&am p;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&a mp;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 class="postinfo"></td></tr>
</table>
</div>

Anyhelp?!?

mblb 04-07-2008 06:34 AM

Worked it out.

Not i just need to figure out how to do the arcade high score!

PaulSonny 04-09-2008 09:35 AM

Quote:

Originally Posted by mblb (Post 1485022)
Worked it out.

Not i just need to figure out how to do the arcade high score!

I'm glad you managed to work it out mblb, care you post your solution here for everybody else?

As for the arcade, what Arcade system are you using and ill try and find the solution for you and post it here.

Thanks, Paul.

mblb 04-09-2008 11:18 PM

In the post_thanks_postbit_info template
find
Quote:

<if condition="$post[userid]">
<div>$vbphrase[post_thanks_thanks]
Replace the relevant DIV tags as shown below.

Quote:

<if condition="$post[userid]">
<div class="postinfo">$vbphrase[post_thanks_thanks]

Then find
Quote:

[post_thanks_user_amount_formatted]</div>
<div>
Replace the relevant DIV tags as shown below.



Quote:

[post_thanks_user_amount_formatted]</div>
<div class="postinfo">

Thanks! I'm still kind of new to this and still haven't worked the arcade out. I am using ibProArcade v2.6.6+

M-Tuning 04-20-2008 07:33 AM

Nice, This is how I got it:

https://vborg.vbsupport.ru/external/2008/04/31.jpg

XnaMe 05-02-2008 12:34 PM

Quote:

Originally Posted by mblb (Post 1487069)
In the post_thanks_postbit_info template
find

Replace the relevant DIV tags as shown below.




Then find


Replace the relevant DIV tags as shown below.






Thanks! I'm still kind of new to this and still haven't worked the arcade out. I am using ibProArcade v2.6.6+

It works! Thanks!

DISLEX 05-06-2008 02:46 PM

I'm using it with 3.7. It looks great! Thank you.

Erika 05-06-2008 04:52 PM

Thank you for this - I am so happy to have found it - makes my life so much simpler and it looks so nice!

hrk 05-11-2008 06:35 PM

HI Paul

How to get the online /offline image to appear center?

thanks


All times are GMT. The time now is 01:19 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.01169 seconds
  • Memory Usage 1,754KB
  • 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
  • (10)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