![]() |
|
Mod Options |
![]() |
|||||||||||
Reputation comment in post - karma for 3.5
![]() Developer Last Online: Apr 2010 ![]() ![]() ![]() This modification is in the archives.
This is my first hack for vbulletin that will show user comments in the post that they gave reputation for. Very popular with the users, they eat it up.
no one ever ported the first one from 3.0. so I wrote a new one just for 3.5. Download, unzip and read install.txt Don't forget to click installed if you installed it! This hack makes each post's reputation visible to everyone. please see screen shots for examples Modifications: add a little code to postbit template and install the xml file. Install Time: 2 minutes max Difficulty: Easy Screenshot attached of a post with reputation comments! Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
Probably would be a good idea to give a better description as well as a screenshot. I am sure you will be asked anyway
![]()
__________________
CommanderTalk.com --> www.commandertalk.com No members have liked this post.
|
#3
|
|||
|
|||
Hi, could i get a better description as well as a screenshot :P
jk ![]() sounds nice ![]() Ill test it out ![]() thx ![]() No members have liked this post.
|
#4
|
|||
|
|||
it is okay, not very impressive, but it works.....
No members have liked this post.
|
#5
|
|||
|
|||
Thanks guys,
first time around on all this. ;p Its been updated! No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by Ravage1
What where you expecting? its the same style of mod for 3.0 that no one could get around to porting, so when I moved to VB and seen no one had done it I wrote a new one.
No members have liked this post.
|
#7
|
||||
|
||||
How is it with queries? I found that the 3.0 one ran way too many extra queries so I had to remove it.
No members have liked this post.
|
#8
|
||||
|
||||
few questions
for everyone that gets commented in the thread, does it show for them all ? or does it only show the comments for the thread creator. also, can everyone see the comments or only your own ? No members have liked this post.
|
#9
|
||||
|
||||
and when I went into a thread It gave me this:
Database error in vBulletin 3.5.2: Invalid SQL: SELECT user.username, reputation.reputation, reputation.reason FROM reputation AS reputation LEFT JOIN user AS user ON(user.userid = reputation.whoadded) WHERE postid = 4096 ORDER BY reputation.dateline LIMIT; MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5 Error Number : 1064 Date : Friday, December 16th 2005 @ 01:23:14 AM Script : http://thugonline.net/showthread.php?p=4096#post4096 Referrer : http://thugonline.net/index.php IP Address : 69.158.161.4 Username : DOPE.MAN Classname : vb_database No members have liked this post.
|
#10
|
|||
|
|||
Originally Posted by rb290
everyone can see it. No members have liked this post.
|
#11
|
|||
|
|||
Originally Posted by rb290
Its missing the end of the query after LIMIT should have a number.
replace: in manage plugins > edit plugin $post_reputations_bit = $this->registry->db->query_read(" SELECT user.username, reputation.reputation, reputation.reason FROM " . TABLE_PREFIX . "reputation AS reputation LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = reputation.whoadded) WHERE postid = ".$post['postid']." ORDER BY reputation.dateline LIMIT ".$this->registry->options['maxrepgv'] ); with: $post_reputations_bit = $this->registry->db->query_read(" SELECT user.username, reputation.reputation, reputation.reason FROM " . TABLE_PREFIX . "reputation AS reputation LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = reputation.whoadded) WHERE postid = ".$post['postid']." ORDER BY reputation.dateline" ); As this is my first mod for vbull I would have to find someone with more exp to be able to tell us why your board is not getting $this->registry->options['maxrepgv'] Unless its not set in admin under reputation options. No members have liked this post.
Last edited by l3vi; 16 Dec 2005 at 08:01. |
#12
|
|||
|
|||
Originally Posted by Reeve of shinra
It will run a query on each post, with one join. I have not noticed any big or small dif on my boards. No members have liked this post.
Last edited by l3vi; 16 Dec 2005 at 08:08. |
#13
|
||||
|
||||
what do the queries do ?
make it run slower or ??? No members have liked this post.
|
#14
|
||||
|
||||
Originally Posted by l3vi
The answer to that is quite simple - 'maxrepgv' does not exist in default vbulletin.
It is a setting added by my "Display Reputation Given" hack which you obviously must have installed.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#15
|
|||
|
|||
Thanks A Lot!
![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:59.