vb.org Archive

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

Globus 01-13-2010 09:10 AM

Quote:

Originally Posted by meissenation (Post 1949563)
I fixed the alignment issue by changing the post_thanks_postbit_info template to be the following:

HTML Code:

<vb:if condition="$post['userid']">
        <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
        <vb:if condition="$post['post_thanks_thanked_times'] == 1">
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
        <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
        <vb:else />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
        </vb:if>
</vb:if>

(I changed all the "float: {vb:stylevar right}" to be left.)

Thank You!:)

Deirdre 01-13-2010 08:40 PM

Quote:

Originally Posted by Darkimmortal (Post 1953600)
Code:

Database error in vBulletin 4.0.0:

Invalid SQL:

            REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
            VALUES (0, '208.115.111.242', 1, 'shadiku', '', 'post.dateline', 'DESC', 0.00142, 1, '45432,45054,44755', 1263311386, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:205;s:7:\"shadiku\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', 'e2029801f80096dbfd74e69cd2d66539');

MySQL Error  : Table 'forum.search' doesn't exist
Error Number  : 1146
Request Date  : Tuesday, January 12th 2010 @ 03:49:46 PM
Error Date    : Tuesday, January 12th 2010 @ 03:49:46 PM
Script        : http://www.gamingmasters.co.uk/post_thanks.php?do=findthanks_user_gave&u=205
Referrer      :
IP Address    : 208.115.111.242
Username      : Unregistered
Classname    : vB_Database
MySQL Version :

Along with a load of other similar errors for do=findthanks

The "search" table doesn't exist in stock vB4.

I'm getting the same error. The template was reverted back before the upgrade. How can we find where this link is? What I have found is that the ips are from bots that crawl the site so is there anything we can do?

RedHacker 01-14-2010 08:09 AM

Abe1 not work with 4.0.1 Version....

iyama 01-14-2010 03:29 PM

Quote:

Originally Posted by RedHacker (Post 1955245)
Abe1 not work with 4.0.1 Version....

+1 include

War.Frog 01-14-2010 06:10 PM

Mine works fine with 4.01.

steve1966 01-14-2010 06:24 PM

Quote:

Originally Posted by meissenation
I fixed the alignment issue by changing the post_thanks_postbit_info template to be the following:.)
Code:

<vb:if condition="$post['userid']">
        <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
        <vb:if condition="$post['post_thanks_thanked_times'] == 1">
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
        <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
        <vb:else />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
        </vb:if>
</vb:if>(I changed all the "float: {vb:stylevar right}" to be left.)

thanks

Alibass 01-14-2010 07:45 PM

Quote:

Originally Posted by War.Frog (Post 1955799)
Mine works fine with 4.01.

Works fine on 4.0.1 for me too......

nikosb 01-14-2010 08:01 PM

Works for me on 4.0.1
Installed.
Thank you!

RedHacker 01-14-2010 08:04 PM

Sorry i forget something i will check now....

RedHacker 01-14-2010 08:12 PM

Its worked perfect for 4.0.1....


All times are GMT. The time now is 06:17 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.04528 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)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
  • (4)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