-
Content Count
133 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Pete_UK
-
-
...
If it would return a text containing "-1" or "unable to connect" from the function itself would that be enough?
true if connection is successful
false if not
Because if it returns true when it's successful we could directly do:
if($plugin function("Communication.dll", "$send request", "192.99.44.22", 8080, "xxx", "aaa")) {
then {
alert("working")
}
else {
alert("not working")
}
}
If you return a different text, we would have to work with the comparison function. Which would make the code a bit more complicated.
Thanks
Dan
I think returning a specific text string like '-1' or "unable to connect" would be best because a true/false would conflict with the existing structure of the function. It currently return what ever the server send back - if I understand it right.
-
Is there a way to test if a server is running so I can display an alert if not, instead of getting the 'Unable to connect to remote server' message?
-
-
Couple of ideas I had in mind:
1. Support for MySQL to load / save data.
2. Additional defines commands to save data continuously (add instead of replace). And then a define to load everything and loop through the data.
So instead of settings as it's now, the bot could also create code for ongoing data storage. Like URLs, or scraped data.
3. Defines to load / save lists and tables.
4. Support for large data plugin in addition to normal lists and tables.
But that will depend on user feedback and requests.
Cheers
Dan
Awesome share Dan and great ideas.
Support for MySql would be great. I often use MySql in 2 ways...
- Create a new MySQL table from a ubot table and then append the contents of the table. Caters for dropping the table first.
- If the table already exists, then append the table records to the MySQL table.
I guess it could expand to Drop Table, Empty Table etc..
When running my scrapers I've got into the habit of saving data to a file regularly (append) same as mentioned in option 2. So a +1 for that
Large Data plugin .... it's now a staple part of my Ubot Diet but as with all plugins not as nice to debug... you just can't see the contents so, how about:
- Code to either dump large-list/table out to a file for when debugging OR
- Code to transfer large-list/table to temporary ubot-list/table - then destroy.
- Or just... Convert ubot-list/table to Large-List/Table
Will think of some more..
-
Great news Nick.
I do find it a little difficult at the moment to really pinpoint what code I should change for my own use.
Can you record a video or simple instructions to show an example of how someone would take the code and change it for their own use case. Just something simple like:
- Here is the base code...
- Now let change it for this scenario ...
- Crawl site ABC looking for pages containing ZYX.
- Save the URLS and scrape ZYX from the page.
Thanks,
Pete
- 1
-
-
Hi Meter,
Is it possible to forward the Paypal IPN onto another url endpoint such as aweber/mailchimp? If so, can you give some pointers?
Alternatively I could get paypal to send the IPN to a php script which could then forward onto ubotlocker & any other service I want. Will ubotlocker accept ipn's this way? ... any issueseo you see in the logic or ubotlocker?
-
Yes you can scrape and do all the other things you would do in ubot. You would have to use our commands, we did implement all available ubot commands to go with the update. So it won't only be a easy to step into but the names and parameters of the commands also match. You can run javascript in the browser, proxies, (dis)allow css, (dis)allow javascript and all other options.
Please check this video below, i think it would be more clear to see it in action.
WELL BLOW ME!
That's awesome!
-
so, does this me we can do the following?
- Scrape from chrome/firefox etc...
- Control the browser using UBOT commands?
-
So today i wanna show a little sneak peak of what's comming in the new Communication Plugin update. We have added the functionality to communicate with browsers. Yes browsers! Modern browsers have the ability to receive commands what it should do internaly by another process. So we thought, we did make a communication plugin, so... why not even make it more awesome then it already is by introducing the ability to directly communicate with installed browsers! I know, we are excited aswell.
We thought we need to keep it simple and understandable. So it's not to steep to learn and people can get started right away. All Browser commands/functions are included from "change attribute" to "$url" the whole Ubot browser ABC.
All browser are isolated, wich means that they all operate seperate from each other and don't know they excist just as your used in Ubot.
The only thing we did a little bit different is that the new command "Browser Communication Container" starts the browser at the beginning of the command and closes it when all child commands/nodes are done running. In the image below it would start firefox, navigate to bing.com and then it would close the browser when all child commands/nodes have finished.
http://i.imgur.com/TjLsBSS.png?1
As an extra i added a video showing the code in action at the bottom of this page.
I hope you guy's like the upcoming update and maybe have a few suggestions, feedback is always welcome!
Looks cool, but what is the benefit of this? Any use cases?
Are we able to use it to scrape data from within the external browser?
What command can we use to control the external browser?
-
Hi Meter,
I've setup Paypal as per instructions and the issuing of licenses works fine, but on testing refunds of 1-time purchase and subscription cancellations I see the license keys remain active for the users. Isn't the system suppose to deactivate the user license? Is there something special I have to do to get this working?
Also, is it possible to log the transaction amount in the Paypal Log?
Pete
- 1
-
Can UbotLocker do this? .......
I want to give the buyer access to a bot for 48 hours only. Scenario is...
BUY (payapl / jvzoo etc..)
Issue license automatically
User uses the bot for 48 hours
License is automatically deactivated after 48 hours
How can I do this?
-
Not received an update email either. Can you send one out Aymen?
-
Nick, did you manage to do a new video covering the new version of the code?
-
downloaded as details.csv for me.
Here is how the data looks in a simple CSV viewer (http://www.csvviewer.com - I use this all the time)...
You have line-breaks in your data so excel thinks every line break is a new record. I think!
-
-
The Input Element for FILE seems to be screwing up for me.
When I choose the Dialog Type drop down and select SAVE, it always shows the OPEN dialog box when testing and exporting and testing in ubot.
Is this a bug?
UPDATE: Manual edited the code and it's okay
-
Not to worry. Figured it out. For anyone else you could try this...
Edit the html as follows:
.. .. <body> <div style="position: absolute; left: 50%;"> <div style="position: relative; left: -50%; border: 1px solid rgba(238,238,238, 0.8);"> .. put the rest of the SSUB generated BODY code in here .. </div> </div> </body>
Note I added the "border: 1px solid rgba(238,238,238, 0.8);" just to see the outline of my interface. You can remove that bit.
Hope it helps someone.
- 1
-
Carl,
is there a way to CENTER the UI in the middle of the HTML UI?
Thanks
Dan
Dan/Carl/Anyone,
Is there an easy way to center the whole interface ?
-
-
When you type your date press the quote button " to indicate it is a string of text.
-
After clicking the dialog you are linking the button to make sure to click the page you want the button added to. Try doing that before clicking the "Add Button".
Video: https://www.screenr.com/dmqN
That did the trick Gogetta. I had the Tabs/Page toggled-off. Thanks for the assist. Much appreciated.
- 1
-
I just updated to v7.4 today and the Dialogue Button Element is no longer working. It brings up the dialogue box to create the button but when I select the ADD BUTTON nothing is added.
-
Hey Nick,
Just started looking at this today and have an issue showing up. See this vid for details...
http://screencast.com/t/rttTtSoLt
The explanation video is very detailed making the code easy to understand. This bot will save me a ton of time.
Some additions to include...
- Build in the functionality to allow relative path pages to be scraped. EG. ../page1.html
- I didn't spot this in the code but... add the ability to skip/filter urls that point to an anchor on a page. EG. ../product1.html#picture1 or http://example/page1.html#picture1
Thanks,
Pete
[Sell] - Ubot Comminication Plugin - Browser Control (Pro) Use Chrome / Ff Etc - Run Code On / Control External Bots, Web Server Control (Pro) + More
in Plugins
Posted
Another nice addition would be to return a similar message if the connection to the server is lost after connection.