<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Indentifying Blog</title>
        <description> My site is coming on nicely thanks to this forum but I&amp;#039;m stuck on one almost trivial bit...

I&amp;#039;ve written code to handle my top menu such that it highlights the page/section the user is in to make navigation easier.  This is done by using $_SERVER[&amp;#039;SCRIPT_NAME&amp;#039;] and other bits and pieces and it works just fine (surprisingly) except...

I can&amp;#039;t differentiate between the forum &amp;#039;proper&amp;#039; and the blog.  I&amp;#039;ve got a link to the blog from the menu which is &amp;#039;blah/link.php?8&amp;#039; but of course to script_name that&amp;#039;s just &amp;#039;link.php&amp;#039; and link.php is used in the forum itself.  What I need to do is pick up that &amp;#039;8&amp;#039; that&amp;#039;s identifying the &amp;#039;blog&amp;#039; topic but I can&amp;#039;t work out where to find it.

Can anyone offer any help or suggestions?  I presume there&amp;#039;s a variable picking up that topic identifier...

Jon</description>
        <link>https://www.phorum.org/support/read.php?28,120645,120645#msg-120645</link>
        <lastBuildDate>Thu, 15 Oct 2026 05:56:27 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,120645,120652#msg-120652</guid>
            <title>Re: Indentifying Blog</title>
            <link>https://www.phorum.org/support/read.php?28,120645,120652#msg-120652</link>
            <description><![CDATA[ link.php is not a phorum script, but maybe you only gave it that name as an example? If you need it from Phorum code, then the 8 can be found in $PHORUM[&quot;forum_id&quot;] (or $GLOBALS[&quot;PHORUM&quot;][&quot;forum_id&quot;] if you need to access it from within a variable).]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Thu, 01 Mar 2007 07:02:55 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,120645,120651#msg-120651</guid>
            <title>Re: Indentifying Blog</title>
            <link>https://www.phorum.org/support/read.php?28,120645,120651#msg-120651</link>
            <description><![CDATA[ Thanks Panu, a speedy, if short reply :)<br />
<br />
What I&#039;ve done is check for $_GET[8] being set, was that what you had in mind?<br />
<br />
Jon]]></description>
            <dc:creator>Cobnut</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Thu, 01 Mar 2007 06:05:30 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,120645,120649#msg-120649</guid>
            <title>Re: Indentifying Blog</title>
            <link>https://www.phorum.org/support/read.php?28,120645,120649#msg-120649</link>
            <description><![CDATA[ [<a href="http://ch2.php.net/manual/en/reserved.variables.php" target="_blank"  rel="nofollow">ch2.php.net</a>]]]></description>
            <dc:creator>Panu</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Thu, 01 Mar 2007 05:28:01 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,120645,120645#msg-120645</guid>
            <title>Indentifying Blog</title>
            <link>https://www.phorum.org/support/read.php?28,120645,120645#msg-120645</link>
            <description><![CDATA[ My site is coming on nicely thanks to this forum but I&#039;m stuck on one almost trivial bit...<br />
<br />
I&#039;ve written code to handle my top menu such that it highlights the page/section the user is in to make navigation easier.  This is done by using $_SERVER[&#039;SCRIPT_NAME&#039;] and other bits and pieces and it works just fine (surprisingly) except...<br />
<br />
I can&#039;t differentiate between the forum &#039;proper&#039; and the blog.  I&#039;ve got a link to the blog from the menu which is &#039;blah/link.php?8&#039; but of course to script_name that&#039;s just &#039;link.php&#039; and link.php is used in the forum itself.  What I need to do is pick up that &#039;8&#039; that&#039;s identifying the &#039;blog&#039; topic but I can&#039;t work out where to find it.<br />
<br />
Can anyone offer any help or suggestions?  I presume there&#039;s a variable picking up that topic identifier...<br />
<br />
Jon]]></description>
            <dc:creator>Cobnut</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Thu, 01 Mar 2007 05:14:08 -0600</pubDate>
        </item>
    </channel>
</rss>
