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)
-   -   Miscellaneous Hacks - [AJAX] Thumbs Up? (https://vborg.vbsupport.ru/showthread.php?t=285720)

concepts 12-21-2017 03:53 PM

My site does not allow for registrations, however I've been looking for a mod like this (great design) that can allow guests to like posts, is it possible with this mod?

Scandal 12-21-2017 05:22 PM

Quote:

Originally Posted by concepts (Post 2591740)
My site does not allow for registrations, however I've been looking for a mod like this (great design) that can allow guests to like posts, is it possible with this mod?

Hello concepts!
No, it is based on registered accounts to save the votes. :)

final kaoss 12-23-2017 11:50 PM

Nevermind, fixed

gsk8 05-30-2018 11:33 AM

We use Tapatalk and the mobile version, but can't find where to "Thumb Up"?

Great mod! Thanks for all your hard work!

Master Of Unive 10-14-2018 01:43 AM

Should have known about this earlier.

dartho 04-08-2019 10:43 AM

I'd love to see this extended to include additional options - Thumbs Up, Thumbs Down, Smiley Face, Sad Face ... similar to current Facebook likes system

gsk8 05-06-2019 05:23 PM

Hey, not sure what I did but get an error when trying to give thumbs up?

Quote:

[] operator not supported for strings on line 106 in /xxx/xxxx/xxxx/xxxxx/xxxxx/functions_sc_thumbs.php
#0 /xxxx/xxxx/xxxxxx/xxxxxx/thumbs.php(82): fetch_thumbs('2382181', '', 'post', 'postid', false)
#1 {main}


Fatal User Error: [] operator not supported for strings on line 106 in ..../includes/functions_sc_thumbs.php in ..../vb/vb.php on line 286
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line

Var Type:
[ NULL ]

Var Data:
null

shka 05-06-2019 05:57 PM

Did you have recently updated PHP to 7.1 or later?

Edit line 97 of /xxx/xxxx/xxxx/xxxxx/xxxxx/functions_sc_thumbs.php

Quote:

function fetch_thumbs($id = 0, $ids = [], $contenttype, $data_id, $fetch_again = false)

gsk8 05-06-2019 06:14 PM

Yes! 7.1.28

gsk8 05-06-2019 06:19 PM

I made that change and reuploaded, but same error?


All times are GMT. The time now is 09:39 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.01664 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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