Advertisement:

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

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 38,700
  • Gender: Male
  • Nothing (Or nothing you can see)
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?

Offline AngelinaBelle

  • On Hiatus
  • SMF Hero
  • *
  • Posts: 6,673
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

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 14,699
  • Gender: Male
  • So this is the luck of the draw...
    • @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


Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 38,700
  • Gender: Male
  • Nothing (Or nothing you can see)
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

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • 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')))

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline ChalkCat

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,410
  • 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: 38,700
  • Gender: Male
  • Nothing (Or nothing you can see)
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

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • 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 »
:)

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 38,700
  • Gender: Male
  • Nothing (Or nothing you can see)
Re: Bit of help with "/index.php?theme=1" please.
« Reply #8 on: April 12, 2012, 05:20:23 PM »


;)