|
Joined: Jun 2002
Posts: 19
Newbie
|
Newbie
Joined: Jun 2002
Posts: 19 |
I have seen it around, basically it's a small box at the bottom of showflat.php that would allow you to directly insert text and respond to the topic, of course it would be without all the features like greamlins and stuff, and it would have a link saying that if you want more posting features you should go to postreply.php. see and example here: here at the bottom of the page. I really find that one quite useful and interesting, would it be too difficult to create? what do you think? luke01
Last edited by lukyan_es; 07/12/2002 9:05 AM.
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
There is a hack on UBB.C that gives these feature - I think it is currently being used over at https://ubbdev.com. However in flat mode one would not know which message the box would reply to - however in threaded view I could see it working better as the visible message would be the one replied to. So it would be a great idea in threaded view, and would perhaps encourage that option to be used more. Ian
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
in flat mode you would just be replying to the last post. Much the same as a reply icon at the top and bottom of the page does in ubbskin-type templates. I like the idea as well... very handy, decreases server load and bandwidth 
Last edited by AllenAyres; 07/12/2002 3:23 PM.
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
posted by AllenAyres: in flat mode you would just be replying to the last post. Much the same as a reply icon at the top and bottom of the page does in ubbskin-type templates. 
True - this would be a great asset if it is possible - sadly it is beyond my skill level at the moment...
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
This is what I have so far.... code:
<table><tr><td> <form method="post" enctype='multipart/form-data' action="{$config['phpurl']}/addpost.php" name="replier"> <input type="hidden" name="postername" value="{$user['U_Username']}" /> <input type="hidden" name="Board" value="$Board" /> <input type="hidden" name="Cat" value="$Cat" /> <input type="hidden" name="Reged" value="$Reged" /> <input type="hidden" name="page" value="$page" /> <input type="hidden" name="Main" value="$Main" /> <input type="hidden" name="Parent" value="$Number" /> <input type="hidden" name="view" value="$view" /> <input type="hidden" name="what" value="showflat" /> <input type="hidden" name="sb" value="$sb" /> <input type="hidden" name="o" value="$o" /> <input type="hidden" name="oldnumber" value="$oldnumber" /> <input type="hidden" name="fpart" value="$fpart" /> <input type="hidden" name="vc" value="$vc" /> <input type="hidden" name="replyto" value="$ResUsername" /> <input type="text" name="Subject" maxlength="{$config['subjectlength']}" class="formboxes" size="60" value="$Subject" /><br /> <textarea cols="60" rows="10" class="formboxes" name="Body"></textarea> <br /> <br /> <input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" class="buttons" /> </form> </td></tr></table>
It's not filling in the name to reply to correctly, tho I think it gets the rest right. If someone has time to look at it, thanks... if not, I'll work on it some more later 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, slowly inching my way there  This is my current code: code:
// ----------------- // Get the post info $Board_q = addslashes($Board); $query = " SELECT B_Username,B_Main,B_Subject,B_Body,B_Approved FROM w3t_Posts WHERE B_Number = $Number AND B_Board = '$Board_q' "; $sth = $dbh -> do_query($query);
// --------------- // Assign the stuff list($ResUsername,$Main,$Subject,$Body,$Approved) = $dbh -> fetch_array($sth); $dbh -> finish_sth($sth);
================================= that goes above the appropriate print statement then this is added below where it looks best =================================
<table><tr><td> <form method="post" enctype='multipart/form-data' action="{$config['phpurl']}/addpost.php" name="replier"> <input type="hidden" name="postername" value="{$user['U_Username']}" /> <input type="hidden" name="Board" value="$Board" /> <input type="hidden" name="Cat" value="$Cat" /> <input type="hidden" name="Reged" value="$Reged" /> <input type="hidden" name="page" value="$page" /> <input type="hidden" name="Main" value="$Main" /> <input type="hidden" name="Parent" value="$Number" /> <input type="hidden" name="view" value="$view" /> <input type="hidden" name="what" value="showflat" /> <input type="hidden" name="sb" value="$sb" /> <input type="hidden" name="o" value="$o" /> <input type="hidden" name="oldnumber" value="$oldnumber" /> <input type="hidden" name="fpart" value="$fpart" /> <input type="hidden" name="vc" value="$vc" /> <input type="hidden" name="replyto" value="$ResUsername" /> <input type="text" name="Subject" maxlength="{$config['subjectlength']}" class="formboxes" size="60" value="$Subject" /><br /> <textarea cols="60" rows="10" class="formboxes" name="Body"></textarea> <br /> <br /> <input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" class="buttons" /> </form> </td></tr></table>
The bottom part needs to be cleaned up a bit more to make it pretty, but that's the easy part  The main problem I am having now is there's no posting icon associated with the post, so it messes up the front page.
|
|
|
|
Joined: Aug 2002
Posts: 2
Lurker
|
Lurker
Joined: Aug 2002
Posts: 2 |
How is this one coming?
Could be an excellent asdition for users,
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I was kinda stuck at that above point. I am not sure if it was a conflict between the ubbskin forum I was testing on or not. I need to try it on some clean files and see where the problem is. Any help from the peanut gallery is appreciated 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
wheeee 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
hmmmm.. doesn't make the smilies
:)
:p
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
does it filter html?
<table> <tr> <td align="center"> blah </td></tr></table>
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok, just doesn't work with smilies 
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
It also breaks the link to your post icon on the main index. Does it do markup at all?? www.ubbdev.com [edit]Nope..what about if I edit?[/edit]
Last edited by JoshPet; 08/10/2002 9:16 PM.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ya... there are known bugs ;) I'll publish what I've done so far and see if there are fixes found. 
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
A few buggies to work out.... but otherwise it's pretty cool. I think it would encourage those who never post to add their 2 cents every once in a while.... which would be good. Very simple.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
not to mention it saves on bandwidth 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
did I fix the broken icon?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Yes it appears so!!! 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
I wonder if all the UBB Code works:
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Hey it did. Good job Allen!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|