vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   PHP Custom Code Request! (https://vborg.vbsupport.ru/showthread.php?t=323691)

T.P. 10-23-2016 10:21 PM

PHP Custom Code Request!
 
Hello everybody,

I would gladly in a forum of my choice an automatic response by a system user to spend which contains a blockchain address, this again but is generated by an external PHP file.

How exactly is this possible?

Example :

Thank you for using our Donation System. Please send your donation to:

Code:

External Link : <external link>

T.P. 10-25-2016 02:48 PM

Bump, still need Help. Many Developers here but not only one are able to help me ?=!

MarkFL 10-25-2016 03:14 PM

To be honest, I have no idea what you are wanting. It would help you get a response if you described in more detail exactly what you are after. :)

Dave 10-25-2016 05:05 PM

I don't understand your request either. Either way, it does not sound like a small job which someone will make for you in their free time.

T.P. 10-28-2016 04:09 PM

Simple.

Create a Topic in Forum with ID = 6 and after the user creates the Topic your Account as Admn will auto response with an generated Adress from another PHP file. Thats it.

MarkFL 10-28-2016 04:16 PM

Quote:

Originally Posted by T.P. (Post 2577408)
Simple.

Create a Topic in Forum with ID = 6 and after the user creates the Topic your Account as Admn will auto response with an generated Adress from another PHP file. Thats it.

You wouldn't necessarily need an external .PHP file to do that, it could be done within the plugin system.

Before I begin coding, let's make certain what I have in mind is what you want.

What you would find useful is a product that would allow you to select a forum or forums in which when a new thread is created, a reply to that new thread is auto-generated which will be authored by an account of your choosing, with a message you can define in the settings.

Does this cover everything?

T.P. 10-31-2016 12:02 AM

Yes and it should work with an automated generated blockchain adress of you main account, for that i will ship an example code.

PHP Code:

<?php

$guid 
"MY SECRET GUID WHAT HANDELS AS LOGIN";
$password "MY SECRET PASSWORD";
$label "MY LABEL";

$json_url "http://123.123.123.123:3000/merchant/$guid/new_address?password=$password&label=$label";

$json_data file_get_contents($json_url);

$json_feed json_decode($json_data);

$wallet $json_feed->address;

echo 
"Your wallet has been created : " $wallet "<br><br>" ."Your label is : " $label;

?>

Botem you need an Backendserver for that script.

Documentation : https://blockchain.info/de/api/blockchain_wallet_api If you have an account you do not need an api key, so you have to use your own server as backend nodejs with theyr program. I have done a setup. If you don't have a server you have to use API V2 Key but they wan't send one key to most requests. Rarity to get one key.

So i use the Own Server method.

Another please to youm before you will publish taht plugin, give me time to test and if all is fine, you can make it public.

My Target version is vBulletin 4.2.1 / 4.2.3

MarkFL 10-31-2016 12:30 AM

I will pass on this. I have no interest in working with some third party API, nor do I have any interest in providing code for free and to be given conditions under which I can publish my own code. :)

T.P. 10-31-2016 06:10 AM

You have to use some api, without api it want work, unloess you get a kiey but i will work with 3th api like my code example.

T.P. 11-01-2016 10:07 PM

Bump... Pls users with knowhow and not blablabla...


All times are GMT. The time now is 01:13 PM.

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.01156 seconds
  • Memory Usage 1,738KB
  • 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)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete