Alright so I saw that the theme I am currently using does not link to the reputation profile page on the profile page
What I mean by this is
I can't click anywhere to see what other users have repped.
Here it works tho and I tried taking the code from the template but this is all what is happening
So if anyone can tell me why this is happening and a solution then please do. I can't find any other thread about this exact problem.
Which link are you using begind the '[Rate]' button?
UPDATE;
As of the default template of MyBB, this code is shown in the
member_profile_reputation template:
<td class="{$bg_color}">{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}</td>
Because you are using another theme, you will have another code, in your case, you'll have this one:
<td class="{$bg_color}"><span class="float_right">{$reputation}{$vote_link}</span></td>
What you want to do now, is changing the
{$reputation}{$vote_link} to this:
{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}
When you added this line, you'll get this:
http://prntscr.com/akmgrs
To be able to give someone reputation, you can also add this line next to the line we added in the previous step:
[<a href="javascript:MyBB.reputation({$memprofile['uid']});">{$lang->reputation_vote}</a>]
When you add that, you'll get this:
http://prntscr.com/akmhmt
When you press on it, it will open a modal, where you can 'vote'.
Hope this helps!
(2016-03-27, 11:15 AM)ArneVD Wrote: [ -> ]Which link are you using begind the '[Rate]' button?
UPDATE;
As of the default template of MyBB, this code is shown in the member_profile_reputation template:
<td class="{$bg_color}">{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}</td>
Because you are using another theme, you will have another code, in your case, you'll have this one:
<td class="{$bg_color}"><span class="float_right">{$reputation}{$vote_link}</span></td>
What you want to do now, is changing the {$reputation}{$vote_link} to this:
{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}
When you added this line, you'll get this:
http://prntscr.com/akmgrs
To be able to give someone reputation, you can also add this line next to the line we added in the previous step:
[<a href="javascript:MyBB.reputation({$memprofile['uid']});">{$lang->reputation_vote}</a>]
When you add that, you'll get this: http://prntscr.com/akmhmt
When you press on it, it will open a modal, where you can 'vote'.
Hope this helps!
Thanks man! This helped me alot!
Only thing is, the amount of rep the user has is still clickable and it won't redirect to the right page. I want the rep amount number not to be clickable
If you follow all the steps, it should be fixed.