vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=122944)

Abe1 07-31-2007 04:20 AM

Quote:

Originally Posted by mgurain (Post 1305879)
Hi,
The important question: will this version also reset the counters in case of upgrading from any older version ?

It shouldn't, but if it does, you can use the recounters.

ramta 07-31-2007 04:51 AM

excelente hack gracias amigo

req2d 07-31-2007 10:03 AM

Hi Abe1, have been using this for a while and thank you for it.

I currently have a custom setup where I'm only taking one value from the whole code for my postbit, i.e. :

https://vborg.vbsupport.ru/

I noticed the template edits in the update for 3 6 8 don't make use of this code for each element, can I still keep the old one? Many thanks :)

Abe1 07-31-2007 10:20 AM

Quote:

Originally Posted by req2d (Post 1306055)
Hi Abe1, have been using this for a while and thank you for it.

I currently have a custom setup where I'm only taking one value from the whole code for my postbit, i.e. :

http://img222.imageshack.us/img222/6...postbitgy2.jpg

I noticed the template edits in the update for 3 6 8 don't make use of this code for each element, can I still keep the old one? Many thanks :)

You can blank out templates you dont want.

dtommy79 07-31-2007 11:42 AM

Hi,

How can I put the thanks datas (Thanks: 1
Thanked 1 Time in 1 Post) in the posts under the Location, Join date, posts etc.?

dtommy79 07-31-2007 07:02 PM

Anyone?

Hornstar 08-01-2007 01:01 AM

Upgraded without a problem, will now test out the admincp features more, hopefully they are working now.

twilighthush 08-01-2007 08:46 PM

Okay, I'm trying to edit my post_thanks_postbit_legacy template so I can apply <div class="info"> around "Thanks: 0 / Thanked 0 Times in 0 Posts" ... but I can't seem to figure it out. I've tried a lot of different things. Currently, this is what it looks like:

Code:

<div class="info" style="padding:0px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="162">
<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&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>
</if>
<if condition="$post['show_thanks_remove_option']"><br />
<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>
</if>
</td>
<td class="alt1">
<div>$post[post_thanks_bit]</div>
</td>
</tr>
</table>
</div>

-- still nonfunctional. Please advise?

chiwexa 08-01-2007 09:12 PM

Hey, i don't have got a border around it. Pls can anyone help me?

Usually it should by like this:
https://vborg.vbsupport.ru/attachmen...5&d=1179188414

SCRIPT3R 08-01-2007 10:07 PM

Quote:

Originally Posted by twilighthush (Post 1307512)
Okay, I'm trying to edit my post_thanks_postbit_legacy template so I can apply <div class="info"> around "Thanks: 0 / Thanked 0 Times in 0 Posts" ... but I can't seem to figure it out. I've tried a lot of different things. Currently, this is what it looks like:

Code:

<div class="info" style="padding:0px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="162">
<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&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>
</if>
<if condition="$post['show_thanks_remove_option']"><br />
<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>
</if>
</td>
<td class="alt1">
<div>$post[post_thanks_bit]</div>
</td>
</tr>
</table>
</div>

-- still nonfunctional. Please advise?

is this what you're trying to accomplish?


All times are GMT. The time now is 12:59 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.03852 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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