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)

HansMuenchen 03-24-2010 07:11 AM

Quote:

Originally Posted by taxick (Post 2008855)
Samme error :mad: - Tagget and Uninstalled :erm:

Error :

Quote:

MySQL-Error : Table 'admin_cst.vb3_search' doesn't exist
Error-Number. : 1146
With the latest Version not fixed.
So it would be nice if it can be fixed soon.
Thank you!

Greetings
Hans

A693BCBAFD72 03-24-2010 09:15 AM

Hello and thank you for your work Abe1. I am also facing the non-existing "search" table as well. It looks like post_thanks.php is calling that table "search" that in version 4.0.2 does not exist anymore. If post_thanks.php is calling the DB, that table should be installed with the *.xml product. Not to mention that all files are in the right place uploaded. Somewhere in the *.php file still exists that DB query for a non-existing table.
Any help will be much appreciated.

Thanks in advance.
Cheers.

Mastergumble 03-24-2010 04:41 PM

Quote:

Originally Posted by A693BCBAFD72 (Post 2009260)
Hello and thank you for your work Abe1. I am also facing the non-existing "search" table as well. It looks like post_thanks.php is calling that table "search" that in version 4.0.2 does not exist anymore. If post_thanks.php is calling the DB, that table should be installed with the *.xml product. Not to mention that all files are in the right place uploaded. Somewhere in the *.php file still exists that DB query for a non-existing table.
Any help will be much appreciated.

Thanks in advance.
Cheers.

Its a common problem, sadly Abe seems to be busy and there is no info since first weeks of January, hope soon we can get some feedback i still have it working without major problems so far but holding it for my new project till everything work as it should.

djbaxter 03-24-2010 05:33 PM

Quote:

Originally Posted by stormzone (Post 2008120)
no interest on this bug?

Just don't use select/deselect all until vBulletin fixes things. It is a minor annoynace but it's not all that frequently that you need to use select all.

jnrdavo 03-24-2010 07:47 PM

Has anybody found the way to change the 'The Following User Says Thank You to xxx For This Useful Post: ' section to be reversed, like it is in Vbulletin 308? I think it looks much better that way..

djbaxter 03-25-2010 12:11 AM

Quote:

Originally Posted by jnrdavo (Post 2009602)
Has anybody found the way to change the 'The Following User Says Thank You to xxx For This Useful Post: ' section to be reversed, like it is in Vbulletin 308? I think it looks much better that way..

Find and edit the following two phrases:
  • post_thanks_user_says (The Following User Says Thank You to {1} For This Useful Post:)
  • post_thanks_users_say (The Following {1} Users Say Thank You to {2} For This Useful Post:)

jnrdavo 03-25-2010 03:11 AM

Quote:

Originally Posted by djbaxter (Post 2009734)
Find and edit the following two phrases:
  • post_thanks_user_says (The Following User Says Thank You to {1} For This Useful Post:)
  • post_thanks_users_say (The Following {1} Users Say Thank You to {2} For This Useful Post:)

Thanks, it's not the phrase as such (ie, not the wording), but the format of the wording.

in vbulletin 3, the top line is in reverse, so it's separates the thread a bit better...

I think I should be editing the style, but any help appreciated :-)

grc 03-25-2010 12:40 PM

Quote:

Originally Posted by jnrdavo (Post 2009798)
Thanks, it's not the phrase as such (ie, not the wording), but the format of the wording.

in vbulletin 3, the top line is in reverse, so it's separates the thread a bit better...

I think I should be editing the style, but any help appreciated :-)

I think you're interested in changing the font size/style of the line? If so, you might want to try my solution. (Just be sure to heed my cautions about it :) )

https://vborg.vbsupport.ru/showpost....&postcount=560

Bisha 03-25-2010 10:03 PM

I'm going to unistall, to much db errors

archet1337 03-25-2010 10:12 PM

I have this mod installed on 4.0.2 PL3 and it's working perfectly. Haven't seen a single error. Also worked like a charm on PL1 and PL2 if that matters.

s0lidgr0und 03-26-2010 09:52 PM

Quote:

Originally Posted by Bisha (Post 2010285)
I'm going to unistall, to much db errors

Good choice, seeing you can't get it to work.

Quote:

Originally Posted by archet1337 (Post 2010290)
I have this mod installed on 4.0.2 PL3 and it's working perfectly. Haven't seen a single error. Also worked like a charm on PL1 and PL2 if that matters.

Same here. I don't think I've ever had any huge problem with this mod.

djbaxter 03-26-2010 10:03 PM

It does work well, except for the fact that the search features aren't implemented but the add-on contains the old search code and somehow some members andf spiders are finding a way to trigger a search - this is what generates the error messages. Doesn't affect functionality of the add-on at all, though.

