The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
MySQL -> MySQL -> Auto Post threads :) - u can do it!..lol
Hello,
Well, if i can explain this right, great! (yes i haev posted this in the MySQL forums on vbulletin.com as well) Here is the idea that i would like to do.: (my post from VB.com)
Now, i was curious, if we are able to get one MySQL to send info to another MySQL database, what PHP hacking could, or would need to be done, in order for VB to realize new info has been accepted into it's Database, and automatically make a new post? Any info, or steps towards this would be kew, or if any pro hackers want a new challenge, this could possible involve $$$ We have 3 guys here who know MySQL, but don't don't vb for crap. All info appreciated! |
#2
|
||||
|
||||
no one have any idea's how this could maybe be done?
|
#3
|
|||
|
|||
You could write a php script that would retrieve the info from the mysql server with the results in it and that same php script could generate a web form(similar to vb's new topic form) already filled in to post the info for you. You would just have to run the script each time you wanted to make a new post with updated results. It shouldn't be too difficult to write at all. Just check out the needed fields in the new topic form for vb and duplicate it with your info in the fields.
|
#4
|
||||
|
||||
If you are allowed to use CRON jobs, you can tie a script there to do what you want. If not you can create your own cron job.
If you (or your developers) know PHP check my Automatic Greetings for user birthdays hack's code and algorithm. It will help you to understand both how to insert a thread to vb db and how to create your own cron job with a PHP script. Its algorithm can be adapted to do what you want. So yes, it's possible.. |
#5
|
||||
|
||||
this is really great idea..
|
#6
|
||||
|
||||
hehe
^^^^ thnx :0 now to get it to wok i know NOTHING about PHP..lol our devs are C++ kind of guys, got 3 guys who knows MySQL well. So, guess i need to start reading up, is there anything specific i should read? Or perhaps a coder who could help with this? and i would assume if it works, i could talk to my boss to perhaps pay for the work... And the CRON job, would need this, as this would need to be something that is purely automated. LIke, i guess the php script would look in the database, mmm every 30mins, and if it see's a new tournament has finished, it will then automaically post it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|