vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=92410)

vibe 10-23-2005 07:26 PM

Quote:

Originally Posted by Abe1
You dont see a button since it maybe your post. The button will not show on a post made by you.

Not just my post I've tried testing it with others also.

However when I did 2.1a update $vbphrase[post_thanks_thanks] shows under the post instead of an image. So close.....man. Can you help?

post_thanks.gif is placed within buttons folder under my style, images folder.

Abe1 10-23-2005 07:31 PM

Quote:

Originally Posted by vibe
Not just my post I've tried testing it with others also.

However when I did 2.1a update $vbphrase[post_thanks_thanks] shows under the post instead of an image. So close.....man. Can you help?

post_thanks.gif is placed within buttons folder under my style, images folder.

There are 3 edits in the postbit template. Make sure their all by the right spot.

Valter 10-23-2005 07:41 PM

Nice update, thanks.

Markco 10-23-2005 08:07 PM

I have an error in postbit_legacy view

The Following Test Users Say Thank You to [ARG:2 UNDEFINED] For This Useful Post:

Valter 10-23-2005 09:23 PM

Quote:

Originally Posted by Markco
I have an error in postbit_legacy view

The Following Test Users Say Thank You to [ARG:2 UNDEFINED] For This Useful Post:

Same error :(

Tulsa 10-23-2005 09:35 PM

I have that same error.

Valter 10-23-2005 10:24 PM

To fix this problem open template post_thanks_postbit_legacy

Find:
Code:

<if condition="$number_rows == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
<else /><strong><phrase 1="$post[post_thanks_amount]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if>

And replace it with:
Code:

<if condition="$number_rows == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
<else /><strong><phrase 1="$post[post_thanks_amount]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if>


:)

Tulsa 10-23-2005 10:40 PM

Quote:

Originally Posted by Cybernetec
To fix this problem open template post_thanks_postbit_legacy

Find:
Code:

<if condition="$number_rows == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
<else /><strong><phrase 1="$post[post_thanks_amount]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if>

And replace it with:
Code:

<if condition="$number_rows == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
<else /><strong><phrase 1="$post[post_thanks_amount]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if>


:)

That did it! :) Thanks...

Abe1 10-23-2005 11:07 PM

Quote:

Originally Posted by Markco
I have an error in postbit_legacy view

The Following Test Users Say Thank You to [ARG:2 UNDEFINED] For This Useful Post:

The zip has been updated. Just re-upload the product xml.

vibe 10-23-2005 11:21 PM

How do I put a small gif on top of the message, want to make it stand out a little more. Please see attachment.


All times are GMT. The time now is 10:40 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.01917 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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