![]() |
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. |
hum.. looks interesting for a forum tree...
|
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? |
this looks like a great mod, I will try it later :D
|
found the fault, the plugin system was not enabled haha, sorry!
Thanks once again for this great mod! |
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); Code:
//THREADS |
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! |
Quote:
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 |
Quote:
|
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! |
Quote:
|
Quote:
thank you for helping! |
Quote:
Let me know if that fixes your problem for that particular user. I think that's it, and I'm looking at what's causing it. -K |
Quote:
|
I know what the problem is, I'll work on something to fix that right up.
In the mean time a 'work around' is to... In ACP -> User Profile Fields -> User Profile Field Manager For the Three Threaded Items: Threaded Forum Views Threaded Forum Views: Display Mode Threaded Forum Views: Title Length Edit each of these and set Field Required to YES For Existing Users with the problem have them Enter their UserCP -> Edit Options and [Save Changes] tg, I think what is happening is that when a new account is signed up the userfields (5,6,7) aren't getting populated, which does happen if the fields are required (ugly) or the users save their options (pain). -K |
Quote:
UPDATE userfield SET FIELD5='Disable', FIELD6='Compact', FIELD7=30 WHERE FIELD5<>'Enable'; should work even if you have existing users. If it's empty to begin with it will get populated with 'Disable' and if it's set to 'Enable' it won't be touched. Of course the FIELDx names should be changed to whatever is correct for the specific implementation. I seem to recall documenting this a long time ago but can't find it at the moment. :disappointed: |
Quote:
-K |
Hi, tgmorris
first at all, I am very sorry for no reply! I was busy other things. and thank you very much for your help! by setting these 3 fields to "yes", yes, the new users can see "threaded forum view" now. for existed users, I could not find UserCP, where is it? I am sorry I am new to vbulletin. please advise more details! I have about 266 users, do I have to edit them one by one? is that a way I can only edit once, them will apply to all of existed users? by the way, how can I enable to trace this thread? so one new reply post, I will be noticed by email. the test forums is www.doubletiger.co.uk/~london/vbb351 please feel free to test it. once again, many thanks for your great help and appreciate your hard work, it is very good mod! thanks! Henry |
Quote:
The UserCP should show up on everyone's Nav Bar at the top (Something like UserCP FAQ Member List Register ... etc) Basicly the User can log in, go in there and save their options and it'll fix their individual problem. Quote:
Code:
UPDATE userfield SET field5 = 'Enable' WHERE field5 = ''; Also you should be able to do a 'thread subscripion' at least when you make a new post, scroll down under Additional Options. I'm glad you like it, there should be an update shortly that adresses some of the quirks found in the existing version as well. -K |
Hi, Kaitlyn
many thanks for your quick reply! I will try to run this sql script and post the result here. This mod is great! because users do not need to click a thread in order to see reply; they can view all reply topics without a click. good work! thank you! |
Hi! I was curious if this has been tested in 3.5.3? I'd like to install it on my forums, but don't want to blow anything up! :)
Thanks! |
Quote:
|
Quote:
As always the first thing would be to compare the files with the changes in them between the last known version this was for and the planned version. If those files haven't changed then you should be pretty good to go. The gotcha regarding the default values getting set was supposed to be fixed by vb in the 3.5.3 release so that at least shouldn't be a worry. |
Thanks so much.
It appears that much of code is the same, though some are on different lines than what's in the instructions. If I get it working, I'll post back in case anyone else is wondering. |
Quote:
Doesn't this mean that the new post icon is still showing as new even though you have read the post? With the above modification you will need to login again to make them unread... Any ideas? Thanks |
Hopefully I'll get a chance to rework it a bit, and add some stuff tg gave me for an update for 3.5.4 *crosses fingers*
Quote:
It actually works pretty well, at least for me and I've never had any complains, and everything being new all the time was a real downer. When I'll have time I'll have to go through and really find out why $threadinfo['threadview'] dosen't seem to work right with the rest of the hack, but considering how well it works with that change, it's somewhat low on my priority list. Hope that helps! -K |
Thanks for your reply. I will try and fix this bug.
On another note, I have found another bug. If you have an old thread and bump it by adding a new post only the last post will be visable in the threaded forum view and not the entire thread. It should be the full thread! Any ideas? thanks |
hello, just wondering if there has been made any further improvement to this hack? such as deleted threads etc... ?
Thanks |
I have been trying to install this mod onto a fresh copy of 3.5.4. I was editing the FORUMDISPLAY template, and I added:
Code:
<if condition="TFVENABLE=='Disable'"> Code:
$announcebits The following error occurred when attempting to evaluate this template: Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /data/sites/26657/forum.uhnd.com/www/includes/adminfunctions_template.php(3537) : eval()'d code on line 41 I'm just wondering if this means anything to anyone? If I add just a new variable, say "$test", then I can save the template. So it doesn't look like it's a problem with my adminfunctions_template.php file. Any suggestions? |
Here's that error message again in a little more legible format... hopefully:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /data/sites/26657/forum.uhnd.com/www/includes/adminfunctions_template.php(3537) : eval()'d code on line 41 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
I believe that the templates have changed a bit since the instructions were written. Instead of directly under the $announcebits line it needs to be done a bit different. If you look at the template and see what the intent of the change is you should be able to figure out how it goes.
|
I haven't had a chance to take a look. If I'm able to figure it out, I'll post my findings.
|
Quote:
I've made all the changed tg suggested to me from the 2.0 version as well (that I never got an update out for, shame on me). -K |
Kaitlyn, when is the version for 3.6 expected? Eagerly waiting for it. Please do let me know.
|
Quote:
-K |
Okay, I lied a little, I meant to say Wednsday. I didn't have the chance to put it on a live forum until today. So baring any issues, I'll post the 3.6 Mod definatly before the end of the week. Sorry 'bout that.
-K |
<a href="https://vborg.vbsupport.ru/showthread.php?t=124663" target="_blank">Version 3.0 for vBulletin 3.6.0</a>
|
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|