Latest topics
» [HELP] Improve the reputation system so it counts votes
by omarpop23 Yesterday at 21:43

» [GAME] Countdown from 200,000
by Wolfuryo Yesterday at 14:46

» Sticky navbar
by Wolfuryo Yesterday at 14:40

» Dark Mode
by Wolfuryo Yesterday at 14:40

» FM Chatbox
by Wolfuryo Yesterday at 14:28

» Chit Chat Thread
by Wolfuryo Yesterday at 14:20

» Help to update a code that does not work after JQuery Update!
by STBW Yesterday at 13:33

» problen in Select a Category javascript
by djblah Yesterday at 12:08

» random theme
by DeathLess Yesterday at 11:44

» [GAME] Animal Game
by Valoish Yesterday at 11:32

» [GAME] What are you doing right now?
by Valoish Yesterday at 11:32

» [GAME] this or that
by Valoish Yesterday at 11:31

» [GAME] Count to 1000 using even numbers Van-Helsing Edition
by Valoish Yesterday at 11:30

» [GAME] Count to 999 using odd numbers Van-Helsing Edition
by Valoish Yesterday at 11:30

» [GAME] Count to One Million!
by Valoish Yesterday at 11:29

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

_Twisted_Mods_

[ 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 : 4
Points : 30
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 : 4587
Points : 9456
Reputation : 2305
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 Yesterday at 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 : 4
Points : 30
Reputation : 1
Language : English & Hungarian
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile

PostDeathLess Yesterday at 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

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