vb.org Archive

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

rizelim 05-13-2008 07:04 PM

thanks

nasko 05-13-2008 07:20 PM

Hi, every time i click "Thanks" button i get javascript error and then the page is reloading and thanks count increased. How can i fix this to not to refresh the page?

Here is javascript error copy/paste from FireFox error console:
Error: post_thanks_give is not defined
Source File: http://domain.com/forums/showthread....429#post184429
Line: 1

Aren 05-14-2008 09:17 AM

No way :(

Some users keep getting the missing security token error. Is there anything that may be cached by the browser and is not updated even when uploading the new files?

That's the only thing I can think of, but some people tried to empty their browser's cache and it made no difference :(

Any additional idea what is going wrong?

mojo8850 05-14-2008 02:52 PM

Awesome Hack Thanks Buddy, Oh I Have Clicked Install :):)

choccyclaire 05-14-2008 05:32 PM

Quote:

Originally Posted by readjono (Post 1518117)
Something I'd like to see is the option to remove the thanks information from postbit. I post forum downloads and I'd rather people clicked thanks than posted it. But as I'm the only one posting I'm the only one receiving thanks so rather the info didn't appear in the postbit.

Try deleting the post_thanks_postbit template?

Mrdby 05-14-2008 06:09 PM

i'm still using the 3.6 and it works fine for me.

Abe1 05-14-2008 10:54 PM

Quote:

Originally Posted by zekiturk (Post 1518008)
I have from 7.2 to 7.5 update, and now I get errors when I click button thanks

Please revert any template edits you made to a post thanks template.

Abe1 05-14-2008 10:55 PM

Quote:

Originally Posted by lighthazard (Post 1518054)
Problem:

You didn't upload the files to the right place then.

Abe1 05-14-2008 10:56 PM

Quote:

Originally Posted by BadgerDog (Post 1518079)
Hi Abe1 ... :)

I've been running v7.4 with v3.67pl1 without problems that I'm aware of. Just for clarity and since the text files no longer reference versions prior to vBulletin 3.7, is it ok to upgrade to v7.5, or should I just leave it?

Thanks

Regards,
Badger

Check the update notes. Compatible with 3.7 only. Sorry.

jw00dy 05-15-2008 12:10 AM

Quote:

Originally Posted by Abe1 (Post 1450178)
You have to move the $template_hook near the controls then.

I don't follow what you mean here. I would like to move the button too, but I'm not sure where I move the template hook at? Meaning in the postbit template its self? Where exactly?

TIA -- Great mod BTW.

bxbigt 05-15-2008 03:27 AM

Thanks!!

balance12 05-15-2008 12:55 PM

It dont shows me The Thanks Buttton

bryanb 05-15-2008 02:24 PM

Great mod - and I've been using this for a long time.:up:

Question - is there a way to "weigh" the rep points given for a "thanks" in particular forums? For instance, on my message board, a "thanks" is worth 5 rep points given. But there are some forums that are off topic (like a "jokes" forum, etc.) I have some members that have a huge amount of rep points, but they post mainly in off topic areas. I know that one can shut off the "thanks" in selected forums, but I'd still like the "thanks" to be available there. For instance thanks in the "jokes" section are worth 1 rep point, "thanks" in the on-topic areas are worth 5.

Make sense?

Is this possible? :)

Saudi Zoom 05-15-2008 06:04 PM

Thank you for updating... but the vbseo issue still not fixed :o

balance12 05-16-2008 11:21 AM

It dont shows me The Thanks Buttton

Sunsetdriver 05-16-2008 05:06 PM

It doesn't work. The forum doesn't load. :(

I can access forums but as soon as I click on a thread I've got this message displayed:



This is the error:
Code:

Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT * FROM ****_post_thanks AS post_thanks INNER JOIN ****_user AS user USING (userid) WHERE post_thanks.postid IN (0,1452250,1452480,1452505,1452701,1452705,1452707,1452744) ORDER BY post_thanks.username ASC;

MySQL Error  : Table '*****_forumvb.*****_post_thanks' doesn't exist
Error Number  : 1146
Request Date  : Friday, May 16th 2008 @ 01:04:14 PM
Error Date    : Friday, May 16th 2008 @ 01:04:17 PM
Script        : http://www.********.com/forum/showthread.php?t=5***8&page=5
Referrer      : http://www.******.com/forum/forumdisplay.php?f=11
IP Address    : **.**.***.**
Username      : ********
Classname    : vB_Database
MySQL Version : 4.1.22-standard

Fresh install of this hack (never before used) on a vb 3.6.10-->3.7.0 board

Sunsetdriver 05-16-2008 05:10 PM

Update. The errors happen ONLY in forums where the hack is enabled.

Sunsetdriver 05-16-2008 05:19 PM

Another note. During both installat/uninstall of the hack the page keeps loading without 'product uninstalled' message displayed.
Any help, please? :confused:

Zagis 05-17-2008 08:37 AM

@Abe1
Is it possible to add a "Hide Post Thanks Given" option for certain usergroups (guests for example) in a future update?

A.Chakery 05-17-2008 08:49 AM

Quote:

Originally Posted by jalmz (Post 1504167)
Uninstall because of this glitch
http://img134.imageshack.us/img134/69/59529251ma0.png

3.7 Gold
Element

i have got the same problem here on my forum,

Wseries 05-17-2008 02:11 PM

Quote:

Originally Posted by Abe1 (Post 1450178)
You have to move the $template_hook near the controls then.

I too want to move the thanks button over. Exactly which hook in which template am I looking for?

SNATCH3R 05-17-2008 03:27 PM

Thanks and Installed.......... :)

