MyBB Community Forums

Full Version: Rep Button Missing? Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Well, I got the code for the rep button and I cant figure out where to put it I have put it to 'member_profile_reputation' but, everytime its there it shows the rep button here
[Image: 76db19c1af6ca43deabe6c917c44dc82.png]


instead of here


[Image: 9f334c5db3a9907ca363e70aaf2db1a0.png]


Can anyone help?


First image is showing the regular persons user profile than the second image is showing the link to the details of the persons reputation. 'http://starforums.net/reputation.php?uid=27'

Link to forum site: http://starforums.net/
It's obviously in the wrong directory.

Check that out.

As far as I know, it is usually called "rateuser.gif".
(2012-07-18, 05:44 AM)RedCP Wrote: [ -> ]It's obviously in the wrong directory.

Check that out.

As far as I know, it is usually called "rateuser.gif".

it is called rateuser.gif but im not sure on how to get the code to where it's needed.
What is the code you put?
(2012-07-18, 05:49 AM)RedCP Wrote: [ -> ]What is the code you put?

<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" class="buttons"  /><img src="{$theme['imglangdir']}/plus.png" style="vertical-align: middle;" />Rep</a>
(2012-07-18, 05:49 AM)Nike Wrote: [ -> ]
(2012-07-18, 05:49 AM)RedCP Wrote: [ -> ]What is the code you put?

<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" class="buttons"  /><img src="{$theme['imglangdir']}/plus.png" style="vertical-align: middle;" />Rep</a>

Are you trying to align it in the middle?

I notice this.....
style="vertical-align: middle;"

I can't tell if you're trying to align it right or middle.
(2012-07-18, 05:55 AM)RedCP Wrote: [ -> ]
(2012-07-18, 05:49 AM)Nike Wrote: [ -> ]
(2012-07-18, 05:49 AM)RedCP Wrote: [ -> ]What is the code you put?

<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" class="buttons"  /><img src="{$theme['imglangdir']}/plus.png" style="vertical-align: middle;" />Rep</a>

Are you trying to align it in the middle?

I notice this.....
style="vertical-align: middle;"

I can't tell if you're trying to align it right or middle.

No, what i'm saying is that it's going to the wrong page its going to
http://starforums.net/member.php?action=profile&uid=27
instead of
http://starforums.net/reputation.php?uid=27

I used 'member_profile_reputation' and it didn't take it to http://starforums.net/reputation.php?uid=27
so i'm trying to figure out how to get it there (http://starforums.net/reputation.php?uid=27) (on the right)
I was wondering which template it was ...
(2012-07-18, 05:57 AM)Nike Wrote: [ -> ]
(2012-07-18, 05:55 AM)RedCP Wrote: [ -> ]
(2012-07-18, 05:49 AM)Nike Wrote: [ -> ]
(2012-07-18, 05:49 AM)RedCP Wrote: [ -> ]What is the code you put?

<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" class="buttons"  /><img src="{$theme['imglangdir']}/plus.png" style="vertical-align: middle;" />Rep</a>

Are you trying to align it in the middle?

I notice this.....
style="vertical-align: middle;"

I can't tell if you're trying to align it right or middle.

No, what i'm saying is that it's going to the wrong page its going to
http://starforums.net/member.php?action=profile&uid=27
instead of
http://starforums.net/reputation.php?uid=27

I used 'member_profile_reputation' and it didn't take it to http://starforums.net/reputation.php?uid=27
so i'm trying to figure out how to get it there (http://starforums.net/reputation.php?uid=27) (on the right)
I was wondering which template it was ...

Oh okay. So sorry, it's just 2:05 AM where I live.

Where is member_profile_reputation? I can't find it in my ACP. I'm looking through my template, The Cure. Is it just a theme thing?

If so, what is your theme, I might be able to look at it?
(2012-07-18, 06:08 AM)RedCP Wrote: [ -> ]
(2012-07-18, 05:57 AM)Nike Wrote: [ -> ]
(2012-07-18, 05:55 AM)RedCP Wrote: [ -> ]
(2012-07-18, 05:49 AM)Nike Wrote: [ -> ]
(2012-07-18, 05:49 AM)RedCP Wrote: [ -> ]What is the code you put?

<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" class="buttons"  /><img src="{$theme['imglangdir']}/plus.png" style="vertical-align: middle;" />Rep</a>

Are you trying to align it in the middle?

I notice this.....
style="vertical-align: middle;"

I can't tell if you're trying to align it right or middle.

No, what i'm saying is that it's going to the wrong page its going to
http://starforums.net/member.php?action=profile&uid=27
instead of
http://starforums.net/reputation.php?uid=27

I used 'member_profile_reputation' and it didn't take it to http://starforums.net/reputation.php?uid=27
so i'm trying to figure out how to get it there (http://starforums.net/reputation.php?uid=27) (on the right)
I was wondering which template it was ...

Oh okay. So sorry, it's just 2:05 AM where I live.

Where is member_profile_reputation? I can't find it in my ACP. I'm looking through my template, The Cure. Is it just a theme thing?

If so, what is your theme, I might be able to look at it?

My theme is custom, here is where you find it.

Admin CP > Templates & Style > Templates > Your Theme > Member Templates > member_profile_reputation
Does it say something like:

<tr>
	<td class="{$bg_color}"><strong>{$lang->reputation}</strong></td>
	<td class="{$bg_color}">{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}</td>
</tr>

If it doesn't, try that. I believe you said you did that earlier, but I just want to be 100% sure.
Pages: 1 2