Invision Byte: Show Reputation in User Info - Invision Byte

Jump to content

Welcome to Invision Byte

Welcome to Invision Byte, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information. Take advantage of it immediately, Register Now or Sign In.

  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Purchase one of the products available and quickly receive support for it!
  • View and use the shoutbox to communicate
  • Get your own profile and make new friends
  • Customize your experience here
Guest Message by DevFuse
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Show Reputation in User Info

#1
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
Posted Image
File Name: Show Reputation in User Info
File Submitter: terabyte
File Submitted: 10 Aug 2011
File Updated: 04 Aug 2013
File Category: IP.Board
IP.Board 3.0 Compatible: No
IP.Board 3.1 Compatible: No
IP.Board 3.2 Compatible: Yes
IP.Board 3.3 Compatible: Yes
IP.Board 3.4 Compatible: Yes

This mod adds the reputation for each member on the left in Topic View and in every other area of the board that uses the template "Global Templates > userInfoPane"!

Click here to download this file
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#2
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
Updated the download with the new readme layout, no code changes or updates so you don't need to re-download it unless you want to have the new readme.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#3
User is offline   supahfilms 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 23-August 11
  • IP.Board:3.2.x
  • Current Mood: Current Mood: None Chosen
thanks but where can i get that rating thing the red and green arrows on the post please answer
0

#4
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
You need to change the reputation system in your ACP from the "like" option to the "positive & negative" one.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#5
User is offline   Rarity 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 27-August 11
  • IP.Board:3.2.x
  • Current Mood: Current Mood: Tired
I've been using your reputation mod for 3.2.1 IP.Board and I really love it! One thing that bothers me about it though is that it is s simple number. Many of my members are confused what the number means. Is there any way you could do the following?

Add the word "Likes" or "Reputation" above the Number

And below the number the title associated with the number of likes a person has? I would greatly appreciate that. Even if you could alter the hook just for me that'd be great. I tried altering it myself, but my php I need to reference is encrypted so I don't know what to reference in the hook xml.

For instance, a person with 150 likes on my board earns the "Well-Liked" Title.

This post has been edited by Rarity: 27 August 2011 - 05:33 PM

0

#6
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
I plan on adding a tooltip that explains it's the user reputation for the next version :)


As for the reputation rank I can't add it because it requires a cache to be loaded for it to work and if the cache is not available it would add 1 query on each page view, if I find a good way of avoiding that query I'll add it.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#7
User is offline   ASTRAPI 

  • Full Member
  • PipPipPipPipPip
  • Group: Premium Members
  • Posts: 506
  • Joined: 03-December 07
  • IP.Board:2.3.x
  • Current Mood: Current Mood: Artistic
Does this work with the new IPB 3.3.3?

Thank you
0

#8
User is offline   ASTRAPI 

  • Full Member
  • PipPipPipPipPip
  • Group: Premium Members
  • Posts: 506
  • Joined: 03-December 07
  • IP.Board:2.3.x
  • Current Mood: Current Mood: Artistic
Any progress for this to work on 3.3.0?

Thank you
0

#9
User is offline   sORETE 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 11-April 12
  • IP.Board:3.2.x
  • Current Mood: Current Mood: None Chosen
How can I change de location of the mod? example, i got this in my topic view:

Quote

  • Members
  • Posted Image
  • 5 Mensaje(s)
4 Neutral
  • Sexo:Hombre




I want move the reputation down the Custom field "Sex", any help?
0

#10
User is offline   RcGT 

  • n00b
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 15-August 08
  • Location:Chile
  • IP.Board:3.3.x
  • Current Mood: Current Mood: None Chosen

Quote

Changelog
3.1.0
  • The text "Member Reputation/Likes" now appears as a tooltip for the box
  • The reputation level/image (when available in the data) now appears under the count



I'm looking for more titles as edit reputation not find, besides the reputation appears below the avatar and not under custom field, someone knows how to edit it?

thanks

Posted Image
0

#11
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious

View PostRcGT, on 03 June 2012 - 01:12 AM, said:

I'm looking for more titles as edit reputation not find, besides the reputation appears below the avatar and not under custom field, someone knows how to edit it?

thanks


To change the hook to display after the custom fields edit the hook from your ACP and in the "Files TAB" and change the "Position of template hook" setting from "(pre.startif) Before the if statement starts" to "(post.endif) After the if statement ends".
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#12
User is offline   leopardo 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 02-July 12
  • IP.Board:3.2.x
  • Current Mood: Current Mood: None Chosen
not found the setting that hook to take the description of reputations in the posts and leave the description in the profile so you know?
0

#13
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious

View Postleopardo, on 15 July 2012 - 05:39 AM, said:

not found the setting that hook to take the description of reputations in the posts and leave the description in the profile so you know?

This hook has no setting so I'm not sure what you're talking about :unsure:
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#14
User is offline   leopardo 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 02-July 12
  • IP.Board:3.2.x
  • Current Mood: Current Mood: None Chosen

View Postterabyte, on 15 July 2012 - 05:10 PM, said:

This hook has no setting so I'm not sure what you're talking about :unsure:


I want to leave the description of the profile and reputation not only in posts ?
0

#15
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
If I get what you're saying then you should use the old 3.0.0 version of this hook available from the "Previous Versions" box when you're in the download page. The old version did not have the reputation description/image in topic view.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#16
User is offline   Wild Child 

  • n00b
  • Pip
  • Group: Premium Members
  • Posts: 5
  • Joined: 20-May 10
  • IP.Board:3.3.x
  • Current Mood: Current Mood: In-Love
Hello terabyte :)

Please could you help me?

I am using the Infinity ~ White Sea Skin as default.

I am experiencing some difficulties with this hook. The reputation shows up okay, but is aligned to the left of the userinfopane. (Also, as you can see ..this is happening with the mood mod too)

Spoiler


Also ..please could you tell me how to add an emoticon image as you have in your screen shot?

I can see where the image is supposed to go I think -

Quote

<if test="RepImage:|:$author['author_reputation'] && $author['author_reputation']['image']">
<span class='image'><img src='{$author['author_reputation']['image']}'


But I just do not know how I should enter the url. Sorry for my lack of knowledge.

And many thanks in advance for your time :)
0

#17
User is offline   Cloud9 

  • n00b
  • Pip
  • Group: Premium Members
  • Posts: 4
  • Joined: 29-September 12
  • IP.Board:3.3.x
  • Current Mood: Current Mood: None Chosen
Is it possibly to modify this (yes/no button?) to have the user rep displayed even if display user rep is off in IPB

We want rep displayed under the users profile avatar in posts BUT dont want other users to see who has given reputation etc
0

#18
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious

View PostCloud9, on 06 November 2012 - 02:33 PM, said:

Is it possibly to modify this (yes/no button?) to have the user rep displayed even if display user rep is off in IPB

We want rep displayed under the users profile avatar in posts BUT dont want other users to see who has given reputation etc


Open the hook XML file included in the package and find (line ~57):
if( $this->registry->member()->getProperty('g_mem_info') > 0 && $this->settings['reputation_enabled'] && $this->settings['reputation_show_profile'] && is_array($this->registry->output->getTemplate('global')->functionData['userInfoPane']) AND count($this->registry->output->getTemplate('global')->functionData['userInfoPane']) )


Replace it with:
if( $this->registry->member()->getProperty('g_mem_info') > 0 && $this->settings['reputation_enabled'] && is_array($this->registry->output->getTemplate('global')->functionData['userInfoPane']) AND count($this->registry->output->getTemplate('global')->functionData['userInfoPane']) )


Now save the XML file and re-install the hook from the ACP, the reputation should appear regardless of that setting now.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#19
User is offline   Cloud9 

  • n00b
  • Pip
  • Group: Premium Members
  • Posts: 4
  • Joined: 29-September 12
  • IP.Board:3.3.x
  • Current Mood: Current Mood: None Chosen

View Postterabyte, on 08 November 2012 - 12:06 AM, said:

Open the hook XML file included in the package and find (line ~57):
if( $this->registry->member()->getProperty('g_mem_info') > 0 && $this->settings['reputation_enabled'] && $this->settings['reputation_show_profile'] && is_array($this->registry->output->getTemplate('global')->functionData['userInfoPane']) AND count($this->registry->output->getTemplate('global')->functionData['userInfoPane']) )


Replace it with:
if( $this->registry->member()->getProperty('g_mem_info') > 0 && $this->settings['reputation_enabled'] && is_array($this->registry->output->getTemplate('global')->functionData['userInfoPane']) AND count($this->registry->output->getTemplate('global')->functionData['userInfoPane']) )


Now save the XML file and re-install the hook from the ACP, the reputation should appear regardless of that setting now.


Hmmm

Did that and reinstalled the hook, its enabled

The Rep display is off but

Cant see your box under user profiles in posts





0

#20
User is offline   Cloud9 

  • n00b
  • Pip
  • Group: Premium Members
  • Posts: 4
  • Joined: 29-September 12
  • IP.Board:3.3.x
  • Current Mood: Current Mood: None Chosen

View PostCloud9, on 14 November 2012 - 11:49 PM, said:

Hmmm

Did that and reinstalled the hook, its enabled

The Rep display is off but

Cant see your box under user profiles in posts







Just to add it took a while and then started working - so must have been a cache problem

Is it possible to have this as an option tick box in the hook ? As when i update this will get lost.....



0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users