Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2017, 01:39 AM
Kirkus Kirkus is offline
 
Join Date: Feb 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 4.2.5 broke vBadvanced module

I realize this might not be the right place to post this, but I'm at a loss as I can't get a response from the vBadvanced site as it hasn't been supported for a number of years. I'm hoping some one might be familiar with the vBadvanced CMPS. If I'm out of line posting this on vb.org, please accept my apology and remove the post if necessary. But...

I wonder if anyone can help me fix the Recent Posts module in vBadvanced CMPS.

My vBulletin community uses the Recent Posts module (for about 10 years now) heavily and since the newest version of vBulletin (4.2.5) this module no longer works properly... it doesn't identify and display new posts right. Used to be the thread title would be bold and a go to first new post link would be available if the thread contained new unread posts for the member. That's no longer the case. The bold title and Go to link seem to be random now. The go to first unread post link still seems to work, going to the first unread post, but the indicators seem to be wonky.

vBulletin told me that they removed the option to use cookies for thread marking in the latest update. That thread marking is now done exclusively by the database. Is this what's broken the Latest Topics module? Is the module looking for thread marking in cookies and that info isn't available any longer? (I don't even remember which option, cookie or database, I used before they took this option away.) But would the go to first unread post link work if that were the case?

The module in CMPS is so much better than what's built in to vBulletin, in my opinion.

Any help at all, even just pointing me in the right direction, would be so much appreciated.

Thanks.

--Kirk

PS - Or is anyone aware of an add-on for vBulletin that would do the same thing?
Reply With Quote
  #2  
Old 06-12-2017, 10:27 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would imagine that the removal of the option has broken it, most likely in the same manner it broke my own unread posts mod. The code likely relies on the option 'threadmarking' existing, which is no longer the case, so it will need to be modified to take any check for that out.
Reply With Quote
  #3  
Old 06-13-2017, 11:35 PM
Kirkus Kirkus is offline
 
Join Date: Feb 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, OK. You think it's the check that might be throwing it off. I think that might be easy enough for me (I know just enough to be dangerous) to find in the code and change.

Is your unread posts mod something from here, Paul? Or is it something you wrote for yourself?
Reply With Quote
  #4  
Old 06-14-2017, 12:02 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kirkus View Post
Is your unread posts mod something from here, Paul? Or is it something you wrote for yourself?
Both

https://vborg.vbsupport.ru/showthread.php?t=231060
Reply With Quote
  #5  
Old 06-14-2017, 12:26 AM
Kirkus Kirkus is offline
 
Join Date: Feb 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey! Look at that! LOL.

I know it's no longer supported but I might try it out anyway. You know, since my vBadvanced CMPS thingy is not working.
Reply With Quote
  #6  
Old 06-14-2017, 09:57 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its still supported while I'm actually around.
Reply With Quote
Благодарность от:
In Omnibus
  #7  
Old 05-31-2018, 04:29 PM
Duke49th Duke49th is offline
 
Join Date: Sep 2014
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit:


--------------- Added [DATE]1527824932[/DATE] at [TIME]1527824932[/TIME] ---------------

Ok after I really wanted the solution I figured it out myself. I just checked how forumdisplay.php handles it lol.


In ../modules/recentthreads.php go to the following lines and delete something....change it from

PHP Code:
if ($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid']) 
into

PHP Code:
if ($vbulletin->userinfo['userid']) 
Do it for Line 151 under // Database read marking and 293 under // Thread read marking

That's all. read post/thread marking works again. yeahhh...
Reply With Quote
Благодарность от:
TheLastSuperman
Reply


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 06:43 PM.


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.03914 seconds
  • Memory Usage 2,230KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (2)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete