Jump to content


- - - - -

RESOLVED: [HELP] Thanks system by ThiagoInfo


  • Please log in to reply
4 replies to this topic

#1 Temp2

Temp2

    Novice

  • Members
  • PipPip
  • 12 posts
  • Real Name:Fukn Lolcna
  • IPB Version:v2.3.x

Posted 18 August 2010 - 05:41 PM

Hey girls, boys. I need some help now.

I successfully installed the Thanks system by ThiagoInfo on my board.

Added the info box around the thanks.

But as well something just.. piss me off.

You know it says "Thanks : 5 *"

When I click on the "*" A page comes out saying who gave the thanks on which topic.

Well each times it shows the 'USERNAME'. Is there any way to change it to the 'DISPLAY NAME'?

Thanks in advance.
-Temp

#2 Temp2

Temp2

    Novice

  • Members
  • PipPip
  • 12 posts
  • Real Name:Fukn Lolcna
  • IPB Version:v2.3.x

Posted 19 August 2010 - 07:03 PM

//Fixed

#3 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 19 August 2010 - 07:37 PM

I don't have this (nor can I find it on here) although I was going to suggest it could probably be done with a skin edit to change that from username to display name without too much trouble.

Good to see you have solved it already though. :)

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6

#4 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 19 August 2010 - 07:39 PM

The issue this topic was opened for has now been resolved. :)

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6

#5 Temp2

Temp2

    Novice

  • Members
  • PipPip
  • 12 posts
  • Real Name:Fukn Lolcna
  • IPB Version:v2.3.x

Posted 19 August 2010 - 11:11 PM

Yes. It was in the file "Thanks.php"

Just had to go source/action_public/thanks.php

Open it -> FIND ->
                // Build output code...
                   $lista_membros .= "<a href='{$this->ipsclass->base_url}showuser={$quem_agradeceu['id']}'>";
                    $lista_membros .= $quem_agradeceu['prefix'].$quem_agradeceu['name'].$quem_agradeceu['suffix'];
                    $lista_membros .= "</a>, ";
            $lista_membros_final = substr($lista_membros, 0, -2);

            }
        }

Remplace with ->
                // Build output code...
                   $lista_membros .= "<a href='{$this->ipsclass->base_url}showuser={$quem_agradeceu['id']}'>";
                    $lista_membros .= $quem_agradeceu['prefix'].$quem_agradeceu['members_display_name'].$quem_agradeceu['suffix'];
                    $lista_membros .= "</a>, ";
            $lista_membros_final = substr($lista_membros, 0, -2);

            }
        }

-----
Thanks anyways.

I hope this can help others who maybe has the same question.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users