Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Post Thank You Hack Details »»
[AJAX] Post Thank You Hack
Version: 7.7, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 12-19-2007 Last Update: 07-27-2008 Installs: 4913
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

vB 4.0 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=231666

Post Thank You Hack 7.7


About this hack:
One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose.

There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting.

Then comes the moderators who have to delete people's thanks yous so a thread can look readable with out the thanks yous thrown around.

Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'.

What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box.

By giving your users the extra feature, you forum will look allot nice and organized. It is a guaranteed liking by ALL the members of your forum.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Uses AJAX technology so your users don't have to refresh when they thank.
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Thanks into one small box
  • Uses only ONE query every time you view a showthread page!
  • Users can't thank twice
  • Option to not allow users to thank their own post
  • Guests don't see 'thanks' button
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Shows how many thanks a user gave in every post of his
  • Shows how many thanks a user gave in profile
  • Shows how many thanks a user got
  • Shows how many posts or a user are thanked
  • Shows info in profile
  • Search for a users thanked posts
  • Search for all thanked posts
  • Administrator can remove all Thanks from a single post
  • Users can remove their own Thanks
  • Turn on and off hack totally
  • Turn on and off hack for only some forums
  • Option to turn off hack for all but the first post of a thread
  • Option to turn off hack for all but the first post of a thread in specific forums
  • Option to turn off hack view of date for specific or all forums
  • Option to add to post count when someone clicks 'thanks'.
  • Option to give a user who receives thanks reputation points.
  • Ban Usergroups
  • Ban Users
  • Uses Phrases
  • Cache Templates
  • Guaranteed to be liked by ALL users on your forum!
Installation information on hack: (If installed on vb 3.7)
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 7
  • Time to install: 1 minute max

Updates:

Version 7.0 (12/20/07):
  • Release of this hack for vBulletin version 3.7
  • This version works on all vBulletin versions from 3.6.0 and up

Version 7.1 (12/24/07):
  • Fixed up the vb3.7 profile block code including fixing showing your info and not the member you are looking at.

Version 7.2 (01/24/08):
  • Updated files: post_thanks.php, functions_post_thanks.php
  • Updated templates: post_thanks_memberinfo_block, post_thanks_member_info
  • New option: Remove User's Thanks Count When Deleting Post
  • New phrase: post_thanks_search_user_gave
  • FIX User reputation level now updates. (Thanks to liwo for this one.)
  • NEW Added option to view all posts a user has thanked.
  • FIX Fixed Special Action - Delete All of a Users Thanks
  • FIX Should have fixed some 'foreach()' errors.

Version 7.3 (03/15/08):
  • Updated file: functions_post_thanks.php
  • Updated template: post_thanks_memberinfo_block
  • Deleted template: post_thanks_memberinfo_css
  • New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
  • New option: Ban User from Getting Thanks
  • New option: Max Thanks a User can Give Per Day
  • FIX Fixed repeating bug on vb 3.6.7 forums.
  • CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)

Version 7.4 (03/21/08):
  • FIX: Fixed Profile Stats for vb3.7.0 RC1 users.

Version 7.5 (05/12/08):
  • Updated files: post_thanks.js, post_thanks.php, functions_post_thanks.php
  • Updated template: post_thanks_button
  • Added securty token check for all thanks added. This will prevent a user from giving out a link or somehow making an image that will get him a lot of thanks.
  • Should have fixed some 'foreach()' errors.
  • Fixed Delete All of a Users Thanks bug
  • vBulletin 3.7.x compatible only

Version 7.6 (06/02/08):
  • FIX: Fixed Security Check for vb 3.7.1
  • Updated files: functions_post_thanks.php

Version 7.7 (07/28/08):
  • FIX: Fixed problem with giving thanks using Blazer (palmOS browser).
  • Updated file: post_thanks.js
  • Updated templates: post_thanks_button, post_thanks_postbit, post_thanks_postbit_legacy
  • New option: Show Stats in Postbit?
  • New option: Show Stats in Profile?

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Pictures:
  1. Showing the 'thanks' button and stats in Postbit
  2. Showing post after 'thanks' (user view)
  3. Showing post after 'thanks' with legacy posts (admin view)
  4. Stats in members profile and link
  5. Link in Search drop down menu
  6. Hacks settings

Download Now

File Type: zip post_thanks_7_7.zip (22.1 KB, 22239 views)

Screenshots

File Type: jpg 1.jpg (16.8 KB, 0 views)
File Type: jpg 2.jpg (29.4 KB, 0 views)
File Type: jpg 4.jpg (27.1 KB, 0 views)
File Type: jpg 5.jpg (38.1 KB, 0 views)
File Type: jpg 6.jpg (5.9 KB, 0 views)
File Type: jpg 7.jpg (128.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
15 благодарности(ей) от:
2012?, devil78, Heinrich, Hellmaster, lange, m7sen, mblesch, mikey1991, MrZeropage, Pcwolfx?, Protium, ramx, Shill360, theuploader

Comments
  #1442  
Old 02-09-2009, 04:27 AM
uae4ever uae4ever is offline
 
Join Date: Aug 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by socalsoccer View Post
This is a great hack along with the Groan hack. I wanted to change my groan hack text color to red (The Following 5 Users Say) How can I do this without changing the Thank you hack to red?

THANKS!!
go to Admincp > Languages & Phrases > Search in Phrases

in Search for Text field put The Following User Say

you will find

The Following User Says Thank You to {1} For This Useful Post:

press Edit and changed with what I attached.

Regards,
Attached Files
File Type: txt post thanks.txt (420 Bytes, 32 views)
Reply With Quote
  #1443  
Old 02-09-2009, 10:05 PM
socalsoccer socalsoccer is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You uae!!
Reply With Quote
  #1444  
Old 02-10-2009, 08:46 AM
GigaSb GigaSb is offline
 
Join Date: Aug 2006
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<if condition="$post['age']"> <div class="postdata">$vbphrase[age]: $post[age]</div></if>

what i need to put here to show the thanks that a user have?

or if its not the code, can i get it please?

p.s

im using custom templates so nothing is showed at postbit_legacy
Reply With Quote
  #1445  
Old 02-11-2009, 03:48 AM
Firestar.chkn Firestar.chkn is offline
 
Join Date: Aug 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for a great hack!

Is there a possibility that you can add another option to the config of this? I'd like to have a box where I can enter in usergroups that are exempt from the maximum thanks per day setting. My forums makes use of a Core Admin group (which is not the normal admin group renamed), which have access above that of the normal admins. I'm not sure if Admins are already exempt, but I'd like to include this core admin group to be exempt as well, if possible.

Same goes for administration of the thanks/groans... Admins can, but core admins can't. Is there a way to fix this, even if I have to hack files or something?

Just a suggestion... hope you add it in the next version!
Reply With Quote
  #1446  
Old 02-12-2009, 06:44 AM
Seiyaboy Seiyaboy is offline
 
Join Date: May 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My forum uses the 7.7 version for 3.7.X series before I upgrade the forum to 3.8.1. I'd like to ask if the 7.7 version for 3.7.X and the one for 3.8.X is currently the same? Because if there are not change in codes, I won't need the hassle to upgrade it again since I do have to do some phrase customizations.
Reply With Quote
  #1447  
Old 02-12-2009, 06:19 PM
Mostjolly's Avatar
Mostjolly Mostjolly is offline
 
Join Date: Apr 2008
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi everyone & everybody!

i need a little support on removing DOUBLE thanking button in my postbit.

a snapshot will explain the whole thing.

please see attachment.
Attached Images
File Type: jpg 31.jpg (51.4 KB, 0 views)
Reply With Quote
  #1448  
Old 02-13-2009, 08:44 AM
Mostjolly's Avatar
Mostjolly Mostjolly is offline
 
Join Date: Apr 2008
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've included infos that might help you figure out the cause more easily...

Here's the codes I use; my site is adult related - LuVibes.com

Postbit_Legacy
PHP Code:
$template_hook[postbit_start]
<
table class="tborder"  cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead" $post[scrolltothis]>
        <
span class="normal" style="float:$stylevar[right]">
            &
nbsp;
$awardform
            
<if condition="$show['postcount']">(#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]">$post[postcount]</a>)</if>
            
<a href="#top" onclick="return toggle_collapse('postbit_$post[postid]')"><img id="collapseimg_postbit_$post[postid]src="$stylevar[imgdir_button]/collapse_thead{$GLOBALS['vbcollapse']['collapseimg_postbit_' $post[postid]]}.gif" alt="" border="0" /></a>
        </
span>
            <!-- 
status icon and date -->
            <
span class="normal">
            <
a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" /></a><if condition="$show['inlinemod']"><input type="checkbox" name="plist[$postid]" id="plist_$postidstyle="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]/></if>
            
        </
span>
            <!-- / 
status icon and date -->                
    
        </
td>
    
</
tr>
</
table>
<
div id="collapseobj_postbit_$post[postid]style="{$GLOBALS['vbcollapse']['collapseobj_postbit_' $post[postid]]};">


<
table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style="border-top: 0px;">

<
tr valign="top">

    <
td class="alt2" width="175">
            
            <
div id="postmenu_$post[postid]align="center">
                    <if 
condition="$show['profile']">
                    <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                    
$post[onlinestatus]
                    <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                    <else />
                    
$post[musername]
                    </if>
                </
div>
                

<if 
condition="$post['usertitle']"><div class="smallfont" align="center">$post[usertitle]</div></if>
                <if 
condition="$post['rank']"><div class="smallfont" align="center">$post[rank]</div></if>
             
$template_hook[postbit_userinfo_left]    
                    
<if 
condition="$show['reputation']"><div class="postinfo" align="center"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
        
            <if 
condition="$show['avatar']">
                <
div class="smallfont" align="center">
                    &
nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </
div>
            </if>
            
            <
div class="smallfont">
                &
nbsp;<br />

<
div class="postinfo" align="center">
                        
$vbphrase[posts]: [ <a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]rel="nofollow">$post[posts]</a> ]
                    </
div>


                    <
div class="postinfo" align="center">
                        
$vbphrase[threads]: [ <a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$post[username]rel="nofollow">$post[threads]</a> ]
                    </
div>

$template_hook[postbit_userinfo_right_after_posts]

                <if 
condition="$post['joindate']"><div  class="postinfo" align="center">$vbphrase[join_date]: $post[joindate]</div></if>

<if 
condition="$show['credits_post']">
                        <
div class="postinfo" align="center">
                            
$vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
                        </
div>
                    </if>

                <if 
condition="$post['field2']"><div class="postinfo" align="center">$vbphrase[location_perm]: $post[field2]</div></if>

                <if 
condition="$post['age']"><div class="postinfo" align="center">$vbphrase[age]: $post[age]</div></if>
                <if 
condition="$show['infraction']"><div class="postinfo" align="center">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>


                <if 
condition="$show['reputation']">
<if 
condition="$show['reppower']"><div align="center"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</div></if></if></div>    
                
        <
div style="padding:5px 0px 5px 0px;"></div>
        
    </
td>




    <if 
condition="$show['moderated']">
    <
td height="100%" valign="top" class="alt2" id="td_post_$post[postid]">
    <else />
    <
td height="100%" valign="top" class="alt1" id="td_post_$post[postid]">
    </if>
    
    
    <
div style="float:right">

<if 
condition="$show['reputationlink']">
                <
span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
                <if 
condition="$show['popups']"><script type="text/javascript"vbrep_register("$post[postid]")</script></if>
            </if>
        
<if 
condition="$show['credits_postadd']">
                <
span id="creditsmenu_$post[postid]"><a href="credits.php?$session[sessionurl]p=$post[postid]rel="nofollow" id="credits_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/credits.gif" alt="<phrase 1="$post[username]" 2="$vbphrase[credits]">$vbphrase[credits_threadaward]</phrase>" border="0" /></a></span>
                <if 
condition="$show['popups']"><script type="text/javascript"vbcdt_register("$post[postid]")</script></if>&nbsp;
            </if>

            <if 
condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]border="0" /></a></if>

<if 
condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>  $post[iplogged]<if condition="is_browser('ie')"><div style="padding: 2px 0px 0px 0px;"></div></if></div><div class="smallfont">
$template_hook[postbit_messagearea_start]        
<if 
condition="$show['messageicon'] OR $post['title']">


            <!-- 
icon and title -->
            <if 
condition="$post['title']"><strong>$post[title] - </strong></if>
            <!-- 
status icon and date -->
          </if>
        
            <!-- 
status icon and date -->    
        <if 
condition="!$show['announcement']">
                
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
            <else />
                <
phrase 1="$post[startdate]2="$post[enddate]">$vbphrase[x_until_y]</phrase>
            </if>
            
$post[firstnewinsert]
            <!-- / 
status icon and date -->
        </
div>
        
<
div class="spacer"></div>    <div class="hr" style="width: 100%;">
              <
hr />
            </
div>    
<
div class="spacer"></div>
        
        <!-- 
message -->


<
div style="margin:-0px 10px 8px 10px">

        <
div id="post_message_$post[postid]class="vb_postbit">$post[message]</div>
</
div>
$awardmess
        
<!-- / message -->
    
        <if 
condition="$show['attachments']">
        <!-- 
attachments -->
            <
div style="padding:$stylevar[cellpadding]px">
            
            <if 
