Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 10 Years, 5 Months, 1 Week ago FAQs Thank you Euantor!
#1
Solved: 10 Years, 5 Months, 1 Week ago
Hello everyone, I have some questions regarding mybb, any help will be highly appreciated.

How do we add the friend request option on the user profile also how can we add an option to accept or decline the request instead of automatically being added to the buddy list.

Also how can we add the custom profile fields such as location etc... to our post bit. I've enforced the classic post bit to all users. And last question how can we add the post rank stars below the avatar instead of being above the avatar.

Thank you.
[Image: sig.php]
#2
Solved: 10 Years, 5 Months, 1 Week ago
1) it's already there in the default template Smile I think it's {$buddyoptions} or something.
2) would reqire a plugin

3) {$post[fidX]} (where X is the profile field ID - check the custom profile field for this)
4) simly edit the postbit_classic template to move userstars above avatar Wink
#3
Solved: 10 Years, 5 Months, 1 Week ago
(2011-01-09, 03:02 PM)euantor Wrote: 1) it's already there in the default template Smile I think it's {$buddyoptions} or something.
2) would reqire a plugin

3) {$post[fidX]} (where X is the profile field ID - check the custom profile field for this)
4) simly edit the postbit_classic template to move userstars above avatar Wink

1) Oops, it is there. thanks
2) Yikes, any chance that some can do it for free? Or is it dificult and would require money?
3)lol I'm really, really a beginner, could you please further elaborate?
4)Mines is above the avatar, I want it below and could you also give more details (for the newbieWink)

Oh and last question how can I add meaning enforce a pm button/option on the user profile?
[Image: sig.php]
#4
Solved: 10 Years, 5 Months, 1 Week ago
(2011-01-09, 03:23 PM)iDude Wrote:
(2011-01-09, 03:02 PM)euantor Wrote: 1) it's already there in the default template Smile I think it's {$buddyoptions} or something.
2) would reqire a plugin

3) {$post[fidX]} (where X is the profile field ID - check the custom profile field for this)
4) simly edit the postbit_classic template to move userstars above avatar Wink

1) Oops, it is there. thanks
2) Yikes, any chance that some can do it for free? Or is it dificult and would require money?
3)lol I'm really, really a beginner, could you please further elaborate?
4)Mines is above the avatar, I want it below and could you also give more details (for the newbieWink)

Oh and last question how can I add meaning enforce a pm button/option on the user profile?

2) I would do, but Im budy with exams until February. Post a request in the requests forum.

3) Go to ACP->Styles and Templates->Templates->{YOUR THEME}->Post Bit Templates->Postbit_classic

To add gender, add {$post['fid3']} where-ever you want it to display. For location, add {$post['fid1]} etc. To find the FID of a field, go to /amin/index.php?module=config-profile_fields. Look at the ID collumn for a given field Smile

4) Go to /admin/index.php?module=style-templates

Select your theme. find the postbit_classic template under the postbit templates group.

Find:

			{$post['userstars']}
			{$post['groupimage']}
			{$post['useravatar']}<br />

Replace with:

			{$post['useravatar']}<br />
			{$post['userstars']}
			{$post['groupimage']}<br />

5) I'm afraid I don't quite understand what youre wanting to do?
#5
Solved: 10 Years, 5 Months, 1 Week ago
Thank you so much!!! And about number 5, I meant that in "contact details" there is a pm option I want to enforce it that no member can disable it(can they?)

So far you've really helped me out alot so thank you very much(again) and I'll also post a request later on.
[Image: sig.php]
#6
Solved: 10 Years, 5 Months, 1 Week ago
Ah, you want to stop people from disabling PMs. Not sure. Deleting it from the user CP template might work.
#7
Solved: 10 Years, 5 Months, 1 Week ago
(2011-01-09, 04:29 PM)euantor Wrote: Ah, you want to stop people from disabling PMs. Not sure. Deleting it from the user CP template might work.

Oh I'll try that. And one last thing I want the postbit to show group image then avatar and then userstars. Should I just move the code up/down accordingly?

Oh after I added the profile fields to the post bit, the added ones are sharing the same line right next to reputation. how can I give them seperate line?
Here is a screen shot.
[Image: 245hbgh.png]
[Image: sig.php]
#8
Solved: 10 Years, 5 Months, 1 Week ago
(2011-01-09, 04:40 PM)iDude Wrote:
(2011-01-09, 04:29 PM)euantor Wrote: Ah, you want to stop people from disabling PMs. Not sure. Deleting it from the user CP template might work.

Oh I'll try that. And one last thing I want the postbit to show group image then avatar and then userstars. Should I just move the code up/down accordingly?

Oh after I added the profile fields to the post bit, the added ones are sharing the same line right next to reputation. how can I give them seperate line?
Here is a screen shot.
[Image: 245hbgh.png]

1) yes

2) Insert <br /> where you want a new line to appear Smile

Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)