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-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".


All times are GMT. The time now is 06:23 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.02115 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
  • (12)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