Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-02-2012, 06:41 AM   PM User | #1
Aaron68
New to the CF scene

 
Join Date: Oct 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Aaron68 is an unknown quantity at this point
Posting on my forum which updates my main page

Hey folks,
I have searched the internet all over on this, and I cannot find anything on it.
What I am wanting to do:

I have a "News And Updates" Section on my website Forums.
I would like to make it to where, when I post a new thread in this section on my forums, that it will also put it up kinda like a feed on my main website.
For an example of what I am talking about (and I hope I'm not breaking any rules) check out L2Tns.com. I use to be an admin here, and when I would make a new post in the updates section of the forums, and marked it as an announcement, it would do what it was suppose to on the forums, AND update the main site and put it on there as well.
I'm using a web-host so as far as forums and the actual site goes, its all in the same place. I would really appreciate any help at all in pointing me in the right direction. Iv never set up a site this way, so I am kinda lost.

Thanks in advance,
And a really helpful site you all have going on here.
Aaron68 is offline   Reply With Quote
Old 10-02-2012, 08:27 AM   PM User | #2
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
There are several ways to do this. You could have a static page display and just grab the information when someone posts and put a copy on the front page and keep those in a table and show the last 20 or use a scroll bar. This would be thru php, mysql, and html.

OR you could do what i do and just have a javascript shout box that they can move off to the side and watch it also while they are browsing the site. I use it for site news and also to welcome new members. And this combines some js, php, html, mysql.

There are numerious way to get the same result out there.

There are free downloadable shoutboxes out there, i took a free one i found many years ago (their site no longer exists) and modded it for my own theme and feel. It really works great.

Last edited by durangod; 10-02-2012 at 08:31 AM..
durangod is offline   Reply With Quote
Old 10-02-2012, 06:31 PM   PM User | #3
Aaron68
New to the CF scene

 
Join Date: Oct 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Aaron68 is an unknown quantity at this point
Quote:
Originally Posted by durangod View Post
There are several ways to do this. You could have a static page display and just grab the information when someone posts and put a copy on the front page and keep those in a table and show the last 20 or use a scroll bar. This would be thru php, mysql, and html.
This would be what I would want to do, with the scrolling.
Do you know of any website that shows how this would be done? Something I could look off of while I do it myself, or possibly just copy/paste and fill in my information?

I search for things like this, but it sends me to places like this site, or other places that tell about "tricks" used with php/js ect ect. but without a name, or something more related to what I want done, I don't really know what to search for.
Im just getting started in learning this stuff (Downloaded many beginner books (PDF)) Im really interested in learning.
Aaron68 is offline   Reply With Quote
Old 10-02-2012, 10:15 PM   PM User | #4
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
Well without knowing where your skills are at it is hard to point you someplace. Do you know any languages at all? My feeling is IMO your not going to learn php out of a book, at least i could not. Books are ok for ref but you have to get your hands dirty here.

I had some coding background in the old days way before the internet. So i had a grasp of the basic theory IPO (input processing output) so although some languages are more intense than others the basic principle is the same. This made it easier for me to learn a new language but not out of a book.

After i got a grasp on HTML and CSS then i grabbed a open source PHP script off the net and ripped it apart, made my mistakes, manipulated the IPO and was able to make it work.

I am no php expert for sure and i still rely on the help here to get what i need often, its a great forum. There are always more than one way to get something done in coding.

So at this point if you want to learn i suggest you start with HTML and CSS and go from there.

On the other hand if you want to just get this front page feed project done and then learn on your own after that, i suggest you might need to hire someone to do it for you this time.

We can layout the principle here for you and send you places but if you have little to no knowledge how to apply the information then it really is a moot point right..
durangod is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:20 PM.


Advertisement
Log in to turn off these ads.