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)

oldz442 08-06-2012 09:43 AM

I am trying to simply the like display with a simple post counter beside the Like button. You press the Like button, the counter increments, the Like button is no longer clickable, and hopefully no text/imgs shift at all or too much. Is that possible w/o having to refresh the page?

I did manage to set it up (using vb 4.2.0) like this site with the horizontal blue bar. Works fine, except that relative and absolute settings are being a pain in postbit_legacy template and postbody section... mainly that is pushes the sig and last edited line up too much once there is a Like - I can set margin-bottom:60px or so on postbody, but does not look right with no sig or last edited line.

jancarlo 08-08-2012 08:13 PM

Quote:

Originally Posted by ForceHSS (Post 2352434)
As English is not your first language I will help you as you might not understand what the first says so click the link in my sig so get the updated one it also tells you this in the first post or as some call it the op

:D Thanks ForceHSS... very nice... :D

Disco_Dave 08-09-2012 07:03 AM

@ForceHSS

A few members have now reported when they click on Find all thanked posts by: We end up with a database error, see below.

Dave

PHP Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

            
REPLACE INTO vbsearch (useridipaddresspersonalsearchuserforumchoicesortbysortordersearchtimeshowpostsorderedidsdatelinedisplaytermssearchhash)
            
VALUES (2'192.109.140.134'1'Disco_Dave''''post.dateline''DESC'0.017431'54231,54219,54172,54098,54084,54083,53994,53915,53767,53718,53597,53548,53339,53319,53193,53169,52896,52503,52497,52485,52459,52453,52385,52144,51968,51939,51630,51620,51612,51610,51569,51542,51304,51160,51159,37103,37053,37000,36962,36912,36902,36861,35942,35817,35526,35515,35368,34461,34162,33611,33608,33501,33313,33133,33105,32888,32425,31765,31721,31348,31096,31092,30836,30830,30816,30743,30724,30162,30160,30126,30125,30095,30085,29910,29668,29626,29465,29403,29364,29319,29221,29218,29217,29025,29003,28998,28959,28821,28730,28591,27530,26800,25993,25858,25769,23399,23330,22925,22737,22380,21937,21729,21413,21388,21320,21300,20813,20542,20512,20220,20169,20055,20019,19994,19763,19367,19232,19176,19151,19112,19104,18168,17921,17650,17551,17425,17424,16637,16409,16370,16136,15310,15140,14339,14330,13424,13408,13107,13081,11795,11749,11743,11421,10670,10200,10094,9768,9128,9119,9118,9111,9057,8994,8598,8565,8483,8173,7792,7138,6985,6925,6445,6440,5876,5808,5315,5312,5290,5158,4699,4529,4134,4075,3923,3891,3853,3431,3120,2829,2749,2273,2241,1548,1426,356,353,351,350'1344499191'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2;s:10:\"Disco_Dave\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}''28ee937b1b4bc2f17f88e466108be8ec');

MySQL Error   Table 'nirc_xxxxxx.vbsearch' doesn't exist
Error Number  : 1146
Request Date  : Thursday, August 9th 2012 @ 02:59:51 AM
Error Date    : Thursday, August 9th 2012 @ 02:59:51 AM
Script        : http://www.nirc.co.uk/forums/post_thanks.php?do=findthanks_user_gave&u=2
Referrer      : http://www.nirc.co.uk/forums/member.php?2-Disco_Dave
IP Address    : xxxxxxxxxxxxx
Username      : Disco_Dave 


ForceHSS 08-09-2012 01:21 PM

Quote:

Originally Posted by tricksodave (Post 2355742)
@ForceHSS

A few members have now reported when they click on Find all thanked posts by: We end up with a database error, see below.

Dave

PHP Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

            
REPLACE INTO vbsearch (useridipaddresspersonalsearchuserforumchoicesortbysortordersearchtimeshowpostsorderedidsdatelinedisplaytermssearchhash)
            
VALUES (2'192.109.140.134'1'Disco_Dave''''post.dateline''DESC'0.017431'54231,54219,54172,54098,54084,54083,53994,53915,53767,53718,53597,53548,53339,53319,53193,53169,52896,52503,52497,52485,52459,52453,52385,52144,51968,51939,51630,51620,51612,51610,51569,51542,51304,51160,51159,37103,37053,37000,36962,36912,36902,36861,35942,35817,35526,35515,35368,34461,34162,33611,33608,33501,33313,33133,33105,32888,32425,31765,31721,31348,31096,31092,30836,30830,30816,30743,30724,30162,30160,30126,30125,30095,30085,29910,29668,29626,29465,29403,29364,29319,29221,29218,29217,29025,29003,28998,28959,28821,28730,28591,27530,26800,25993,25858,25769,23399,23330,22925,22737,22380,21937,21729,21413,21388,21320,21300,20813,20542,20512,20220,20169,20055,20019,19994,19763,19367,19232,19176,19151,19112,19104,18168,17921,17650,17551,17425,17424,16637,16409,16370,16136,15310,15140,14339,14330,13424,13408,13107,13081,11795,11749,11743,11421,10670,10200,10094,9768,9128,9119,9118,9111,9057,8994,8598,8565,8483,8173,7792,7138,6985,6925,6445,6440,5876,5808,5315,5312,5290,5158,4699,4529,4134,4075,3923,3891,3853,3431,3120,2829,2749,2273,2241,1548,1426,356,353,351,350'1344499191'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2;s:10:\"Disco_Dave\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}''28ee937b1b4bc2f17f88e466108be8ec');

MySQL Error   Table 'nirc_xxxxxx.vbsearch' doesn't exist
Error Number  : 1146
Request Date  : Thursday, August 9th 2012 @ 02:59:51 AM
Error Date    : Thursday, August 9th 2012 @ 02:59:51 AM
Script        : http://www.nirc.co.uk/forums/post_thanks.php?do=findthanks_user_gave&u=2
Referrer      : http://www.nirc.co.uk/forums/member.php?2-Disco_Dave
IP Address    : xxxxxxxxxxxxx
Username      : Disco_Dave 


Use the one in my sig with search fix

Disco_Dave 08-09-2012 01:40 PM

Thanks ForceHSS :)

ForceHSS 08-09-2012 01:57 PM

Your welcome if you need any more help pm me or check Skype

Videx 08-09-2012 04:18 PM

Quote:

Originally Posted by ForceHSS (Post 2355784)
Use the one in my sig with search fix

Actually, of the 3 choices in your sig, none mentions a search fix. I think what you mean is "Use the one in my sig because it contains the search fix.".

treefrog 08-10-2012 11:03 AM

Is there a way to modify this to be a 'Like' hack instead of a 'thank you'
hack?

There's probably a description of how to do that somewhere in the 2800 posts on this thread...but I didn't have time to read them all :)

Adam H 08-10-2012 11:15 AM

Quote:

Originally Posted by treefrog (Post 2355961)
Is there a way to modify this to be a 'Like' hack instead of a 'thank you'
hack?

There's probably a description of how to do that somewhere in the 2800 posts on this thread...but I didn't have time to read them all :)

See this post, although if you only want the terms to be changed to like instead of Thanks just change the phrases as described at the top of the post. If you want the whole style to be changed so it looks like the screen shot then follow all the instructions :

https://vborg.vbsupport.ru/showthread.php?t=266358

Hippy 08-10-2012 11:27 AM

BirdOPrey5 made one.
You'll find a short cut here and anything else you may need





https://vborg.vbsupport.ru/showpost....postcount=1943


All times are GMT. The time now is 02:58 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.03279 seconds
  • Memory Usage 1,765KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete