REGISTER or LOGIN to have the annoying ads removed.
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MYPS
May 10, 2007, 10:15 PM
Post: #1
MYPS
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
Find all posts by this user
May 10, 2007, 10:54 PM (This post was last modified: May 10, 2007 10:55 PM by labrocca.)
Post: #2
RE: MYPS
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.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
May 10, 2007, 11:27 PM
Post: #3
RE: MYPS
o yeah, i'm sure i did activate plugin and I DID TURN myps ON. (I know the difference Wink)
maybe the problem is in postbit? can you show me your postbit_author_user template ?
Find all posts by this user
May 10, 2007, 11:34 PM
Post: #4
RE: MYPS
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&amp;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&amp;username=". $post['username']. "\">$myps</a></b>";

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
May 10, 2007, 11:52 PM
Post: #5
RE: MYPS
wich file should i edit?
myps.php ?
Find all posts by this user
May 11, 2007, 01:22 AM
Post: #6
RE: MYPS
the inc/plugins/myps.php file

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
May 11, 2007, 02:21 AM
Post: #7
RE: MYPS
still doesn't work Sad
Find all posts by this user
May 11, 2007, 02:26 AM
Post: #8
RE: MYPS
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?
Find all posts by this user
May 11, 2007, 03:37 AM
Post: #9
RE: MYPS
wich Templates should appear at global templates? only these ones?
myps_donate
myps_moderate
myps_sent
Find all posts by this user
May 11, 2007, 03:52 AM (This post was last modified: May 11, 2007 03:53 AM by labrocca.)
Post: #10
RE: MYPS
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.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Can not use MYPS mummim 3 3,096 Jan 22, 2009 11:54 PM
Last Post: labrocca
  MYPS Lottery worktable labrocca 42 13,614 Jan 04, 2009 02:41 PM
Last Post: MattR
  Request Myps Casino guest2020 13 5,912 Dec 02, 2008 06:29 AM
Last Post: Wintermute
  MYPS (a mybb points system) labrocca 223 52,936 Dec 02, 2008 03:49 AM
Last Post: nhoss2
  MYPS Bank labrocca 16 7,551 Oct 09, 2008 01:39 AM
Last Post: DAMINK

Forum Jump:


User(s) browsing this thread: 1 Guest(s)