Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2004
Posts: 17
M
stranger
stranger
M Offline
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

Joined: Jun 2006
Posts: 346
R
enthusiast
enthusiast
R Offline
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]");

Joined: Jul 2004
Posts: 17
M
stranger
stranger
M Offline
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

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Jun 2006
Posts: 346
R
enthusiast
enthusiast
R Offline
Joined: Jun 2006
Posts: 346
If that patch is committed to the CVS, its a moot point...

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
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]
Joined: Jun 2006
Posts: 346
R
enthusiast
enthusiast
R Offline
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="" />


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)