Latest topics
» Dark Mode + Another Question
by Wolfuryo Today at 09:58

» make the topic a color
by Wolfuryo Today at 09:52

» Recent Topic with Avatar problem
by Wolfuryo Today at 09:44

» Forum text has changed to bold
by tillytiger99 Today at 05:02

» Request a Username Change
by mr.blake214 Today at 01:30

» Display a preview of the user profile on hover
by HoeGy48 Yesterday at 16:51

» Hai Guys~
by mr.blake214 Yesterday at 13:48

» Forumactif Messenger - Instant Message Application for Forumotion
by DDril Yesterday at 10:25

» Donation Box
by Ange Tuteur Yesterday at 09:59

» Custom Award Problem (Profile Field)
by Ange Tuteur Yesterday at 09:39

» IconSkouliki
by skouliki Mon 14 Aug 2017, 13:01

» Category Tabs
by SLGray Sat 12 Aug 2017, 22:45

» Forum Titles not in line
by Wolfuryo Fri 11 Aug 2017, 12:55

» Notifications not showing
by tillytiger99 Thu 10 Aug 2017, 04:14

» option download with image resizer
by Ange Tuteur Wed 09 Aug 2017, 10:42

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

Wolfuryo

[ 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 : 83
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 : 4675
Points : 9682
Reputation : 2330
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 : 83
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 : 4675
Points : 9682
Reputation : 2330
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