Closed

Button to update field in Community Builder

This project received 24 bids from talented freelancers with an average bid price of $194 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 USD
Total Bids
24
Project Description

I use joomla 2.5 and i have installed Community Builder Component.

I have a button inside a custom html module like this:





So, when i click on the button, [url removed, login to view] loads.

What i need to do with this button is to add an integer number in the user's community builder field called cb_counter. So, the php code needs to identify the logged-in user's id in community builder and add to his/her cb_counter field +1(integer number). Also, there will be a timer in the script (60 seconds for example) in order not to let the user click the button again to add a number.

I need when the user clicks on the button not to be redirected to [url removed, login to view] or something like this, but just to click on the button and do the action (or just reload the page) or even better, if possible to have an ajax operation, in order when the user clicks on the button the the page doesn't reload at all, the action performs and with ajax operation the field that is shown on the page is automatically updated.

There is a ready php code from community builder of how to update a cb user. The code is here (first is the code for register new user and the to edit the user):

[url removed, login to view]

and in order for this code to work you have to embed this code (from community builder again):
[url removed, login to view]

So, i suppose the hard work will be to add a timer in this function and ajax operation if possible.

Please give me an offer for this and define what's possible and what's not (ajax or not) or maybe another way for the button (not for example)

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online