vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Threaded Forum Views (https://vborg.vbsupport.ru/showthread.php?t=101407)

Kaitlyn 11-22-2005 10:00 PM

Threaded Forum Views
 
Threaded Forum Views (Version 2.0)

This Modification is based on Threaded Forum Views (Version 1.8) for vBulletin 3.0.

Version 2.0 should function the same as the previous version. If you notice any quirks or problems please post them here. I took a couple different approaches in outlining the Modifications from the original as well.

-----

Threaded Forum Views will allow the user to display an individual forum or search results in a fully threaded manner. To enable this support the user selects Enable from the new Threaded Forum Views section within Edit Options in the User CP. In addition to the Enable/Disable setting the user may also select Compact or Expanded modes as well as the number of characters to be displayed in the thread/post titles.

Features:
Functionality controlled via the Users CP.
Supports 2 display modes. Single line or Dual line.
Supports variable title lengths.
Works with the display of forums and search results.
Indicates which posts have been read and which are new.
Indicates which posts have attachments.
Handles Sticky posts - limits the thread to the opening post.
Displayed results may be sorted using the existing tools provided by forumdisplay.php
Tested with vBulletin 3.5.1

Caveats:
Some of the Administrator functions (such as thread maintenance on deleted threads) are not available while in this mode. While doing administrative tasks the Admin should disable Threaded Forum Views.

Feedback & Support:
If you have any problems or questions please post them here.

Miscellaneous:

Line numbers have been added, which correspond 'approximatly' to where an item can be found. Line Numbers are based upon previous editions, so the line number listed in step 2, will be based upon the idea that step 1 has already been compleeted. Do Note these are approximate line numbers to help find certaion locations within the code, don't blindly use them for insertions.

To update existing users it is necessary to manually run an UPDATE query. I used

UPDATE userfield SET field5='Enable',field6='Compact',field7='30' where field5='';

to set the default values.

Also, a new field has been added to the search parameters. Because of this it is neccessary to erase the existing cached searches. This can be done using the following query

delete from search;

Instructions for making the necessary modifications to the files and templates are attached as are the 5 new graphics in the ZIP file.

nexialys 11-24-2005 01:52 PM

hum.. looks interesting for a forum tree...

Surfer 11-29-2005 11:17 AM

Thanks for this mod :) I have installed it, but don't se any posts at all in the forum :( in the source code it prints out:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="threadslist">



<!-- show threads -->

<!-- threaded mode -->

<tr>
<td class="alt1"></td>
</tr>
<!-- end show threads -->

</table>

Any ideas?

The Chief 11-29-2005 11:28 AM

this looks like a great mod, I will try it later :D

Surfer 11-29-2005 11:42 AM

found the fault, the plugin system was not enabled haha, sorry!

Thanks once again for this great mod!

Kaitlyn 11-29-2005 03:09 PM

I have noticed one issue, I haven't quite figured out why it's an issue, but I have a way around it.

If you notice that once it's installed that every post appears to be 'new', this bit will fix the problem. I'll have it included in the next update, as well as moving a bit more of the legacy code to the updated methods.

-K

In includes/functions_threadedmode.php

Find:
Code:

$post['statusicon'] = iif($post['dateline'] > $threadinfo['threadview'], 1, 0);
Replace With:
Code:

//THREADS
$post['statusicon'] = iif($post['dateline'] > $vbulletin->userinfo['lastvisit'], 1, 0);
//THREADS


doubletiger 12-06-2005 07:47 AM

Hi, I am new to vbulletin and love this mod, I would like to install it and don't how to install it, I cannot find an instruction in zip files. can anyone point me to the right direction please?

many thanks!

Kaitlyn 12-06-2005 03:40 PM

Quote:

Originally Posted by doubletiger
Hi, I am new to vbulletin and love this mod, I would like to install it and don't how to install it, I cannot find an instruction in zip files. can anyone point me to the right direction please?

many thanks!

No Problem

Once you Download and UnZip the File, load the file "Threaded Forums 2.0.html" Into your Web Browser, it should walk you through applying the hack.

-K

doubletiger 12-06-2005 10:13 PM

Quote:

Originally Posted by Kaitlyn
No Problem

Once you Download and UnZip the File, load the file "Threaded Forums 2.0.html" Into your Web Browser, it should walk you through applying the hack.

-K

thank you for your reply! I will try it.

doubletiger 12-10-2005 08:13 PM

Hi, I got this great mod to work on http://www.doubletiger.co.uk/~london...isplay.php?f=3.

thanks!

However, there is a problem: if visitor is guest, the threaded forum views show posts correctly; but if you are registered user and login to view it, the all posts do not show at all.

Could someone please visit my above site and take a look, and help me to sort it out?

many thanks in advance!


All times are GMT. The time now is 10:17 AM.

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.01176 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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