php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#220995 - 07/12/02 09:04 AM quick reply hack
lukyan_es Offline
Newbie

Registered: 06/08/02
Posts: 21
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. <br />see and example here: <br />here <br />at the bottom of the page. <br />I really find that one quite useful and interesting, would it be too difficult to create? <br />what do you think? <br />luke01


Edited by lukyan_es (07/12/02 09:05 AM)

Top
#220996 - 07/12/02 03:05 PM Re: quick reply hack [Re: glaserm]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
There is a hack on UBB.C that gives these feature - I think it is currently being used over at http://www.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.<br /><br />So it would be a great idea in threaded view, and would perhaps encourage that option to be used more.<br /><br />Ian <br />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#220997 - 07/12/02 03:22 PM Re: quick reply hack [Re: Gorlum]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
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. <img src="/forum/images/icons/smile.gif" alt="" /> <br /> <br />I like the idea as well... very handy, decreases server load and bandwidth <img src="/forum/images/icons/smile.gif" alt="" />


Edited by AllenAyres (07/12/02 03:23 PM)
_________________________
- Allen wavey
- What Drives You?

Top
#220998 - 07/30/02 07:17 PM Re: quick reply hack [Re: SurfMinister]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
<blockquote><font class="small">posted by AllenAyres:</font><hr /> 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. <img src="/forum/images/icons/smile.gif" alt="" /><hr /></blockquote><br /><br />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 wink at the moment - but expanding all the time....)

Top
#220999 - 08/01/02 01:36 AM Re: quick reply hack [Re: Gorlum]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
This is what I have so far....<br /><pre><font class="small">code:</font><hr><br /><table><tr><td><br /><form method="post" enctype='multipart/form-data' action="{$config['phpurl']}/addpost.php" name="replier"><br /><input type="hidden" name="postername" value="{$user['U_Username']}" /><br /><input type="hidden" name="Board" value="$Board" /><br /><input type="hidden" name="Cat" value="$Cat" /><br /><input type="hidden" name="Reged" value="$Reged" /><br /><input type="hidden" name="page" value="$page" /><br /><input type="hidden" name="Main" value="$Main" /><br /><input type="hidden" name="Parent" value="$Number" /><br /><input type="hidden" name="view" value="$view" /><br /><input type="hidden" name="what" value="showflat" /><br /><input type="hidden" name="sb" value="$sb" /><br /><input type="hidden" name="o" value="$o" /><br /><input type="hidden" name="oldnumber" value="$oldnumber" /><br /><input type="hidden" name="fpart" value="$fpart" /><br /><input type="hidden" name="vc" value="$vc" /><br /><input type="hidden" name="replyto" value="$ResUsername" /><br /><input type="text" name="Subject" maxlength="{$config['subjectlength']}" class="formboxes" size="60" value="$Subject" /><br /><br /><textarea cols="60" rows="10" class="formboxes" name="Body"></textarea><br /><br /><br /><br /><br /><input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" class="buttons" /><br /></form><br /></td></tr></table><br /></pre><hr><br /><br />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 <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#221000 - 08/01/02 09:21 PM Re: quick reply hack [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
OK, slowly inching my way there <img src="/forum/images/icons/laugh.gif" alt="" /> This is my current code:<br /><br /><pre><font class="small">code:</font><hr><br />// -----------------<br />// Get the post info<br /> $Board_q = addslashes($Board);<br /> $query = " <br /> SELECT B_Username,B_Main,B_Subject,B_Body,B_Approved<br /> FROM w3t_Posts <br /> WHERE B_Number = $Number<br /> AND B_Board = '$Board_q'<br /> "; <br /> $sth = $dbh -> do_query($query);<br /><br />// ---------------<br />// Assign the stuff<br /> list($ResUsername,$Main,$Subject,$Body,$Approved) = $dbh -> fetch_array($sth);<br /> $dbh -> finish_sth($sth);<br /><br />=================================<br />that goes above the appropriate print statement<br />then this is added below where it looks best<br />=================================<br /><br /><br /><table><tr><td><br /><form method="post" enctype='multipart/form-data' action="{$config['phpurl']}/addpost.php" name="replier"><br /><input type="hidden" name="postername" value="{$user['U_Username']}" /><br /><input type="hidden" name="Board" value="$Board" /><br /><input type="hidden" name="Cat" value="$Cat" /><br /><input type="hidden" name="Reged" value="$Reged" /><br /><input type="hidden" name="page" value="$page" /><br /><input type="hidden" name="Main" value="$Main" /><br /><input type="hidden" name="Parent" value="$Number" /><br /><input type="hidden" name="view" value="$view" /><br /><input type="hidden" name="what" value="showflat" /><br /><input type="hidden" name="sb" value="$sb" /><br /><input type="hidden" name="o" value="$o" /><br /><input type="hidden" name="oldnumber" value="$oldnumber" /><br /><input type="hidden" name="fpart" value="$fpart" /><br /><input type="hidden" name="vc" value="$vc" /><br /><input type="hidden" name="replyto" value="$ResUsername" /><br /><input type="text" name="Subject" maxlength="{$config['subjectlength']}" class="formboxes" size="60" value="$Subject" /><br /><br /><textarea cols="60" rows="10" class="formboxes" name="Body"></textarea><br /><br /><br /><br /><br /><input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" class="buttons" /><br /></form><br /></td></tr></table><br /></pre><hr><br /><br />The bottom part needs to be cleaned up a bit more to make it pretty, but that's the easy part <img src="/forum/images/icons/wink.gif" alt="" /> The main problem I am having now is there's no posting icon associated with the post, so it messes up the front page.
_________________________
- Allen wavey
- What Drives You?

Top
#221001 - 08/10/02 02:12 PM Re: quick reply hack [Re: SurfMinister]
Bonzo Offline
Lurker

Registered: 08/10/02
Posts: 3
How is this one coming?<br /><br />Could be an excellent asdition for users,

Top
#221002 - 08/10/02 02:53 PM Re: quick reply hack [Re: SA6]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
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 <img src="/forum/images/icons/wink.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#221003 - 08/10/02 09:09 PM Re: quick reply hack [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
wheeee laugh
_________________________
- Allen wavey
- What Drives You?

Top
#221004 - 08/10/02 09:10 PM Re: quick reply hack [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
hmmmm.. doesn't make the smilies<br /><br />:)<br /><br />:p
_________________________
- Allen wavey
- What Drives You?

Top
#221005 - 08/10/02 09:11 PM Re: quick reply hack [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
does it filter html?<br /><br /><table><br /><tr><br /><td align="center"><br />blah<br /></td></tr></table>
_________________________
- Allen wavey
- What Drives You?

Top
#221006 - 08/10/02 09:11 PM Re: quick reply hack [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
ok, just doesn't work with smilies frown
_________________________
- Allen wavey
- What Drives You?

Top
#221007 - 08/10/02 09:15 PM Re: quick reply hack [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
It also breaks the link to your post icon on the main index. <br /> <br />Does it do markup at all?? www.threadsdev.com <br /> <br />[edit]Nope..what about if I edit?[/edit]


Edited by JoshPet (08/10/02 09:16 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#221008 - 08/10/02 09:25 PM Re: quick reply hack [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
ya... there are known bugs ;)<br /><br />I'll publish what I've done so far and see if there are fixes found. smile
_________________________
- Allen wavey
- What Drives You?

Top
#221009 - 08/10/02 09:27 PM Re: quick reply hack [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
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.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#221010 - 08/10/02 09:29 PM Re: quick reply hack [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
not to mention it saves on bandwidth <img src="/forum/images/icons/wink.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#221011 - 08/10/02 09:38 PM Re: quick reply hack [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
did I fix the broken icon?
_________________________
- Allen wavey
- What Drives You?

Top
#221012 - 08/10/02 09:58 PM Re: quick reply hack [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yes it appears so!!! smile
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#221013 - 08/11/02 12:19 AM Re: quick reply hack [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
ok, testing smilies <img src="/forum/images/icons/smile.gif" alt="" /><br /><br /><img src="/forum/images/icons/smile.gif" alt="" /><br /><img src="/forum/images/icons/tongue.gif" alt="" /><br /><img src="/forum/images/icons/laugh.gif" alt="" /><br /><br />www.threadsdev.com
_________________________
- Allen wavey
- What Drives You?

Top
#221014 - 08/11/02 02:41 AM Re: quick reply hack [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I wonder if all the UBB Code works:<br /><br /><FORM METHOD=POST ACTION="http://www.threadsdev.com/threads/php/dopoll.php"><INPUT TYPE=HIDDEN NAME="pollname" VALUE="1029058886JoshPet"><br /><p>Poll in Quick Reply<br /><input type="radio" name="option" value="1" />It worked<br /><input type="radio" name="option" value="2" />It didn't work<br /><INPUT TYPE=Submit NAME=Submit VALUE="Submit vote" class="buttons"></form>
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 1 of 2 1 2 >


Who's Online
0 registered (), 18 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks