The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is the vB4 thread structure broken
The two methods to reply in a thread are to reply to the post you are viewing using the reply link in the bottom border or to reply to the thread.
The reply to specific post works correctly and puts that postid in the parent postid for the new post. However, when you are replying to the thread, the parent postid is the latest post in the thread when it should be the first post in the thread. The problem is readily visible when using hybrid or threaded view. I would like for the parent postid to be 0 just as it is for the starting post in the thread. That gives a distinctive display for hybrid and threaded views. We have a mod installed that appends a link in the title of the posters name linking to the parent postid. If the parent postid were 0 for reply to thread, the link would be suppressed and it would work the way we want it to. The reference functions to prevent misunderstandings when someone thinks a reply is to their post instead of to a previous post in the thread or the thread as a whole. |
Благодарность от: | ||
chloe101 |
#2
|
||||
|
||||
Try this plugin, hooked at "postdata_presave":
PHP Code:
|
#3
|
|||
|
|||
Quote:
I'm curious. Why did Tom get an essentially immediate response that does EXACTLY what I've been asking for, and my thread didn't? Have I done something to offend someone? |
#4
|
||||
|
||||
Replies can sometimes be days.
Any response is entirely dependent on who is reading the forums at any given time Your thread got a reply after 81 minutes, so I think you have nothing to be curious about. |
Благодарность от: | ||
CAG CheechDogg |
#5
|
|||
|
|||
Yes, you DID respond that fast. And your response allowed me to find the apparently undocumented plugin that gave me the hint that I had to modify parentid. But I couldn't figure out where/how to do that. MarkFL's response does exactly what I've spent days trying to figure out. It wasn't so much the SPEED of the responses that bothered me. Is MarkFL the only one who knows that trick?
It should solve the problem for future posts, but I doubt that there's any way to fix the existing misleading links. |
#6
|
||||
|
||||
Quote:
I do apologize if I gave the impression of preferential treatment...it wasn't my intention. Tom's initial post spoke explicitly of setting the "parentid" of posts made by replying to threads as opposed to replying to posts or quoting posts. In your thread, you were talking about using a product that wasn't behaving as you wanted, and when I read that, I felt looking for the product thread was a good idea as suggested. Sometimes I don't connect the dots as would be desired by the person posting. It could be the case when I read a post here, I am either idle and looking for something to do, or I am busy at the moment with other things and don't give the post as much attention as I would in the first scenario. That's my shortcoming, not that of anyone else, and is something I should try to improve. |
Благодарность от: | ||
CAG CheechDogg |
#7
|
|||
|
|||
Thanks Mark. It was the stuff I found, guided by Paul's post, that allowed Tom to ask the question in the way he did. THANK YOU BOTH for the help!!!!!!!!!!!!!
P.S. I think I made the same point over there, too: Quote:
--------------- Added [DATE]1487982823[/DATE] at [TIME]1487982823[/TIME] --------------- Tom, are you going to install the fix, or are you going to leave it as an exercise for the student? |
#8
|
||||
|
||||
Quote:
By the way, and I say this not to be self-effacing, but you asked if I was the only one who knew that trick. Of all those on staff here, and many who aren't on staff, I am the new guy still learning the basics. I hope the custom editor toolbar mod works well for you! :up: |
#9
|
||||
|
||||
I don't want to assume, so will adding this have any effect if using the default Linear Mode?
|
#10
|
||||
|
||||
All I can tell you for sure is that with that code in place, when a reply is made without replying to or quoting a specific post, then the "parentid" for that post will be set to zero.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|