Simple text hit counter

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
spyka
Registered User
Posts: 76
Joined: Fri Jul 13, 2007 6:16 pm

Re: Simple text hit counter

Post by spyka »

Thanks for the feedback guys :)

This mod simply counts pageviews, nothing else. I'm not going to be changing it either as it is only meant to be a simple port of my PHP text hit counter.
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: Simple text hit counter

Post by Sunka »

Looking good...
I will install
neil180
Registered User
Posts: 24
Joined: Sun Mar 16, 2008 9:11 am

Re: Simple text hit counter

Post by neil180 »

Hi

Will this mod work with subsilver???

Can I add it to the stats - which files do I have to edit?
spudevo
Registered User
Posts: 81
Joined: Fri Jun 17, 2005 5:31 pm

Re: Simple text hit counter

Post by spudevo »

ok i have added this mod and all works except for it wont sit next to the rest of the statstics, it sits right at the bottom on my footer..

here is what is inside my footer if some cone could show me where to add the code

Code: Select all

	<!-- IF U_ACP --><br /><div class="acp">
	[ <a href="{U_ACP}">{L_ACP}</a> ]
	</div><br /><!-- ENDIF -->
	<br clear="all" />

in that where would i add

Code: Select all

<br />{HITS} {L_VIEWS}
User avatar
mitthoo
Registered User
Posts: 253
Joined: Tue Oct 03, 2006 12:34 pm

Re: Simple text hit counter

Post by mitthoo »

I think you should look at the 2nd page..
spudevo
Registered User
Posts: 81
Joined: Fri Jun 17, 2005 5:31 pm

Re: Simple text hit counter

Post by spudevo »

yea read the 2nd page..

Im not useing a prosilver style mines based around subsilver.

I can add the code but when i do it addes it not on the statistics bar but else where
billthom9
Registered User
Posts: 1
Joined: Sun Nov 02, 2008 5:38 am

Re: Simple text hit counter

Post by billthom9 »

Just what I needed.

THANKS!

Bill Thomson
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Simple text hit counter

Post by iftitaj »

spudevo wrote:yea read the 2nd page..

Im not useing a prosilver style mines based around subsilver.

I can add the code but when i do it addes it not on the statistics bar but else where
Post your style's index_body.html code (extract of statistics part) .... I might help you.
User avatar
Ahri89
Registered User
Posts: 524
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Simple text hit counter

Post by Ahri89 »

Thanks, i added this in the forum statistics :D
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD
spudevo
Registered User
Posts: 81
Joined: Fri Jun 17, 2005 5:31 pm

Re: Simple text hit counter

Post by spudevo »

iftitaj wrote:
spudevo wrote:yea read the 2nd page..

Im not useing a prosilver style mines based around subsilver.

I can add the code but when i do it addes it not on the statistics bar but else where
Post your style's index_body.html code (extract of statistics part) .... I might help you.

here is the info u needed i think
<td class="row1" width="100%">
<span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span>
<!-- IF S_DISPLAY_ONLINE_LIST --><!-- IF LEGEND --><br /><b class="gensmall">{L_LEGEND} :: {LEGEND}</b><br /><br /><!-- ENDIF --><!-- ENDIF -->
<p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p>
</td>
</tr>
</table>
spudevo
Registered User
Posts: 81
Joined: Fri Jun 17, 2005 5:31 pm

Re: Simple text hit counter

Post by spudevo »

Thank you works a treat iftitaj
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Simple text hit counter

Post by iftitaj »

spudevo wrote:Thank you works a treat iftitaj
no problem. :P
plz mention your style's name so other users can apply the following modification.

For other users of twilightBB, apply this:
OPEN:

Code: Select all

root/styles/[xxxx]/templates/index_body.html
FIND:

Code: Select all

<p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p>
REPLACE-WITH:

Code: Select all

<p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {HITS} {L_VIEWS} | {NEWEST_USER}</p>
Last edited by iftitaj on Tue Nov 18, 2008 6:52 am, edited 1 time in total.
spudevo
Registered User
Posts: 81
Joined: Fri Jun 17, 2005 5:31 pm

Re: Simple text hit counter

Post by spudevo »

My template is twilightBB
PhotoShoot7494
Registered User
Posts: 7
Joined: Thu Jul 17, 2008 4:02 pm

Re: Simple text hit counter

Post by PhotoShoot7494 »

I can't access the Forum Files, I can only edit my website (http://photography.forumup.com) through the internet.

Will I still be able to add the hit counter?
defeedme
Registered User
Posts: 6
Joined: Thu Nov 20, 2008 7:26 pm

Re: Simple text hit counter

Post by defeedme »

it does not appear that "statcounter" is an actual phpbb mod - it is a separate widget that has to be custom programmed into phpbb... it's hard to believe it's soo complicated to change the visits to unique visits with a simple mod... will keep looking...
Locked

Return to “[3.0.x] MOD Database Releases”