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)

zascok 08-04-2012 05:20 PM

1 Attachment(s)
nice one, Tiny thing when thumbs up! given the icon turns into thumbs down for a user. it's a little confusing. lots of my users PMed me and asked to fix it cos they though the pressed Up! but antecedently pressed Down :) Can we have something else instead?

Or at list a function to allow or dissalow to take off given Thumbs.

fishmaster 08-05-2012 12:18 AM

Any ideas..

Had to uninstall to make the forum readable again.

Warning: require_once([path]/includes/functions_sc_thumbs.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_postbit.php(345) : eval()'d code on line 122

Fatal error: require_once() [function.require]: Failed opening required '/public_html/******/forums/includes/functions_sc_thumbs.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***********/public_html/forums/includes/class_postbit.php(345) : eval()'d code on line 122

Scandal 08-05-2012 07:11 AM

1 Attachment(s)
Quote:

Originally Posted by zascok (Post 2354447)
nice one, Tiny thing when thumbs up! given the icon turns into thumbs down for a user. it's a little confusing. lots of my users PMed me and asked to fix it cos they though the pressed Up! but antecedently pressed Down :) Can we have something else instead?
https://vborg.vbsupport.ru/attachmen...8&d=1344104374
Or at list a function to allow or dissalow to take off given Thumbs.

You're free to change the file of the red button with something you like. For example you can use this:
Attachment 140332
(it is an inverted green button)
... just rename it to down.png and replace it with the already file.
You can use every button you like, by replace the down.png.

A notice: you should reupload the normal red button if you decide to enable the Thumbs down votes.

However, if you have use facebook, you'll see that normally it has not "dislike" choice for contents BUT if you push "like", to undo it you must push a phrase named "dislike". That may means that we dislike ALL content of facebook since we push a "like". :confused::p

Quote:

Originally Posted by fishmaster (Post 2354539)
Any ideas..

Had to uninstall to make the forum readable again.


Warning: require_once([path]/includes/functions_sc_thumbs.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_postbit.php(345) : eval()'d code on line 122

Fatal error: require_once() [function.require]: Failed opening required '/public_html/******/forums/includes/functions_sc_thumbs.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***********/public_html/forums/includes/class_postbit.php(345) : eval()'d code on line 122

Are you sure you had upload correctly the necessary files to your forum directory?
On your forum root there are these directrories:
/admincp/
/clientscript/
/images/
/includes/
.. you should upload the files as there are in the folder packet of *zip attached to the first post. Files thumbs.php and thumbs_center.php must be to the same "root" directory with the above folders.

PS: Thank you all for your suggestion and ideas! I'm already working for the next release!

zascok 08-05-2012 08:19 AM

1 Attachment(s)
I see what do you mean. But yesterday ev things gone so weird I had to change the button in template to up_dis.png. Most of my users don't have any idea of facebook (who cares of fb, right? ).

But any way imo it would be really useful to have a function to disable ability to take off "Thums!" given. Ones given it stays grey and disabled, end of story. :)


pretty please

fishmaster 08-05-2012 04:55 PM

Working like a champ..

Impromptu 08-05-2012 06:11 PM

Very nice work and love it.

I use post-legacy style and just some minor issues.

With the people who are listed as thumbs up is there a way I can put in a right-margin it as the last letter is cut off on the right hand side.

Also, when the hover over the number of thumbs up, it's fine for posts with 4-5 lines but where there is a post with 1 lines it goes really weird. Just when I hover it, but otherwise it's fine.

fishmaster 08-05-2012 10:35 PM

Some issues with the display cutting off on the numbers...

ywwz 08-06-2012 01:05 PM

Very cool, works on 4.2.0

mgbhard 08-06-2012 01:39 PM

First let me thank you for sharing this!

I've set it up so everyone can see the "+1 hand" when they don't have access, or to use it on them self.
The problem i'm having is that sometimes on some posts (not from themself) users complain that there is no hand, or there is but when they click it they get a "you don't have access to this page".

It's happing randomly, and it doesn't happend to all the users on the same post, i mean some users will get a you don't have access, but other will be able to thank for that post without any problem.

Do u have any clue what could be wrong? Thanks for your help, and sorry about my sucky english.

Gecuba 08-06-2012 02:09 PM

I made some 'сosmetic' changes for thumbs box.
Decrease the width from 150px to130px and aligned icon in box - now it's in the middle of the upper block.
Code:

<img src="images/buttons/up.png" border="0" alt="" style="vertical-align: middle" class="inlineimg" />
https://vborg.vbsupport.ru/external/2012/08/112.png https://vborg.vbsupport.ru/external/2012/08/113.png


All times are GMT. The time now is 03:32 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.01313 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (2)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