Skip to:
Content
Pages
Categories
Search
Top
Bottom

pass variable to forum.php when permalinks are used

Viewing 6 replies - 1 through 6 (of 6 total)
  • @zaerl

    Participant

    You can’t pass custom variables unless you don’t change the .htaccess.

    @zaerl

    Participant

    You can’t pass custom variables unless you don’t change the .htaccess.

    @3sixty

    Member

    Thanks, but Yes, you can do this without changing htaccess. I just finally got this to work.

    I think ‘tag’ is somehow a protected GET variable. I changed it to tag2 and the variable passes fine:

    URL: http://mysite.com/bbpress/forum-name/?tag2=333

    php: echo $_GET

    Output: 333

    @3sixty

    Member

    Thanks, but Yes, you can do this without changing htaccess. I just finally got this to work.

    I think ‘tag’ is somehow a protected GET variable. I changed it to tag2 and the variable passes fine:

    URL: http://mysite.com/bbpress/forum-name/?tag2=333

    php: echo $_GET

    Output: 333

    @zaerl

    Participant

    Sweet.

    @zaerl

    Participant

    Sweet.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar