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)

NsT 04-06-2008 10:08 PM

Yes I checked and the Post Thank is on.

I'm sorry for posting in a wrong thread. Because I see the coder said this version will work with 3.6.8 too , so I think I could get some help here...

Is there somewhere I can download the older version?

theOZer 04-07-2008 01:02 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=122944" target="_blank">Here's</a> the tag to Abe1's 3.6.8 version.

I apologize. I did not mean to say you were in the wrong thread.

NsT 04-07-2008 01:38 AM

Thanks theOZer for your help. Unfortunately Abe updated both threads with latest version 7.4, so I don't know what to do now.

Oh God, I wish I didn't update..........

theOZer 04-07-2008 02:11 PM

You seem to be correct; Abe1's 368 & 37x Post Thanks appears to be one and the same.
Hmmm. I'm stumped, too. What version of vB are you running, vB368?
Make sure you're reading the correct install instructions, Abe1 has 5 different install scenarios for different versions of Vb. Re-do the install, reload the product xml file with Overwrite on. (I would NOT recommend uninstalling first; this may/might wipe out the Post Thanks MySQL table (I'm not sure here)).
Note: If you have more than 1 style you need to copy the post_thanks.gif into each & every style you have, into each style's \images\buttons folders.
If that works, in AdminCP, rerun the Post Thanks Recounter.
~OZ
P.S. I've upgraded my active forum to 369. I use vB's supplied templates. Post Thanks work flawlessly. It also works just fine in my testvb 370RC2 test forum. Hmmmm.

NsT 04-07-2008 05:14 PM

I'm running Vb 3.6.8.

I have just reinstalled the Post Thank and I followed exactly what the readme file said, however, the problem still persists.

I only have 1 style on my forum and I uploaded the button image to buttons folder already :(

And not just the Thank button, the list of members who thanked also disappeared :(

NsT 04-07-2008 05:29 PM

Thank you very much for your help theOzer, it works now!!! WOW

I realized that even I'm using Vb 3.6.8, I have to follow the instruction to install into Vb 3.6.0 and 3.6.5 because the templates need to be modified again.

So if anybody has the same problem with me, remember to edit your templates as described on the file Insructions - vb-3-6-0 - vb-3-6-5.txt

Cheers

Flexo 04-07-2008 05:39 PM

Does anyone have an idea how much additional load the auto-template is going to put on the server? I've got vBSEO running and that already cranks up the serverload quite a bit, so I'm not sure if I should install plugins that use auto-template.

FlyBoy73 04-08-2008 09:45 PM

Has anyone with a larger forum had problems installing this? I have about 3.5 million posts and about 145k members and when I do a new install into v3.7 rc-2 and hit import (xml) the screen goes blank and seems to hang there until it times out.

I had no problems at all installing it into a beta 3 forum with about 500,000 posts and then upgrading the forum to rc-2. Went very smoothly.

Thanks

FlyBoy73 04-08-2008 09:52 PM

Ok, it finally installed but it took a LONG time! Timed out the window once but seems to have finally completed.

Thanks again for this hack!

tgillespie 04-09-2008 01:12 AM

Anyone have an idea how to make the results show up as titles only and not posts?

RMS-Chef 04-09-2008 03:19 AM

Quote:

Originally Posted by FlyBoy73 (Post 1486239)
Has anyone with a larger forum had problems installing this? I have about 3.5 million posts and about 145k members and when I do a new install into v3.7 rc-2 and hit import (xml) the screen goes blank and seems to hang there until it times out.

I had no problems at all installing it into a beta 3 forum with about 500,000 posts and then upgrading the forum to rc-2. Went very smoothly.

Thanks

I am not quite as large as you as we are just under 900k posts but we do have over 2.7 million thanks issued on the board and it runs well since about the v5.x mark. Pre-v5.x was a killer with a lot of thanks.

loonytune15 04-10-2008 11:50 AM

G'day this is a great hack.

I was wondering if there was a way of showing the top 10 users who were thanked.
eg
Black cobra - 1541 thanks
Cactus Jack - 1302 Thanks
etc..

Would like to show this on my forumhome.

alghazali 04-11-2008 08:48 PM

Without question a great hack. But unfortunately, ever since installed. Internet explorer won't function properly with our VB forum. Won't display gifs posted on the navbar? I am assuming it has to do with this hack. Any ideas as to why this may be the case?

Amit86 04-12-2008 07:41 AM

Hello, im using this hack for over 2 months now, and i got a question
most of my members are regular to just reply 'thanks'
or 'thanks man' etc
is there a way to detect these replys and add them to the post thank you count ?
*thank*
something like this?

examplevb 04-12-2008 08:21 AM

1 Attachment(s)
Hi i have a problem with this addon i have vb 3.7.0 candidate 3 but when i install ths hack the botton dont apear look this photo.

todosbaneados 04-13-2008 03:06 PM

Can i give 1 reputation point to a user who have X thanked post? I only see the option to give X reputation points for each thanked and not inversal.

maidos 04-14-2008 04:06 PM

when posting thanks can you make so a special icon appear on the forum sections thread, since its better if to know who that just used the thank you button

shipfriends 04-17-2008 12:43 AM

Hi! great add on! will help me tidy up a specific sub forum.
quick question : is there anyway I remove the thank you counts from the user info?
I do not really want this feature as I want the thank u part only for a tiny subforum and doesnt apply for all users.
thanks in advance.

Abe1 04-23-2008 04:42 AM

Quote:

Originally Posted by todosbaneados (Post 1489751)
Can i give 1 reputation point to a user who have X thanked post? I only see the option to give X reputation points for each thanked and not inversal.

No.

Abe1 04-23-2008 04:45 AM

Quote:

Originally Posted by shipfriends (Post 1492591)
Hi! great add on! will help me tidy up a specific sub forum.
quick question : is there anyway I remove the thank you counts from the user info?
I do not really want this feature as I want the thank u part only for a tiny subforum and doesnt apply for all users.
thanks in advance.

Remove it from the template.

Hornstar 04-23-2008 08:20 AM

Today I clicked on Special Actions, input the user Id to remove that users thanks given, and got a database error.

Code:


Delete All of a Users Thanks
Processing: 146730
Processing: 178531
Processing: 188653
Processing: 188727
Processing: 196744
Processing: 200387
Processing: 203025
Processing: 208571
                        https://vborg.vbsupport.ru/    Database error      The Gamerz Needs - For All Your Gaming Needs! database has encountered a problem.                      Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.

  • Open the www.gamerzneeds.net home page, then try to open another page.

  • Click the Back button to try another link.

The www.gamerzneeds.net forum technical staff have been notified of the error, though you may contact them if the problem persists.       
We apologise for any inconvenience.


Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM vb3_post_thanks AS post_thanks INNER JOIN vb3_user AS user USING (userid) WHERE post_thanks.postid IN () ORDER BY post_thanks.username ASC;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY post_thanks.username ASC' at line 1
Error Number : 1064
Date        : Wednesday, April 23rd 2008 @ 05:17:30 AM
Script      : http://www.gamerzneeds.net/forums/ad...l_users_thanks
Referrer    : http://www.gamerzneeds.net/forums/ad...pecial_actions

Classname    : vB_Database


elbacha 04-23-2008 06:59 PM

many thanks for the great JOB

Abe1 04-24-2008 04:04 AM

Quote:

Originally Posted by hornstar1337 (Post 1497097)
Today I clicked on Special Actions, input the user Id to remove that users thanks given, and got a database error.

Code:


Delete All of a Users Thanks
Processing: 146730
Processing: 178531
Processing: 188653
Processing: 188727
Processing: 196744
Processing: 200387
Processing: 203025
Processing: 208571
                        http://www.gamerzneeds.net/forums/im...p?type=dberror    Database error      The Gamerz Needs - For All Your Gaming Needs! database has encountered a problem.                      Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.

  • Open the www.gamerzneeds.net home page, then try to open another page.

  • Click the Back button to try another link.

The www.gamerzneeds.net forum technical staff have been notified of the error, though you may contact them if the problem persists.       
We apologise for any inconvenience.


Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM vb3_post_thanks AS post_thanks INNER JOIN vb3_user AS user USING (userid) WHERE post_thanks.postid IN () ORDER BY post_thanks.username ASC;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY post_thanks.username ASC' at line 1
Error Number : 1064
Date        : Wednesday, April 23rd 2008 @ 05:17:30 AM
Script      : http://www.gamerzneeds.net/forums/ad...l_users_thanks
Referrer    : http://www.gamerzneeds.net/forums/ad...pecial_actions

Classname    : vB_Database


What happened when you tried to run it again?

gbcompro 04-24-2008 07:54 AM

i am not getting thanks bouton so you can add thanx help anyone ?

Abe1 04-24-2008 10:28 AM

Quote:

Originally Posted by gbcompro (Post 1497959)
i am not getting thanks bouton so you can add thanx help anyone ?

Can i check your ACP out?

Hornstar 04-25-2008 05:27 AM

Quote:

Originally Posted by Abe1 (Post 1497846)
What happened when you tried to run it again?

Same thing happens when I run it again.

binevi 04-25-2008 04:26 PM

i tried but i couldnt

https://vborg.vbsupport.ru/


how can i remove number 1

Abe1 04-25-2008 04:39 PM

Quote:

Originally Posted by binevi (Post 1499172)
i tried but i couldnt

https://vborg.vbsupport.ru/


how can i remove number 1

Can you show me your postbit template?

Abe1 04-25-2008 04:39 PM

Quote:

Originally Posted by hornstar1337 (Post 1498773)
Same thing happens when I run it again.

Can you try running the recounters first?

gremlin2412 04-25-2008 06:45 PM

Is there a german language File?

Greetz
Gremlin

jazde86 04-25-2008 07:21 PM

Die Deutsche Version findest Du bei vBGo. :)

binevi 04-25-2008 09:35 PM

Quote:

Originally Posted by Abe1 (Post 1499185)
Can you show me your postbit template?


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;
                        <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_$postid" style="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]">
                                        <if condition="$show['profile']">
                                        <a 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">$post[usertitle]</div></if>
                                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                        $template_hook[postbit_userinfo_left]       
                                       
<if condition="$show['reputation']"><div style="padding:2px 0px 2px 0px;"></div><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
               
                        <if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>
                       
                        <div class="smallfont">
                                &nbsp;<br />
                                <div>$vbphrase[posts]: $post[posts]</div>
$template_hook[postbit_userinfo_right_after_posts]
                                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                <if condition="$post['field2']"><div >$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                <if condition="$show['reputation']"><if condition="$show['reppower']"><div><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</div></strong></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['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="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <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 id="post_message_$post[postid]" class="vb_postbit">$post[message]</div>
                <!-- / 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_$postid" src="$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[postid] popup 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_more_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[postid] popup menu -->


gremlin2412 04-25-2008 09:45 PM

Quote:

Originally Posted by jazde86 (Post 1499275)
Die Deutsche Version findest Du bei vBGo. :)


Danke :-)

Namaless 04-26-2008 03:02 PM

Works correctly with new security token features..

Regards.

ShawnV 04-26-2008 03:19 PM

Quote:

Originally Posted by Namaless (Post 1499832)
Abe1 I have one problem with GARS.. -.-
When click into Thanks Button where GARS is enabled I get this error:
Code:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/post_thanks.php on line 52
I have try to add security token into Ajax request but this not fixed my problem.. You have any ideas??

The line 52 is:
PHP Code:

$postinfo array_merge($postinfofetch_userinfo($postinfo['userid'])); 

Regards.

Try doing the complete GARS upgrade,

http://www.thevbgeek.com/

_V

gremlin2412 04-26-2008 08:46 PM

There is a problem with the Hack ^^ when there is a deleted User who said thanks at some post the following error comes:

PHP Code:

WarningInvalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 222 

Greets
Gremlin

Sorry f?r my very bad englisch *g

texterted 04-27-2008 07:49 AM

I got that error too... displayed at the top of my forum :(

Abe1 04-28-2008 03:56 AM

Quote:

Originally Posted by binevi (Post 1499339)
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;
                        <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_$postid" style="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]">
                                        <if condition="$show['profile']">
                                        <a 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">$post[usertitle]</div></if>
                                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                        $template_hook[postbit_userinfo_left]       
                                       
<if condition="$show['reputation']"><div style="padding:2px 0px 2px 0px;"></div><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
               
                        <if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>
                       
                        <div class="smallfont">
                                &nbsp;<br />
                                <div>$vbphrase[posts]: $post[posts]</div>
$template_hook[postbit_userinfo_right_after_posts]
                                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                <if condition="$post['field2']"><div >$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                <if condition="$show['reputation']"><if condition="$show['reppower']"><div><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</div></strong></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['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="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <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 id="post_message_$post[postid]" class="vb_postbit">$post[message]</div>
                <!-- / 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_$postid" src="$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[postid] popup 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_more_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[postid] popup menu -->


I dont see any reason it shows up on the left.

Abe1 04-28-2008 03:57 AM

Quote:

Originally Posted by gremlin2412 (Post 1500098)
There is a problem with the Hack ^^ when there is a deleted User who said thanks at some post the following error comes:

PHP Code:

WarningInvalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 222 

Greets
Gremlin

Sorry f?r my very bad englisch *g

Yes. I have seen that. I have to figure out what to do about that.

Mrdby 04-30-2008 01:18 AM

does this work for the final release?


All times are GMT. The time now is 02:56 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.03101 seconds
  • Memory Usage 2,062KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_php_printable
  • (13)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