Quote:leealex Wrote:
labrocca Wrote:
leealex Wrote:
i activated this plugin but nothing hapened. Look at my postbit_author_user template:
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
<b>{$post['usertitle']}<br /></b>
{$post['groupimage']}<br />
<!--USERGROUPAI-->
{$post['useravatar']}{$post['userstars']}<br />
{$lang->postbit_posts} <b><span style="color: purple;">{$post['postnum']}</span></b><br />
{$lang->postbit_group} <span style="color: red;">{$usergroup['title']}</span><br />
{$lang->postbit_status} {$post['onlinestatus']}<br />
<b>Ðвто:</b> {$post['fid1']}<b>/</b>{$post['fid4']}<b>/</b>{$post['fid5']}
{$post['replink']}<br />
<b>ИмÑ:</b> {$post['fid7']}
</span>
there's no link to MYPSÂ Â is it fixable?
Did you change the status to enabled in the myps settings? By default it's off.  Did you read the instructions for installation?
and i guess in this temlate should be link to myps smth like this - $myps
Which version did you grab? If it's 1.08 and you are not english language you will need to create the language pack. You can copy the english files to your language folder. What's your site?
i grabbed 1.07
my forum is
http://www.vitz-omsk.com
hmm....You are getting header problems to start with.
Also I can't speak russian. Â
Are you sure you went into settings and changed the status of MYPS to enabled?  This is NOT the same as activating the plugin.
This plugin does not edit any existing templates btw.
o yeah, i'm sure i did activate plugin and I DID TURN myps ON. (I know the difference

)
maybe the problem is in postbit? can you show me your postbit_author_user template ?
It's not postbit_author_user...it adds to the $post['user_details'] variable.
This is line 404.
Code:
$post['user_details'] = "<span class=\"smalltext\">{$post['user_details']} ".$mybb->settings['myps_name'].": <a href=\"myps.php?action=donate&username=". $post['username']. "\">$myps</a></b>";
Now if it's not working you might try this and tell me if it does work.
Code:
$post['user_details'] .= "<span class=\"smalltext\">{$post['user_details']} ".$mybb->settings['myps_name'].": <a href=\"myps.php?action=donate&username=". $post['username']. "\">$myps</a></b>";
wich file should i edit?
myps.php ?
the inc/plugins/myps.php file
still doesn't work

you know what, when i put this code:
$post['user_details'] = "<span class=\"smalltext\">{$post['user_details']} ".$mybb->settings['myps_name'].": <a href=\"myps.php?action=donate&username=". $post['username']. "\">$myps</a></b>";
into postbit it shows points there? but nothing else =) i mean no avatar, no nickname, nothing but myps =)
maybe i should put some different code into postbit?
wich Templates should appear at global templates? only these ones?
myps_donate
myps_moderate
myps_sent
Are you on version 1.1x by chance?  Are you sure you are in 1.2x series?
There was template changes in 1.2x series and I think your problems are related to that.
myps_donate
myps_moderate
myps_sent
Yes those 3 templates are part of global templates.  It's not the problem.
EDIT: I see you are on 1.2.3...can you update to latest version to see if it fixes the problem. I believe 1.2.4 or later had the postbit change.