I would like to put login and logout buttons like this. I've tried a lot and usually the logout doesn't work!
According to SMF they will not even put ...
Capturar.PNG
The login works, the logout shows this error: An error has occurred
"Session verification failed. Please try to disconnect and reconnect again and then try again"
Logout icon path example: ../Themes/default/images/icons/logout.png
Add to the end of the navigation button array in file: ../Sources/Subs.php
'logout' => array(
'title' => $txt['logout'],
'icon' => '/icons/logout.png',
'href' => $scripturl . '?action=logout;%1$s=%2$s',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
Perfect! you are very good! ;D ;D ;D
i was looking for this as well ty chen ill add this later tonight after work
Can this be made in to a mod so when updating smf we won't have to edit core files again ???
You can try this:
https://web-develop.ca/index.php?action=downloads;area=stable_smf_modifications;file=85
already installed, tested and works. Much more practical!
Thank you again!
ahhhh yes nice ty ;D
Some things I don't understand ...
You would be "INDISPENSABLE" on the SMF team!
Many people are there for nothing!
Thank you very much for the forum
Thank you.
In my opinion many of the SMF team members have their strengths and likely get put into positions to use them.
There are some good coders involved with the project.
I'm happy doing my part from this forum, occasionally on the SMF website and within the community in general.
For sure ... There are a lot of good people!
But I want to say that you "like" to help!
I've been your fan for some time!