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)

bashy 01-21-2006 06:09 PM

Hi

I have to click the rep link twicce to mark as read/viewed, any ideas please?

Paul M 01-21-2006 06:25 PM

When you click on the link (and get taken to the usercp) the page is built before the database is updated, so it won't appear updated until you refresh the page, or go to another page.

S@NL - BlackBik 02-01-2006 08:47 PM

Installed flawless, nice feature :)

May uninstall when the welcome panel also displays this information.
And always nice to see coders take the time to phrase their hacks :)

vbreal 02-02-2006 02:40 AM

thanks alot

jilly 02-06-2006 12:45 AM

Mine doesn't seem to act right - I have it set to use cookie/inactivity based marking.
Cookie timeout is one hour.

I didnt log in for about 8 hours - it told me I had 74 new posts since my last visit - however when I click 'view new posts', 569 posts come up in my list. Why the discrepancy?

Paul M 02-06-2006 01:08 AM

I would guess because the vb search [getnew] did something very odd. How many of those 569 were actually posted since your last visit date/time - I strongly suspect the answer is 74, and the rest were older.

G_Man 03-04-2006 04:43 PM

Way beyond Sweet!!! Thanks, mate.

poprulz 03-05-2006 11:40 AM

great plugin. always wanted the members to give some attention to reputations.

A small addition for vBa users. vBa already shows up the no. of new posts since ur last visit in portal welcome block. Add the new reputation comments along like in the attached pic.

step 1:
In ur vBadvanced templates. Find template adv_portal_welcomeblock.

Find
Code:

<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
Add Below
Code:

<br /><if condition="$rcount != ''">$rcount<br /></if>
[there are 2 instances of new posts in the template, add the code below for each of the instances, as one is for mods and the other for normal users]

Step 2:
Do as Paul mentioned in the text file, upload the product.

step 3:
The hack is capable of showing both new posts n reps seperately, So its better to delete the plugin new post(under hook location global-start) and just make sure New Reputation Comments plugin is active. Disabling the pluign still makes vbulletin to process it and vBa users just need the reputation plugin.

PS:In the product file the link for the reputation is given as "usercp.php". So for users whose vBa is in root/ and forums in root/forums/ edit the product(xml) file and change "usercp.php" to "forums/usercp.php"

I guess Paul doesn't have any problem with this small change.

Paul M 03-05-2006 11:55 AM

Quote:

Originally Posted by poprulz
I guess Paul doesn't have any problem with this small change.

Nope. :up:

oz_moses 03-06-2006 09:44 PM

PaulM is the King. Another simple and effective mod. Thanks Tiger ;)


All times are GMT. The time now is 02:23 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.01080 seconds
  • Memory Usage 1,735KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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