vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts (https://vborg.vbsupport.ru/showthread.php?t=231060)

CAG CheechDogg 07-19-2013 10:39 AM

Paul, any idea why it always says You last visited: 4 Weeks Ago at (what ever time, this time at 04:00 AM)?

But no matter what Paul it always says 4 weeks ago unless I click on "Mark forums read" , the times are correct just not the "4 weeks ago" which when I hit "mark forums read" it will say 30 minutes ago , or 3 hours ....

Paul M 07-20-2013 11:40 AM

Nope, that really makes no sense at all.
Marking the forums read should change it to the current time.
Perhaps you have something installed that is inteferring with it.

mattcaswell 08-11-2013 07:54 PM

Paul.. thanks for keeping the mods updated. This one was the first one my users said "HEY WHERE DID THE STUFF IN NOTIFICATIONS GO?"... you rock!

Caddyman 09-25-2013 12:12 PM

Paul M, this is the only mod I run on every single install, awesome work man.

For those asking about why the unread post link, it not linked, on a template with a custom header...well...IDK why.

BUT, this is the fix I used, specifically on the Seasmus template. I turned the last visit date off in the acp>options>unread posts options

Float your toplinks to the left in vbulletin-chrome.css

Code:

.toplinks {
position: absolute;
left: 80px;
top: 0;
color: #ffffff;
font: normal normal normal 11px Arial, Tahoma, Calibri, Verdana, Geneva, sans-serif;
text-align: right;
background: none;

search for dup_out in language and phrases, and edit it to this....play around with the positioning

Code:

<div style="position: relative; top: -17px; left: 400px;height:10px;width:200px">{1}</div>
So now your unread post display is above the banner and clickable.

VBUsers 10-13-2013 01:20 AM

Are we pretty secure using this mod? Im trying to go over all the products that might be letting hackers into my forum. I like this mod so I don't want to lose it. Just want to hear its up to date

ozzy47 10-13-2013 01:22 AM

There is well over 1000 sites running this mod, and have had no security issues with it. :)

Reece^B 10-14-2013 08:04 PM

Installed but don't show on custom skin, what code do I need to call it?

Thanks

Paul M 10-15-2013 09:05 PM

You custom skin is probably missing some template hooks.

@vbusers, this is just display modification, it has no user input, so there isnt really anything about it that could be insecure.

Reece^B 10-16-2013 11:26 AM

Is there code I could insert?

Paul M 10-17-2013 06:41 PM

You are probably missing the template_hook "header_userinfo".

Find that in your default header, and copy it to your custom header in the same location (or as close as you can).


All times are GMT. The time now is 08:12 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.01663 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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