Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Maxius

Użytkownik
  • Postów

    48
  • Dołączył

  • Ostatnia wizyta

Informacje o forum

  • Wersja
    IPS 4.4.x

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

Osiągnięcia Maxius

Współtwórca

Współtwórca (5/14)

  • Pierwszy post
  • Współtwórca
  • Rozpoczęcie dyskusji
  • Dobre reakcje
  • Pierwszy tydzień zakończony

Najnowsze odznaki

1

Reputacja

  1. Edit I think I have found it. \count( $comment->reactions() ) Is it right @DawPi ?
  2. It turns out I need one more thing. This file edit I made shows the icon and number 0 even if a member does not have any reputation. That's no good. I need a IF statement to show only if a member has any sort of reputation score. @DawPi do you know how should I expand this if statement to make it so that members who have no reputation would be skipped? {{if settings.reputation_enabled}} Something like {{if settings.reputation_enabled and has reputation }}
  3. this is my final code, does this seem alright to you guys @DawPi @Weak. ? {{if settings.reputation_enabled}} <li> {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }} <a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$comment->author()->members_seo_name"}' rel="nofollow" title="{lang="received_x_points" pluralize="$comment->author()->pp_reputation_points"}" data-ipsTooltip class='ipsType_blendLinks'> {{endif}} <i class='fa fa-plus-circle'></i> {number="$comment->author()->pp_reputation_points" format="short"} {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }} </a> {{endif}} </li> {{endif}}
  4. I understand DawPi, I know you are one hell of a modder with proven track record. I too just wrote it off for miscommunication / tiredness.
  5. Aleliuja there it is, thank you Weak. btw that wasn't weak.
  6. I don't have any mods that have anything to do with reputation. I'm running a stock IPS pretty much. What I have installed have to remain installed anyway. Look, forget anything you see about SOLVED. I just took a piece of that code so the HTML and styling would match for REPUTATION which I want to display. When this code will work I will add this clause around it and it will be complete {{if settings.reputation_enabled}} {{endif}} I just want to know what I have to do to make this code show the reputation when added to postContainer template. {number="$member->pp_reputation_points" format="short"}
  7. It shows up alright but @DawPi I'm not trying to show solution count twice which your code does. I want to show MEMBERS' REPUTATION. And the problem is <i class='fa fa-plus-circle'></i> {number="$member->pp_reputation_points" format="short"} does not return me the reputation number the member has.
  8. This is setting is enabled. The code I have I basically copied the code that displays the solutions and began editing it to show reputation. Your code is probably taken from profile page and throws an error on topicview. I also tried taking the part of code from Member hovercard that shows reputation and I also get nothing. I know I'm missing some sort of code that loads the data in a topic-view page which then in turn can display the reputation on the page. so I short this value is not parsed (or whatever the term is) {number="$member->pp_reputation_points" format="short"}
  9. Hello, I wish to achieve this without using any plugin by purely editing the template. I wish to display the total member reputation inbetween total posts and solutions. So far I'm trying this code, but it does not load the reputation numbers. Can anyone help me out? <li> {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }} <a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=solutions" seoTemplate="profile_solutions" seoTitle="$comment->author()->members_seo_name"}' rel="nofollow" title="{lang="profile_reputation" pluralize="$comment->author_reputation_count"}" data-ipsTooltip class='ipsType_blendLinks'> {{endif}} <i class='fa fa-plus-circle'></i> {number="$member->pp_reputation_points" format="short"} {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }} </a> {{endif}} </li>
  10. I'm not explicitly saying to take existing mod and upgrade it. But heck, since it's free - why not? I see no factual harm, perhaps a bruised ego but nothing more. Or it can be made from scratch quite a few plugins were remade by different authors when original authors disappeared. The last being Videos system by DevFuse which was remade by Adriano.
  11. Is this plugin supported? Can someone take it over?
  12. There is a bug when you hover over reputation the tooltip says Member.
  13. Very nice and neat plugin. I consider using it in my forum. Has one bug though.
  14. Hello, @DawPi. How you've been? Perhaps you had some free time and gave some though about the PM bulk delete feature? 😇
  15. Alright, that is all I can hope for
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.