vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   HITCounter - Link Forum Counter (https://vborg.vbsupport.ru/showthread.php?t=93640)

Andreas 08-13-2005 09:43 AM

Aaargh ... indeed wrong Thread :D
Corrected my Post.

Boofo 08-13-2005 09:53 AM

Quote:

Originally Posted by b6gm6n
Yeah i think so Boofo... ;) - This little Mod should work with all skins without a re-install

-b6

We all have those kinds of days once in a while. ;)

You need to edit the install text file as to where you need to put the code and in what template to make it show up. I figured it out but there will be those that don't. ;)

b6gm6n 08-13-2005 10:58 AM

Quote:

Originally Posted by Boofo
You need to edit the install text file as to where you need to put the code and in what template to make it show up. I figured it out but there will be those that don't. ;)

You mean this doesn't insert the new template 'linkhits' anymore with the installer?

-b6

P.Jackson 08-13-2005 12:42 PM

yea didnt seem to work for me

Boofo 08-13-2005 01:38 PM

Quote:

Originally Posted by b6gm6n
You mean this doesn't insert the new template 'linkhits' anymore with the installer?

-b6

Yes, it inserts it, but how do you call it? ;)

b6gm6n 08-13-2005 01:43 PM

I can confirm that from this distro (zip) supplied in this mod/thread there was no problems with installation, the template installed on all skins successfully from the single xml file.

DEMO : http://www.hardwired.myftp.org/forum/

I would suggest that you un-install the mod, check the for 'linkhits' template (see if it's been removed through un-installtion, remove manually if nessarsary) then re-install via the product import section.

This mod may only work with RC2, but i'm not sure.

-b6

Boofo 08-13-2005 01:48 PM

Ok, I'm gonna bail you out herre since you don't seem to understand what I mean. ;)

You need to add $linkhits in the template to have it show up. ;)

b6gm6n 08-13-2005 01:50 PM

Quote:

Originally Posted by Boofo
Yes, it inserts it, but how do you call it? ;)

Check to see if the mod installed this plugin > HITCounter_merge template
and > HITCounter_cache_template

Now this maybe the strange occurance i've found using IIS, works fine locally, calls correctly etc... but on a remote host setup it fails, but for the life of me i don't know why...

as i said i've just downloaded myself, un-installed the previous, re-installed and it all worked 100% > http://www.hardwired.myftp.org/forum

But on a remote machine i'll have to try some more tests...

-b6

Boofo 08-13-2005 03:25 PM

Quote:

Originally Posted by b6gm6n
Check to see if the mod installed this plugin > HITCounter_merge template
and > HITCounter_cache_template

Now this maybe the strange occurance i've found using IIS, works fine locally, calls correctly etc... but on a remote host setup it fails, but for the life of me i don't know why...

as i said i've just downloaded myself, un-installed the previous, re-installed and it all worked 100% > http://www.hardwired.myftp.org/forum

But on a remote machine i'll have to try some more tests...

-b6

LOL You STILL have to put the variable to call the template in the template you want to call it from. The plug-in only adds the template you are calling, not the variable to call it. ;)

b6gm6n 08-13-2005 04:11 PM

ok so the hook "forumbit_display" which calls 'HITCounter_merge template' >
Code:

if ($forum['link'])
{
        $forum['linkhits'] = $vbulletin->forumcache["$forumid"]['replycount'];
        $forum['replycount'] = '';
        $forum['threadcount'] = '';
        eval('$forum[\'lastpostinfo\']  = "' . fetch_template('linkhits') . '";');
}

isn't working for some? - what about $forum?
I understand what & why your saying what your saying, but surely it wouldnt work for me locally and on my unix server if something was amiss...

I actually don't think it's a bug with this plugin... it's a cache template problem of some kind.

-b6


All times are GMT. The time now is 10:53 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.01108 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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)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