![]() |
Aaargh ... indeed wrong Thread :D
Corrected my Post. |
Quote:
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. ;) |
Quote:
-b6 |
yea didnt seem to work for me
|
Quote:
|
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 |
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. ;) |
Quote:
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 |
Quote:
|
ok so the hook "forumbit_display" which calls 'HITCounter_merge template' >
Code:
if ($forum['link']) 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 |
Quote:
$linkhits Otherwise how does it know where to put the hit counter? |
Surely it's all in the hook 'forumbit_display' if that detects a forum link (if ($forum['link'])) then fetch + merge the newly installed template (linkhits) - jobs a goodun! (in theory) why this worked for me and does not for you i'll have to look into.
-b6 |
Works 100% for me, just by installing the product. Great work, thanks a lot!
|
Quote:
|
worked great,, only problem i see is..
the redirect hits count towards post count on the board ? Threads: 2, Posts: 688, Members: 3 i tried to turn off post count, but it still shows a post for every redirect.. good work tho so far :) installs |
Yes Loco Macheen, i know...i don't think there's a work around for this without file edits!
-b6 |
This worked fine in RC3 but is not working for me in gold.
|
Quote:
Well what is the code edit so that it does not count as posts? I cant have it counting toward posts :( |
Quote:
And the code edit would need a re-write of this hack, it was the only way to have this as an xml product without the edits. -b6 |
don't work for gold here :(
|
Quote:
Just me though.... |
I re-uploaded the XML overwriting it from when I was using this hack in RC3. It works fine. The counter shows up and is not counting toward post count.
|
great mod b6gm6n & thanks to the people who helped out
|
dont work for me on GOLD :(
|
Excellent! Worked right out of the box!!!
|
So is it going to remain acceptable that it also increase post count when you click on a linked forum?
|
Quote:
I'll think about an alternative, it'll mean adding a some stuff to your db via a query or two. -b6 |
Here is a Version that uses it's own field; if you want to use it just reimport.
It will carry over old counter values. |
Thats Great Kirby, did you have any problems showing the '$vbphrase[redirected_hits]'?
-b6 |
Not on forumdisplay.php, but on index.php due to the fact that Phrasegroup forumdisplay isn't being loaded there.
XML updated. |
nice 1
|
Code:
Fatal error: Field linkhits is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485 |
I tend to always forget those Plugins ...
forumdata_start PHP Code:
|
Quote:
There is nothing for me to edit/change in the forum manager, and no counter shows in the forums. your assistance would be appreciated :) |
There is a problem with this hack. First it counts just fine, but after a while, it changes the view numbers. It think this is only the case when you set your own number. (not the real one)
Too bad...clicks uninstall* for now. |
Quote:
What exactly is the problem you discovered? |
Ok maybe this will explain the problem better:
The number of views will be reset to 0 after you update counters > generate forum information. |
So you actually got a feature request:
Reset linkhits when updating counters. Right? |
No, this is the case now:) I would like it to not do this. (seems to me that this is a bug).
|
Erm ... doesn't happen to me.
Maybe you still got old Plugins/Templates installed? |
All times are GMT. The time now is 02:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|