nkumaran 03-27-2010 05:20 PM

Quote:

Originally Posted by mcloud (Post 2005260)
in post_thanks_postbit_info template, looking for {vb:stylevar right} and replace with {vb:stylevar left}

Thank you

TonicWater 03-27-2010 06:25 PM

hi, when will it be possible to search "thank you" posts on the profile page. "thank you" which you get and "thank you" which you gave. This was possible in the 3.8. version. My users are bedding for that :)

f4vn 03-27-2010 08:27 PM

hi all,

Anyone knows how to collapse/expand the list of the thanked ?

jnrdavo 03-29-2010 12:19 AM

Quote:

Originally Posted by grc (Post 2010002)
I think you're interested in changing the font size/style of the line? If so, you might want to try my solution. (Just be sure to heed my cautions about it :) )

https://vborg.vbsupport.ru/showpost....&postcount=560

Yeah, but not the font size. I would like the vbulletin 4 one to look like the vbulletin 3.8 one. It has a reversed heading (so I would need to change the paragraph to a header colour, then the font to white).....

Does that make sense?

grc 03-29-2010 01:38 AM

Quote:

Originally Posted by jnrdavo (Post 2011970)
Yeah, but not the font size. I would like the vbulletin 4 one to look like the vbulletin 3.8 one. It has a reversed heading (so I would need to change the paragraph to a header colour, then the font to white).....

Does that make sense?

Yes, I understand, but I'm afraid that doing those things is out of my league. Perhaps someone else will be able to help you.

mattpist 03-29-2010 05:31 AM

i installed this, but the legacy postbit kinda looked cruddy so i disabled it. now it looks like this:

http://img163.imageshack.us/img163/4...01012259am.png

can you tell me why this is happening?

wayne.richards@ 03-29-2010 02:17 PM

If you move your forum to a new host this hack will stop you clicking on then reading any threads after the move, you just get a blank page, easy fix though, just disable it, re upload the XML file allowing overwrite then re-enable the hack.

This hack has proved very popular on my forum and is still running fine on 4.0.2 PL4

dtommy79 03-29-2010 06:12 PM

1 Attachment(s)
Hungarian translation attached

fferre 03-30-2010 03:05 PM

Hello. I'm having a problem importing it. It never stops. It's like it keep in a infinite loop. any idea what's happening?

anupam_luv 03-30-2010 08:16 PM

Quote:

Originally Posted by mcloud (Post 2005260)
in post_thanks_postbit_info template, looking for {vb:stylevar right} and replace with {vb:stylevar left}

Along with that just insert <br> at the end of this template (if u have blogs then blog entries count will show smwhr else. ) by doing this, will solve the problem....
(U may not notice if u dont have blogs installed)

sirishkumart 03-31-2010 04:34 AM

I was trying to install the "Post Thanks" in my vbulletin 4.0.2 installation. Uploaded all the files as specified in the instructions.txt file. Then went to "Plugin & Products System" -> entered file path in the "import the XML file from your server" (path as "./includes/xml/cpnav_post_thanks.xml") text box , selected "yes" for the overwrite option and clicked "import".

It is showing the message.. "Invalid file specified". If I give a wrong file name, then it is showing "No file uploaded and no local file found."

My site is hosted on IIS 6.

Can you please help me in resolving the issue.

sirishkumart 03-31-2010 04:55 AM

Quote:

Originally Posted by sirishkumart (Post 2013259)
Then went to "Plugin & Products System" -> entered file path in the "import the XML file from your server" (path as "./includes/xml/cpnav_post_thanks.xml") text box , selected "yes" for the overwrite option and clicked "import".

It is showing the message.. "Invalid file specified". If I give a wrong file name, then it is showing "No file uploaded and no local file found."

Can you please help me in resolving the issue.

Ignore my previous post. I found the answer. I was trying to import "cpnav_post_thanks.xml", instead of importing "product-post_thanks.xml". I resolved it.:up:

Greight 03-31-2010 06:59 AM

Can someone tell me how I can change font size and probably color? The current size and color seem too much interfering with the whole flow of posts.

grc 03-31-2010 11:52 AM

Quote:

Originally Posted by Greight (Post 2013290)
Can someone tell me how I can change font size and probably color? The current size and color seem too much interfering with the whole flow of posts.

See if this helps:
https://vborg.vbsupport.ru/showp...&postcount=560

iazooooz 03-31-2010 12:21 PM

thanx

safakuygur 03-31-2010 03:10 PM

very nice thansk

Greight 03-31-2010 04:22 PM

Quote:

Originally Posted by grc (Post 1986809)
Since Abe seems to be busy with other things, I went ahead and hacked the font size on the "Following Users Say..." line on the forums.

