vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Post Ranking System (https://vborg.vbsupport.ru/showthread.php?t=203801)

FullyTested 03-20-2009 03:43 AM

Version 2.5
Fixed small bug with the stats page.
Added the ability to have the score and rank images display in a separate line when default setting is to not have the thread title in every post.

The following files have changed:
- postrankstats.php (please re-FTP to your server)
- product_postrank.xml (please re-import with 'Allow Overwrite' selected)

Haltech 03-20-2009 05:40 AM

got it to work... voted MOTM!

pete_brady 03-20-2009 12:18 PM

Right so I've been asked to replace every mention of 'rank' with 'donk'.... don't ask.

is this an easy one?

FullyTested 03-20-2009 03:19 PM

Yes it is easy...
Since everything is phrased you can either change it in the product itself if you open it in a text editor and then re-import it, or simply search all phrases via the admin control panel for the word 'rank' and change it that way.

pete_brady 03-20-2009 11:44 PM

Quote:

Originally Posted by FullyTested (Post 1772653)
Yes it is easy...
Since everything is phrased you can either change it in the product itself if you open it in a text editor and then re-import it, or simply search all phrases via the admin control panel for the word 'rank' and change it that way.

excellent, thanks.

ok one more question - can the collapse low ranked posts option be set to on as default for all users without it being forced, i.e. they still have the option to turn it off again?

FullyTested 03-21-2009 02:54 AM

Yes, you can run this SQL query to set both hide and highlight on for all users:

for both:
UPDATE postrank_useroptions SET highlight_post = 1, hide_post = 1

for collapse/hide:
UPDATE postrank_useroptions SET hide_post = 1

for highlight:
UPDATE postrank_useroptions SET highlight_post = 1

pete_brady 03-21-2009 08:51 AM

thanks for that, but i only have postrank_useroptions for users who've already modified their options?

FullyTested 03-21-2009 09:59 AM

pete_brady,

if you have MySQL 4.1.0 or higher:

INSERT INTO postrank_useroptions (userid, highlight_post, hide_post) SELECT userid,1,1 FROM user ON DUPLICATE KEY UPDATE highlight_post = 1, hide_post = 1

pete_brady 03-21-2009 12:57 PM

great, thanks!

Stussi 03-21-2009 01:27 PM

We have a little problem.. after installing and setting up the values i tried to vote some posts.

Unfortunately that doesn't work. After clicking 2 times (about 20 seconds between the clicks) on the + oder - button they turn grey and nothing happens.

Any suggestions?

Macindy 03-22-2009 08:21 AM

Quote:

Originally Posted by FullyTested (Post 1773259)
pete_brady,

if you have MySQL 4.1.0 or higher:

INSERT INTO postrank_useroptions (userid, highlight_post, hide_post) SELECT userid,1,1 FROM user ON DUPLICATE KEY UPDATE highlight_post = 1, hide_post = 1

Why must be the values set by sql-entries. Can not the default be to hide posts/hightlight posts?
What is with new registered users?

Great plugin!!

webuser00 03-28-2009 01:13 AM

Is there a way to show how many ups and down votes there are on forumdisplay? that way a user can see if the thread was highly/low rated

let me know :)

FullyTested 03-28-2009 11:36 AM

Quote:

Originally Posted by Macindy (Post 1774021)
Why must be the values set by sql-entries. Can not the default be to hide posts/hightlight posts?

Because it saves creating a table entry for every user.

Quote:

Originally Posted by webuser00 (Post 1778697)
Is there a way to show how many ups and down votes there are on forumdisplay? that way a user can see if the thread was highly/low rated

No such option at the moment I'm afraid :(

peyman.nt 03-31-2009 06:51 AM

Is it possible to add rating system like "thread rating" with five stars for each post?

AzzidReign 03-31-2009 11:50 PM

Can this be integrated into the reputation system? If so, can you make it so we can manually change the values for each + or - ?

paul41598 04-02-2009 03:54 PM

When doing a search by rank:

PHP Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

        
SELECT COUNT(DISTINCT(userid)) AS count
        FROM postranktotals 
AS postranktotals
        INNER JOIN user 
AS user using(userid)
        
WHERE postranktotalshigh 0
        LIMIT 1
;

MySQL Error   Column 'userid' in field list is ambiguous
Error Number  
1052
Request Date  
ThursdayApril 2nd 2009 12:54:33 PM
Error Date    
ThursdayApril 2nd 2009 12:54:33 PM 


pete_brady 04-02-2009 07:35 PM

suggestion: An option to disemvowel low score posts?

dutchbb 04-03-2009 08:42 AM

Doesn't seem to be working... when I click + or - it turns grey and nothing is counted?

I'm using 3.8.1 Patch Level 1.

dutchbb 04-04-2009 08:31 AM

bump?

Macindy 04-06-2009 11:21 AM

Quote:

Originally Posted by dutchbb (Post 1783569)
bump?

I found another bug:
If you deactivate statistics in the profile/postbit the horizontal line is away.
Is there a conditional false?

and have a wish:
Can you also set the the settings "hightlight/hide posts" per default (without query) - if we give the user the option to decide by himself in the cp.

