k_lo_91
Jun 8 2007, 01:36 AM
| | Hey does anyone know how to display the latest forum post on the main page of a website? I'm new to PHP and have no idea what to do. Thanks in advance! |
Reply
Damen
Jun 8 2007, 02:00 AM
QUOTE(k_lo_91 @ Jun 7 2007, 08:36 PM)  Hey does anyone know how to display the latest forum post on the main page of a website? I'm new to PHP and have no idea what to do. Thanks in advance! All you have to do is find on your index page what the var name they use to display the latest post in a certain forum. Then edit your main index page and use that var or something like that. Not quite sure, kinda out of it right now.
Reply
robocz033
Jun 8 2007, 02:11 AM
what forum do you use, because if its ipb, it should be pretty simple. but if u tell me, i should be able to write you a code.
Reply
k_lo_91
Jun 9 2007, 12:35 AM
QUOTE(robocz033 @ Jun 7 2007, 07:11 PM)  what forum do you use, because if its ipb, it should be pretty simple. but if u tell me, i should be able to write you a code. i plan to use phpbb becasue it is free. unless ipb is free too?
Reply
Saint_Michael
Jun 9 2007, 01:40 AM
Well in order to display posts from a forum you can do it in two ways one is the ipb mod for displaying topics http://mods.invisionize.com/db/index.php/f/7285 or you set up a RSS feed and then use a javascript such as this one http://itde.vccs.edu/rss2js/build.php and display the posts like this http://saint-michael.trap17.com/.
Reply
Similar Topics
Keywords : display, latest, forum, post, main, page
- Ipb Latest Activity Mod
where can i download this from? (14)
How To Display Images Of A Directory
(4) I am trying to do a simple thing. I want to display all the images of a directory on a single page
with the checkbox next to each image, so that i can select multi images and i can delete selected
images. Following few lines of code display the images of a directory.. i need help to put the
check boxes with each image. and I dont understand how can i select multi images with check box and
then delete them. I hope someone can help. thanks. CODE <?php $path = "./";
$dir_handle = @opendir($path) or die("Unable to open folde....
Forum Script
(3) Hello, i'm wanting to start making my own forum software but i dont know where to start or what
i need to know in order to do this. I know i will need php and mysql but what else, and could some
one point me to a good site were i could learn php and mysql. Thanks ....
Forum Last Post And Avatar
need little help here (5) hi guys. I have a little problem here. Im making my own version of forum, just got into this
problem on the last post from the topic and displaying the users avatar. i already have a upload
script but not for images. I tried making some experiments but it didnt work. maybe someone here
could help me. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
just want to: 1.) query the last post. 2.)display the avatar of the user....
Creating A Login Box That Links To My Phpbb Forum
Have my phpBB Forum Intergrated with my Website (4) Can someone please give me a code that I can use to put a login box on my website, that will login a
user into my phpBB Forum? Sort of like Having my phpBB Forum Intergrated with my Website? Thank you
so much if you can! /angel.gif" style="vertical-align:middle" emoid=":angel:" border="0"
alt="angel.gif" /> Ex. ....
Forum Troubles
In phpbb (2) I am having forum trouble in phpbb. Whenever I go to post something or add someone to a group or
anything else, I get an error that looks like this: Could not find email template file ::
topic_notify DEBUG MODE Line : 111 File : emailer.php The email template thing changes but the
Line 111 and File emailer.php are always the same. It's getting really annoying. Can anyone
help me with this?....
Display The Current Date/time
With a simple PHP code (3) Use this code to display the current date and time. CODE <?php $date =
date('l dS \of F Y h:i:s A'); echo "$date"; ?>
"l" would display the current day of the week such as Sunday. d displays the day of the month...
such as 1 and S adds the appropriate suffix(st). /of simply displays the word "of". F displays the
current month with no abbreviations while Y displays the four digit year(2007). "h" displays the
current hour with leading zeros if necessary(Ex. 06 for 6 o'clock). "i" displays the m....
Php Forum Signature
(10) Hey /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Having
browsed this and other sites I've come up with the following signature-code for generating text
on an image: CODE <?php header("Content-type: image/png");
$select = rand(1,3); if($select==1)$img = "gow.png";
if($select==2)$img = "gow2.png"; if($select==3)$img =
"gow3.png"; $image = imagecreatefrompng("$img"); //imagecolor....
[forum] Double Posting Happening By An Error
(3) Hello, I am currently working on EvilBoard 0.1.1, for those who know about this project versjon 0.1b
can be downloaded from http://www.evilservices.com Well over to the reason why i am posting this,
I am currently experincing a problem with my new posting code wich has been rewrited in version
0.1.1, You see, it is double posting by an error, i thouht i could fix that myself, but no, so i
just thought, Trap17 is perfect, they problety know how to fix this, Here is the code: CODE
<? /* * @Name: Post Topic * @Author: Arne-Christian Blystad * @Copyright&....
Ipb Multi Forum (hosting Mod)
installation help? (6) Hi, i need a little help if possible, i have a multi forum hosting mod for ipb 1.31 ok.. I want to
install this but the install text included is a little unclear.. I already have a copy of ipb 1.31
installed and running (with users and posts), i want to install this mod but i also want to keep all
my db user/post info and still be able to use my existing forums with just a link to the forum
hosting form. Could someone please look at the documents included with this mod and give me more
clear instructions on how to do this? Do i need to install a second copy of the IPB UP....
Evilboard (forum Software) - Multiple Categorys - Don't Work :(
I am creating a forum and i can't fix more then 1 category. (6) I am at the moment trying to program my own forum, but i need more then a single category, here is
my source: CODE function cat () { include("functions/functions.php");
echo '<table width="100%" border="0" cellspacing="0">
<tr> <td class="eb_top" colspan="3" style="border-bottom-width:
0; height: 30px; font-size: 12px;"> <b>Forum</b></td>
</tr>'; global $catid; $db = new db; $db->connec....
Display Random File In A Directory
how to display a random file from a set directory. (9) hi, could someone please help me with this? I have some files in a directory and i want to know how
i can randomly display link/s to one or more of the files in my directory for download. But it must
not at any time display index.php which is also in the directory with the downloads. Thanks in
advance for any help given /unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0"
alt="unsure.gif" />....
Display MySQL results in a Table
question (8) hi all i know php and my sql i want to know how can show mysql result in this tabel for example :
CODE <table cellpadding="0" cellspacing="0" width="200"
height="151"> <!-- MSTableType="layout" --> <tr>
<td height="21" width="100" valign="top">1</td>
<td height="21" width="100" valign="top">8</td>
</tr> <tr> <td height="21" width="100" valign=&....
Free Web Forum Scripts?
Question on web forum scripts (7) Can someone please tell me which of the free forum scripts is the best and why? I like these forums
but i notice the script is not free lol ;-)....
Do Somebody Have A Tutorial About... How To Create A Forum?
how to create a forum? (11) Hei, guys. Do somebodys here have a toturial about how to create a forum? I really do wanna
create my own forum, but I don't know exatly HOW! please, help me! Lucas ....
Displaying Latest Added Files Of Subdirectories ?
(5) For example,i have a directory , which has 3 sub directories a,b and c...and i have some files in
all subdirectories.. is it possible that i can display the latest added files to any of sub
directory a,b, or c.?i think i will have to use sort by date function but how it should be done that
it compares the files of all the subdirectories directories ?....
How I Can Display Forum Topic On Main Website ?
(4) Suppose i have a website.. domain.com , and have phpbb forums on domain.com/forums.. And i want to
display the new topics written in the forum on the main page of website...how i can do that.. ? for
example ,I want to display this topic `? "domain.com/forums/viewtopic.php?t=16" how can i do
that ?....
<textarea> Tag Is Not Accepting Php Variable
for display, although <Input> tag does accept it (2) I have a single page template which has a Form on it. Logic is to check for a valid Querystring and
place the variables accepted from a form back into the form and re-display this form with error or
acceptance messages. I'm sure everyone here has done this a million times. The Form accepts
data from a user for First name, Last name, email address, and message-body named
'note_wide' then re-displays the values into the Form, but for some reason, I can't get
the value to display into a Textarea. Sample of the php code is as follows: first the good one:....
Phpskye The New Forum Software.
new forum software (4) PHPskye the upcomming forum software. Stefan Alkaline and I are making a new forum software with
some unique features. We currently are still working on the heavy coding. (that includes the layout
it sucks) But u are welcome to come and have a look. Remind feedback is allways welcome. We are
planning on distrubuting a free and a premium board. Some handy options will be available that no
board has so far. U are free to register and have a look around. U allso might notice the different
layouts the layout on the mainpage will be the layout the other will be deleted afte....
Forum Signatures Help
(1) Click Here to view a post that i made to see whether my forum signature works in the signature
box, and it doesnt. I dont know why, it works in the message area yet not in the signature. What do
i need to do here in order to fix it? HTML is Enabled n i added the img into the HTML tags...still
doesnt work, please help.....
Can My Forum And Website Use The Same Profiles?
(3) I've been programming a 'rate-em' site from scratch. You know like Hot Or Not. YEs,..
yet another rate-em website. Anyway, i'ts done and before I launch it I need to add a forum as
the finishing touch, but all the forum softeware out there seems so hard to integrate. I'm
trying to make it so that when a user logs into my rate-em website they are also logged into 'my
forum'. i.e. i want my forum and web site to use the same profile data. If anyone knows of a
forum program made for this objective please let me know. I'm in over my head, a....
Script: Phpbb Mod, Total Users Registered
Display the total users anywhere on your site. (1) This is for phpBB V2+ It displays the total number of registered users anywhere you want. This file
is called: phpbb-totalusers.php CODE <?php /** * ©2005 Craig lloyd. All rights reserved. * *
Mod Title: Total Registered Users * Author: Craig Lloyd * Description: Shows
total number of registered users * Release: v1.2, 10th May 2005 *** * Demo:
http://www.toxicsims.co.uk/ (stats box) * Installation Level: Easy *
Installation Time: 1 minute * Files To Edit: This one * Included Files....
My Forum/shoutbox
its a shoutbox now, but will be a forum (8) Visit My Forum ok this is my forum it has: -Date Posted -Stores in mysql database -Shows in
Decending order -Able to use HTML (this is a bad thing) -Shows How many users are online -Shows how
long it takes to show the page -Looks simple and clean /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> Will Add: -Member system -No HTML in Posts
-Replace the HTML with BB Codes if anyone could help me with the things i need to add please reply
and rate my script /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ill
releas....
Wap Forum
several questions on WAP forums (9) /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> Right i want to set up a
wap forum for rap battling. I think i need to use php, although i might need wml not sure. so
questions: 1) WML or PHP? 2) Can i get a forum/message board script? 3) Where can i get it? Thanks
in advance Not making helpful thread topics and titles results in warnings, or in extreme cases, a
ban. Don't fall into the crack. ....
Writing To Database Problem With Mysql - Not Writing Forum Post
(3) I'm making a forum and I've had several problems tonight which I've come here to ask
then found the answer to myself, but this one is stumping me. Whenever it goes to write the post to
the database, it saves the poster, and the time, but the part where the message would go is empty.
Here's the code, with comments about what it's supposed to do (what I wanted it to do and
thought it did): CODE $imsg = stripslashes($_POST['msg']);
//Get message if(strlen($imsg) > 5 && strlen($imsg)....
Myphp Forum
a simple yet powerful forum (12) I just tried installing a new forum a few days ago, called MyPHP Forum, I found it to be really
powerful yet, takes on the non-graphical approach, perhaps a link to my forum would be good, so you
can see what i mean, http://xeek.ca.tt/forum I'm partly doing this becasue I want people to
use te themes i made, /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' />
check out the MyPHP website @ http://www.myphp.ws check out the user made themes @
http://myphp.ws/scripts.php ....
Help With Php Log-in Form
my PHP forum log-in form aint working (5) Ok .... I have this log-in form on my HomePage . It was designed with PHP scripting, but it aint
working. It simply doesnt respond to your log-in command. Can someone please help me with the exact
code to make it work? Here is the code for the log-in form... QUOTE
Forum Log-in
class=gen> Username:
Pass....
best forum boards to have
VOTE NOW (10) that a hard one to decribe which one is the best hmmm since i seen vbulletin alot longer then
anyother ones going with vb....
I Want A Php Code To Display The Most Popular...
(6) I want a PHP code to display the most popular clicks/links on certain pages. Can anyone help?....
Looking for display, latest, forum, post, main, page
|
|
Searching Video's for display, latest, forum, post, main, page
|
advertisement
|
|