|
Displaying News on Homepage
|
|
09-26-2005, 07:54 PM
Post: #11
|
|||
|
|||
|
RE: Displaying News on Homepage
Still not working, I'll just use the portal it came with , thanks for the help.
Xbox 360 Forum |
|||
|
09-26-2005, 08:26 PM
Post: #12
|
|||
|
|||
|
RE: Displaying News on Homepage
Right. Finally got it working via MSN. Here is the final code
PHP Code: <?php |
|||
|
09-27-2005, 12:19 AM
(This post was last modified: 09-28-2005 07:25 AM by RandomNumber.)
Post: #13
|
|||
|
|||
|
RE: Displaying News on Homepage
Works beautifuly. Hmm wish there was a way to parse the bbcodes tho.
NetAdmin @ PharosIRC irc.pharosirc.net #Help,#lobby,#linux MrStatic |
|||
|
09-28-2005, 04:55 PM
(This post was last modified: 09-28-2005 05:16 PM by MereCatfish.)
Post: #14
|
|||
|
|||
|
RE: Displaying News on Homepage
Works, many thanks!
![]() By the way, it also displays comments as an actual news post, I am going to see if I can fix that. Suprisingly simple, just add... Code: WHERE p.replyto='0'in the query. Then you only get the first post of each thread. |
|||
|
09-28-2005, 06:27 PM
Post: #15
|
|||
|
|||
|
RE: Displaying News on Homepage
great idea
|
|||
|
09-29-2005, 05:48 AM
Post: #16
|
|||
|
|||
|
RE: Displaying News on Homepage
What about adding an avatar and such?
|
|||
|
10-01-2005, 02:52 AM
(This post was last modified: 10-01-2005 06:58 AM by k776.)
Post: #17
|
|||
|
|||
|
RE: Displaying News on Homepage
Right. Because of the requests and a few bugs found, here is the new code. It now has a forum path value, which means it can now use MyBB's config file and correct all link/image paths itself instead of having to edit multiple details yourself. You can also now limit how many to show (default is 10), it should also order the posts to show the latest ones (not random ones) and only show the starting posts, not replies. It also displays the poster's avatar and the time the thread was made in a new outputting style.
PHP Code: <?php |
|||
|
10-01-2005, 09:45 AM
Post: #18
|
|||
|
|||
RE: Displaying News on Homepage
k776 Wrote:Right. Because of the requests and a few bugs found, here is the new code. It now has a forum path value, which means it can now use MyBB's config file and correct all link/image paths itself instead of having to edit multiple details yourself. You can also now limit how many to show (default is 10), it should also order the posts to show the latest ones (not random ones) and only show the starting posts, not replies. It also displays the poster's avatar and the time the thread was made in a new outputting style. That is excellent. Thank's for your time. Sorry to annoy you via PM. ![]() Ok, we've modified your code to produce this: http://dc.peerweb.org/ ![]() BBcode works. Haven't tried with the emoticons though. ApexDC++ - The Pinnacle of File-Sharing |
|||
|
10-01-2005, 03:41 PM
Post: #19
|
|||
|
|||
|
RE: Displaying News on Homepage
Mind post or Pmin me that code...thats would rock.
Xbox 360 Forum |
|||
|
10-01-2005, 08:24 PM
(This post was last modified: 10-01-2005 08:27 PM by k776.)
Post: #20
|
|||
|
|||
|
RE: Displaying News on Homepage
Lee™, very nice theme you have. So nice, I've changed the theme for this code to look like it (using MyBB's images though). More professional IMO :D You dont mind do you? Chadwick, use this code. I fixed a time bug, and made it use the style of Lee's site :D
PHP Code: <?php |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help









