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)

Hippy 07-18-2012 10:08 PM

Hi paul
the phrase is
Code:

<br /><div style="margin: 14px">{1}</div>
what should I make it ?
thanks

Paul M 07-18-2012 10:43 PM

Whatever stying you want.

djbaxter 07-18-2012 11:59 PM

If I add a color to that inline style, only the first part of the phrase is affeceted, i.e., instead of

Code:

You last visited: Today at 05:52 PM : You Have 2 Unread Posts
I get

Code:

You last visited: Today at 05:52 PM : You Have 2 Unread Posts
I tried adding style to the phrase and nothing changes.

Paul M 07-20-2012 11:26 AM

There is nothing separating them in the default code, they are all just one piece of text inside the dup_out defined DIV.

Mark.B 07-26-2012 08:14 PM

Quote:

Originally Posted by del Drago (Post 2336607)
Hi Paul,

I'm still on vbulletin 4.12, and I'm using the previous version of this mod in conjunction with Abe's Thank You Hack, so that users are notified when someone thanks them (they receive rep points when thanked).

However, it appears that the new rep mod built into vbulletin 4.2's core does not notify members when they've been thanked. I haven't witnessed this myself, but there are several posts in the Thank You Hack thread indicating this:

https://vborg.vbsupport.ru/showpost....postcount=2619

https://vborg.vbsupport.ru/showpost....postcount=2626

https://vborg.vbsupport.ru/showpost....postcount=2648

https://vborg.vbsupport.ru/showpost....postcount=2649

I'm waiting until there's a workaround before upgrading to 4.2, as my members have become accustomed to being notified when thanked.

Could you suggest a possible solution?

Thanks Paul! Your work to make vBulletin the best forum software is noticed, and very much appreciated.

Quote:

Originally Posted by Paul M (Post 2338154)
Sorry, I have no idea how that may have worked, its not something I have ever added to this.

Just as an aside, the workaround for this is to not use the core 4.2 function for notifying of rep, and instead re-enable Paul's mod in full. I can't provide detailed instructions for doing all of this but that will basically give you Like/Thanks notifications from Abe's Thanks hack once again.

OhSoBlonde 08-19-2012 02:32 AM

Paul, we have a lot of user that use Tapatalk. When I installed Unreadposts-4200, my Tapatalk users were unable to see the "Unread" posts, but could still see "Participated" and "All" in the Latest tab on Tapatalk.

Any ideas?

Paul M 08-19-2012 08:56 PM

Nope, I have no knowledge of Tapatalk.

Beckenbauer 08-24-2012 06:55 PM

Is it possible to display only unread subscribed posts?

Paul M 08-25-2012 09:52 PM

No.

thecore762 09-24-2012 06:00 AM

Is there a way to make this mod a block for vBadvanced?

faisaly.com 10-09-2012 08:26 AM

any way to make the color of post number red?

Tried phrase:

dup_unread_posts

I tried using this:

You Have <font color="red" <a href="{1}search.php?do=getnew&contenttype=vBForum_ Post"></font> Unread Posts</a>

It didnt work, but then again it is searching for a condition where {1} is the color i am trying to change

xPonyx 10-22-2012 04:15 PM

Appreciate you doing this, Paul. Unread posts has been the most asked-for feature, since moving from PHPBB.

flirtsnfriends 10-26-2012 05:55 PM

Installed it very easily...marked installed and nominated for MOM...Now if I could only get the font color changed from white, so you could see it. How would I get it to display in red or black? Thanks

wildheart 11-02-2012 07:55 AM

I want to make the Unread posts a tab in the Navigation Manager, please tell me what I must put in as the target url?

kfyonur 11-02-2012 08:48 AM

how can i correct it ?

Paul M 11-03-2012 01:51 PM

Quote:

Originally Posted by wildheart (Post 2377744)
I want to make the Unread posts a tab in the Navigation Manager, please tell me what I must put in as the target url?

Its the standard "New Posts" link that already exists in the 4.2 menu.

wildheart 11-06-2012 12:09 PM

Thank you very much.

wildheart 11-06-2012 12:16 PM

I remember now why I asked the question. I want the Unread Posts (New Posts) to be a single standing tab like the forum tab and when I copy and paste the settings from New posts it does not work. It says "Sorry - no matches. Please try some different terms."

I dont understand why it wont work?

Paul M 11-08-2012 01:35 AM

As I dont know exactly what you are copying and to where [etc], I cant answer that.

kfyonur 11-08-2012 06:53 AM

Quote:

Originally Posted by kfyonur (Post 2377751)
how can i correct it ?

how about my problem ?

Paul M 11-08-2012 11:59 PM

You are using a custom style, I cannot give support on that Im afraid.

sticky 11-10-2012 12:32 AM

This no longer gives reputation notifications?

lamur 11-30-2012 06:13 PM

QUestion. Right now it says:

You last visited: Today at 10:38 AM : You Have 86 Unread Posts

How can I modify it so it reads:

You last visited: Today at 10:38 AM
You Have 86 Unread Posts
Basically just adding a <br> somewhere so it's not on 1 line. Thanks!

Hippy 11-30-2012 09:39 PM

you need to add <br /> by the way
In adminco go to search phrases for that text edit it there

inshajeex 12-04-2012 08:49 AM

installed and mark as installed. thanks

flirtsnfriends 12-21-2012 01:35 AM

Question ... I noticed today on our site that the word LAST -- sometimes turns into a hyperlink pointing others to a "credit check" site. This is more than likely a phishing site, and wanted to know if anyone else has seen this.

Is there a vulnerability I need to be aware of??

FnF ....

Paul M 12-21-2012 03:23 PM

Sounds like you have some sort of keyword link modification installed - i.e. something that takes specific works and turns them into links.

rgaming 12-23-2012 02:45 AM

Is there any way to make this compatible with vb 4.2? if not, is there another mod that is similiar to this that would work with 4.2? thanks!

craigvm 05-28-2013 08:35 PM

great mod but how can i get it to display just under the nav bar

craigvm 05-28-2013 08:37 PM

Quote:

Originally Posted by rgaming (Post 2392358)
Is there any way to make this compatible with vb 4.2? if not, is there another mod that is similiar to this that would work with 4.2? thanks!

it worked for me on vb4.2.1

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 06:33 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.01636 seconds
  • Memory Usage 1,810KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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