Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: BBCode click counter  (Read 7790 times)

0 Members and 1 Guest are viewing this topic.

doppler

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
BBCode click counter
« 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
Code: [Select]
[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 ?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: BBCode click counter
« Reply #1 on: March 18, 2010, 12:42:36 pm »

would it be not easy prepare something like this ?

No, in my opinion it would not be easy to do.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BBCode click counter
« Reply #2 on: March 18, 2010, 06:20:32 pm »

Use Google 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.