MyBB Central

Full Version: Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am wondering how I move the text that says how many points you have when you are viewing a post. I'm trying to move it under the Reputation text, but don't know how. I thought there was just a small piece of code in a template file that shows it, but I can't find that anywhere.
Would require a small code rewrite (new replace_template, new var [ {$post['myps']} ], ...)cause now its adding the "Points ..." towards {$post['userdetails']} and shall always be at the same place.
I'm confused. Could you explain that some more? Thanks!
At this moment you can't move the "Points : " display cause its been added to a predefined var ( {$post['userdetails']} == contains all the info of the postbit ) and the Point display is added to that var. If you want to move the Points display you need to put it in a seperated var. But can you try the following and see if that works ?

Open inc/plugins/myps.php

And find
Code:
    $post['user_details'] .= "<br /></span>";

Remove that <br />
Sorry I don't ever work with the VB style template nor will I. MYPS is compatible (template wise) only with MYBB style templates. Using the VB style template has an incredible amount of changes and to have MYPS work properly with it will be burdensome.
LeX-, I tried what you told me to do and it didn't make a difference.
labrocca, I've been noticing that. But for me it's a great way to learn mybb.

I think I'll just forget about this for now.
Thanks for trying to figure it out.
Well, I also think you should change the way it is added to the postbit.

Even if you use the default vertical postbit, there is no easy way of changing its relative position as it is added to the end. For example, I would like to be able to move 'Points:' under 'Posts:' since they are closely related.
I need the answer to this question also.
Where is the template to change this? I thought it would either be in postbit or postbit_author_user but it's not in either.
Help please!
In the inc/plugins/myps.php file. It's in the myps_display() function. You need to alter the preg_replace.
labrocca Wrote:Sorry I don't ever work with the VB style template nor will I. MYPS is compatible (template wise) only with MYBB style templates. Using the VB style template has an incredible amount of changes and to have MYPS work properly with it will be burdensome.

Well, I am using MyBulletin theme, and MyBB works great with it Smile
Reference URL's