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)

M.C. 02-09-2015 10:34 AM

Hello! Great mod and I use it! Thanks!!!

Any ideas how to integrate this mod into vbAdvanced? So everyone can see/give thumbs from vbAdvanced home page.

Same would be nice to see thumbs count at threadlist page....

And finaly what I think is what should be done first - WHY you create own table and didn't use it with original reputation system?

Thanks ;)

Fields 02-09-2015 11:10 AM

Quote:

Originally Posted by M.C. (Post 2536748)
Hello! Great mod and I use it! Thanks!!!

Any ideas how to integrate this mod into vbAdvanced? So everyone can see/give thumbs from vbAdvanced home page.

Same would be nice to see thumbs count at threadlist page....

And finaly what I think is what should be done first - WHY you create own table and didn't use it with original reputation system? for example each thumb up give +1 Reputation point...

Thanks!

Thanks ;)

This should work, just try to paste the following code in your vBadvanced module template:

PHP Code:

{vb:raw post_thumbs_box


M.C. 02-09-2015 02:27 PM

Quote:

Originally Posted by Fields (Post 2536754)
This should work, just try to paste the following code in your vBadvanced module template:

PHP Code:

{vb:raw post_thumbs_box


hmm... don't see it's working... what exact template should I paste it in?

I tried to put it in adv_portal_newsbits template.

Thanks ;)

pablodip 02-10-2015 08:18 PM

Quote:

Originally Posted by Fields (Post 2529358)
You mean you don't see them?

Yes, sorry for my english

Long ago you install it several times, but never achieved the buttons are displayed .. had all settings except that the buttons do not appear

Manoel J?nior 02-18-2015 02:04 PM

I enabled to only be shown in the first post, but would not want to appear in the posts below the image Thumbs (disabled in gray), wanted to remove, how do?

Manoel J?nior 02-21-2015 03:52 PM

I wonder also, as I do so that each reply is added in posting a like to the main post?

Tibiaspy 04-21-2015 04:11 PM

Is there a way to delete all Thumbs a user received? There is a way to delete all that he gave away and all for one post but is there a way to delete every single one of thumbs that he received?

Any way will be fine.

Tibiaspy 06-30-2015 07:12 AM

Quote:

Originally Posted by Saint_ago (Post 2405397)
Hi! That's a nice hack, thank you for doing it!

I've installed the hack yesterday, and i'm having an issue with the Thumbs Center. In the column "Date/Time", all dates and time are showing the variables "d-m-Y - H:i" instead of the actual date and time. How can i fix it?

Thanks in advance

Quote:

Originally Posted by Saint_ago (Post 2406216)
Fixed by myself.

In "thumbs_center.php"
Changed from:
Code:

$content['date'] = vbdate("d-m-Y - H:i", $xxx['xxx']);
To:
Code:

$content['date'] = vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'], $xxx['xxx']);
Now it uses the date/time format i've set in Vbulletin settings :)

I had the same problem, thanks for help in fixing it, tho I had to change another code.

When I used your code I got date "01-01-70 00:00" everywhere (probably because I pasted everything including $xxx :D). So if anybody has the same problem this is how to fix it:

Go to thumbs_center.php

Change:
Code:

$content['date'] = vbdate("d-m-Y - H:i", $post['dateline']);
To:
Code:

$content['date'] = vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'], $post['dateline']);
And if you have thumbs up activated for more than just posts (like for visitor msgs, blog posts, etc) you need to find all:

Code:

$content['date'] = vbdate("d-m-Y - H:i",
And replace it with:

Code:

$content['date'] = vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'],
That worked for me.

vosur 09-21-2015 07:10 PM

Hi all! Please tell me how to install Thumbs Up in vBulletin Project Tools Open Source

john7911 09-22-2015 08:13 AM

Thank you ;)


All times are GMT. The time now is 08:02 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.01710 seconds
  • Memory Usage 1,750KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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