Listen, I'm not a coder and all I can say is that it works on my forum -- follow at your own risk and be sure you can go backwards if needed.

Anyway...

In post_thanks_postbit find:
HTML Code:

<h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
If you're using the legacy (vertical) postbit template: change the word "title" to "bitlegacy"

Otherwise change the word "title" to "content"

Again: I'm no coder - try it at your own risk.

This only changes the first line. The second line is still big. As I do not know about php coding I have no idea what variables should be changed. Can someone give me a hand in this?

Greight 03-31-2010 07:13 PM

Another thing needed is that the thank givers list must have an option in admin cp to become hidden and can be toggled with a slide effect.

Qatif 04-01-2010 07:45 AM

A wonderful addition

Regards

desirulez 04-01-2010 01:57 PM

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/post_thanks.php on line 57

i got this error couple of times is it because im using 4.0.2?

Gursimran 04-01-2010 02:16 PM

it is giving me this error whenever someone hits thanks
Quote:

Database error in vBulletin 4.0.2:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '216.129.119.44', 1, 'kamena', '', 'post.dateline', 'DESC', 0.02024, 1, '68244,67192,65715,65241,64400,63989,63672,63579,6 3461,63445,63440,63356', 1270133814, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:7721;s:6 :\"kamena\";}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\";}}', 'b670002f01f717b90617aa618d41fef3');

MySQL Error : Table '*****.vb_search' doesn't exist
Error Number : 1146
Request Date : Thursday, April 1st 2010 @ 08:26:54 PM
Error Date : Thursday, April 1st 2010 @ 08:26:54 PM
Script : http://******/forum/post_thanks.php?...dthanks&u=7721
Referrer :
IP Address : 216.129.119.44
Username : Unregistered
Classname : vB_Database
MySQL Version :

badawidollah 04-01-2010 02:25 PM

you here to bro gursimran

buontaiviem 04-01-2010 02:27 PM

Quote:

Originally Posted by Gursimran (Post 2014055)
it is giving me this error whenever someone hits thanks

got this error too :(

Gursimran 04-01-2010 03:18 PM

Quote:

Originally Posted by badawidollah (Post 2014063)
you here to bro gursimran

yep :P

Julie 04-02-2010 04:39 PM

Thanks for upgrading this to 4.0! :) *upgrades*

bruschetta 04-02-2010 10:18 PM

Quote:

Originally Posted by Gursimran (Post 2014055)
it is giving me this error whenever someone hits thanks

I solved this mod:

https://vborg.vbsupport.ru/showpost....&postcount=396

using notepad++ you put a second

djbaxter 04-02-2010 11:05 PM

1 Attachment(s)
Quote:

Originally Posted by imagirlgeek (Post 1958396)
What I did to resolve this was to comment out these lines in post_thanks.php...

PHP Code:

        $db->query_write("
            REPLACE INTO " 
TABLE_PREFIX "search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
            VALUES (" 
$vbulletin->userinfo['userid'] . ", '" $db->escape_string(IPADDRESS) . "', 1, '" $db->escape_string($user['username']) . "', '" $db->escape_string($forumchoice) . "', 'post.dateline', 'DESC', $searchtime, 1, '" $db->escape_string(implode(','$orderedids)) . "', " TIMENOW ", '" $db->escape_string(serialize($display)) . "', '" $db->escape_string($searchhash) . "')
        "
);
        
$searchid $db->insert_id();

        
$vbulletin->url 'search.php?' $vbulletin->session->vars['sessionurl'] . "searchid=$searchid";
        eval(
print_standard_redirect('search')); 

I found this query on lines 278 - 285, 413 - 420, and 527 - 534. I commented out all of them 3 days ago and haven't received this error and also haven't seen any adverse effects.

Hope this helps!

Thank you. Trying this now.

To make it easier for others, if you want to try this fix, I've attached the the revised post_thanks.php file. Save a backup of the old one and upload this new one to the root directory for your forum.

Vaira 04-04-2010 11:23 AM

Abe1,

I would like to thank you for it. It's a really great addition to my forums!

I have installed it and running 4.0.2 PL4. There are no major issues.
I can confirm that it runs fine. I don't have another mod installed, so nothing could interfere with.

Some minor issues I could resolve with the useful info posted at this thread.

I know you are busy and I would like to use your hack all the time. Therefore I would like to know if you are still supporting this version and if you have planned to add a search function to it as well to make it complete.

A short reply about would be nice.

Thanks again. :)

Vaira (Yen)


All times are GMT. The time now is 03:13 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.02823 seconds
  • Memory Usage 1,863KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (21)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
  • (40)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