Thanks macindy

bigcurt 04-06-2009 01:55 PM

Possibly backwards compatible with 3.6? :)...please tell me it is lol.

dutchbb 04-06-2009 02:23 PM

Support seems to be gone after 18 pages..too bad, this was very promising. I would have loved to use this.

pete_brady 04-07-2009 09:22 PM

Quote:

Originally Posted by pete_brady (Post 1782619)
suggestion: An option to disemvowel low score posts?

any chance it could be tied into this new mod?

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

vision.mmxlix 04-16-2009 04:06 AM

How Would I Go About Moving The Add/Minus Buttons From The Current Position To A Position in PostBit?

sbsforum.us 04-28-2009 03:21 PM

Installed and using!

Thanks

M Shaker 05-05-2009 07:57 AM

Thanks ... I Love This One
Great Work :up:

gscimbomcom 05-07-2009 07:14 PM

Very good.

;)

AzzidReign 05-08-2009 02:16 AM

FullyTested, are you done supporting this mod?

Trana 05-21-2009 03:03 AM

I installed properly and checked my postbit and all the hooks are in place. I am running 3.7.0

The +- options do not show on any of my posts.

Can anyone tell me what to check next or how to determine if something is overwriting the hooks?

Trana 05-22-2009 08:31 PM

Hmmmm, I noticed that the template is being inserted only in posts that have been deleted. I moved the hook location around in my postbit_legacy and no matter where it is, the +- options will only show when the post has been deleted.

Any ideas?

kud0gfx 05-25-2009 01:23 AM

Trana, I think you're moving it to an area that's into a if=deleted post.

NoDRaC 05-29-2009 06:40 PM

How user can learn which own post ranked? I dont mean highly or highest. I mean every post whic ranked?

gigaenvy 05-29-2009 08:43 PM

Could there be consideration to add automatic promotions to usergroups based on rank and post thanks? This would help me automate more of the site and not have to weed through crap posts, but rather let the user community decide. As a result, the user who receives a certain rank based on thanks will get upgraded/promoted to a new usergroup (such as a private usergroup).

g0dfather1984 06-01-2009 05:50 AM

Can someone tell me how to edit the color of the "View Stats" in the postbit?

I would read through this whole thread to see if it was already posted, but 19 pages is a lot to read through.

Thanks.

gigaenvy 06-17-2009 06:02 PM

Great looking alternative to the other mod out there! One thing that would make this useful and inspire forum members to do more, is to implement promotions with this mod. Otherwise, I don't see too much value to the member.

Thanks!

dellow 07-14-2009 10:25 PM

Hello,

where user can get the link to the stats page postrankstats.php ?

is the stats update intantly , or need cron to update it?

Thank you

relaxiha 07-15-2009 07:09 PM

Hi. .. Unfortunately, in this part of the admin put the picture. .. Already been disabled and I can not change some part of them do
http://www.mihanupload.com/images/ej...u37wxuu0xk.jpg

Hicksatpd 07-20-2009 09:35 PM

*EDIT* My apologies. Due to issues unrelated to the quality of this mod, I had to uninstall it. I'll leave my requests open because I still think they would add to the mod for people who can still use it on their forums. Thanks.

Hi FullyTested,

A couple of requests I would GREATLY appreciate!

1) Would it be possible to add an option that would allow the names of users to appear underneath the post who voted positively or negatively? I'm mainly wanting this for those who vote positively.

For example, on my board we've been using the "Thanks" mod:

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

The thing about that my users really like is seeing the names of the people who thanked them.

If I could get this mod to do the same when someone rates it positively, I wouldn't have to have both installed and there would no longer be any redundancy.

At the same time, it would make sense to also allow the names of those who voted negatively to be displayed, too. I'm not sure if I would want this for my board necessarily, but I'm sure others might.

If it's a pain in the butt to do, I understand. If you're willing to do one or the other, please allow the positive votes to be displayed by name underneath the post like the "Thanks" mod.

2) Would it be possible to allow users to change their vote?

Say I vote a post positively by mistake. It'd be nice to be able to still click the negative button, thus switching my vote to what I meant to click on in the first place.

If that could be done with AJAX, awesome. But if not, it'd still be pretty helpful to be able to do it after a page refresh.

THANK YOU!

ZiG 07-20-2009 11:58 PM

is there a way to make only a specific forum's sort-order by the highest post-rating?

also, could anyone help to get the postbit postranking option to appear on the CMPS news so people can + or - a new post on the frontpage of a CMPS?

Saatana 07-27-2009 03:43 PM

Quote:

Originally Posted by webuser00 (Post 1778697)
Is there a way to show how many ups and down votes there are on forumdisplay? that way a user can see if the thread was highly/low rated

let me know :)

Bump. I'm looking for this too. (actually looking to have the 'overall' score of a certain post to be visible).
ie.. if the post has 5+ and 4- votes, it'd show +1 (or whatever). Something that'd give users some general idea how their post has been thought about, if it doesn't have enough votes to change the 'status' of the post from neutral.


All times are GMT. The time now is 03:25 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.01442 seconds
  • Memory Usage 1,824KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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