Zagis 05-17-2008 03:30 PM

Quote:

Originally Posted by Wseries (Post 1522608)
I too want to move the thanks button over. Exactly which hook in which template am I looking for?

$template_hook[postbit_controls] in postbit template

Wseries 05-17-2008 04:03 PM

I've just realised while editing templates for another mod that I should've been editing the postbit_legacy template. Thanks anyway Zagis. :)

Spinball 05-17-2008 07:41 PM

Abe, in post_thanks_postbit_legacy template, could you please replace
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
near the start with
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
to be compliant with the rest of the templates? If I don't use the
Quote:

cellspacing="$stylevar[cellspacing]"
I don't get a nice border round the thanks box like I do with the rest of the posts.
And I'm bored with editing it every time.
Thanks :).

Gino1012 05-18-2008 05:59 AM

whats the code?

dadoc 05-18-2008 06:51 AM

This is a great mod I removed my reputation mod
and installed this on both my forums

*Installed x 2 *

Thankyou :D

swoop 05-18-2008 09:37 AM

Can someone help please, i get this error when its installed.
syntax error, unexpected T_STRING in forum/post_thanks.php on line 1

swoop 05-18-2008 09:57 AM

I have reinstalled the hack again and keep getting this message on the page where you say thanks, any help would be appreciated.

A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

Abe1 05-18-2008 11:50 AM

Quote:

Originally Posted by nasko (Post 1518637)
Hi, every time i click "Thanks" button i get javascript error and then the page is reloading and thanks count increased. How can i fix this to not to refresh the page?

Here is javascript error copy/paste from FireFox error console:
Error: post_thanks_give is not defined
Source File: http://domain.com/forums/showthread....429#post184429
Line: 1

Make sure all the files are up to date.

Switch02 05-18-2008 11:51 AM

Updated but still the links "Find all thanked posts by" and "Find all posts thanked by" doesn't work in my style.

Abe1 05-18-2008 11:51 AM

Quote:

Originally Posted by swoop (Post 1523295)
I have reinstalled the hack again and keep getting this message on the page where you say thanks, any help would be appreciated.

A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

I would have to take a look at your forum

Abe1 05-18-2008 11:52 AM

Quote:

Originally Posted by Switch02 (Post 1523413)
Updated but still the links "Find all thanked posts by" and "Find all posts thanked by" doesn't work in my style.

What doesn't work? Doesn't show?

Abe1 05-18-2008 11:55 AM

Quote:

Originally Posted by Saudi Zoom (Post 1520816)
Thank you for updating... but the vbseo issue still not fixed :o

Sorry, i have no way of duplicated the error.

Abe1 05-18-2008 11:58 AM

Quote:

Originally Posted by Sunsetdriver (Post 1521801)
It doesn't work. The forum doesn't load. :(

I can access forums but as soon as I click on a thread I've got this message displayed:



This is the error:
Code:

Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT * FROM ****_post_thanks AS post_thanks INNER JOIN ****_user AS user USING (userid) WHERE post_thanks.postid IN (0,1452250,1452480,1452505,1452701,1452705,1452707,1452744) ORDER BY post_thanks.username ASC;

MySQL Error  : Table '*****_forumvb.*****_post_thanks' doesn't exist
Error Number  : 1146
Request Date  : Friday, May 16th 2008 @ 01:04:14 PM
Error Date    : Friday, May 16th 2008 @ 01:04:17 PM
Script        : http://www.********.com/forum/showthread.php?t=5***8&page=5
Referrer      : http://www.******.com/forum/forumdisplay.php?f=11
IP Address    : **.**.***.**
Username      : ********
Classname    : vB_Database
MySQL Version : 4.1.22-standard

Fresh install of this hack (never before used) on a vb 3.6.10-->3.7.0 board

Any reason you know why the table post_thanks was not created?

Switch02 05-18-2008 11:59 AM

Quote:

Originally Posted by Abe1 (Post 1523416)
What doesn't work? Doesn't show?

yes when i try to click on it i have the vBulletin Error "Sorry - no matches. Please try some different terms."

Abe1 05-18-2008 12:02 PM

Quote:

Originally Posted by Spinball (Post 1522874)
Abe, in post_thanks_postbit_legacy template, could you please replace
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
near the start with
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
to be compliant with the rest of the templates? If I don't use the I don't get a nice border round the thanks box like I do with the rest of the posts.
And I'm bored with editing it every time.
Thanks :).

Added for next version.

Abe1 05-18-2008 12:02 PM

Quote:

Originally Posted by Switch02 (Post 1523425)
yes when i try to click on it i have the vBulletin Error "Sorry - no matches. Please try some different terms."

I would have to look at your forum.

Switch02 05-18-2008 12:07 PM

Quote:

Originally Posted by Abe1 (Post 1523432)
I would have to look at your forum.

ok thanks

Sunsetdriver 05-18-2008 02:21 PM

Quote:

Originally Posted by Abe1 (Post 1523424)
Any reason you know why the table post_thanks was not created?

I really don't know. It keeps loading the page with the 'adding product...' message without finalizing. However I went to cpanel and the 'post_thanks' table was created.
As I've said, I've already installed other hacks which create tables in database, so I don't know why this one isn't working. :erm:


All times are GMT. The time now is 09:27 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.03543 seconds
  • Memory Usage 1,834KB
  • 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
  • (4)bbcode_html_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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