Change in the color of the text while hiding the text in ..

Mod Support

Moderators: BNa, Sekuro, 4seven

Change in the color of the text while hiding the text in ..

Postby Anuj Dhawan » 17 Jan 2014, 06:16

Hi,

I was looking at this old thread: https://www.phpbb.com/community/viewtop ... &t=1855005 and followed your instructions there and it helps. However, as I'm using different Font and background color for the BBcode Tags the words "Login" and "Register" becomes very invisible. Please see the below screen shot:

Hide BBcode.jpg

Could you please suggest how can I change the color of "these words" to make them more visible?
Anuj Dhawan

Tiptop

Tiptop
 
Posts: 3
Joined: 23 Sep 2013, 11:59
 
Resolution: 1366x768


Re: Change in the color of the text while hiding the text in

Postby 4seven » 17 Jan 2014, 16:55

Find in mod description/instruction:

Code: Select all
// No Code Content 4 Guests / 4seven / 2009
    'NO_CODE_FOR_GUESTS_1'    => 'Please ',
    'NO_CODE_FOR_GUESTS_2'    => 'Login',
    'NO_CODE_FOR_GUESTS_3'    => ' or ',
    'NO_CODE_FOR_GUESTS_4'    => 'Register',
    'NO_CODE_FOR_GUESTS_5'    => ', to see this Content',
// No Code Content 4 Guests / 4seven / 2009      

Replace with

Code: Select all
// No Code Content 4 Guests / 4seven / 2009
    'NO_CODE_FOR_GUESTS_1'    => 'Please ',
    'NO_CODE_FOR_GUESTS_2'    => '<span style="color:green;">Login</span>',
    'NO_CODE_FOR_GUESTS_3'    => ' or ',
    'NO_CODE_FOR_GUESTS_4'    => '<span style="color:green;">Register</span>',
    'NO_CODE_FOR_GUESTS_5'    => ', to see this Content',
// No Code Content 4 Guests / 4seven / 2009     


Change green to each color you want (lightgrey (as word) or #83H6HT (hex) syntax)
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Change in the color of the text while hiding the text in

Postby Anuj Dhawan » 17 Jan 2014, 20:49

Thanks 4seven. This helps.

I know this is off topic but your name pretty different -- any specific reason behind? :) If it's too personal please ignore it.
Anuj Dhawan

Tiptop

Tiptop
 
Posts: 3
Joined: 23 Sep 2013, 11:59
 
Resolution: 1366x768


Re: Change in the color of the text while hiding the text in

Postby 4seven » 18 Jan 2014, 15:24

I'd thought about a nick and this name arrived my head.
So no reason in itself, but an inspiration.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Change in the color of the text while hiding the text in

Postby Anuj Dhawan » 18 Jan 2014, 18:40

Okay! :)

And once again Thanks for your help,

have a good one,
Anuj Dhawan

Tiptop

Tiptop
 
Posts: 3
Joined: 23 Sep 2013, 11:59
 
Resolution: 1366x768


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 2 guests

cron