Customize STB Block message

Installation, configuration
ahmadalkhraisha
Posts: 1
Joined: 21 Jun 2018, 12:26

Customize STB Block message

Postby ahmadalkhraisha » 21 Jun 2018, 12:30

Hi Friends,

I would like to ask if it possible to change the text message when STB mac-address is not added inside the portal.

The default message is " your STB is blocked. call the provider ".

Any idea to customize it ?

Thank you all.
Ahmad

Nepose
Posts: 15
Joined: 19 Jul 2018, 17:55

Re: Customize STB Block message

Postby Nepose » 04 Aug 2018, 21:18

You can change the font size, font face etc. in CSS files for every template (the blocking message is defined in Classic, not Stalker 5X !) - blocking.css is for 720x576 resolution, blocking_480.css for 720x480 and blocking_720.css for 1280x720.

The entire text is defined in stb.mo / stb.po for English. Use Poedit to edit stb.po and when saving, there'll become an stb.po file.

The locations of files are: (in /var/www/html):
- for CSS: /stalker_portal/c/template/<name of template>/<name of blocking file>
- for PO: /stalker_portal/server/locale/en/LC_MESSAGES

You're welcome :)


Return to “Installation & settings”



Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron