Previous Thread
Next Thread
Print Thread
Hop To
6.7.2 Notifications & PW Protected Forums #113856 10/20/2004 12:06 PM
Joined: Jul 2004
Posts: 17
Mike Jefferies Offline OP
stranger
OP Offline
stranger
Joined: Jul 2004
Posts: 17
We have password protected forums for individual customer organizations. They post support questions and wait for someone to reply. When they get the reply notification in their email, they click the link, are prompted for a password, but are never taken to the post itself.

It seems that the process of providing the password is not retaining the requested post information.

This isn't a problem for administrators as they are never prompted for forum passwords, and the link takes them right into the post. It only affects regular users.

To duplicate:
Create a non-administrative user.
Create a password protected forum.
Create a post as the non-administrative user in the password protected forum with reply notification on.
Reply to the post as another user.
Click on the link that is sent to the non-administrative user and proceed as normal (enter password, etc.)

Thanks,
Tim

Re: 6.7.2 Notifications & PW Protected Forums #113857 10/20/2004 12:40 PM
Joined: Jun 2006
Posts: 346
Ron M Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 346
This isn't a problem with the email notifications, this is a bug in the URL Assembling in the UBB.

I have a password protected forum, and when you direct link to a topic with a non-admin, and enter the password, it tries to goto ultimatebb.cgi/topic/5/0? instead of the topic number(replacing 5 with the forum number).

*Edit* - Here's a patch I threw together on my boards:

in Templatespublic_query_forum_pw.pl
Find
Code
<input type="hidden" name="f" value="$in{f}" />
After it add
Code
<input type="hidden" name="t" value="$in{t}" />
in cgi-binubb_forum.cgi
Find
Code
		&Transition($ULTIMATEBB{"ubb=$in{last};f=$in{f}"}, "$vars_wordlets{forum_pw_confirmed}", "$this_forum[1]");
Replace with
Code
		&Transition($ULTIMATEBB{"ubb=$in{last};f=$in{f};t=$in{t}"}, "$vars_wordlets{forum_pw_confirmed}", "$this_forum[1]");

Re: 6.7.2 Notifications & PW Protected Forums #113858 10/20/2004 2:15 PM
Joined: Jul 2004
Posts: 17
Mike Jefferies Offline OP
stranger
OP Offline
stranger
Joined: Jul 2004
Posts: 17
Quote:
Originally posted by Ron M:
Here's a patch I threw together on my boards...
That did it!

Thanks much,
Tim

Re: 6.7.2 Notifications & PW Protected Forums #113859 10/20/2004 5:09 PM
Joined: Jun 2006
Posts: 15,846
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,846
Now one has to wonder if your patch counts as a hack in the eyes of Infopop should this chap need maintenance...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: 6.7.2 Notifications & PW Protected Forums #113860 10/20/2004 5:46 PM
Joined: Jun 2006
Posts: 346
Ron M Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 346
If that patch is committed to the CVS, its a moot point...

Re: 6.7.2 Notifications & PW Protected Forums #113861 10/20/2004 6:06 PM
Joined: Jul 2006
Posts: 2,143
David Dreezer Offline
Pooh-Bah
Offline
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
I don't think that will end up being the final patch, as I'll probably want to do some ON_COMPLETION_URL magic or something, but that's good enough for now.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Re: 6.7.2 Notifications & PW Protected Forums #113862 10/20/2004 6:29 PM
Joined: Jun 2006
Posts: 346
Ron M Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 346
I tested it on both the forum and topic and it didn't do anything odd if that helps any <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
UBB Dev
by JAISP - 11/03/2019 11:01 AM
Exceeded Number of attachments
by rbrtgrmn - 11/02/2019 9:57 PM
Forum New User Registration
by kf6zpl - 10/25/2019 10:45 AM
Having issue with redirects to UBB classic URLs
by amciotola - 10/16/2019 12:11 AM
Who's Online Now
2 registered members (Gizmo, isaac), 53 guests, and 410 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)