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)

imk 10-19-2008 10:06 PM

could somone please tell me and show me the code edit i need to just show the

Thanked: and the number of times in my postbit

nothing else.....

realmr 10-20-2008 08:08 AM

is it possible to display all thanked users below the last post I have set only 1 thank per thread option

Gn_Snake 10-20-2008 11:27 AM

Quote:

Originally Posted by Gn_Snake (Post 1625114)
Hi for all,
i have one problem, when I receive thanks and click over to the notification me it does not visualize the page of thanks but the visualize the page thread subscribe ...any idea ???
I have installed Vbexperience.

Thanks

anyone can help me solve this?

Boosted Panda 10-20-2008 03:31 PM

1 Attachment(s)
Hey everyone I can help out a bit here since I have modified the thanks system a bit on my forum.

For people wanting to change the phrases:

Goto the Phrase Manager -> Search Phrases -> "thanked"
post_thanks_times_posts

The standard phrase is: Thanked {1} Times in {2} Posts

If you want to remove the Thanked: X in X posts... replace the phrase with: Thank: {1}

What this will do is display

Thanks: X

Looks much better in my opinion.

Now to post JUST the Thanks part in the post bit and none of the other garbage here is the code below.

PHP Code:

<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]border="0" /></a

I attached a screen shot. The thanks are labeled "treats" on my forum.

AteNa 10-24-2008 07:32 AM

Hey ...

I've just installed Post Thank You Hack ...

But there is a problem ... i can use it ...

What does it mean :

Warning: require_once(/srv/www/vhosts/forum/forum/includes/functions_post_thanks.php): failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 7
Fatal error: require_once(): Failed opening required '/srv/www/vhosts/forum/forum/includes/functions_post_thanks.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/vhosts/forum/forum/includes/class_postbit.php(268) : eval()'d code on line 7


What should i do ??

ArnyVee 10-24-2008 06:16 PM

I've been using this mod on my 3.7.1 for the longest with no issues at all :D

But today, I tried to install it on my 3.7.3 'test' forum to make sure that it's working and it doesn't seem to be working. I'm getting a 'link' with the word "thanks" rather than the image. And, when I click on it, it doesn't add anything to the "thanked" count and there is no 'thanked' box that shows.

Is there a fix for this that anyone knows about?

germinus 10-24-2008 08:35 PM

I find it highly amuseing that every post asking for help with security token errors gets completely ignored, I take it this mod is now out of date?

redlabour 10-24-2008 08:39 PM

Quote:

Originally Posted by redlabour (Post 1648409)
Bug:

Watch the Screenshot (RED) - how to fix this to get this in a normal order?

Or please add a own Category in Quicklinks for Thanks and Groan.

And the Links do not work on vBadvanced installed in / and not in /forum/ because they are still not using the complete Path.

Suggestion:

Please add a Option to deactivate the Quicklink in AdminCP.

Any Support???

germinus 10-24-2008 08:54 PM

I dont think the author is offering support for this mod anymore

redlabour 10-24-2008 09:23 PM

Abe1 is a little bit slower then others. Send him a PM - most the Times he react at this Point.


All times are GMT. The time now is 06:30 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.03309 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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