Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 10-23-2016, 10:21 PM
T.P. T.P. is offline
 
Join Date: May 2012
Location: /var/www/html
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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>
  #2  
Old 10-25-2016, 02:48 PM
T.P. T.P. is offline
 
Join Date: May 2012
Location: /var/www/html
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump, still need Help. Many Developers here but not only one are able to help me ?=!
  #3  
Old 10-25-2016, 03:14 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #4  
Old 10-25-2016, 05:05 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #5  
Old 10-28-2016, 04:09 PM
T.P. T.P. is offline
 
Join Date: May 2012
Location: /var/www/html
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #6  
Old 10-28-2016, 04:16 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T.P. View Post
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?
  #7  
Old 10-31-2016, 12:02 AM
T.P. T.P. is offline
 
Join Date: May 2012
Location: /var/www/html
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #8  
Old 10-31-2016, 12:30 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #9  
Old 10-31-2016, 06:10 AM
T.P. T.P. is offline
 
Join Date: May 2012
Location: /var/www/html
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #10  
Old 11-01-2016, 10:07 PM
T.P. T.P. is offline
 
Join Date: May 2012
Location: /var/www/html
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:14 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.04028 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete