Advertisement:
Advertise With Us!

Author Topic: Bit of help with "/index.php?theme=1" please.  (Read 2775 times)

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 45,129
  • Gender: Male
  • Yum!
Bit of help with "/index.php?theme=1" please.
« on: April 12, 2012, 04:08:21 PM »
I remember that there are instances where that doesn't work.

Pity that I can't remember what those instances are, innit?

Is one when the theme's aren't selectable? i.e. where a certain theme is set as the default and none others are allowed to be selected?

Online AngelinaBelle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,142
Re: Bit of help with "/index.php?theme=1" please.
« Reply #1 on: April 12, 2012, 04:48:57 PM »
You must be right.
Is there a case where SOME themes are selectable, but not others?
If you do what you've always done, you'll get what you've always gotten. -- Anthony Robbins

Offline Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 15,750
  • Gender: Male
  • So this is the luck of the draw...
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Bit of help with "/index.php?theme=1" please.
« Reply #2 on: April 12, 2012, 04:51:17 PM »
Is one when the theme's aren't selectable? i.e. where a certain theme is set as the default and none others are allowed to be selected?
Indeed. If there are no themes selectable then ?theme=[ID] wont work except for admins.

Is there a case where SOME themes are selectable, but not others?
Admins are able to select which themes their members can choose from at will. Admins get the same treatment in the UI, but they may access any theme they please by URL of ?theme=[ID]
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays
^ Current Game: Final Fantasy XIII & Broken Sword 5

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 45,129
  • Gender: Male
  • Yum!
Re: Bit of help with "/index.php?theme=1" please.
« Reply #3 on: April 12, 2012, 04:56:22 PM »
It seems to be very different with v2.

In v1, you had, under "Themes":

Allow members to select their own themes.
Allow members to select the "Default" theme.
Overall forum default:
Reset everyone to:

But, I can't seem to find that, in v2.

I assume it's there, somewhere, though.

Ta, Gary! :)

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,985
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Bit of help with "/index.php?theme=1" please.
« Reply #4 on: April 12, 2012, 04:58:40 PM »
Code: (Load.php Lines: 1334-1335) [Select]
// The theme was specified by REQUEST.
elseif (!empty($_REQUEST['theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
Former SMF Developer
My Modifications

Offline CheekyCat

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,921
  • Gender: Female
  • Forum Tea Maker - go on have a cuppa!
    • ChalkCat
Re: Bit of help with "/index.php?theme=1" please.
« Reply #5 on: April 12, 2012, 05:04:40 PM »
It seems to be very different with v2.

In v1, you had, under "Themes":

Allow members to select their own themes.
Allow members to select the "Default" theme.
Overall forum default:
Reset everyone to:

But, I can't seem to find that, in v2.

I assume it's there, somewhere, though.

Ta, Gary! :)

It is there in Themes and Layout Settings, only the "Allow members to select the "Default" theme" has been replaced with "Themes that the user is able to select: "

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 45,129
  • Gender: Male
  • Yum!
Re: Bit of help with "/index.php?theme=1" please.
« Reply #6 on: April 12, 2012, 05:13:03 PM »
I knew that...

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,985
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Bit of help with "/index.php?theme=1" please.
« Reply #7 on: April 12, 2012, 05:14:31 PM »
:)
Former SMF Developer
My Modifications

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 45,129
  • Gender: Male
  • Yum!
Re: Bit of help with "/index.php?theme=1" please.
« Reply #8 on: April 12, 2012, 05:20:23 PM »


;)