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)

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 04:07 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.01687 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_quote_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