Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
"In reply to" Hack (threaded info for linear users) Details »»
"In reply to" Hack (threaded info for linear users)
Version: 1.10, by WetWired WetWired is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 02-11-2004 Last Update: 02-29-2004 Installs: 23
 
No support by the author.

vB3.0/hack version "frozen"; vB3.5/plugin version released
You can get the plugin for vb3.5 here. There will be no more releases for the vB3.0 version.

Description
This hack allows the display of the title and author of the post that each post is in response to. (See screenshot if clarification is needed)

The purpose of this hack is to provide missing information to linear view mode users. I got the idea from a board I visit that used to be UBB Threads, though my choice of presentation is a bit different.

See the attached screenshot for an example of how this can look. The hack itself only provides the additional items in $post, so it is up to the templates exactly how it looks. (The changes I used are included as an example in the hack instructions)

Complexity
This hack changes one file, requires no queries, and requires changes to one template.

Technical
This hack has been tested on vB3.0.3,vB3.0.0RC4 and vB3.0.0RC2.
It adds 1 query to showthread in linear mode, and adds 1 additional query in linear mode for each consecutive layer of deleted parents of posts displayed on a page. (If a displayed post is a reply to a deleted reply to an undeleted reply to a deleted reply to an undeleted post, 2 total queries are added to showthread, but if a displayed post is a reply to a deleted reply to a deleted reply to a deleted reply to an undeleted post, 4 total queries are added to showthread. If both examples are displayed in the same page, only 4 total queries are added to showthread.)

Update (v1.10 2004-03-01)
Version 1.10 released, which uses the beginning of a post as a title if the post does not have a title, and also trims long titles down to a decent size. Minor optimizations. regardinghackupdate.txt added for existing users, regardinghack.txt updated for new users.

Support
Please click the install button above if you install this hack.

The hack version of this modification will have no further updates, but I will still answer questions in this thread.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 06-30-2005, 09:05 PM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
This should be working in firefox also. Works for me
Doesn't seem to matter what I do I can't get it to show up in Firefox.
Reply With Quote
  #63  
Old 07-02-2005, 12:50 AM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Renada
Hi,

Does anyone have a fix for Firefox? I have this working in IE but it doesn't show up in Firefox unless the user is logged out.

Thanks,
Renada
You're saying that the reply info only shows up for guests in certain browsers? Are you using linear mode consistantly? In this version, the info only shows on linear mode, and not hybrid or threaded mode (though this will not be the case when I release the plugin version for 3.5)
Reply With Quote
  #64  
Old 07-02-2005, 05:07 PM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WetWired
You're saying that the reply info only shows up for guests in certain browsers? Are you using linear mode consistantly? In this version, the info only shows on linear mode, and not hybrid or threaded mode (though this will not be the case when I release the plugin version for 3.5)
WetWired,

Thanks for your reply. The problem I was having was it would show up to guests but not to logged in users. I totally removed all the changes and redid it and it's working perfectly.

Thanks for doing this, its really really useful - clicks install.

Regards,
Renada
Reply With Quote
  #65  
Old 10-29-2006, 08:32 PM
BBH BBH is offline
 
Join Date: Oct 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I'm new to these boards and I've been running a small private board that was formerly on CompuServe. My users are screeming for this information.

I'm not really sure about the term "hack." Sounds like I'd be required to open up a PHP file and insert code. I'll have a look at the files, but my real question is two fold:

1) Has this been tested in 3.6.2?

2) Does a hack need to be "re-hacked" every time vBull updates the application?

I'm very new to this, so please be easy on my. I'm reading "PHP for Dummies;" but at the moment I'm dummer than Bush aranoid:.
Reply With Quote
  #66  
Old 10-29-2006, 10:12 PM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As indicated in the opening post, there is a newer version at
https://vborg.vbsupport.ru/showthread.php?t=93247
which is designed for 3.5 . That version does not require code insertion.

Noone has verified that that version works with 3.6, though it may; as simple as it is to add and remove the plugin version, it can't hurt to try (please post your results in that thread, either way).
Reply With Quote
  #67  
Old 10-30-2006, 01:48 AM
BBH BBH is offline
 
Join Date: Oct 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WetWired
As indicated in the opening post, there is a newer version at
https://vborg.vbsupport.ru/showthread.php?t=93247
which is designed for 3.5 . That version does not require code insertion.

Noone has verified that that version works with 3.6, though it may; as simple as it is to add and remove the plugin version, it can't hurt to try (please post your results in that thread, either way).
Hi,

I installed (I think) the modification is discribed in the 3.5 version. There was no change to the display at all. I am new, and I'm not sure at all what "style" (postbit-legacy or just postbit). This change would be fantastic; but I'm not getting it to work.

Bern
Reply With Quote
  #68  
Old 10-30-2006, 04:00 AM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

While there are no manual code changes, you have to change the templates for the changes to become apparent.

You can edit the templates in "Styles & Templates"|"Style Manager". Click the <<>> button to open the list of templates. Double click "Postbit templates >>" from the list to see the postbit templates. The changes are pretty simple. You just need to search for the code snippets in the style and place the stuff above and below. The only complicated thing is that if you have horizontal postbits (the default), you need to edit the "POSTBIT" template using the stuff in the first section, while if you have vertical postbits (like here), you need to edit the "postbit_legacy" template using the stuff in the second section.
Reply With Quote
  #69  
Old 10-30-2006, 11:32 AM
BBH BBH is offline
 
Join Date: Oct 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I pasted into Postbit the code for "horizontal" though just putting "Posted" above the if clause seemed a bit odd. I tried it with and without the word "Posted". With no joy. Today, I'll try it with BOTH styles changed, and get back to you with the result. I'd love to confirm your hack works in 3.6 and my users are going to kill me if I don't get something done soon. There is talk of going back to CompuServe.

If my next try fails, I will copy what I pasted into the styles to you and we'll see what I'm doing wrong.

Thanks for your help.

Quote:
Originally Posted by WetWired
While there are no manual code changes, you have to change the templates for the changes to become apparent.

You can edit the templates in "Styles & Templates"|"Style Manager". Click the <<>> button to open the list of templates. Double click "Postbit templates >>" from the list to see the postbit templates. The changes are pretty simple. You just need to search for the code snippets in the style and place the stuff above and below. The only complicated thing is that if you have horizontal postbits (the default), you need to edit the "POSTBIT" template using the stuff in the first section, while if you have vertical postbits (like here), you need to edit the "postbit_legacy" template using the stuff in the second section.
Reply With Quote
  #70  
Old 10-30-2006, 12:01 PM
BBH BBH is offline
 
Join Date: Oct 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll be damned. We're on legacy and that code works okay.

I'll let the members +++++ about how this is not good enough, and I'll get back to ya with any 3.6 hicups I might find.

Thank you VERY much for writing this hack.

Bern
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12767 seconds
  • Memory Usage 2,298KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete