TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 319
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 210
  • Total: 211
  • @rjen

Forum Button

Started by Hadi, October 04, 2007, 09:58:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hadi

Greetings All,

TP is working fine in English Language, but the forum button is missing in the Arabic UI, i check the article related to adding Extra button, but i could find what to do.

To be exact, i need the forum button to be visible in the Arabic UI, how can i do that.

All the best


agridoc

Forum button for what theme?
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

Hadi


agridoc

SMF Default Theme - Core doesn't use exactly graphics buttons, buttons are "made" with css styles and strings.

It's a matter of a direct string. Bloc has corrected in a previous version, it seems that something happened in the last one and the direct string "Forum" replaced the string variable.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

Hadi


agridoc

Hadi, it seems that I was rather tired last night  ::)

There is really a direct string that has to be corrected but that is "Forum" in link tree. That's what I remembered and wrote the previous reply.

The "button" Forum should work OK with languages.

The text variables
$txt['tp-forum'] = 'Forum';
$txt['tp-forum2'] = 'FORUM';
are translated in Arabic in Tportal.arabic.php (line 295).

You can change them if you want something different to be displayed.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

Hadi

Thanks Agridoc..i hope you had a good sleep yesterday ..

I just find the mistake i made, in another thread, they advised to upload the language files to Themes/default/

while they should be uploaded to
Themes/default/languages/

Problem solved now..

Thanks


agridoc

OK, BTW I remembered this detail I had forgotten  ;)
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

jazelle_rae

thanks for the forum button it helps me a lot inserting this one  :laugh:

This website is proudly hosted on Crocweb Cloud Website Hosting.