vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

Charlie98902 12-30-2009 11:36 AM

1 Attachment(s)
Okay refreshed my cache now it is in its default location by the I icon but it is also by the edit button any ideal how to remove the one by the IP icon? See attachment

EDIT: Never mind I forgot to remove the other hook :D

TimberFloorAu 12-30-2009 11:36 AM

No images showing.. any help plz

eTiKeT? 12-30-2009 11:43 AM

Thank you I was waiting at :)
Installed

Veer 12-30-2009 11:46 AM

I upgraded and enabled the product, but there is nothing in postbit & postbit_legacy, doesn't show anything.

movslow 12-30-2009 11:52 AM

Quote:

Originally Posted by redlabour (Post 1942330)
Still no integration of Post Groan Hack. :down: This has been promised since the first 7.x Release. :mad:

And of course a Update for Post Groan is missing for 4.0. :cool:

Same here, can't install one w/o the other.

Waiting on Post Groan now.

woffie 12-30-2009 11:54 AM

Installed and nominated. Thanks for this.

Abe1 12-30-2009 11:58 AM

Quote:

Originally Posted by valendono (Post 1942372)
the thumb image and the thumb hover its not showing..

HTML Code:

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button  {
        background: url(images/buttons/post_thanks.png) no-repeat transparent left;
        padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>

just me or ?

Does the included of the post thanx javascript get put on the page?

Quote:

Originally Posted by Doctor Death (Post 1942375)
I installed per directions (like other plugins) and the thank you button doesnt show... I am using default skin so there is no reason why it shouldnt. I see the code in the template but the button doesnt appear.

When I try to uninstall (because my tempate is now messy) I get this

Database error in vBulletin 4.0.0:

Invalid SQL:
ALTER TABLE `vywhbabh_user` DROP `post_thanks_user_amount`;

MySQL Error : Can't DROP 'post_thanks_user_amount'; check that column/key exists
Error Number : 1091
Request Date : Wednesday, December 30th 2009 @ 07:44:06 AM
Error Date : Wednesday, December 30th 2009 @ 07:44:06 AM
Script : http://www.ddsog.com/forums/admincp/...do=productkill
Referrer : http://www.ddsog.com/forums/admincp/...post_thanks&s=
IP Address : 70.333.40.132
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 4.1.22-standard

Please help!

Thanks!

This looks like you are uninstalling. and that it does not have that table. Try reinstalling then uninstall.
Quote:

Originally Posted by Doctor Death (Post 1942385)
When you click on the THANKS button, the button goes away but the two separators where the button was remain... any way of removing them so it doesnt appear as if a button was supposed to be there?

I added the separator in the last minute. I didn't have a chance to fully test it. I will look into it.
Quote:

Originally Posted by FF|Skyrider (Post 1942402)
Any vB4 demo's or screenshots?

When I get a few minutes to play graphic artist.

reimic 12-30-2009 12:00 PM

I installed, uploaded all and activated all but there is still no thank you button? Ok I see it now, but i its not in all forums and the image is missing. I uploaded the images to the /images/buttons folder..

rbu 12-30-2009 12:02 PM

Quote:

Originally Posted by Veer (Post 1942424)
I upgraded and enabled the product, but there is nothing in postbit & postbit_legacy, doesn't show anything.

I have the same issue but only with IE and compatibility mode enabled. It hides all the postbits.

F.nk 12-30-2009 12:04 PM

Thank you very much, this addon is very necessary :D

ragarcia87 12-30-2009 12:04 PM

I upgraded my board from 3.8.4 PL1 to 4.0.0 PL1. I had the mod install before but uninstalled all my mods at one point. When I install this it will not show in the postbit or postbit legacy. It will show the stats on the members profiles but not in the postbit.

BTW, thank you for this wonderful mod :D

gbechtel 12-30-2009 12:05 PM

1 Attachment(s)
Installed and sorta working...

Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...

Also displays the same behavior with the information in postbit see attachment thanks1

See attachment, any ideas?

Charlie98902 12-30-2009 12:06 PM

1 Attachment(s)
Abe1 here is some screens from mine if you want to use them however I made the extra template edit to move the thanks button to the right instead of the left. Feel free to use these in your first post. Sorry no screen to view your thanks. I looked and didn't see the view your thanked post etc....

Charlie98902 12-30-2009 12:07 PM

Quote:

Originally Posted by gbechtel (Post 1942437)
Installed and sorta working...

Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...

See attachment, any ideas?

I bet you have this in there 3 times? Look carefully and see.

Code:

{vb:raw template_hook.postbit_controls}

I.am 12-30-2009 12:10 PM

I get the same db error Doctor Death, i've tried to re-install and uninstall it but without success the db error is there.

How can i fix it?

Thanks

reimic 12-30-2009 12:10 PM

2 problems i can't solve:

1) There is no image showing up. Only the text "Thanks".
2) Why the thank you button is not in all threats? In some threats i have only a blank space.

bluidkiti 12-30-2009 12:10 PM

I did what you said for moving the button over by the Edit button but the Thanks button didn't move. Any suggestions?

gbechtel 12-30-2009 12:14 PM

Quote:

Originally Posted by Charlie98902 (Post 1942439)
I bet you have this in there 3 times? Look carefully and see.

Code:

{vb:raw template_hook.postbit_controls}

Where would I be looking for this Charlie??

valendono 12-30-2009 12:16 PM

@Abe1
Yes, it does, I know theres have images to show because of that, but the thumb images not showing.. thumb and hover.. it doesn't mean anything to paste the css in here..

Charlie98902 12-30-2009 12:16 PM

Quote:

Originally Posted by gbechtel (Post 1942449)
Where would I be looking for this Charlie??

In the postbit be sure there is only one template hook like this.

Doctor Death 12-30-2009 12:18 PM

Quote:

This looks like you are uninstalling. and that it does not have that table. Try reinstalling then uninstall.
Tried that and still got DB error... will retain this mod as I know you are working hard on fine tuning it --- and I truly appreciate your work. Thanks on behalf of all who use it -- I can imagine you are swamped with comments.

Thanks again.

Doc

www.ddsog.com

I.am 12-30-2009 12:20 PM

This is my db error:

Quote:

Database error in vBulletin 4.0.0:

Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (826786,826923,826925,826928,827636,827643,828288, 828291,828300,828316,828330,828421,828434,828439,8 28447,828899,831966,831970,832457,832460,832467,83 2529,832598) ORDER BY post_thanks.username ASC;

MySQL Error : Table 'xxxxx_xxxxxx.post_thanks' doesn't exist
Error Number : 1146
Request Date : Wednesday, December 30th 2009 @ 09:17:52 AM
Error Date : Wednesday, December 30th 2009 @ 09:17:53 AM
Script : http://forum.com/showthread.php?t=132731&page=4
Referrer : http://forum.com/
IP Address : xx.xx.xxx.xxx
Username : xxxxx
Classname : vB_Database
MySQL Version : 5.0.85-community-log

gbechtel 12-30-2009 12:21 PM

Quote:

Originally Posted by Charlie98902 (Post 1942452)
In the postbit be sure there is only one template hook like this.

Yes only one :confused: hmmmm

KristerSwe 12-30-2009 12:27 PM

Quote:

Originally Posted by valendono (Post 1942372)
the thumb image and the thumb hover its not showing..

HTML Code:

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button  {
        background: url(images/buttons/post_thanks.png) no-repeat transparent left;
        padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>

just me or ?

Same for me :confused:

reimic 12-30-2009 12:35 PM

I think this is script is very BETA yet. You should update the version. But i think when all bugs are gone, this is a great addon.

Abe1 12-30-2009 12:51 PM

Quote:

Originally Posted by ragarcia87 (Post 1942436)
I upgraded my board from 3.8.4 PL1 to 4.0.0 PL1. I had the mod install before but uninstalled all my mods at one point. When I install this it will not show in the postbit or postbit legacy. It will show the stats on the members profiles but not in the postbit.

BTW, thank you for this wonderful mod :D

You may be missing some template hooks. please compare with original and see what you are missing.
Quote:

Originally Posted by gbechtel (Post 1942437)
Installed and sorta working...

Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...

Also displays the same behavior with the information in postbit see attachment thanks1

See attachment, any ideas?

Very weird. This would have happened back in one of the vb versions when they first came out with the template hooks. I had them fix it and everyone would have this problem if it still existed. Do you have any edited php files?
Quote:

Originally Posted by reimic (Post 1942442)
2 problems i can't solve:

1) There is no image showing up. Only the text "Thanks".
2) Why the thank you button is not in all threats? In some threats i have only a blank space.

Do you have more then one style?



I used to offer free support to install on your web site. If you want me to install on your site now, and make sure you have a 100% working hack, it will cost $50. I will guaranty it works 100% after I install or no payment. If though there really is a bug in my code, then installation will be free. Many of you may have a conflicting hack, or a your own edit you once did. I can't figure out most problems without seeing what your site is like. For this I will charge. If it ends up as a bug in my code, (does not included conflicting errors with other hacks) then you will not be charged. PM me for details. I'd love to help you all but time has me constrained.

valendono 12-30-2009 12:53 PM

@abe1
reimic problem is same like the other problem including me..

1) There is no image showing up. Only the text "Thanks".

I.am 12-30-2009 12:54 PM

I have already sent you a pm regarding my db errorn and i can't uninstall it

Charlie98902 12-30-2009 12:54 PM

Database error posters ensure that all the .php files are installed as I almost missed the upload of the one that goes just in the root directory.

rbu 12-30-2009 12:58 PM

If you are using Legacy...

post_thanks_box
Code:

<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
        {vb:raw post_thanks_box}
</li>


post_thanks_javascript
Code:

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button  {
        background: url(images/buttons/post_thanks.png) no-repeat transparent left;
        padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>


post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">

I.am 12-30-2009 12:59 PM

Quote:

Originally Posted by Charlie98902 (Post 1942475)
Database error posters ensure that all the .php files are installed as I almost missed the upload of the one that goes just in the root directory.

I have re-upload all files twice none error in this phase.

Thanks

bluidkiti 12-30-2009 01:01 PM

Quote:

Originally Posted by Abe1 (Post 1942292)
4) If you want to move the Thanx button to near the edit post button,
open template postbit
find
HTML Code:

{vb:raw template_hook.postbit_controls}
and move it under
HTML Code:

<span class="postcontrols">

When I move the Thanks button near the Edit button the Blog This Post button moves with it. Any suggestions?

Abe1 12-30-2009 01:06 PM

Quote:

Originally Posted by reimic (Post 1942465)
I think this is script is very BETA yet. You should update the version. But i think when all bugs are gone, this is a great addon.

Excuse me? There have been no proven bugs. Anything I found so far is someone not installin correctly or updating the files. No bugs yet found.

Abe1 12-30-2009 01:07 PM

Quote:

Originally Posted by bluidkiti (Post 1942478)
When I move the Thanks button near the Edit button the Blog This Post button moves with it. Any suggestions?

They both move since they are both using that plugin. You can change the order that the plug-in execute though and get the thanx button to the left of the blog button. The plug-in name it something like postbit_complete.

valendono 12-30-2009 01:08 PM

Quote:

Originally Posted by rbu (Post 1942476)
If you are using Legacy...

post_thanks_box
Code:

<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
        {vb:raw post_thanks_box}
</li>


post_thanks_javascript
Code:

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button  {
        background: url(images/buttons/post_thanks.png) no-repeat transparent left;
        padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>


post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">

Its work ! Thanks.

Abe1 12-30-2009 01:09 PM

Quote:

Originally Posted by rbu (Post 1942476)
If you are using Legacy...

post_thanks_box
Code:

<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
        {vb:raw post_thanks_box}
</li>


post_thanks_javascript
Code:

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button  {
        background: url(images/buttons/post_thanks.png) no-repeat transparent left;
        padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>


post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">

Thanx for the tip. I will look into adding that.

Abe1 12-30-2009 01:10 PM

Quote:

Originally Posted by valendono (Post 1942473)
@abe1
reimic problem is same like the other problem including me..

1) There is no image showing up. Only the text "Thanks".

Do you have more then 1 style?

ragarcia87 12-30-2009 01:11 PM

Thanks Abe1 for your speedy response :D

I will compare the two styles and see whats up. :D

valendono 12-30-2009 01:13 PM

only 1 default style and rbu post fix it.. :)

dont worry anymore, thanks for upgrade.. chill out bro..

Cyrus [Hwluxx] 12-30-2009 01:14 PM

Thx for update Abe1

I just installed it with overwrite the old 7.7 Version, working perfect.


All times are GMT. The time now is 05:11 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.03554 seconds
  • Memory Usage 1,855KB
  • 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
  • (8)bbcode_code_printable
  • (4)bbcode_html_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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