The Forge Reference Project

 

Topic: Technical question about this board
Started by: Opsimath
Started on: 11/24/2003
Board: Site Discussion


On 11/24/2003 at 6:59pm, Opsimath wrote:
Technical question about this board

Hi, sorry to pester you with a question that has nothing to do with RPGs, so I'll try to keep it brief.

I like the default behavior that causes all categories except General Forge Forums to be collapsed when one enters The Forge. I'd like to duplicate this behavior on my own PHPBB board, but my search for an answer at the PHPBB community boards has been fruitless.

I understand that adding the search string "?c=1" to the URL produces this effect manually, but I can't puzzle out how to achieve that automatically.

Thanks for your time.

Message 8782#91621

Previous & subsequent topics...
...started by Opsimath
...in which Opsimath participated
...in Site Discussion
...including keyword:

 (leave blank for none)
...from around 11/24/2003




On 11/24/2003 at 9:13pm, Clinton R. Nixon wrote:
RE: Technical question about this board

No problem. Here's what I do:

From line 51 of index.php:

[code]
$viewcat = ( !empty($HTTP_GET_VARS[POST_CAT_URL]) ) ? $HTTP_GET_VARS[POST_CAT_URL] : 1;
[/code]

That ?c=# places its value in $HTTP_GET_VARS[POST_CAT_URL]. I'm basically saying, "If that's not empty, use it. Otherwise, set the category to 1."

Message 8782#91644

Previous & subsequent topics...
...started by Clinton R. Nixon
...in which Clinton R. Nixon participated
...in Site Discussion
...including keyword:

 (leave blank for none)
...from around 11/24/2003




On 11/25/2003 at 1:15am, Opsimath wrote:
RE: Technical question about this board

Much obliged, sir!

Message 8782#91664

Previous & subsequent topics...
...started by Opsimath
...in which Opsimath participated
...in Site Discussion
...including keyword:

 (leave blank for none)
...from around 11/25/2003