News: We have *Free 2.0 Gold* Themes for Download & Support.
Welcome, Guest.
Please login or register.
Loading...
  • Home
  • Forum
  • Help
    • TinyPortal
  • Calendar
  • Downloads
  • Login
  • Register
  • Cripzone »
  • Forum »
  • Theme Support »
  • Theme Support (Moderator: Crip) »
  • Blackrain simple question
* * *

User

Welcome, Guest. Please login or register.
Feb 03, 12, 10:28:13 PM

Login with username, password and session length

CZ Friends

  •      TPsupport
  •      blocWeb
  •      build&Tell
  •      tentDwellers
  •      aRgStudio

“Random Proverb”

PROV 1:10 My son, if sinners entice thee, consent thou not.
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Blackrain simple question  (Read 2169 times)

0 Members and 1 Guest are viewing this topic.

magyarkhan

  • Guest
Blackrain simple question
« on: Jul 19, 10, 12:52:58 AM »
Hey dear crip 

quit a story about your physical situation :o(  but perhaps besides God you may be strengthened by knowing you do a lot of good work.

I hope you can answer my question....  i wanted to know how i could change members welcome visiting the forum like Hey, Crip as it is now  [left up above the forum]  into something else like Hello, Crip

greetings   Joska from the Netherlands
Logged

Offline Crip

  • Administrator/Owner
  • Hero Member
  • *****
  • Posts: 5,390
  • Gender: Male
  • Say it ant true?
    • Cripzone
Re: Blackrain simple question
« Reply #1 on: Jul 19, 10, 07:03:54 AM »
You could probably use : languages/ThemeStrings to make it read what you want…
Logged
I have become comfortably numb!

Do Not PM me for Support unless invited!
I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


Donate A Bible! | Quad Link | TOTM Winner.

magyarkhan

  • Guest
Re: Blackrain simple question
« Reply #2 on: Jul 20, 10, 09:58:53 PM »
well im a php noob but i have som programming experience......  the part where i looked is below in pink and if im correct the variable where its about is called $txt['hello_member'] which now generates for me if i log in "Hey, MagyarKhan" but if i want to change this into "Hello, MagyarKhan" what do i have to do?

Im fine if u dont respond to it   i can imagine that ur busy and this is sooo small... :)
Code: [Select]
// display user name
   echo '
      <table width="100%" cellpadding="0" cellspacing="0" border="0" >
         <tr>';

   if($context['user']['is_logged'])
      echo '
            <td class="titlebg2" height="32">
               <span style="font-size: 110%;"> ', $txt['hello_member'], ' ', $context['user']['name'] , '</span>
            </td>';
Logged

Online ZarPrime

  • Site Admin
  • Hero Member
  • *****
  • Posts: 867
  • Gender: Male
  • ~~~ Knowledge is Power
Re: Blackrain simple question
« Reply #3 on: Jul 21, 10, 03:20:46 AM »
magyarkhan,

That pink color almost blew up my monitor. :o  It would have been easier to read if you had surrounded the code with code tags instead of changing the color of the text.  Do you understand what I mean by code tags?  That means that your code would have looked like this instead ...
Code: [Select]
// display user name
   echo '
      <table width="100%" cellpadding="0" cellspacing="0" border="0" >
         <tr>';

   if($context['user']['is_logged'])
      echo '
            <td class="titlebg2" height="32">
               <span style="font-size: 110%;"> ', $txt['hello_member'], ' ', $context['user']['name'] , '</span>
            </td>';

In any case, the location of what you need to change depends on what version of SMF you are using.  If you are using SMF 2.0 RC3, you'll need to change the word "Hey," on line 184 in the following file ...
/Themes/default/languages/index.english.php

To do that, you will need to use your FTP client to download that file to your desktop, open it up and edit that line so that it has the word that you want to use.  For instance, find this line ...
Code: [Select]
$txt['hello_member'] = 'Hey,';

and change it to this ...
Code: [Select]
$txt['hello_member'] = 'Hello,';

Then you need to upload the edited file to the same location.  It might be a good idea to rename that file so that you have a backup of it.  For instance, rename it to ~index.english.php and then upload the file you edited.

ZarPrime
Logged

Offline Crip

  • Administrator/Owner
  • Hero Member
  • *****
  • Posts: 5,390
  • Gender: Male
  • Say it ant true?
    • Cripzone
Re: Blackrain simple question
« Reply #4 on: Jul 21, 10, 06:37:06 AM »
..   O0
thnks for your help Zar bro ..
Logged
I have become comfortably numb!

Do Not PM me for Support unless invited!
I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


Donate A Bible! | Quad Link | TOTM Winner.

magyarkhan

  • Guest
Re: Blackrain simple question
« Reply #5 on: Jul 21, 10, 01:48:04 PM »
Got it working Guyz.... thx a lot   altho im aware that this is all new for me I will seek my way thru   by trial and error.....   and just came up with a new  more advanced problem...  :idiot2:
Logged

Offline Crip

  • Administrator/Owner
  • Hero Member
  • *****
  • Posts: 5,390
  • Gender: Male
  • Say it ant true?
    • Cripzone
Re: Blackrain simple question
« Reply #6 on: Jul 21, 10, 05:03:05 PM »
Which is?
Logged
I have become comfortably numb!

Do Not PM me for Support unless invited!
I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


Donate A Bible! | Quad Link | TOTM Winner.

Online ZarPrime

  • Site Admin
  • Hero Member
  • *****
  • Posts: 867
  • Gender: Male
  • ~~~ Knowledge is Power
Re: Blackrain simple question
« Reply #7 on: Jul 22, 10, 12:01:10 AM »
Quote from: Crip on Jul 21, 10, 06:37:06 AM
..   O0
thnks for your help Zar bro ..

Sure thing Bro'. ;)

ZP
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • Cripzone »
  • Forum »
  • Theme Support »
  • Theme Support (Moderator: Crip) »
  • Blackrain simple question
 

Recent

  • Can I Sit Next To You Gir... by Crip
    [Feb 03, 12, 02:32:39 PM]
  • Rush! by Scrubmeister
    [Feb 03, 12, 09:13:13 AM]
  • Maxx - Happy Birthday! by Maxx
    [Feb 02, 12, 04:08:15 PM]
  • Quote by Crip
    [Feb 02, 12, 09:59:25 AM]
  • Fine Tuning BR Finale by TLone
    [Feb 01, 12, 08:09:41 PM]
  • Modified CoalBlack? by Lyfing
    [Jan 24, 12, 02:31:55 PM]
  • Tom Petty! by Crip
    [Jan 22, 12, 12:26:45 PM]
  • The Doors! by Crip
    [Jan 21, 12, 11:58:01 AM]
  • Theme Edit Basics finding... by Maxx
    [Jan 20, 12, 07:58:24 AM]
  • Old Man! by Maxx
    [Jan 19, 12, 05:14:50 PM]

Stats

Members
  • Total Members: 516
  • Latest: streic
Stats
  • Total Posts: 5302
  • Total Topics: 844
  • Online Today: 21
  • Online Ever: 146
  • (Feb 15, 11, 07:14:16 PM)
Users Online
Users: 2
Guests: 18
Total: 20
Maxx
ZarPrime
  • SMF 2.0.2 | SMF © 2011, Simple Machines
    TinyPortal © 2005-2011
  • XHTML
  • RSS
  • WAP2
Style308 by, Crip