coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: doppler on March 18, 2010, 11:44:02 AM

Title: BBCode click counter
Post by: doppler on March 18, 2010, 11:44:02 AM
Hi everyone
Any knows possibility to make click counter by BBCode ?

My idea of it:

1. preparing SQL database to collect counting
2. preparing BBcode like

[click=xxx]url_link_or_whatever[/click]

where xxx is number of position in database

each click incrase number of xxx record

would it be not easy prepare something like this ?
Title: Re: BBCode click counter
Post by: Joe Carver on March 18, 2010, 12:42:36 PM
Quote from: doppler on March 18, 2010, 11:44:02 AM
would it be not easy prepare something like this ?

No, in my opinion it would not be easy to do.
Title: Re: BBCode click counter
Post by: Joachim Müller on March 18, 2010, 06:20:32 PM
Use Google analytics (http://www.google.com/analytics/) or similar instead of trying to come up with silly self-made solutions that are way too complicated unless you're an expert (!!!) coder. Respect board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).