rafa1
Forum Replies Created
-
Forum: Plugins
In reply to: Cubepoints-Have registered user give themselves pointsClose this thread.
Forum: Plugins
In reply to: modification to paypal integration on CubepointsChange of directions. I’m customizing this ‘questions4points’ module. Will be a ton easier.
https://cubepoints.com/forums/topic/answer-question-for-points-module/#post-2520
Hmm…somehow close this thread.
Forum: Plugins
In reply to: Cubepoints-Have registered user give themselves pointsOk, change of directions. It’s taking too long to learn what everything means. I found this more digestable.
https://cubepoints.com/forums/topic/answer-question-for-points-module/
‘Slypider’ made a module for getting answers to questions correct. I’m modifying this code, and makeing each point a different answer.
Forum: Plugins
In reply to: Cubepoints-Have registered user give themselves pointsI originally wanted something where the user could type in a number, submit it and have that appear as their points. Ex. if we were racing to see who would finish Huck Fin first, we could type in what page we are on. Using cubepoints would make the scoreboard much easier to make.
I reasoned since I don’t code very well, that I could do just that by using the paypal code, modifying it to skip that part, and before adding the points subtract something like 1000 points to set it at zero.
Forum: Plugins
In reply to: Cubepoints-Have registered user give themselves pointsOk, you can ignore the two above. I ended up activating the paypal integration so that users can “purchase points”. I’m looking at that code right now. I don’t know PHP, so it’s getting difficult figuring out how to modify the script. I’m not sure what I’m doing here, but I’m almost sure this is the easiest way to do it…I just have to figure what everything means.
Forum: Plugins
In reply to: Cubepoints-Have registered user give themselves pointsOk, you can ignore the two above. I ended up activating the paypal integration so that users can “purchase points”. I’m looking at that code right now. I don’t know PHP, so it’s getting difficult figuring out how to modify the script. I’m not sure what I’m doing here, but I’m almost sure this is the easiest way to do it…I just have to figure what everything means.
Forum: Plugins
In reply to: modification to paypal integration on Cubepointsok, ipm is instant payment notification. That’s through paypal
Forum: Plugins
In reply to: modification to paypal integration on CubepointsI think this is important. It’s part of the code above. btw, the code above is all of the plugin code minus the country currency options. the second part is what was after the first
function cp_module_paypal_ipn(){ if($_GET['cp_module_paypal_ipn']!=''){ // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } if(get_option('cp_module_paypal_sandbox')){ $loc = 'ssl://www.sandbox.paypal.com'; } else{ $loc = 'ssl://www.paypal.com'; }
Anyone know what ‘ipm’, ‘cmd’, or anything with the ‘$’ means? I think those are the most important parts.
Forum: Plugins
In reply to: modification to paypal integration on CubepointsOk, I’m making progress. I’m looking at code on the plugin file. I’m looking through the PHP. I skipped all the parts I saw were unimportant. Here is the code. i’m stuck. perhaps someone here can point out what needs to be changed.
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Dummy WordPress SiteIf you meant offline, you can use XAMP and play around with it on your computer.
If you already bought server space and the domain you can put up the “Maintenance Mode” plugin so that only you can see it. Also, if you already have the domain you can install it on something.yourdomain.com, and then uncheck the google searcheable in settings>privacy.
Forum: Fixing WordPress
In reply to: center title of static page, simple questionit didn’t work. i remember though changing the words justify on another theme to center and that worked. a little difficult to guess and test on a theme this large