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)

Abe1 04-18-2006 08:22 PM

Quote:

Originally Posted by redlabour
You have PM ! ;)

Just PMed you back. Taken care of for now. I will try to come up with a better solution though.

stinger2 04-18-2006 10:07 PM

hi Abe1
same problem here like mholtum
i had your version 3.4 and it worked perfectly.....when i imported the xml file for 4.1 ...suddenly the button disappeard.......(like mholtum)

i imported the xml for 3.4 back and every thing is normal again...

i checked it also with my test board (in my pc) ..same result...

there is some thing with xml file i think....

dai-kun 04-19-2006 05:32 AM

i thanks for ur hard work, everything works good for me :D

dinodonk 04-19-2006 08:39 AM

can we limit/control the thanked user display??
i am afraid there's lot of user thank in big forum... how if more than 5000 user thanks?

htrshgytrs 04-20-2006 02:22 AM

Quote:

Originally Posted by redlabour
Same at me - the Button is showing up but every Click on a Thanks Button brings me back to my Portal now.

Only uploaded the new *.xml

It only tries to get this URL : http://www.politikstube.de/forum/#38033 on Button. After 2 seconds it switches to Portal.

But the URL from Posting is : http://www.politikstube.de/forum/sho...33&postcount=4


Quote:

Originally Posted by Abe1
I may know why. Can I get access to your ACP? I'm not sure why the link would mess up so I have to test it on your site.

I'm having this exact problem, links are shown as above. Thanks are applied correctly, however the user is then redirected to the home page.

Did you find a fix/cause?

cheers
Steve

redlabour 04-20-2006 11:41 AM

Abe1 - after you fixed this by me my Users found out a new Bug. The Counters of "Thank yous" are back to zero after your fix and now not every Thanks is counted.

Za4a Tuner 04-20-2006 10:19 PM

I got some probs with the hack.

i had version 2.0 gold running @ my board,
and now i did an update to 4.0 and even 4.1 .

1. "Bug"
There is no Thanks-Button shown @ the postbit

2. "Bug"
At the memberinfos in the postbit there are even the old thanks shown (Thanks: 5),
but when i klick in the member.php (public profile) the link =>
Find all thanked posts by "username"
no thanked posts will be found!
Above is shown => "Total Thanks: 5 "

dai-kun 04-20-2006 11:03 PM

Bug? Or incompatible hack somewhere?
When you post your thank, the username is added to the thanks list. When you click on it, it directs to the member profile like it should (http://domain.com/forum/member.php?u=1).
After you refresh the page, the usernames in the thanks list change to (http://domain.com/forum/\"member.php?u=1\")

Abe1 04-21-2006 05:01 AM

Quote:

Originally Posted by stinger2
hi Abe1
same problem here like mholtum
i had your version 3.4 and it worked perfectly.....when i imported the xml file for 4.1 ...suddenly the button disappeard.......(like mholtum)

i imported the xml for 3.4 back and every thing is normal again...

i checked it also with my test board (in my pc) ..same result...

there is some thing with xml file i think....

Make sure you revert any templates you edited that belong to Post Thanks Hack.

Abe1 04-21-2006 05:04 AM

Quote:

Originally Posted by Za4a Tuner
I got some probs with the hack.

i had version 2.0 gold running @ my board,
and now i did an update to 4.0 and even 4.1 .

1. "Bug"
There is no Thanks-Button shown @ the postbit

2. "Bug"
At the memberinfos in the postbit there are even the old thanks shown (Thanks: 5),
but when i klick in the member.php (public profile) the link =>
Find all thanked posts by "username"
no thanked posts will be found!
Above is shown => "Total Thanks: 5 "

There where template changes since 2.0 until now. You should look at them and correct them in your edits.

Abe1 04-21-2006 05:06 AM

Quote:

Originally Posted by htrshgytrs
I'm having this exact problem, links are shown as above. Thanks are applied correctly, however the user is then redirected to the home page.

Did you find a fix/cause?

cheers
Steve

I cam eup with a temp fix for him. I removed all the 'href=' from the links.

Abe1 04-21-2006 05:06 AM

Quote:

Originally Posted by dai-kun
Bug? Or incompatible hack somewhere?
When you post your thank, the username is added to the thanks list. When you click on it, it directs to the member profile like it should (http://domain.com/forum/member.php?u=1).
After you refresh the page, the usernames in the thanks list change to (http://domain.com/forum/\"member.php?u=1\")

I'll have to look into that.

Abe1 04-21-2006 05:07 AM

Quote:

Originally Posted by redlabour
Abe1 - after you fixed this by me my Users found out a new Bug. The Counters of "Thank yous" are back to zero after your fix and now not every Thanks is counted.

User the recounters.

Abe1 04-21-2006 05:08 AM

Quote:

Originally Posted by dinodonk
can we limit/control the thanked user display??
i am afraid there's lot of user thank in big forum... how if more than 5000 user thanks?

I'll see what I can do.

stinger2 04-21-2006 06:22 PM

Quote:

Originally Posted by Abe1
Make sure you revert any templates you edited that belong to Post Thanks Hack.

thanks for the excellant support

template were reverted in my test forum(local host)which is an exact copy of the live......(i did not do it in live forum as i have other modification)
and since i had version 3.4 before....which works perfectly till now....

i went again to local (pc) removed the hack all together...reverted all 3 tempates member info..postbit...and navbar
and installed the hack again....same result

with the xml file from 3.4 the button is there (in postbit) but with xml from 4.1 it does not show up.....

i compared both xml but could not figure out why....

i only notice this difference regarding the buttom

version 3.4
Quote:

<template name="post_thanks_button" templatetype="template" date="1139322375" username="Abe" version="3.5.3"><![CDATA[<if condition="$vboptions[post_thanks_button]">
version 4.1
Quote:

<template name="post_thanks_button" templatetype="template" date="1145329668" username="Abe" version="3.5.4"><![CDATA[<script type="text/javascript">
i dont know if this is the reason?

Abe1 04-21-2006 06:48 PM

Quote:

Originally Posted by stinger2
thanks for the excellant support

template were reverted in my test forum(local host)which is an exact copy of the live......(i did not do it in live forum as i have other modification)
and since i had version 3.4 before....which works perfectly till now....

i went again to local (pc) removed the hack all together...reverted all 3 tempates member info..postbit...and navbar
and installed the hack again....same result

with the xml file from 3.4 the button is there (in postbit) but with xml from 4.1 it does not show up.....

i compared both xml but could not figure out why....

i only notice this difference regarding the buttom

version 3.4


version 4.1


i dont know if this is the reason?

I'm not sure. I would have to take a look. There is a huge change in the templates. The button itself is not even pulled from the post_thanks_button template. It's now pulled from the post_thanks_button_image template and put into the post_thanks_button template.

stinger2 04-21-2006 07:21 PM

the only way that i can show the button is when i replace in postbit under
<!-- controls -->


Quote:

$post_thanks_button
with
Quote:

$post_thanks_button_image
but at that time the button is non clickable

Abe1 04-21-2006 07:45 PM

Quote:

Originally Posted by stinger2
the only way that i can show the button is when i replace in postbit under
<!-- controls -->



with


but at that time the button is non clickable

$post_thanks_button_image is in the post_thanks_button template. I would ahve to see your acp to see why it doesn't work.

NeutralizeR 04-21-2006 10:12 PM

Uncached template post_thanks_box while viewing a pm.

Za4a Tuner 04-21-2006 10:55 PM

Quote:

Originally Posted by Abe1
There where template changes since 2.0 until now. You should look at them and correct them in your edits.

Hy Abe1,
i did the changes before i updated ->
and i did them now again =>
but the button want appear!

my way now:
first i did all all the templateschanges undone (reset of the templates: postbit, memberinfo and navbar),
and then i put the code of this hack (install.txt) back to the templates!

But i get no button to klick,
and the Link (Find all thanked posts by "username") is still "broken".

stinger2 04-22-2006 08:23 AM

Quote:

Originally Posted by Abe1
$post_thanks_button_image is in the post_thanks_button template. I would ahve to see your acp to see why it doesn't work.

thanks Abe1......but i sstill use 3.4 in the live forum......i did not do the upgrade there...i am testing it in my PC ......

i can copy what ever you like from my ACP in the pc for you........i dont know how to give you access there...

mfizzel 04-22-2006 05:21 PM

Abe, everything works great with the new version but my members have discovered a new error - the counter which displays how many posts they've been thanked in is not updating.

for ex. the member that brought this to my attention, I thanked his post, refreshed the page and he had still been thanked in the same amount of posts...

make sense?

saba 04-22-2006 05:38 PM

does it work with the hide hack

Abe1 04-23-2006 01:18 AM

Quote:

Originally Posted by NeutralizeR
Uncached template post_thanks_box while viewing a pm.

Will fix.

Abe1 04-23-2006 01:20 AM

Quote:

Originally Posted by Za4a Tuner
Hy Abe1,
i did the changes before i updated ->
and i did them now again =>
but the button want appear!

my way now:
first i did all all the templateschanges undone (reset of the templates: postbit, memberinfo and navbar),
and then i put the code of this hack (install.txt) back to the templates!

But i get no button to klick,
and the Link (Find all thanked posts by "username") is still "broken".

I'd have to look at your ACP.

Abe1 04-23-2006 01:21 AM

Quote:

Originally Posted by stinger2
thanks Abe1......but i sstill use 3.4 in the live forum......i did not do the upgrade there...i am testing it in my PC ......

i can copy what ever you like from my ACP in the pc for you........i dont know how to give you access there...

If you gave me your IP address I would be able to get in.

Abe1 04-23-2006 01:23 AM

Quote:

Originally Posted by mfizzel
Abe, everything works great with the new version but my members have discovered a new error - the counter which displays how many posts they've been thanked in is not updating.

for ex. the member that brought this to my attention, I thanked his post, refreshed the page and he had still been thanked in the same amount of posts...

make sense?

Will look into.

Abe1 04-23-2006 01:23 AM

Quote:

Originally Posted by saba
does it work with the hide hack

I didn't come up with an update for that hack yet. I'm sre if you refresh it should work.

chexx 04-23-2006 11:46 AM

Hi Abe,
cool pice...

Worked fine on a fresh 3.5.4 installation, but I had a problem when switching on the "Add Template Name in HTML Comments" feature. Got some strange errors in my browser and tracked them down to the "$post_thanks_button_image" template which gets included within a client script. The vb added comments around the template messed up in my browser...

As I'm new to vb - also new to web development so the comments help me alot - I solved this by changing two PlugIns

Code:

"Hook Location : postbit_display_start":
find: fetch_template('post_thanks_button_image')
repl: fetch_template('post_thanks_button_image',0,false)

"Hook Location : showthread_start":
find: fetch_template("post_thanks_button_image")
repl: fetch_template("post_thanks_button_image",0,false)

With this the "$post_thanks_button_image" template gets included w/o the comments, so this works fine for me. Did this on my local board, so side effects won't harm. Just wanted to say thank's and let you know...

bashy 04-23-2006 12:21 PM

I have just updated to the latest version as it was showing green....
Now its totally screwed my forum, When i click the thanks button it puts the whole forum in the the post that i am thanking?

I have to refresh the page to get rid of it and there is no thanks for the post showing on the post

Abe1 04-23-2006 12:48 PM

Quote:

Originally Posted by chexx
Hi Abe,
cool pice...

Worked fine on a fresh 3.5.4 installation, but I had a problem when switching on the "Add Template Name in HTML Comments" feature. Got some strange errors in my browser and tracked them down to the "$post_thanks_button_image" template which gets included within a client script. The vb added comments around the template messed up in my browser...

As I'm new to vb - also new to web development so the comments help me alot - I solved this by changing two PlugIns

Code:

"Hook Location : postbit_display_start":
find: fetch_template('post_thanks_button_image')
repl: fetch_template('post_thanks_button_image',0,false)

"Hook Location : showthread_start":
find: fetch_template("post_thanks_button_image")
repl: fetch_template("post_thanks_button_image",0,false)

With this the "$post_thanks_button_image" template gets included w/o the comments, so this works fine for me. Did this on my local board, so side effects won't harm. Just wanted to say thank's and let you know...

I know about this problem. I'm about to releace an update with it fixed.

Abe1 04-23-2006 12:49 PM

Quote:

Originally Posted by bashy
I have just updated to the latest version as it was showing green....
Now its totally screwed my forum, When i click the thanks button it puts the whole forum in the the post that i am thanking?

I have to refresh the page to get rid of it and there is no thanks for the post showing on the post

Try the update i'm about to release. If still bad, I'll have to look at your forum.

Abe1 04-23-2006 12:52 PM

Version 4.2 (4/23/06):
  • [FIXED] If you have vboption 'Add Template Name in HTML Comments' set to 'Yes', button was not showing.
  • [FIXED] Uncached template when viewing a PM
  • [FIXED] Getting sent to index page when clicking thanks on some forums.
  • [FIXED] Link to member's profile from the thank box.
  • [FIXED] The post thank count not updating. (Recommend you recount thanks. (ACP->Maintenance->Update Counters)

I believe this takes care of all current bugs. Please report here again if I didn't fix one.

I hope to add the 'limit/control how many thanks to show' will hopefully be added to a later version.

redlabour 04-23-2006 01:04 PM

Works great at me now.

bashy 04-23-2006 01:23 PM

Still the same Abe,
I will take the liberties and pm you admin if thats ok :)

Quote:

Originally Posted by Abe1
Try the update i'm about to release. If still bad, I'll have to look at your forum.


stinger2 04-23-2006 02:18 PM

Quote:

Originally Posted by Abe1
If you gave me your IP address I would be able to get in.


thanks Abe1

just read your comment and saw the update.........so i just imported 4.2 xml
and the button is showing perfectly now....

just for testing ..i reimported 4.1..button gone......reimported 4.2 button shows........

so i suppose the last fix had to do with it.....

thank you very much for the excellant support

Za4a Tuner 04-23-2006 11:21 PM

Hy Abe1,
thanks a lot for the new release => it works great!
Now the thanks-button does appear ;)

And my "reported bug" with the broken link in the "public profil" ... forget it :D
i had some bad days -> and didn't recognized, that the testuser in the testvb don't HAVE any thanks to show :D

? "clicked install for the update" ;)

efil 04-24-2006 06:31 PM

hi,
i did installed the Hack and it's working great.

my problem is that when i push the thanks button i get ?????????????? signs instead of "the following user say thank you for this useful post..."

just after i do refresh i get the sentence in hebrew.

https://vborg.vbsupport.ru/external/2006/04/6.gif


please help.

YLP1 04-25-2006 08:39 PM

I installed the latest version of the Thank You, Groan and the can't have groan and thank you mods.

I reverted all the mod templates (vb version is 3.5.4). All works except for the issue with the IE errors and the Thank you button on removing the thanks:

When I click on the thank you, no redirection occurs,the Thank You button is gone, the groan button is present and I receive an IE error (see graphic 1_1.gif).

I have to refresh my page in order to see the thank you given (see graphic 21.gif)

When I try to remove a thank you via the your thanks link.... no action is taken but I do receive an IE error (see graphic 3_1.gif for IE error and graphic that shows the Thank You still there after clicking "remove your thanks" link)

I am able to add a groan and remove a groan with no errors or IE errors.

I don't know what I did to break this but I did do a uninstall and reinstall but get the same issue.

Please advise on how I can fix this.

Thank you in advance.

Abe1 04-25-2006 08:58 PM

Quote:

Originally Posted by YLP1
I installed the latest version of the Thank You, Groan and the can't have groan and thank you mods.

I reverted all the mod templates (vb version is 3.5.4). All works except for the issue with the IE errors and the Thank you button on removing the thanks:

When I click on the thank you, no redirection occurs,the Thank You button is gone, the groan button is present and I receive an IE error (see graphic 1_1.gif).

I have to refresh my page in order to see the thank you given (see graphic 21.gif)

When I try to remove a thank you via the your thanks link.... no action is taken but I do receive an IE error (see graphic 3_1.gif for IE error and graphic that shows the Thank You still there after clicking "remove your thanks" link)

I am able to add a groan and remove a groan with no errors or IE errors.

I don't know what I did to break this but I did do a uninstall and reinstall but get the same issue.

Please advise on how I can fix this.

Thank you in advance.

I think I know why you would get the error. It has to do with the hack that blocks someone from thanking and groaning. I didn't release an update for it yet. I hope to in the near future.


All times are GMT. The time now is 04:59 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.02486 seconds
  • Memory Usage 1,862KB
  • 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
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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