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)

Capper5016 02-24-2009 04:20 AM

Something like this

Code:

(Thumb Up)...$post[goodrank]  (Thumb Down)...$post[badrank]
But here is my issue........how do I put this together? What template do I edit? I have messed with the above code and put it under the post count in legacy postbit....but then i realized that the above code only pertained to that specific post and not an overall count.

So, what template do I edit, and maybe a little help with putting it all together so that the above idea replaces the default text at the bottom of each post.

Ted S 02-24-2009 12:04 PM

Template edits will let you do exactly what you want; you just need to use the right variable (good rank). All you need to is change the phrase to +{1} and it will show +6 votes if that's the total good votes.

The votes will appear before a user votes themselves... If there are any votes (we don't show 0 of 0).

The image paths are hard coded if you use phrases... If you remove the phrase you can make them however you like.

Ted S 02-24-2009 12:07 PM

Quote:

Originally Posted by Capper5016 (Post 1752979)
Something like this

Code:

(Thumb Up)...$post[goodrank]  (Thumb Down)...$post[badrank]
But here is my issue........how do I put this together? What template do I edit? I have messed with the above code and put it under the post count in legacy postbit....but then i realized that the above code only pertained to that specific post and not an overall count.

So, what template do I edit, and maybe a little help with putting it all together so that the above idea replaces the default text at the bottom of each post.

You edit helpful_answers

Look for the yes no phrase, remove it but use the links and the variables.

I'll post samples later today

Capper5016 02-24-2009 02:19 PM

Ted, A good example...including a detailed explanation of where to put stuff, would be awesome.....and I think several people would really like this style.

Nominated for MOTM, you've really done a spectacular job with this mod, and been incredibly patient with all the requests..

Ted S 02-24-2009 02:33 PM

I have released version 1.5.5 which fixes a very small bug with the extensions for plus & minus icons. To upgrade simply upload the new plugin file. No other changes have been made.

Users not using plus and minus images do not need to upgrade.

DobieGillis? 02-24-2009 02:38 PM

Ted, don't see the new file

Ted S 02-24-2009 02:42 PM

Quote:

Originally Posted by Capper5016 (Post 1753342)
Ted, A good example...including a detailed explanation of where to put stuff, would be awesome.....and I think several people would really like this style.

Nominated for MOTM, you've really done a spectacular job with this mod, and been incredibly patient with all the requests..

Checkout https://vborg.vbsupport.ru/showpost....65&postcount=2 for examples

Ted S 02-24-2009 02:42 PM

Quote:

Originally Posted by DobieGillis? (Post 1753360)
Ted, don't see the new file

It seems to be there for me?

Capper5016 02-24-2009 02:56 PM

Working perfectly! (Update doesnt show up for me either)

An idea......Maybe a way to make the highest rated post stand out

Ted S 02-24-2009 03:28 PM

Quote:

Originally Posted by Capper5016 (Post 1753376)
Working perfectly! (Update doesnt show up for me either)

An idea......Maybe a way to make the highest rated post stand out

That's already a feature. There's a variable that identifies this to be used as you see fit...


All times are GMT. The time now is 07:34 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.02333 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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