Notifications
Clear all

wpForo 1.x.x WpForo customization

18 Posts
2 Users
1 Likes
981 Views
dk1616
Posts: 24
Topic starter
(@dk1616)
Eminent Member
Joined: 11 months ago
Posted by: @chris

Please read this post

https://wpforo.com/community/how-to-and-troubleshooting-2/how-to-hide-members-list/#post-44296

Not sure if that helps I did everything suggested, I am trying to hide this hyperlink and this entire page from appearing: https://prnt.sc/1t8p1zg. Is it possible? 

 

Posted by: @chris

Copy this` You do not have permission to view the content and paste it in the phrase search bar

 

I tried it before, no results: https://prnt.sc/1t8p56n  

Posted by: @chris

You mean you are using a plugin which translates wpForo phrases?

Or you mean your site is Multi-Lang?

No, I am not using any plugin for translations, I just switched the WP language and WpForo is automatically translated for me...even though the language pack in the backend are still in English.

Similarly to my point above, the error message on this page (/forum/members) gets translated automatically: https://prnt.sc/1t8pjx2

But the only a portion of the error message to register gets translated: https://prnt.sc/1t8pnnm

When I try to search for this phrase, again no result... https://prnt.sc/1t8ppr0

Very confusing, this + the point above shows that it's not possible to either find or edit some phrases, as if they're not even there.

Reply
Chris
Posts: 1630
Admin
(@chris)
Support Team
Joined: 1 year ago
Posted by: @dk1616

Not sure if that helps I did everything suggested, I am trying to hide this hyperlink and this entire page from appearing: https://prnt.sc/1t8p1zg. Is it possible? 

If you're requesting the page, it has to bring something error 404, etc. So what do you want it to bring?

Posted by: @dk1616

No, I am not using any plugin for translations, I just switched the WP language and WpForo is automatically translated for me...even though the language pack in the backend are still in English.

Similarly to my point above, the error message on this page (/forum/members) gets translated automatically: https://prnt.sc/1t8pjx2

But the only a portion of the error message to register gets translated: https://prnt.sc/1t8pnnm

When I try to search for this phrase, again no result... https://prnt.sc/1t8ppr0

Very confusing, this + the point above shows that it's not possible to either find or edit some phrases, as if they're not even there.

Press the Rebuild Phrases Button from Dashboard > Forums > Dashboard, After that click Delete all caches button from the same place and try to find the phrases, and if you are going to translate small count of phrases use wpForo Phrases option if the phrases count is huge I recommend you to use Loco Translate.

Reply
3 Replies
dk1616
(@dk1616)
Joined: 11 months ago

Eminent Member
Posts: 24

@chris This is really strange... I did it as suggested and found the phrase. Now I want to find another phrase, the translation for time (e.g. "2 weeks ago") is wrong. So the culprit is "weeks"

1) I rebuilt phrases, deleted cache
2) Trying to find the relevant text...I search for "weeks" - it appears for example on this forum, so must be there (also I have the translation)

3) It gives no results: https://prnt.sc/1u44mn5

Actually, my site's backend is automatically translated to SK. I am not using any other translation plugin. 

WPforo is automatcally translated, but I see ENG language pack.

I checked the .po file, and I can't even seem to find the translations I am looking for in the front end. Example: 

Front-end: https://prnt.sc/1u46fwi

.po file in the backend (SK): https://prnt.sc/1u463za (the only result, not corresponding to front end)

Phrases section: https://prnt.sc/1u46ii8

I really struggle to understand how are the translations handled, seems pretty messy.

Thanks

Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 1630

@dk1616,

You're searching the wrong phrase,

In wpForo Forums > Phrases` search for " ago " phrase, and you will see " %s ago " phrase, wpForo's part is " ago ", " %s " is WordPress part, which will be set as WordPress Language.

Reply
dk1616
(@dk1616)
Joined: 11 months ago

Eminent Member
Posts: 24

@chris Awesome! Makes sense and I fixed the translation:))

2 more questions, here is the screenshot: https://prnt.sc/1urhkec

1) Is the "choose file" / "no file chosen" translatable? 

2) I chose a long display name and it's running beyond the border,

--- is there any CSS that can fix it and contain it inside? 
--- OR is there any code that will set the max no. of characters for the username?

Thanks

Reply
Chris
Posts: 1630
Admin
(@chris)
Support Team
Joined: 1 year ago

@dk1616,

Posted by: @dk1616

1) Is the "choose file" / "no file chosen" translatable? 

Insert the below CSS code in Custom CSS Code Field:

input#wpf_file::-webkit-file-upload-button {
    visibility: hidden;
}
input#wpf_file::before {
  content: 'Type Your Contnent';
  display: inline-block;
  background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
  border: 1px solid #999;
  border-radius: 3px;
  padding: 3px 8px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  text-shadow: 1px 1px #fff;
  font-weight: 700;
  font-size: 11px;
}
input#wpf_file:hover::before {
  border-color: black;
}
input#wpf_file:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

 

Posted by: @dk1616

2) I chose a long display name and it's running beyond the border,

Use the CSS Code Below:

#wpforo #wpforo-wrap .author-data {
    padding: 6px;
}
Reply
6 Replies
dk1616
(@dk1616)
Joined: 11 months ago

Eminent Member
Posts: 24

@chris Hey, any update on this?)

The code doesn't seem to work as intended> https://prnt.sc/1uvrir3

Thanks

Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 1630

@dk1616,

I don't have any solution for code to make the last part work ass needed, The reason is that this is more close to manipulation on the browser. I have found out that the language can be changed by changing the browser language.

Reply
dk1616
(@dk1616)
Joined: 11 months ago

Eminent Member
Posts: 24

@chris Hello, I wanted to follow up on this. I noticed the layout of this in the WpDiscuz forum: https://prnt.sc/1y5pyqs

How would it be possible to achieve this layout, and then just change the text? 

Thank you!

Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 1630

@dk1616,

the layout in the screenshot is from advanced attachments add-on, you need to purchase the add-on to get that layout:

https://gvectors.com/product/wpforo-advanced-attachments/

after installing the add-on, go to Dashboard > Forums > Settings > Addons Tab > Attachments Sub-Tab and Change the phrases`

Attach Files

Or drag and drop it here.

Max file size %1$s (dont change %1$ )

My media

Reply
dk1616
(@dk1616)
Joined: 11 months ago

Eminent Member
Posts: 24

@chris Thanks! Will I be also able to change "my media", basically everything?

Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 1630

@dk1616,

you will be able to change all the add-on phrases.

Reply
dk1616
Posts: 24
Topic starter
(@dk1616)
Eminent Member
Joined: 11 months ago
Posted by: @chris

Insert the below CSS code in Custom CSS Code Field:

 

Thanks, Seems to work only partially: https://prnt.sc/1uvrir3

Even if I minimize the window it still shows like this 

1) it's "squashed" and not displayed fully

2) not translation even in your code?

 

Thanks

Reply
Page 2 / 2
Share: