vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Reputation Comments (and Posts) Since Your Last Visit. (https://vborg.vbsupport.ru/showthread.php?t=91146)

Paul M 06-26-2005 10:00 PM

New Reputation Comments (and Posts) Since Your Last Visit.
 
This modification is no longer available or supported.

The 3.5 port of this simple hack;

This displays the number of new posts since your last visit & the number of new reputation comments since you last checked your usercp - both are displayed in the welcome panel - either can be turned off by de-activating the relevant plugin.


History:

v3.01 : Initial vb3.5 release.
v3.02 : Updated install code.
v3.03 : Minor changes, no update necessary.

.Tim 06-27-2005 12:18 AM

Woohoo!

Paul M 06-27-2005 12:21 AM

Quote:

Originally Posted by .Tim
Woohoo!

Why thank you. :)

Roxie 06-27-2005 12:33 AM

This is a great addition!

Gary King 07-10-2005 02:59 AM

Screenshot is not enlargeable?

Paul M 07-10-2005 11:37 AM

Quote:

Originally Posted by Gary King
Screenshot is not enlargeable?

Doh ! - Fixed - it's copied from the 3.0.7 thread, but I uploaded the thumbnail instead of the full picture ..... :dunce:

Milesian 07-17-2005 03:03 PM

Nice hack, I just installed it :)

slank 07-21-2005 05:32 PM

will give it a go, sounds like a great navbar addition

bing11 08-17-2005 05:31 AM

can not see it at Navbar

Paul M 08-20-2005 06:41 PM

Quote:

Originally Posted by bing11
can not see it at Navbar

Huh ?

wtrk 09-21-2005 01:37 AM

i cant find that code that needs to be replaces in the navbar template in 3.5 RC3, can you help point me to where to add it so it will work? thanks!

Paul M 09-21-2005 03:30 AM

Hmm, yes, they have changed $session[sessionurl] to $session[sessionurl_q] in it. Instructions updated.

wtrk 09-27-2005 10:07 AM

Quote:

Originally Posted by Paul M
Hmm, yes, they have changed $session[sessionurl] to $session[sessionurl_q] in it. Instructions updated.

i still cant find that code in the navbar.

Paul M 09-27-2005 09:13 PM

I suggest you PM me a copy of your navbar template then.

AdamN 09-27-2005 09:33 PM

Thanks :D

csidlernet 10-05-2005 03:07 AM

/me installs

TygerTyger 10-05-2005 10:43 AM

3.5 Gold:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'xxxxxxxx_co_uk_-_forum.post' doesn't exist

Hm.....

Paul M 10-05-2005 05:06 PM

I would guess you use a table prefix, you will need to add that to the table names in the query(s). It's a minor irritation that will cease to be a problem when I convert this to a "product".

TygerTyger 10-05-2005 05:23 PM

Quite right, should have thought of that. Thank you. This line:

ALTER TABLE user ADD lastrepcheck INT(10) UNSIGNED NOT NULL ;

is pulling an error about syntax, presumably it's an SQL version thing. I'm running 4.0.20. I won't bother you for help again, that's just an FYI for future releases should you need it.

Paul M 10-05-2005 05:42 PM

Quote:

Originally Posted by TygerTyger
ALTER TABLE user ADD lastrepcheck INT(10) UNSIGNED NOT NULL ;

I can't see anything wrong with that for any version of mySQL.

dutchbb 10-12-2005 06:57 PM

Does this hack add an extra query on forumhome or other places?

Paul M 10-12-2005 07:03 PM

Naturally - it would be impossible otherwise.

rb290 10-13-2005 04:25 AM

Am kinda a newbie so I dont understand Step 1 in the installation.
Where do you go and what do you do ?
some help please!

Paul M 10-13-2005 07:46 AM

. o O (I really must upgrade this .....)

My suggestion is to wait a few days until I change this from a plugin to a product, the database steps will then be performed automatically. :)

wacodep 10-15-2005 07:10 PM

This displays on my forum pages, but not on my vbAdvanced page(s). It runs the same code block in navbar. Ideas?

Paul M 10-17-2005 03:45 AM

Quote:

Originally Posted by Paul M
My suggestion is to wait a few days until I change this from a plugin to a product, the database steps will then be performed automatically. :)

This has now been converted to a Product.

Quote:

Originally Posted by wacodep
This displays on my forum pages, but not on my vbAdvanced page(s). It runs the same code block in navbar. Ideas?

Sorry, I don't know anything about vbAdvanced.

secret1980 10-17-2005 08:53 AM

there is some error it gives me db error when I have installed the plugin :(

Paul M 10-17-2005 11:48 AM

Quote:

Originally Posted by secret1980
there is some error it gives me db error when I have installed the plugin :(

Well some clue as to what might help ......

version2 10-18-2005 12:25 AM

Quote:

Originally Posted by Paul M
This has now been converted to a Product.

Sorry, I don't know anything about vbAdvanced.

I installed and performed the required template edit and I don't see anything.

Paul M 10-18-2005 11:16 AM

Have you edited all your custom navbar templates ? Is your plugin system active ?

Crow 10-19-2005 01:56 AM

Anyway to get this to show on vBadvanced CMPS? :ermm:

jugo 10-19-2005 02:08 AM

Roxie is a hottie.

Oh and nice hack paulM...

TygerTyger 10-19-2005 07:49 AM

Hm. Product installation went fine but the Unread posts total only goes up. It never goes down when you've read any of the new posts. Could this be something to do with the fact that I installed the plugin version, removed it and then installed the product?

Paul M 10-19-2005 09:48 AM

This hack does not display unread posts, it is a count of new posts, it won't go down when you read them. You are, perhaps, confusing it with my unread posts hack ?

TygerTyger 10-19-2005 09:56 AM

No, I was just phrasing it badly. I mean that I arrive, view the posts, leave again, come back and it still says the same number of posts are unread. The total goes up with each new post, but neither reading them nor leaving makes the total go down. Just keeps going up.

I've just worked out what it is anyway. If you have 'Remember Me' checked then it doesn't count you as having visited/revisited until you log out and log back in again.

Paul M 10-19-2005 09:59 AM

Quote:

Originally Posted by TygerTyger
I've just worked out what it is anyway. If you have 'Remember Me' checked then it doesn't count you as having visited/revisited until you log out and log back in again.

Correct, that's default vb behaviour. You can also clear it by clicking on the "Mark Forums Read" in Quicklinks.

divided_by_fear 11-01-2005 04:21 PM

Paul M any way to get this to work with vBadvanced CMPS v2.0

Paul M 11-01-2005 04:40 PM

Quote:

Originally Posted by divided_by_fear
Paul M any way to get this to work with vBadvanced CMPS v2.0

I'm sure someone can. I would try their support forums. I don't use cmps.

dfdems 11-07-2005 08:26 PM

Is there a way to exclude ceratin forums from showing up in the post count for this?

Paul M 11-07-2005 09:58 PM

Quote:

Originally Posted by dfdems
Is there a way to exclude ceratin forums from showing up in the post count for this?

Not without re-writing the SQL, why do you want to exclude some forums ?


All times are GMT. The time now is 07:46 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.01584 seconds
  • Memory Usage 1,790KB
  • 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
  • (12)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
  • (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