Advertisement:

Author Topic: Inactive & spam users [solved]  (Read 7770 times)

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Inactive users
« Reply #30 on: May 10, 2017, 11:31:57 pm »
Editing the *.po with other editors then poedit is not the best at all, it can corrupt the file... why you dont edit it with poedit before compiling?


but yes, when you load any *.po file and save it, the *.mo will be saved in the same folder

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Inactive users
« Reply #31 on: May 10, 2017, 11:40:38 pm »
Thank you for that info about the possibility of damaging the file.
Anyway I get an error:
warning: header field 'Language' missing in header

when saving the po file with poedit, even if I open the .po file that comes with the download package of osclass 3.7.1

The same error is showing after I edit the .po file with the code editor from cpanel.

But the functionality is not affected by this.

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Inactive users
« Reply #32 on: May 11, 2017, 12:54:19 am »
try to set language in catalog settings...

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #33 on: May 11, 2017, 09:47:45 am »
I don't understand. How can i edit using poedit? Tell me the steps to do it.

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #34 on: May 12, 2017, 10:14:01 am »
Another fake user using gmail. He tried to create so many accounts in my site.

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Inactive users
« Reply #35 on: May 12, 2017, 11:09:27 am »
it is so simple...

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Inactive users
« Reply #36 on: May 12, 2017, 11:10:52 am »
Another fake user using gmail. He tried to create so many accounts in my site.
you could try my plugin spam protection, now there i have added registration checks... but for now it isn't available on osclass market
https://forums.osclass.org/plugins/(plugin)-spam-protection/msg150062/#msg150062

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #37 on: May 13, 2017, 10:53:47 am »
it is so simple...

I don't want to translate. I wants to add some extra lines to my original message.
How can i do that?

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #38 on: May 13, 2017, 10:54:36 am »
Another fake user using gmail. He tried to create so many accounts in my site.
you could try my plugin spam protection, now there i have added registration checks... but for now it isn't available on osclass market
https://forums.osclass.org/plugins/(plugin)-spam-protection/msg150062/#msg150062

Thanks Liath. Will try that.. where can i download it??

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Inactive users
« Reply #39 on: May 13, 2017, 11:50:43 am »

I don't want to translate. I wants to add some extra lines to my original message.
How can i do that?
open the *.po file for your language and enter the complete text you want to show there



Thanks Liath. Will try that.. where can i download it??
the newest version isn't published in market place now and i'm not allowed to post any download link here, but you can find "some" hints, where you can find it in the thread for the plugin


or you wait for the official version in osclass market place

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #40 on: May 13, 2017, 12:25:12 pm »

open the *.po file for your language and enter the complete text you want to show there


I want to edit the source text.

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Inactive users
« Reply #41 on: May 13, 2017, 12:51:46 pm »
Attach here your messages.po file and I'll try to give you the messages.mo file edited with your text.

Another ( brutal ) way would be for you to edit the php file in which the msgid is used. You have the path in messages.po(if you view it with a text editor.).
« Last Edit: May 13, 2017, 12:54:31 pm by marius-ciclistu »

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #42 on: May 13, 2017, 12:55:56 pm »
po files not supported here

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Inactive users
« Reply #43 on: May 13, 2017, 01:00:45 pm »
 Do a backup of messages.po and messages.mo.
If you have cpanel, edit messages.po and save it.
Download, open and save with poedit the messages.po file previously modified with code editor in cpanel.
(I'm curious if the error regarding same language will still apear. If yes, then the brutal php file edit is the only way. If not, you are lucky).

If you don't have cpanel, leave your email and I'll contact you.
« Last Edit: May 13, 2017, 01:03:38 pm by marius-ciclistu »

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Inactive users
« Reply #44 on: May 13, 2017, 01:10:45 pm »
I edited in cpanel like this. Am i doing right?