2012-10-24, 03:33 AM
2012-10-24, 07:16 AM
Try wrapping the reputation button img in a class (in the postbit_reputation template), then at the top of private_read template add an inline css rule that sets that class to display none.
Example:
Template private_read
Postbit_rep_button
Example:
Template private_read
<html>
<head>
<title>{$lang->viewing_pm} {$pm['subject']}</title>
{$headerinclude}
<style type="text/css">
.potato {display:none;}
</style>
</head>
Postbit_rep_button
<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});"><img src="{$theme['imglangdir']}/postbit_reputation.gif" class="potato" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" /></a>
2012-10-24, 07:39 PM
(2012-10-24, 07:16 AM)Leefish Wrote: [ -> ]Try wrapping the reputation button img in a class (in the postbit_reputation template), then at the top of private_read template add an inline css rule that sets that class to display none.
Example:
Template private_read
<html> <head> <title>{$lang->viewing_pm} {$pm['subject']}</title> {$headerinclude} <style type="text/css"> .potato {display:none;} </style> </head>
Postbit_rep_button
<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});"><img src="{$theme['imglangdir']}/postbit_reputation.gif" class="potato" alt="{$lang->postbit_reputation_add}" title="{$lang->postbit_reputation_add}" /></a>
worked perfectly. thanks, Lee.
2012-10-26, 08:07 PM
Cool thats what i'm also looking for works great!!
And if u read a PM u see also on the left the button PM (to send a pm to the user) but this button is not necessary because u can click on reply..
So how to delete the PM button on private_read??
Thanks
And if u read a PM u see also on the left the button PM (to send a pm to the user) but this button is not necessary because u can click on reply..
So how to delete the PM button on private_read??
Thanks
2012-10-26, 10:09 PM
(2012-10-26, 08:07 PM)GalaxyFreak Wrote: [ -> ]Cool thats what i'm also looking for works great!!
And if u read a PM u see also on the left the button PM (to send a pm to the user) but this button is not necessary because u can click on reply..
So how to delete the PM button on private_read??
Thanks
It is exactly the same - you go to the postbit_pm template, give it the same class as you gave the postbit_rep_button template and it will hide it.