vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features) (https://vborg.vbsupport.ru/showthread.php?t=204117)

Ted S 06-12-2009 03:02 AM

You'll need to update both the XML file and the upload/helpfulanswers.php file,

ctrlbrk 06-13-2009 02:33 PM

Hi,

I am brand new to vbulletin so I apologize. I read through many posts but could not find this. I am sure it is here, but maybe someone would be so kind to repeat.

What code can I place in postbit so that under the "Posts: xx" display it will show "Thanked: xx times"? I want it so if it is 0 (zero) nothing is shown, otherwise it would say "Thanked: 3 times" etc. This is the total number of times the user has been thanked across ALL posts.

Thank you.
Mike

Ted S 06-13-2009 02:45 PM

Mike there is not support for that level of reporting in this addon

ctrlbrk 06-13-2009 02:53 PM

Quote:

Originally Posted by Ted S (Post 1829002)
Mike there is not support for that level of reporting in this addon

Thank you Ted. You have an excellent product here. Do you think this may be added in a future version or perhaps I am missing some other add-on?

Have a good one,
Mike

Ted S 06-14-2009 03:27 AM

It's in the roadmap but not something you will likely see in the next few weeks

NLP-er 06-14-2009 11:36 AM

Hi, what I need to do to have some link in nav bar to most rated posts?

Saviour 06-14-2009 01:24 PM

Nice...me likey...marks Installed.

Have a question about the Most Helpful Answers page, though. I notice that in the Posts column...it will list the title of the thread.

Anyway to limit the amount of characters for the thread title in this column?

Also...it would seem the Forum title and Average Rating column content is not centered in the column. Can ya fix this?

I also have one last question. I'd like to include a "top of page image" within the table that calls the info for user votes on a thread/post. What do I edit to include this?

Thanks, bunches, for this mod. Replaces the post thank you/groan for my Articles forum...

Ted S 06-14-2009 02:22 PM

Quote:

Originally Posted by NLP-er (Post 1829472)
Hi, what I need to do to have some link in nav bar to most rated posts?

edit the navbar template and add the link

Ted S 06-14-2009 04:14 PM

Quote:

Originally Posted by Saviour (Post 1829501)
Have a question about the Most Helpful Answers page, though. I notice that in the Posts column...it will list the title of the thread.

Anyway to limit the amount of characters for the thread title in this column?

In helpfulanswers.php find:

Code:

SELECT post.postid,post.title as posttile,helpfulpost.goodrank,helpfulpost.totalrank,helpfulpost.lastvote,
  thread.threadid,thread.title as title,thread.postusername as postusername,forum.title as ftitle $helpful_selectby
  $hook_query_fields
  FROM " . TABLE_PREFIX . "helpfulpost as helpfulpost

and change it to:

Code:

SELECT post.postid,LEFT(post.title,35) as posttile,helpfulpost.goodrank,helpfulpost.totalrank,helpfulpost.lastvote,
  thread.threadid,thread.title as title,thread.postusername as postusername,forum.title as ftitle $helpful_selectby
  $hook_query_fields
  FROM " . TABLE_PREFIX . "helpfulpost as helpfulpost

Where 35 is the number of characters to grab.

Quote:

Also...it would seem the Forum title and Average Rating column content is not centered in the column. Can ya fix this?
Odd. The cables cells are set to center. Is this the data results or the header?

Quote:

I also have one last question. I'd like to include a "top of page image" within the table that calls the info for user votes on a thread/post. What do I edit to include this?
I'm not sure what you mean. Can you elaborate?

Saviour 06-14-2009 06:30 PM

Did a search for the text you said look for...it's not found in the helpfulanswers.php file.

Found this, though:

Code:

SELECT post.postid,post.goodrank,post.totalrank
                                        FROM post as post
                                        WHERE totalrank > 0
                                        ");

Also...I'm referring to centering the data results for those two columns...they don't look like they are centered.


All times are GMT. The time now is 08:49 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.01842 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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