Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> Portal components
dew

Portal Question

Is there any way to tell which forums to pull from instead of all forums. As in I just want the portal to show stickies from one certain forum. I looked around but couldn't find any info on this.

Thanks in advance
admin (no pm's please)

http://forum.myfreeforum.org/ftop...p;highlight=portal+options+forums
dew

Thanks for the speedy reply!
dew

Ok, when I set the "forums" option it doesn't seem to restrict the announcements to just that forum, as in if I put in forums=1 it doesn't restrcit to announcements just in forum 1

Do I need to change somethng in the code in overall_header or just in the options panel?
admin (no pm's please)

You are probably right, and it is questionable whether something asking for specific types of posts should respect the forum restriction.

The portal is still being developed, and we expect this sort of question to arise.
dew

So does that mean it will just show all announcements for now and not just the ones from a certain forum?

Or am I determining the forum ID wrong?
admin (no pm's please)

I have just checked the code and we deal with this, if in the ANNOUNCE options you put:

filter=PORTAL

it should only show announcements from the selected forums.
dew

admin wrote:
I have just checked the code and we deal with this, if in the ANNOUNCE options you put:

filter=PORTAL

it should only show announcements from the selected forums.


Does that code go in the overall_header code then?

And thanks for the help
admin (no pm's please)

In the owner control panel options.

[ANNOUNCE]
filter=PORTAL

you should



as most the portal options are set in ways similar to that.
dew

Oh ok, well I put it in the overall header code and it worked there too...
admin (no pm's please)

dew wrote:
Oh ok, well I put it in the overall header code and it worked there too...


it would not work there with the syntax I just gave!

{MYFF.ANNOUNCE filter="PORTAL"}

would though.
dew

Ok great, so I imagine I can use the forums code in there to so I can restrict different forums for different portal windows, excellent, thanks for the help.

And I did try searching some, guess I searched for the wrong things Wink

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum