Previous Thread
Next Thread
Print Thread
Rate Thread
#220995 07/12/2002 9:04 AM
Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
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.
Sponsored Links
glaserm #220996 07/12/2002 3:05 PM
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 wink at the moment - but expanding all the time....)
Gorlum #220997 07/12/2002 3:22 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
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.

- Allen wavey
- What Drives You?
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 wink at the moment - but expanding all the time....)
Gorlum #220999 08/01/2002 1:36 AM
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


- Allen wavey
- What Drives You?
Sponsored Links
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.


- Allen wavey
- What Drives You?
Joined: Aug 2002
Posts: 2
Lurker
Lurker
Offline
Joined: Aug 2002
Posts: 2
How is this one coming?

Could be an excellent asdition for users,

SA6 #221002 08/10/2002 2:53 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
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


- Allen wavey
- What Drives You?
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 laugh


- Allen wavey
- What Drives You?
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


- Allen wavey
- What Drives You?
Sponsored Links
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>


- Allen wavey
- What Drives You?
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 frown


- Allen wavey
- What Drives You?
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.
Daine #221008 08/10/2002 9:25 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. smile


- Allen wavey
- What Drives You?
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.

Daine #221010 08/10/2002 9:29 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
not to mention it saves on bandwidth


- Allen wavey
- What Drives You?
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?


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yes it appears so!!! smile

Daine #221013 08/11/2002 12:19 AM
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, testing smilies





www.ubbdev.com


- Allen wavey
- What Drives You?
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:


Poll in Quick Reply
It worked
It didn't work


Daine #221015 08/11/2002 2:42 AM
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!



Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)