vipervoid
Sep 25 2007, 01:59 PM
| | 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.
just want to:
1.) query the last post. 2.)display the avatar of the user |
Reply
jlhaslip
Sep 25 2007, 03:01 PM
What kind of problems? Where is your code? Download a copy of AEF Forum software and rip their code apart to see how they do it.
Reply
galexcd
Sep 25 2007, 03:39 PM
QUOTE(jlhaslip @ Sep 25 2007, 08:01 AM)  Download a copy of AEF Forum software and rip their code apart to see how they do it. You are overly obsessed with your own forum software my friend... @vipervoid: Are you making your own forums or modifying existing forum software such as phpbb or *shutters* AEF? (jk haslip) And what do you mean by QUOTE(vipervoid @ Sep 25 2007, 06:59 AM)  query the last post. Do you only want the avatar to change on your last post?
Reply
ewcreators
Sep 25 2007, 04:54 PM
QUOTE(alex7h3pr0gr4m3r @ Sep 25 2007, 11:39 AM)  You are overly obsessed with your own forum software my friend... @vipervoid: Are you making your own forums or modifying existing forum software such as phpbb or *shutters* AEF? (jk haslip) And what do you mean by Do you only want the avatar to change on your last post? i think he wants the person who posted last to show up there. he could easily use an update query.
Reply
vipervoid
Sep 26 2007, 11:56 AM
ewcreators is right. i want to see the last person who posted. the reason that i've created my own forum is i just want to experience doing one. thanks for the help guys. i'll test that update thing.
Reply
ewcreators
Sep 28 2007, 11:19 AM
QUOTE(vipervoid @ Sep 26 2007, 07:56 AM)  ewcreators is right. i want to see the last person who posted. the reason that i've created my own forum is i just want to experience doing one. thanks for the help guys. i'll test that update thing.  well, when the person posts, i suggest you make the action page a redirect which comes back to the original page + CODE <?php //the page that updates everything require('connection.php'); require('sessions.php'); require('user_stats.php');
//determine whether it was a //edit or delete or new post through if/else
//Insert /Update accordingly ^^
//now use the last posted scrpt //if it is a new post
$lp=mysql_query("UPDATE forum_posts SET lastposted='$_SESSION[username]'");
//then you use a redirection to go back so that he cannot double post header('location:url'); ?>
Reply
Similar Topics
Keywords : forum avatar- 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...
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. ...
Forum Script
- (3)
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?...
How To Display The Latest Forum Post On Main Page
- (4)
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!...
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...
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 ...
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 ;-)...
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...
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 ?...
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...
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...
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 ...
Avatar Maker
- (8)
i made this avatar maker in php i need some images if you want to learn how to make some for me
just pm me or contact me on msn www.pro.trap17.com/avatar...
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...
Looking for forum, post, avatar
|
|
Searching Video's for forum, post, avatar
|
advertisement
|
|