|
Joined: Mar 2013
Posts: 51
Journeyman
|
Journeyman
Joined: Mar 2013
Posts: 51 |
Can the UBB software be configured to do this.
Your not logged in. Your reading a post, you decide to reply to the post that your reading, you log in, after you log in, the software reverts you back to the post that you have been reading. Rather than to the forum list page.
Thanks,
Last edited by jorb; 02/14/2014 9:58 PM. Reason: Grammar correction
Truth Seeker
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
That is a good one. the methodology is not quite correct. But I get it. You read a post as a guest. Then decide to reply as a user. Then the software rolls you over the the summary. then you need to find the post again. I don't see any way to circumvent it with the current version!
Another revision change request?
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
Its possible and simple to do. In templates/default/showflat.tpl at line 8 and line 222, FIND: {if $closed != 1 && $reply == "on"} REPLACE WITH: done Now, when someone who is not logged in clicks the reply button, they will be brought to a "UBB Message" page that says they dont have access to reply here, and that they need to log in. Once logged in from there, they will be brought back to that post.
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Very good hack! Will that work with quick reply also. And what if the guest has read only access.
Last edited by Ruben; 02/14/2014 6:46 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
If you have Quick Reply turned on, the user who is not logged in, will not see the Quick Reply box. If they only have read only access or are not logged in, they will see, After entering their login information, they will be taken to the post reply page for the post they were just viewing. --- On one install where I've made quite a few customizations, I've modified the language file to instead say, You are not logged in or you have read-only privileges for this forum. This could be due to one of several reasons:
1. You are not logged in. Fill in the form at the bottom of this page and try again. 2. You may not have sufficient privileges to access this page. 3. If you are trying to post, your account may be awaiting activation. Control Panel > Languages > Language Editor Select language file: newreply.php Click: GO Modify: READ_PERM -OR- Just edit the file directly: languages/default/newreply.php $ubbt_lang['READ_PERM'] = "You have read-only privileges for this forum.";
|
|
|
|
Joined: Mar 2013
Posts: 51
Journeyman
|
Journeyman
Joined: Mar 2013
Posts: 51 |
In the past, I would log in, then after being sent to the forums list page. I then would click the browser back button a couple times to get back to the post I was reading. Refresh that page, after refreshing it now shows I'm logged in. I then could reply.
What do you feel the difficulty level is, to do what you described in the previous post?
Thanks for info,
Truth Seeker
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
the difficulty of the first thing I listed is probably a 1 on a scale of 10.
Control Panel > Templates SELECT: showflat.tpl CLICK: Edit Selected Template FIND: the "FIND" code I quoted REPLACE: the "REPLACE WITH" code I quoted CLICK: Update
Profit!
The second thing I listed, also a 1 on a scale of 10. I've already listed the step-by-step directions in that post.
|
|
|
|
Joined: Mar 2013
Posts: 51
Journeyman
|
Journeyman
Joined: Mar 2013
Posts: 51 |
Great, I'll pass it along. Thanks for the help
Truth Seeker
|
|
|
|
Joined: Mar 2013
Posts: 51
Journeyman
|
Journeyman
Joined: Mar 2013
Posts: 51 |
Its possible and simple to do. In templates/default/showflat.tpl at line 8 and line 222, FIND: {if $closed != 1 && $reply == "on"} REPLACE WITH: done Now, when someone who is not logged in clicks the reply button, they will be brought to a "UBB Message" page that says they dont have access to reply here, and that they need to log in. Once logged in from there, they will be brought back to that post. Will this same code change also work on UBB.threadsâ„¢ PHP Forum Software 7.5.9 It worked for 7.5.8
Truth Seeker
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
|
|
|
|
Joined: Oct 2007
Posts: 361 Likes: 8
Enthusiast
|
Enthusiast
Joined: Oct 2007
Posts: 361 Likes: 8 |
Its possible and simple to do. In templates/default/showflat.tpl at line 8 and line 222, FIND: {if $closed != 1 && $reply == "on"} REPLACE WITH: done Now, when someone who is not logged in clicks the reply button, they will be brought to a "UBB Message" page that says they dont have access to reply here, and that they need to log in. Once logged in from there, they will be brought back to that post. Will this same code change also work on UBB.threadsâ„¢ PHP Forum Software 7.5.9 It work for 7.5.8 I'm testing it now.
|
|
|
|
Joined: Mar 2013
Posts: 51
Journeyman
|
Journeyman
Joined: Mar 2013
Posts: 51 |
Truth Seeker
|
|
|
|
Joined: Mar 2013
Posts: 51
Journeyman
|
Journeyman
Joined: Mar 2013
Posts: 51 |
Baldeagle,
Code change on UBB.threadsâ„¢ PHP Forum Software 7.5.9 Test successful,
Thank You,
Truth Seeker
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
868
guests, and
467
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|