condition="$show['thumbnailattachment']">
                <
fieldset class="fieldset">
                    <
legend>$vbphrase[attached_thumbnails]</legend>
                    <
div style="padding:$stylevar[formspacer]px">
                    
$post[thumbnailattachments]
                    </
div>
                </
fieldset>
            </if>
        
            <if 
condition="$show['imageattachment']">
                <
fieldset class="fieldset">
                    <
legend>$vbphrase[attached_images]</legend>
                    <
div style="padding:$stylevar[formspacer]px">
                    
$post[imageattachments]
                    </
div>
                </
fieldset>
            </if>
            
            <if 
condition="$show['imageattachmentlink']">
                <
fieldset class="fieldset">
                    <
legend>$vbphrase[attached_images]</legend>
                    <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                    
$post[imageattachmentlinks]
                    </
table>
                    </
fieldset>
            </if>
            
            <if 
condition="$show['otherattachment']">
                <
fieldset class="fieldset">
                    <
legend>$vbphrase[attached_files]</legend>
                    <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                    
$post[otherattachments]
                    </
table>
                </
fieldset>
            </if>
            
            <if 
condition="$show['moderatedattachment']">
                <
fieldset class="fieldset">
                    <
legend>$vbphrase[attachments_pending_approval]</legend>
                    <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                    
$post[moderatedattachments]
                    </
table>
                </
fieldset>        
            </if>
            
            </
div>
        <!-- / 
attachments -->
        </if>
        
$template_hook[postbit_signature_start]

        <if 
condition="$post['signature']">
        <!-- 
sig -->
            <
div> <br />
            <
div class="hr" style="width: 100px;">
              <
hr />
            </
div><div class="spacer"></div>
                
$post[signature]
            </
div>
        <!-- / 
sig -->
        </if>
        
$template_hook[postbit_signature_end]
        <if 
condition="$show['postedited']">
        <!-- 
edit note -->
            <
div class="smallfont">            <div class="spacer"></div>
          <
div class="hr">
            <
hr />
          </
div><div class="spacer"></div>
                <
em>
                <if 
condition="$post['editlink'] AND $show['postedithistory']">
                        <
phrase 1="$post[edit_username]2="$post[edit_date]3="$post[edit_time]4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
                    <else />
                        <
phrase 1="$post[edit_username]2="$post[edit_date]3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                    </if>
                    <if 
condition="$post['edit_reason']">
                        
$vbphrase[reason]: $post[edit_reason]
                    </if>
                </
em>
            </
div>
        <!-- / 
edit note -->
        </if>
    
    </
td>
</
tr>
<
tr>
    <
td class="alt2">
 
$template_hook[postbit_userinfo_right]
    <
div>&nbsp;$post[icqicon$post[aimicon$post[msnicon$post[yahooicon$post[skypeicon]&nbsp;</div>
    
    
        
    </
td>
    <if 
condition="$show['moderated']">
    <
td class="alt2" align="$stylevar[right]">
    <else />
    <
td class="alt1" align="$stylevar[right]">
    </if>
        <!-- 
controls -->
        
    
        
        <
div style="float:left">
            <if 
condition="$show['moderated']">
                <
img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]border="0" />
            </if>
<if 
condition="$show['spam']">
                <
img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]border="0" />
</if>
            <if 
condition="$show['deletedpost']">
                <
img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]border="0" />
            </if>
            <if 
condition="$show['redcard']">
                <
a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]border="0" /></a>
            <else />
                <if 
condition="$show['yellowcard']">
                    <
a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]border="0" /></a>
                </if>
            </if>
            
$template_hook[postbit_controls]
            </
div>
            
            
            <if 
condition="$post['editlink']">
            <
img style="display: none" id="progress_$postidsrc="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]/>
            <
a href="$post[editlink]name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a>
        </if>
        
        
        
        <if 
condition="$post['forwardlink']">
            <
a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]border="0" /></a>
        </if>
        <if 
condition="$post['replylink']">
            <
a href="$post[replylink]rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]border="0" /></a>
        </if>
        <if 
condition="$show['multiquote_post']">
            <
a href="$post[replylink]rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]border="0" id="mq_$post[postid]/></a>


        </if>
        <if 
condition="$show['quickreply'] AND !$show['threadedmode']">
            <
a href="$post[replylink]rel="nofollow" id="qr_$post[postid]onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]border="0" /></a>
        </if>
        
$template_hook[postbit_controls]
        
        <!-- / 
controls -->
    </
td>
</
tr>
</
table>
</
div>
$template_hook[postbit_end]
<!-- 
post $post[postidpopup menu -->
<
div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
    <
table cellpadding="4" cellspacing="1" border="0">
    <
tr>
        <
td class="thead">$post[username]</td>
    </
tr>
    <if 
condition="$show['profile']">
        <
tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
    </if>
    <if 
condition="$show['pmlink']">
        <
tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
    </if>
    <if 
condition="$show['emaillink']">
        <
tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
    </if>
    <if 
condition="$show['homepage']">
        <
tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
    <if 
condition="$show['search']">
         <
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
    </if>
    <if 
condition="$post['userid'] AND $show['member']">
    <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
    </if>
$template_hook[postbit_user_popup]
    </
table>
 
</
div>
<!-- / 
post $post[postidpopup menu -->

$ad_postbit_below

<div id="award$post[postid]style="padding:$stylevar[cellpadding]px 0px 0px 0px;">
$awardbox
</div
post_thanks_box
PHP Code:
<div id="post_thanks_box_$post[postid]">$post_thanks_box</div
post_thanks_box_bit
PHP Code:
<a href="member.php?$session[sessionurl]u=$thank[userid]rel="nofollow">$thank[username]</a><if condition="$date_thank">&nbsp;($date_thank)</if>$virg 
post_thanks_button
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 src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]border="0" /></a
post_thanks_postbit_legacy
PHP Code:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
        <
tr valign="top">
            <
td class="alt2" width="175">
                <if 
condition="$post['post_thanks_amount'] == 1">
                    <
strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                <else />
                    <
strong><phrase 1="$post[post_thanks_amount_formatted]2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
                </if>
                <if 
condition="$bbuserinfo['usergroupid'] == 6">
                    <
br /><a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
                </if>
                <if 
condition="$post['show_thanks_remove_option']">
                <
br /><a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
                </if>
            </
td>
            <
td class="alt1"><div>$post[post_thanks_bit]</div></td>
        </
tr>
    </
table>
</
div
Also note that whenever this hack is enable my Signature font shrink in size... and it grow back to normal once disable... creepy stuff.

Cheers!
Reply With Quote
  #1449  
Old 02-13-2009, 12:26 PM
DarkGulf-619 DarkGulf-619 is offline
 
Join Date: Aug 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #1450  
Old 02-13-2009, 01:15 PM
scottny scottny is offline
 
Join Date: Nov 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok installed this and got this

Warning: require_once([path]/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_postbit.php(265) : eval()'d code on line 48

Fatal error: require_once() [function.require]: Failed opening required '/home/wdwencha/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/local/php52/pear') in /home/wdwencha/public_html/includes/class_postbit.php(265) : eval()'d code on line 48

I guess I installe dit wrong. Still new to all this and learning. Slowly. LOL
Reply With Quote
  #1451  
Old 02-16-2009, 11:43 AM
siriuxs siriuxs is offline
 
Join Date: Nov 2005
Location: Italia
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why the button compare on the left and on the right?

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08480 seconds
  • Memory Usage 2,695KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (14)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete