Latest topics
» "Edit this page" feature
by skouliki Today at 01:36

» [GAME] Count to 1000 using even numbers Van-Helsing Edition
by Van-Helsing Tue 17 Oct 2017, 15:07

» Dark Mode + Another Question
by Ace 1 Tue 17 Oct 2017, 12:42

» [GAME] What are you thinking right now?
by Ace 1 Tue 17 Oct 2017, 08:09

» [GAME] Count to One Million!
by Ace 1 Tue 17 Oct 2017, 08:07

» [GAME] Last Letter Game
by Ace 1 Tue 17 Oct 2017, 08:06

» [GAME] World Snake
by Ace 1 Tue 17 Oct 2017, 08:06

» [GAME] Never have I ever..
by Ace 1 Tue 17 Oct 2017, 08:06

» [GAME] Animal Game
by universecat Mon 16 Oct 2017, 21:43

» [GAME] Post a random picture
by SLGray Mon 16 Oct 2017, 16:28

» Hi everyone!
by skouliki Mon 16 Oct 2017, 02:01

» Hai Guys~
by skouliki Mon 16 Oct 2017, 01:59

» Add a login popup for the toolbar
by Ape Sun 15 Oct 2017, 13:51

» Mobile Usability Test
by Ange Tuteur Sat 14 Oct 2017, 11:20

» Chit Chat Thread
by Ange Tuteur Sat 14 Oct 2017, 11:20

Recent Tutorials
Who is online?
In total there are 8 users online :: 1 Registered, 0 Hidden and 7 Guests

Flerex

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

random theme

View previous topic View next topic Go down

avatar
DeathLess
New Member
Title :
Gender : Unspecified
Posts : 6
Points : 147
Reputation : 1
Language : English & Hungarian
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile

PostDeathLess on Mon 26 Jun 2017, 10:40

Hi all.
I want to be the random theme the default theme of my forum.
Is this possible?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9536
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 27 Jun 2017, 11:05

Hi @DeathLess,

Go to Admin Panel > Modules > JS codes management > ALL.JS

Find : (or similar to it)
Code:
selected : my_getcookie('fa_theme_color') || 'Select a theme',

and replace by :
Code:
selected : my_getcookie('fa_theme_color') || 'Random theme',
Note : If you're using a different language for Forumactif Edge you should set the selected theme in your language.

Save the script and the random theme will be the default theme. You may need to clear your cookies for the change the be visible.
avatar
DeathLess
New Member
Title :
Gender : Unspecified
Posts : 6
Points : 147
Reputation : 1
Language : English & Hungarian
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile

PostDeathLess on Tue 27 Jun 2017, 11:44

Ange Tuteur wrote:Hi @DeathLess,

Go to Admin Panel > Modules > JS codes management > ALL.JS

Find : (or similar to it)
Code:
selected : my_getcookie('fa_theme_color') || 'Select a theme',

and replace by :
Code:
selected : my_getcookie('fa_theme_color') || 'Random theme',
Note : If you're using a different language for Forumactif Edge you should set the selected theme in your language.

Save the script and the random theme will be the default theme. You may need to clear your cookies for the change the be visible.
Thanks!! It works great!! Thumb left
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9536
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 28 Jun 2017, 10:16

You're welcome. Smile

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum