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)

datoneer 01-09-2013 09:23 PM

Excellent mod it works with 4.2.0. Installed and nominated!

karabaja3 01-11-2013 07:47 PM

Great mod. Would like this for 3.8.x

daviet 01-12-2013 04:08 PM

Mod looks great, I would also love to see the feature of hiding posts with a certain negative count mentioned previously in the thread.

Quote:

Originally Posted by tr1cky (Post 2372956)
Can you add an option to hide posts when they have a negative count of X and then users can they decide to expand the post or not.

Quote:

Originally Posted by klaus (Post 2360024)
...
2. Can a threshold be configured if a post receives a certain negative count that it collapses or is greyed out or something to that effect? Example -3 thumbs = post collapsed and can now only be read by pressing small plus symbol to return to normal view. If it receives enough positive thumbs it will be returned to a regular looking post.
...


Mr.Lucky 01-13-2013 03:12 AM

Love this mod, thank you for making it. Two questions:

1. Can you tell me where to make a change so when the votes are positive, it shows a + symbol?

2. If there are no votes, is it a simple code change to only show the thumbs and not the number 0?

Thanks!

jswiss 01-14-2013 07:39 PM

1 Attachment(s)
Hi Scandal

Thanks for a super mod - installed successfully!

How do I change the color of the text under the thumbs up/down text?

Right now it's green for a thumbs up and red for a thumbs down... I'd like to change these colors to gray...

Thanks!

ciano1 01-16-2013 03:03 PM

I've been using this mod for about a week now and I love it.
Here are 3 suggestions that I think will improve it alot:

1: When there is no thumbs up on a post, just display the thumbs up buttons and dont display a zero.

2: Add an option to turn off unvoting posts (once you thumb up a post it cannot be undone)

3: If your post has received thumbs up, display the number as you would any other post.

Love the mod :)

Muhammad Rahman 01-30-2013 02:21 AM

I think found a bug in the commentary article ..

such is the case:

when pressing thumb up it will be counted one ..
but when browsers reload thumb up lost count ..

sorry my English bad ..

curriertech 01-31-2013 12:44 AM

Quote:

Originally Posted by jswiss (Post 2396877)
Hi Scandal

Thanks for a super mod - installed successfully!

How do I change the color of the text under the thumbs up/down text?

Right now it's green for a thumbs up and red for a thumbs down... I'd like to change these colors to gray...

Thanks!

Edit this template: sc_thumbs_postbit_info

dizzynation 02-05-2013 08:14 PM

(EDIT) - Does not work with vb 4.2 and vBSEO 3.6

A few questions:

I am using vBSEO but I have the Likes/Thanks system disabled from the beginning (I have used the .php script to change from vbseo likes to thumbs up

Currently there are no thumbs up options in posts and I followed your instructions for adding thumbs up in posts


ALSO
**I am getting a strange warning with my custom firefox plugin that my forum is now linking to newrelic.com

Waring** 1289ms loading newrelic.com - (Does this have to do with this MOD?)


*EDIT*- If it is with this MOD you should have in the description that the mod includes app analytics for your purposes...

wally07 02-06-2013 08:00 AM

Quote:

Originally Posted by wally07 (Post 2392625)
Excellent hack! TY.

There's only a small problem I encountered while using postbit on any theme (including the default vBulletin theme). Using postbit_legacy doesn't have the follow issue.

Plugin enabled
http://img.photobucket.com/albums/v4...psb8eb4dea.png

Plugin disabled
http://img.photobucket.com/albums/v4...ps43068254.png


The post #'s and the physical post layout get thrown out of whack a small bit.

I've reuploaded the contents to the server as well as re-installed the product xml; same results. I will try to add it to my other mostly stock test forum (1 plugin - a chatbox) and see if the results are the same.

Also, the:
Thumbs Up/Down
Received:
Given:

Are not aligned. See below:
http://img.photobucket.com/albums/v4...ps47a0cb6f.png

Many thanks in advance.

edit:
Forgot to mention, I'm using vB 4.2 patch level 3

This still happens on my test forum with no other plugins installed. I even went as far as disabling all plugins on my live site and only enabling this plugin. Same issue, unfortunately. :(

robfielding 02-07-2013 11:16 AM

Hi,

I really like the Thumbs Up feature, thanks!

Is there any way of getting the best rated posts to appear in a Forum Block? I'd really like to have a block on my Forum index that shows the top rated posts from the last week.

Apologies if this question has been answered before.

Thanks,

Rob

Hippy 02-09-2013 12:35 PM

Scandal
I did not have time to test yet
but can this be ran along side with ab1's thanks mod
or it has to be imported to this ..

meaning a stand alone thumbs mod

thanks for all your hard work.

Hippy 02-09-2013 01:52 PM

one template atm was not cached
sc_thumbs_memberinfo_block
I added this to Cache Templates
Code:

if (THIS_SCRIPT == 'member') {
  $cache = array_merge($cache, array('sc_thumbs_memberinfo_block'));

}


Hippy 02-09-2013 02:18 PM

1 Attachment(s)
How do I enable the top rated and statistics

thanks

* edited never mind I found it

Hippy 02-09-2013 02:26 PM

1 Attachment(s)
when I click on Statistics
it shows all 0
screen added

any idea ?? thanks

Hippy 02-09-2013 03:13 PM

Valter where these addressed ?
if not can you explain what you did ? thanks
Quote:

Originally Posted by Valter (Post 2353693)
You should give us ability to view stats for other users.

Code:

http://domain/thumbs_center.php?u={userid}

;)


Quote:

Originally Posted by Valter (Post 2355215)
You need to remove this (template sc_thumbs_box):
Code:

<a href="#{vb:raw contentid}">
and of course closing tag:
Code:

</a>
https://vborg.vbsupport.ru/showpost....0&postcount=94

Quote:

Originally Posted by Valter (Post 2353400)
1. Is there a way to disallow removal of given thumbs?
I would like grey thumbup icon to appear here instead of red thumbdown icon.

2. Why number of thumbs in post is linked to DOMAIN/forum.php#{post_number}?
Do we really need <a href="#{vb:raw contentid}">?

3. Why you are not using existing global phrases for:

-From
-Type
-Date
-Time
-Content
-None
etc... ?

are these fixes still needed or where they implemented
Quote:

Originally Posted by AURFSCAN (Post 2355170)
Also I think the show thumbers popup should be to the left of the box and up, not below..

That too can be fixed in the css. Reason being If there is only one post in a thread theres no room for the box and the browser goes crazy with trying to scroll.. theres a mention of it in this thread

Quote:

Originally Posted by wally07 (Post 2392753)
This fixed the scrolling issue I encountered as well. Thank you! :)


Scandal 02-09-2013 04:25 PM

Quote:

Originally Posted by Hippy (Post 2403053)
Scandal
I did not have time to test yet
but can this be ran along side with ab1's thanks mod
or it has to be imported to this ..

meaning a stand alone thumbs mod

thanks for all your hard work.

Yes, it is a stand alone thumbs mod with feature to import your "thanks" from abe's post thanks and post groans! :)
Quote:

Originally Posted by Hippy (Post 2403076)
when I click on Statistics
it shows all 0
screen added

any idea ?? thanks

Data of the page "Statistics" for whole site, refresh every 24 hours. So if you have done a clean install of Thumbs Up?, you must wait some hours to build the stats OR you can run the statistics refresh button at admincp > [block] Thumbs Up? > Special Actions > Rebuild Statistics :up: Its is a simple task for the server. :up:

I'm very happy to see you on this topic, Hippy :D

Hippy 02-09-2013 07:28 PM

Quote:

Originally Posted by Scandal (Post 2403109)
Yes, it is a stand alone thumbs mod with feature to import your "thanks" from abe's post thanks and post groans! :)

Data of the page "Statistics" for whole site, refresh every 24 hours. So if you have done a clean install of Thumbs Up?, you must wait some hours to build the stats OR you can run the statistics refresh button at admincp > [block] Thumbs Up? > Special Actions > Rebuild Statistics :up: Its is a simple task for the server. :up:

I'm very happy to see you on this topic, Hippy :D

thanks bud
I been busy as a mofo .. I had this mod tagged but no time to test .. Just got around to it ..

did you see this fix I posted ??

Quote:

Originally Posted by Hippy (Post 2403069)
one template atm was not cached
sc_thumbs_memberinfo_block
I added this to Cache Templates
Code:

if (THIS_SCRIPT == 'member') {
  $cache = array_merge($cache, array('sc_thumbs_memberinfo_block'));

}


after reading more I found refresh every 24 hours. I ran it and all is well

Replicators 02-09-2013 07:30 PM

The biggest issue i have with this mod is the coloring, on my style it just looks OFF! It would be nice if the thumbs up and down buttons were like whats on youtube, smaller and neater. Also thumbs up being before the thumbs down. Anyway i can switch the thumbs through template edit?

Hippy 02-09-2013 08:45 PM

Quote:

Originally Posted by Replicators (Post 2403166)
The biggest issue i have with this mod is the coloring, on my style it just looks OFF! It would be nice if the thumbs up and down buttons were like whats on youtube, smaller and neater. Also thumbs up being before the thumbs down. Anyway i can switch the thumbs through template edit?

