![]() |
1 Attachment(s)
Heres what I did.....had a little trouble trying to think how I worded it:
Code:
<fieldset class="statistics_group"> Results: Now this has me wanting to tie it in with Cyb's Advanced Forum Stats, adding the ability to list the users with the most positive and negative votes. |
Have to be logged in for that page but I'm glad you got it working. If you want to change things even further you can edit the template to remove the phrases and just write things in the format you want.
As for the top thread, the template to change is postbit or postbit legacy depending on your forum's setup. |
Posted a screenshot so people could see the result.....
I tried using Code:
<img src="images/buttons/ha_thumbsup.gif" width="11" height="20" border="0" alt="Good" /><strong> $helpfulposts[goodranks]</strong> <span>Posts</span><br /> I need to figure out where in the postbit to place the top thread phrase, and the conditional that changes the box color. |
The member's reputation is not available in postbit as I mentioned before. So while you get an A for using the right code there's nothing to pull data for those variables.
As for the color, I'm not entirely sure which table cell (<td>) you'd want to change... try poking around with a few until you find the one that gives you the look you want. |
I wasnt using the Reputation plugin I made my own "Member Post Reputation", that was just an attempt to see if I could use those conditionals within the postbit, or anywhere else. I think being able to add this to site stats or something like that would be awesome.
I need to figure out how to use color in this instance, Its been a long time since I've tinkered this deeply in VBulletin code. Code:
<if condition="$threadinfo[toppost] == $post[postid]"> |
As I mentioned before, the variables for a member's overall reputation aren't available because adding them would require an additional server query for every post -- which is not acceptable.
|
Code:
<if condition="$threadinfo[toppost] == $post[postid]"> Ted, thanks for your input on the customizations......feel free to take the rest of the night off. |
I can't tell you where to place it as I haven't poked around enough but I already told you the template (postbit or postbig_legacy depending on your settings). :D
As far as how to use it, Code:
<td class="alt1" <if condition="$threadinfo[toppost] == $post[postid]">style="background-color:red;"</if> > I'd suggest opening the right template and just playing. You can create a new style as a child and edit that so your members don't see what you're doing until it's complete. |
I give up, mod works great....nuff said.
|
Quote:
im not entirely sure but i got lost somewhere btw the phrase because when i did remove it doesnt display anything. this is the phrase helpfulanswer_x_out_of_y where i can add the pictures together with the votes right? how can i do that since im not sure how to code that |
All times are GMT. The time now is 06:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|