vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need help implamenting an idea. (https://vborg.vbsupport.ru/showthread.php?t=148772)

4x4 Mecca 06-03-2007 02:39 AM

Need help implamenting an idea.
 
I've helped out here where ever I could, so I'm hoping someone knows the answer to this.

Is there a simple way, maybe like the post thanks hack, but modified to do the following.

I have a button/link I want pressed, it votes for my site. It is not illegal to ask for votes, and I will not hide it.

What I would like is a way to track how often someone clicks the link. They can only vote once per day per IP address. So they can vote once from work and once from home.

Is there a way to track which user clicks the link, and add a point to a certain user field.

I'm making this more complicated than it is.

Vote <---- I want a link like that to add 1 point to userfield X when ever it is clicked. It can only add 1 point if it is a unique IP address once per 24 hours. Is that possible?

Dismounted 06-03-2007 03:06 AM

Yes, it is possible. Although you would have to route those links through your site first.

4x4 Mecca 06-03-2007 03:24 AM

Thanks. I'm looking at the code for the post thanks hack now. I don't have any training, I learn as I go.

Anyone else have tips on how to accomplish this?


All times are GMT. The time now is 08:57 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.00988 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete