News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How make 'Register' more prominent and visible?

Started by JollyGuru, May 06, 2015, 02:43:31 PM

Previous topic - Next topic

JollyGuru

I would like to make the 'Register'-link at the top more prominent than it is by default.
For new guest-users the 'register'-function is way too hard to find if you're not used to SMF.

(If you've read a lot about marketing you may know that most people need a BIG BLINKING ARROW to know where to click!)

At least it would be nice to be able to make the text bold.

If there is a mod for this it would be great.
If there's no mod, is there an easy way for a beginner to do it?

margarett

You can probably just edit index.english.php and put "Register" between <b></b>
Not sure if there is a better way out of my head, though...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Illori

Quote from: margarett on May 06, 2015, 03:51:37 PM
You can probably just edit index.english.php and put "Register" between <b></b>
Not sure if there is a better way out of my head, though...

if you inspect the element it has its own id... you can define css for that id.


Sir Osis of Liver


/Sources/Subs.php -



'register' => array(
'title' => '<span style="color: red; font-weight: bold;">'. $txt['register'] .'</span>',
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

JollyGuru

Quote from: HDB on May 06, 2015, 04:10:21 PM
Here is a mod you might look ...

http://custom.simplemachines.org/mods/index.php?mod=363

Thanks buddy! I had missed that one and tried it out now. However I think the "warning-bars" give users bad associations, so I decided to uninstall it. But I appreciate the tip!  ;)

The one I prefer and use is this one:
http://custom.simplemachines.org/mods/index.php?mod=3107

JollyGuru

Quote from: Krash on May 06, 2015, 10:18:32 PM

/Sources/Subs.php -



'register' => array(
'title' => '<span style="color: red; font-weight: bold;">'. $txt['register'] .'</span>',
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),



Great!  :D Thank you!
That code works wonders for the "lower" menu-bar now!

But can you also help me to find the code to change the "upper" 'register'? - you know where it says:
"Welcome, Guest. Please login or register."

Sir Osis of Liver


/Themes/default/languages/index.english.php



$txt['welcome_guest'] = 'Welcome, <strong>%1$s</strong>. Please <a href="' . $scripturl . '?action=login">login</a> or <a href="' . $scripturl . '?action=register"><span style="color: red; font-weight: bold;">register</span></a>.';


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

hitsme

Thanks  ......and where

can i change a board that is locked for guest warning message?

Warning!
Only registered members are allowed to access this section.
Please login below or register an account with your_forum_name

hitsme

Note:

In my opinion

It should rather be blue instead of red, goes more with flow doesn't look like screaming.
And it should be done in .css, otherwise on hover doesn't look good.

JollyGuru

Quote from: Krash on May 07, 2015, 02:04:16 PM

/Themes/default/languages/index.english.php



$txt['welcome_guest'] = 'Welcome, <strong>%1$s</strong>. Please <a href="' . $scripturl . '?action=login">login</a> or <a href="' . $scripturl . '?action=register"><span style="color: red; font-weight: bold;">register</span></a>.';



Splendid!   ;D  Works great!
SMF-support-team is amazing! Many thanks!

Advertisement: