Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Forum Support  ›  newsfeed on my website
Users Browsing Forum
Googlebot, Yahoo! Bot and 1 Guests

newsfeed on my website  This thread currently has 646 views. Print
1 Pages 1 Recommend Thread
thomasinnv
November 1, 2006, 10:46pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 306
Gender: Male
Posts Per Day: 0.36
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 14 days 19 hours 11 minutes
Location: Fernley, NV
Age: 38
i would like to have a window on my homepage with the news going from the forum.  i have selected the boards to be included in the news from within the admin section.  now i just need to figure out how to include that on my html home page??






Logged Offline
Site Site Private Message Private message
Craig
November 2, 2006, 1:01pm Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.07
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
A PHP include would be the best way to do it:
<? print file_get_contents(" http://www.yoursite.com.com/cgi-bin/forum/Blah.pl?v-shownews/b-news_board/"); ?>  
...note:  the part in bold is the board that you want to show as news.

-Craig


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 1 - 5
thomasinnv
November 2, 2006, 2:29pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 306
Gender: Male
Posts Per Day: 0.36
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 14 days 19 hours 11 minutes
Location: Fernley, NV
Age: 38
do i just add the above code to the html code for the homepage?  would that go in the <body>?  is that all i need to add?






Logged Offline
Site Site Private Message Private message Reply: 2 - 5
Ryan
November 2, 2006, 3:11pm Report to Moderator Report to Moderator

Inactive Support Team
Posts: 1,799
Gender: Male
Posts Per Day: 1.11
Reputation: 85.00%
Reputation Score: +85 / -15
Time Online: 11 days 8 hours 2 minutes
Location: Ontario
Age: 29
You'd need to make sure that your page has .php for the extension.

Or you could include the news feature using Ajax.  This script would work superbly.  It'll take the styles from your page too.

http://dynamicdrive.com/dynamicindex17/ajaxcontent.htm
Logged Offline
Site Site Private Message Private message YIM YIM Reply: 3 - 5
thomasinnv
November 2, 2006, 4:01pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 306
Gender: Male
Posts Per Day: 0.36
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 14 days 19 hours 11 minutes
Location: Fernley, NV
Age: 38
hey that worked awsome, thanks alot!! just one thing, i have a banner on top of my forum, but when you click on a link from a newsfeed on my homepage, the banner does not display on the forum.  it displays fine when you go straight to the forum though.    my homepage and forum url are in my siggy.

i also noticed an extra blah.pl in the url when redirecting from the newsfeed?  is that a bug?






Logged Offline
Site Site Private Message Private message Reply: 4 - 5
Craig
November 4, 2006, 11:32am Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.07
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
Nice Ryan...very nice.


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 5 - 5
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Forum Support  ›  newsfeed on my website