Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
Mod Name / Version: New posts to same topic while I'm replying? v1.2

Description: If a user replys to a post and in the meantime new posts are added to the same topic, then a message is shown on the preview page. The message contains the username, time and a link to the new reply.
Even if the user does not mark the "I want to preview my post"-checkbox, he is taken to the preview screen if a new reply was added in the meantime.

Useful for high traffic boards, if two users reply to a topic at the same time. The slower user gets informed about the post added in the meantime.

Included are the strings for English, Spanish and German language files.

Working Under: UBB.Threads 6.3

Mod Status: Beta

Any pre-requisites: none

Author(s): Maze

Date: 08/03/03

Credits:

Files Altered: addpost.php, newreply.php, addpost_preview.tmpl, newreply.tmpl, /languages/XXXX/addpost.php

New Files: no

Database Altered: no

Info/Instructions: The old version of this hack was working under ubb.t 6.2 and can be found here: New posts to same topic while I'm replying?


Example:
[]http://www.bikefreaks.de/images/forum/extern/ubbt_hack_screen3.png[/]

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Great!

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Sweet mod.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Yeah, very useful. I will put this on my install list.

Joined: Feb 2001
Posts: 26
User
User
Offline
Joined: Feb 2001
Posts: 26
I'm having trouble getting this to work. I installed it and now no replies can be added at all -- users just keep getting taken back to the preview message screen. It is also showing every reply on the thread, not just the new ones. The "continue" button just takes them back to the same preview screen, over and over, so no posts get posted.

Any thoughts on what I did wrong?

I went back and did it all a second time to see if I missed a step, but the same thing happened.

Sponsored Links
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
If you click on the reply button, take a look at the HTML pagesource. There should be a line like this:

<input type="hidden" name="LastPost" value="1061120708" />

Is there a number in the value field?


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
Posts: 70
Joined: January 2007
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 20240430)