send me a link so I can see
+ post a screen shot I will see if I can figure out the issue ..
most likely its a stylevar

Replicators 02-10-2013 12:15 PM

1 Attachment(s)
Now i am pretty sure i can change the coloring myself aswell as changing the thumbs images, i would just need to know which templates to look at. The thing i want to do is reverse the order to have it thumbs up and then thumbs down.

dizzynation 02-10-2013 12:31 PM

Any have this working with

4.2 PL3 and vBSEO 3.6.1?

Thank you! - Really want this mod! :)

Hippy 02-10-2013 12:59 PM

Quote:

Originally Posted by Replicators (Post 2403299)
Now i am pretty sure i can change the coloring myself aswell as changing the thumbs images, i would just need to know which templates to look at. The thing i want to do is reverse the order to have it thumbs up and then thumbs down.



sc_thumbs_box template

Speedy131 02-12-2013 02:57 PM

I love this add-on :)

It would suit my forum even better if I restrict the ability to give thumbs up/down only to posts that have an attachment in them.

Does anybody know if something like this would be possible with a simple adjustment?
So you can only thumb up/down posts that include an attachment? That would be awesome :D

edit: ok found it :)
sharing it for those who want this also

in your postbit template change
Code:

{vb:raw post_thumbs_box}
into
Code:

<vb:if condition="$show['attachments']">{vb:raw post_thumbs_box}</vb:if>

neya 02-18-2013 10:20 PM

Do you think it would be possible to display the thumbs at the top of the posts, and not the bottom? Because the length of posts differ, some are longer, whereas some are shorter, and basically, the thumbs are always in a different location because of that, which makes it seem very messy.

Thank you for your time :)

Saint_ago 02-20-2013 12:03 PM

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

final kaoss 02-20-2013 07:05 PM

Thanks, it'll come in handy for my cheats sections :)

Big-K 02-21-2013 06:38 AM

Great Mod:

Can you add these features?
1. Optional ability to list who gave thumbs up/down below the post (much like SEO Likes)
2. A summary of Likes for each thread (like SEO Likes)
3. Auto-hide (or auto-report) a post after certain number of thumbs-down. Like its done in Youtube

final kaoss 02-21-2013 03:20 PM

Pretty sure options 1 & 2 are already available.

Big-K 02-21-2013 04:34 PM

Quote:

Originally Posted by final kaoss (Post 2405612)
Pretty sure options 1 & 2 are already available.

Grateful if you can point me to where/how.

final kaoss 02-21-2013 04:44 PM

ACP > Options > Thumbs Up Options
PHP Code:

Thumbs Up votesshow who vote?
If 
YESthe list with users who gives thumbs up voteswill appear publicly on the rating boxAdministrators can always see this list.

Thumbs Down votesshow who vote?
If 
YESthe list with users who gives thumbs down voteswill appear publicly on the rating boxAdministrators can always see this list. 


Big-K 02-21-2013 05:52 PM

Quote:

Originally Posted by final kaoss (Post 2405628)
ACP > Options > Thumbs Up Options
Thumbs Up votes: show who vote?
If YES, the list with users who gives thumbs up votes, will appear publicly on the rating box. Administrators can always see this list.

Thumbs Down votes: show who vote?
If YES, the list with users who gives thumbs down votes, will appear publicly on the rating box. Administrators can always see this list.

Oh, I get that. I was asking about a permanently visible list, much like the system her on VB.org or VBSEO likes.

Saint_ago 02-25-2013 01:50 PM

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

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 :)

Elric 02-26-2013 12:21 PM

1 Attachment(s)
TOP mod much thanks but...

Attachment 143930

...makes not a brake the thanks mod is this:

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

dany_danay 03-01-2013 02:10 AM

I install it, but it dont appear

Hippy 03-03-2013 02:00 PM

Quote:

Originally Posted by Elric (Post 2406453)
TOP mod much thanks but...

Attachment 143930

...makes not a brake the thanks mod is this:

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

did you do the fixes or install the thanks mod I updated ?
if so it does not do that

Elric 03-03-2013 02:17 PM

What updates/ fix you mean?

Hippy 03-03-2013 05:33 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1943" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1943</a>

Elric 03-04-2013 04:24 AM

Hmm i not see a fix for my problem in this thead?

deltahawk5 03-05-2013 09:19 AM

Any way to give the thumbsup center list a color background? The transparency is causing issues and I do not know the code well enough to find it on the style sheet.


All times are GMT. The time now is 04:04 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.03558 seconds
  • Memory Usage 1,850KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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