vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   "In reply to" Hack (threaded info for linear users) (https://vborg.vbsupport.ru/showthread.php?t=61490)

WetWired 12-12-2004 10:26 PM

That's what the option I pointed out controls, if I understand correctly. Realize, however that this takes effect at post time, and will not be retroactively applied.

coloradok5 12-12-2004 11:23 PM

Quote:

Originally Posted by WetWired
That's what the option I pointed out controls, if I understand correctly. Realize, however that this takes effect at post time, and will not be retroactively applied.

The only thing I didn't include was the var part:
The following additional variables will be defined for posts that don't begin a thread:
$post[re_postid] --The ID of the parent post.
$post[re_title] --The title of the parent post.
$post[re_tittype] --Type of title: 1-actual title, 2-start of post, 0-no suitable content found
$post[re_userid] --ID of the user who posted the parent post, or 0 if a quest posted it.
$post[re_username] --Username of the user who posted the parent post
$post[re_url] --URL to parent post. If the post is on the same page, this will just move
the position on the page. If the post is not on the same page, this will

Do I need to put them somewhere in postbit?

WetWired 12-12-2004 11:55 PM

They were already part of the example code to add to the postbit. I explained them all fully so that admins could set it up in their postbit however they liked (for instance exactly copying UBB threads).

coloradok5 12-13-2004 12:06 AM

Quote:

Originally Posted by WetWired
They were already part of the example code to add to the postbit. I explained them all fully so that admins could set it up in their postbit however they liked (for instance exactly copying UBB threads).

Thats what I thought, I will recheck everything.

coloradok5 12-13-2004 01:21 AM

Hmmm, I redid everything and still the default title gets displayed even though it shouldn't, any ideas?

http://coloradok5.com/forums/showthread.php?t=123231

WetWired 12-13-2004 03:07 AM

Quote:

Originally Posted by coloradok5
Hmmm, I redid everything and still the default title gets displayed even though it shouldn't, any ideas?

http://coloradok5.com/forums/showthread.php?t=123231

Again, that is because the "Automatically Quote Post" option is set to yes. After you turn it off, this will no longer happen on new posts. Since the Re: last title actually is a title for the post, the in reply to hack uses it, since its preference is to display the post title, then the start of the post if the post has no title. If you delete the title from one of these posts, you will see that replies to it appear with the beginning of the post. The problem is the enabled feature. If you want to try to retroactively remove the old re: titles, you can try backing up your DB then running the query
UPDATE post SET title="" WHERE title LIKE "Re: %"
This will remove all titles starting with Re: and allow the in reply hack to use the starting lines.

MickDoneDee 12-13-2004 03:25 AM

Quote:

Originally Posted by coloradok5
Mick
Thanks, I think I have it. Looking at your site, it looks like if someone replies to a post and does not change the title the original title does not get outputed, how did you do that?

It is an option in vB3:

Admin CP -> vBulletin Options -> Automatically Quote Post / Thread Title

If you enable this setting, the title field of new posts will be filled with the thread or parent post's title, prefixed by 'Re: '. The user can still edit it if they wish. If you disable this setting, the title box will be blank by default.

coloradok5 12-13-2004 01:46 PM

Ahhh, OK cool. :cool: Is there anyway to also not have the icon and hor. rule display?

http://coloradok5.com/forums/showthr...=1#post1089917

WetWired 12-13-2004 05:32 PM

Quote:

Originally Posted by coloradok5
Ahhh, OK cool. :cool: Is there anyway to also not have the icon and hor. rule display?

http://coloradok5.com/forums/showthr...=1#post1089917

They should not display without a title, unless you have a default icon set up.

coloradok5 12-13-2004 07:18 PM

Kick ass, it works perfect now, I didn't know those settings were there. :rolleyes:
Thanks for all the help.


All times are GMT. The time now is 10:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01107 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete