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)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=233296)

Ted S 01-18-2011 03:28 AM

Quote:

Originally Posted by Bundle (Post 2149949)
Hello,

Hopefully someone can help me with something that's been driving me INSANE! :D

Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.

For the life of me, I can't figure out how to show the "plus" graphic on my own post, next to the rating. That is, when the member who makes the post looks at his own post, which has been rated, it's just the number. No graphic. For anyone else looking at his post, the graphic is there. I know WHY this is: it's because the code for displaying it is built into the "can rate" condition of the mod, and I've added a separate if condition in the template to display it when the post has been rated (helpfulanswerid), but I can't get it to display for "if this is my own post"... if you see what I mean.

I'm probably being really thick. Is there a standard vb conditional for "if this is my post"? That would sort it :/

Why not just wrap the voting blocks in an if/else statement... Show the current votes after the vote option for everyone and for you (the user) just show the plus and vote count

mmackinnon 01-18-2011 03:37 AM

Hey Tom

Thanks for the fast reply!!

I got it!

Quote:

Originally Posted by Ted S (Post 2150777)
By default this works on every post. You must have changed the options to single rating.


Ted S 01-21-2011 04:23 AM

HA members, please welcome TheLastSuperman to the HA development and support efforts. TheLastSuperman has offered to step in and provide support and fixes. I do plan some significant updates later this year to add in many of the most requested features so keep your eye out for updates!

CvP 01-21-2011 08:22 AM

Welcome :)

This means we will get "who rated" and rating removal options. yay! :D

kersti 01-22-2011 10:38 AM

Quote:

Originally Posted by Bundle (Post 2149949)
Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.

That's the way I'd like it to function - can you let me know what changes you've made to get this working?

TheLastSuperman 01-22-2011 08:30 PM

Quote:

Originally Posted by Ted S (Post 2152248)
HA members, please welcome TheLastSuperman to the HA development and support efforts. TheLastSuperman has offered to step in and provide support and fixes. I do plan some significant updates later this year to add in many of the most requested features so keep your eye out for updates!

Quote:

Originally Posted by CvP (Post 2152306)
Welcome :)

This means we will get "who rated" and rating removal options. yay! :D

Hey everyone ;). A Quick note to say I won't have time available to add in new features, only a update if required, all my other time will be spent on support for the modification until Ted has more free time available :cool:.

Quote:

Originally Posted by Bundle (Post 2149949)
Hello,

Hopefully someone can help me with something that's been driving me INSANE! :D

Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.

For the life of me, I can't figure out how to show the "plus" graphic on my own post, next to the rating. That is, when the member who makes the post looks at his own post, which has been rated, it's just the number. No graphic. For anyone else looking at his post, the graphic is there. I know WHY this is: it's because the code for displaying it is built into the "can rate" condition of the mod, and I've added a separate if condition in the template to display it when the post has been rated (helpfulanswerid), but I can't get it to display for "if this is my own post"... if you see what I mean.

I'm probably being really thick. Is there a standard vb conditional for "if this is my post"? That would sort it :/

Try something along the lines of:

Code:

<vb:if condition="$post['userid'] == $bbuserinfo['userid']"> Do this or show this code etc etc </vb:if>
Quote:

Originally Posted by kersti (Post 2152801)
That's the way I'd like it to function - can you let me know what changes you've made to get this working?

Let's see how Bundle replies and if it works we'll list some alternate instructions on how to customize the modification to work like that for you and other members ;).

reddyink 01-26-2011 08:10 PM

Is the latest version integrated to VBCredits. There was a previous link which no longer working.

TheLastSuperman 01-27-2011 04:49 PM

Quote:

Originally Posted by reddyink (Post 2155024)
Is the latest version integrated to VBCredits. There was a previous link which no longer working.

I went back a few pages and used the search, my wife says I'm blind however please post that link or link to the post in question. If there's not a modified version released in this thread by Ted then there is not an integrated version out atm.

Edit: Now this is listed in the 3.8 version of this modification, see the mod description:

External Integration:
vB Plaza Modification - http://www.vbplaza.com/forum/showthread.php?p=6359
vB Experience - https://vborg.vbsupport.ru/showthread.php?t=199556

Nothing on vBCredits though on my end.

Sadikb 01-30-2011 03:21 AM

Welcome Michael... :)

Ted S 02-05-2011 10:15 PM

Quote:

Originally Posted by TheLastSuperman (Post 2155326)
I went back a few pages and used the search, my wife says I'm blind however please post that link or link to the post in question. If there's not a modified version released in this thread by Ted then there is not an integrated version out atm.

Edit: Now this is listed in the 3.8 version of this modification, see the mod description:

External Integration:
vB Plaza Modification - http://www.vbplaza.com/forum/showthread.php?p=6359
vB Experience - https://vborg.vbsupport.ru/showthread.php?t=199556

Nothing on vBCredits though on my end.

The vBCredits mod was made by someone else and AFAIK, not ported to the 4.0 version


All times are GMT. The time now is 05:52 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.02464 seconds
  • Memory Usage 1,757KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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