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)

Ncturnal 12-11-2005 02:53 AM

It should be right next to your "Edit" button. You may want to recheck your template modifications.

Bubble #5 12-11-2005 04:38 AM

No, we're not talking about where the button goes, we're talking about the code that feeds this:

HTML Code:

$post_thanks_button
It is aligning LEFT, even though it is wrapped in center tags.

HTML Code:

<center><if condition="$show['quickreply'] AND !$show['threadedmode']"><a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a></if>

<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->

<if condition="$post['editlink']"><a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a></if></center>

All of the other buttons in our fieldset align center as they should. The post thanks button is the ONLY one that aligns left :ermm: When a thread is closed the edit and quick reply buttons do not appear, just the thanks button appears, only it aligns left :ermm: We need to fix that or we cannot use the hack, and we'd really like to use it. We just need to know where that button is picking up the left align from...

Abe1 12-11-2005 02:55 PM

Quote:

Originally Posted by Bubble #5
No, we're not talking about where the button goes, we're talking about the code that feeds this:

HTML Code:

$post_thanks_button
It is aligning LEFT, even though it is wrapped in center tags.

HTML Code:

<center><if condition="$show['quickreply'] AND !$show['threadedmode']"><a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a></if>

<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->

<if condition="$post['editlink']"><a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a></if></center>

All of the other buttons in our fieldset align center as they should. The post thanks button is the ONLY one that aligns left :ermm: When a thread is closed the edit and quick reply buttons do not appear, just the thanks button appears, only it aligns left :ermm: We need to fix that or we cannot use the hack, and we'd really like to use it. We just need to know where that button is picking up the left align from...

The code is in the plugin. I will move it to a template some day in the future.

Tulsa 12-11-2005 03:29 PM

[high]* Tulsa drops a reminder in Abe's ear, "groan button". ;)[/high]

Abe1 12-11-2005 03:32 PM

Quote:

Originally Posted by Tulsa
[high]* Tulsa drops a reminder in Abe's ear, "groan button". ;)[/high]

Thanks. Any other feature people are waiting for?

Dollah 12-11-2005 04:00 PM

i had to unistall it and now when i got to reinstall its not showing the template mods i need to do. i'm usuing 3.5.1 havent upgraded as of yet

Abe1 12-11-2005 06:49 PM

Quote:

Originally Posted by Dollah
i had to unistall it and now when i got to reinstall its not showing the template mods i need to do. i'm usuing 3.5.1 havent upgraded as of yet

The template mods are in the zip file.

siriuxs 12-11-2005 08:48 PM

Hi, I want installed the hack, but i don't see a button tank...:S Why?

Bubble #5 12-11-2005 10:15 PM

Quote:

Originally Posted by Abe1
The code is in the plugin.

Can we get to the code through the ACP in anyway?

Bubble #5 12-11-2005 10:17 PM

Quote:

Originally Posted by siriuxs
i don't see a button tank...:S Why?

Did you double check your template installs?

Did you upload the button to the correct place on the server?


All times are GMT. The time now is 10:51 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.01754 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
  • (4)bbcode_html_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