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 05-12-2006 05:59 PM

Okay, it seems you have not understood what has been said.

I have your PM, and when I login, I see it working fine. When I check your profile, I see you have Display Reputation turned off. You must turn this option on in your usercp.

(note, your usergroup must also have "Can Hide Reputation from Others" enabled to actually see the option in your usercp).

Evil X 05-12-2006 07:13 PM

oh ight thanks man... for all of your help... I turned my view on

mano1.com 05-13-2006 03:32 AM

installed... thanks!

Amaranth 05-13-2006 10:29 AM

Flawless victory! *INSTALL*
One of those things that just makes life a little easier. :)

mano1.com 05-15-2006 03:16 AM

Ahh too bad...

Sorry but I had MAJOR performance problems due to this plug-in...

Maybe it is because of the "new posts" query?

Not sure... Uninstalling it made my forums much faster again.

MThornback 05-19-2006 11:29 PM

I can't get this to show either posts or rep...I tried disabling other hacks and even renaming the pcount variable incase it was a variable conflict....no change....as vauge a question as this is....can you think of anything that would cause this? or do you know of any hacks that specifically won't work with it off the top of your head?

Gehanna 05-19-2006 11:51 PM

Ohh I love this!! Thank You very much. :D

Sincerely,
Gehanna

Paul M 05-20-2006 01:19 AM

Quote:

Originally Posted by MThornback
I can't get this to show either posts or rep...I tried disabling other hacks and even renaming the pcount variable incase it was a variable conflict....no change....as vauge a question as this is....can you think of anything that would cause this? or do you know of any hacks that specifically won't work with it off the top of your head?

Are you using vba ? - it doesn't work on the homepage of that without a tweak to vba's settings. Other than that no.

(you did do the template edit ? in all styles ?)

MThornback 05-20-2006 02:10 AM

I am using VBA, I made the changes....(all I needed to do was add the variables to the global in the settings right?) and all the changes are made in the template...I have 1 main style with 4 child styles so the change is automatic to the child styles.

It used to work....which is why i'm at a loss....it just decided to stop working....like a month or more ago....and I couldn't figure it out on my own.

Paul M 05-20-2006 02:26 AM

Well things never just stop working without a reason, but there is nothing I can do without access to your plugins, feel free to PM me admin access if you want me to have a look.

MThornback 05-20-2006 02:53 AM

You have mail Paul :) good luck...you'll have better (and faster) luck than I did i'm sure :p

Paul M 05-20-2006 07:30 AM

The following hack was the cause ;

Multiple IPs Detection

This only has one plugin, linked to the global_start hook - that plugin is faulty, causing other hacks using that hook to fail. I have disabled it.

MThornback 05-20-2006 12:51 PM

Thanks Paul I appreciate it :)

MThornback 05-26-2006 02:50 PM

Paul, has anyone reported the post count not decreasing after viewing? Cause its started to happen to me today...It increases for every post (my own included) and doesn't go down for anything except marking all forums read....could another plugin conflict be doing this? or is it an all new headache for me?

Thanks Paul for all your help :)

Paul M 05-26-2006 07:15 PM

It's never decreased, it's not designed to - it's the number of new posts since your last visit, not the number of unread posts. :)

MThornback 05-26-2006 11:02 PM

I realize that :p but when I view a post...and return to the forumhome the count doesn't decrese, yet I click the link again and I get the "no new posts" with the link to posts made within last 24 hrs.

Paul M 05-26-2006 11:46 PM

The count is the number of new posts since your last visit, and links the the vbulletin GetNew search. In vb3.5, if you have database thread marking enabled, then GetNew only shows unread posts, not all new posts. It's all working correctly (tho not maybe as you would expect). This change in vb is one of the reasons I wrote this.

FLMom 05-27-2006 01:19 AM

Hi Paul! First off, thank you so much for this! It's awesome :banana:

I have a question though, I need to turn off the new posts part and only want to use the rep comments. In the instructions, it says that they are seperate in the plug-in area, but on mine they are together. How would I go about getting rid of the new posts?

Thanks for your help! :)

FLMom 05-27-2006 01:25 AM

Oops! Never mind Paul, I figured it out, I was looking in the wrong area :surprised:

It looks great! Thanks again for all of your hard work :banana:

Paul M 05-27-2006 01:26 AM

I think you are looking at the product list, not the plugin list.

Edit: Oh, which I see you just figured out. :)

Feel free to click on install(ed) ;)

FLMom 05-27-2006 01:27 AM

Yes, that was my mistake...still learning all this hehe

Thanks :D

wii 06-14-2006 08:30 PM

How do I add this to the navigation right next to the "New Posts" link - like this:

New Posts (32)

I guess it should be around here in the header:

<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>

Neo_obs 06-15-2006 07:04 AM

just checking does this use any global phrases?

for some reason it doesnt show up in the ibporarcade.

Also can you list the ones it uses. i want to inform another user who is having problems

Paul M 06-15-2006 10:05 AM

$pcount & $rcount probably need to be declared as global in the arcade script (arcade.php ?).

wii 06-15-2006 08:42 PM

Paul, how to I add just the counter next to New Posts ?

Paul M 06-15-2006 08:54 PM

Quote:

Originally Posted by wii
Paul, how to I add just the counter next to New Posts ?

I'm not sure I understand the question.

wii 06-15-2006 09:22 PM

Well, it seems the hack adds an entire line and not just the count.

Can I add just a counter up in the main navigation of the forums? In the "New Posts" between the "Calendar" and the "Search".

Thanks

Paul M 06-15-2006 09:28 PM

Not without changes to the plugin, and your navbar template.

ubblite 06-16-2006 08:09 AM

I figured it was worth a shot asking this question here, possibly someone might know:

Is there a way to incorporate this hack into ibproarcade? For some reason, ibproarcade doesn't grab this hacks setting in the navbar, so it's completely missing.

Thanks

Paul M 06-16-2006 08:12 AM

See post #144

ubblite 06-16-2006 08:39 AM

Quote:

Originally Posted by Paul M
$pcount & $rcount probably need to be declared as global in the arcade script (arcade.php ?).

Thanks for the response, Paul. Now I just have to figure out how to do this. ;)

Paul M 06-16-2006 08:50 AM

There is a support forum for it in the premuim section, that's probably the best place to ask. I don't run that arcade so I can't really say. :)

wii 06-17-2006 07:04 AM

Yeah, I know.

so where do I change the code in the plugin and navbar to show only a counter next to New Posts?

Thanks a lot

Quote:

Originally Posted by Paul M
Not without changes to the plugin, and your navbar template.


AHMUDEM 06-19-2006 11:18 PM

3.6.0 beta 2 good working :)

Gudrune 06-20-2006 06:17 PM

CPMS problem.

ON the link for new posts under CPMS it doesnt have correct link.

CPMS home page looks like this

http://www.mysite.com/search.php?do=getnew

Under my forums its correct

http://www.mysite.com/forums/search.php?do=getnew

So if people click on new posts on welcome bar from CPMS main page get a 404 error.

Paul M 06-20-2006 06:24 PM

Sorry, I don't support CMPS, I would suggest you ask in thier forums.

Mark.B 06-20-2006 06:53 PM

Quote:

Originally Posted by ubblite
Thanks for the response, Paul. Now I just have to figure out how to do this. ;)

In /arcade/functions/functions.php.

Find:
Code:

  function do_output($output_array)
In the list of functions that follows:
Code:

global $header, $vbphrase, $vboptions,
Almost at the end of the long line, immediately before the semicolon (;) add:
Code:

, $rcount, $pcount
That should work.

Paul M 06-20-2006 10:45 PM

Thanks Mark.

ubblite 06-21-2006 12:32 AM

Quote:

Originally Posted by Mark.B
In /arcade/functions/functions.php.

Find:
Code:

  function do_output($output_array)
In the list of functions that follows:
Code:

global $header, $vbphrase, $vboptions,
Almost at the end of the long line, immediately before the semicolon (;) add:
Code:

, $rcount, $pcount
That should work.

Thank you so much Mark - that worked perfectly.

Mark.B 06-21-2006 06:35 AM

Quote:

Originally Posted by Gudrune
CPMS problem.

ON the link for new posts under CPMS it doesnt have correct link.


CPMS home page looks like this

http://www.mysite.com/search.php?do=getnew

Under my forums its correct

http://www.mysite.com/forums/search.php?do=getnew


So if people click on new posts on welcome bar from CPMS main page get a 404 error.

Hmmm. I run vBAdvanced and it worked ok on there so this has me a bit baffled.

A rather dirty workaround might be to edit the plugin code. Find this line:
Code:

$pcount = "<a href='search.php?do=getnew'><b>" . $pcount . "</b></a> ".$vbphrase['since_last_visit'];
}

and actually hard code the full URL in like this:
Code:

$pcount = "<a href='http://www.allbuffs.com/forums/search.php?do=getnew'><b>" . $pcount . "</b></a> ".$vbphrase['since_last_visit'];
}

I don't know if that will work as I haven't tried it. Make a text copy of the original plugin code first so you can easily restore it without reinstalling.

I am sure there is a cleaner fix than this though. I think yours fails because your portal is actually at your root domain whereas mine simply redirects from the root domain to /forum/cmps_index.php.


All times are GMT. The time now is 12:39 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.01380 seconds
  • Memory Usage 1,819KB
  • 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
  • (8)bbcode_code_printable
  • (7)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