Hello...
As you can see (given the title of this topic), i am very new to IPB. I began learning yesterday so I still dont know much about it. I am familiar with the rest (php, html, js). I am writing a mod in which I use ajax to retrieve data from a php file at a specific interval of time (let's say, every second). The php file retrieves data from a db table and then echoes it so that I can process it with javascript. I want to be able to use the ipsclass object to create and execute db queries. How can I get access to a reference of ipsclass? Is this possible? Do I need to create a class inside my php file?
Forgive my way of explaining myself, as I said before, I am new to IPB and I am also beggining to learn its terminology too. Correct me if I made mistakes.
Thank You
Musa
need help accessing the ipsclass object.
Started by mess, Aug 01 2010 05:36 AM
2 replies to this topic
#1
Posted 01 August 2010 - 05:36 AM
#2
Posted 01 August 2010 - 12:27 PM
I must just ask, if you're new to IP.Board, why are you starting with v2.3? Support for it has officially ended. If you have problems with it, you can only get help trough 3rd party forums like this one.
v3.x is easier to work with from a development standpoint, not only because the improved framework, but because all developers have moved on to the new platform, and thus forgotten how we used to do things in 2.3.
v3.x is easier to work with from a development standpoint, not only because the improved framework, but because all developers have moved on to the new platform, and thus forgotten how we used to do things in 2.3.
My: Modifications · Tutorials · Twitter

#3
Posted 01 August 2010 - 03:50 PM
Hello Martin
I didn't choose the IPB version to work with. I began working with a friend who likes v2.3 more than 3.0. I would also have prefered working with the v3.0. But at this moment i will work with 2.3. Ill promise that I will try to convince my friend to move to 3.0
I am not having problems with v.2.3. Its just that I would like to know a way (because i dont know how to do it) to get a reference (or create a new one) of an ipsclass object in a php file which I call using ajax to retrieve some data at a time interval. I want to use that object to manipulate data from the databases. Whats the correct or standard way to do it?
Thanks, and Best Regards
Musa
I didn't choose the IPB version to work with. I began working with a friend who likes v2.3 more than 3.0. I would also have prefered working with the v3.0. But at this moment i will work with 2.3. Ill promise that I will try to convince my friend to move to 3.0
I am not having problems with v.2.3. Its just that I would like to know a way (because i dont know how to do it) to get a reference (or create a new one) of an ipsclass object in a php file which I call using ajax to retrieve some data at a time interval. I want to use that object to manipulate data from the databases. Whats the correct or standard way to do it?
Thanks, and Best Regards
Musa
Edited by mess, 01 August 2010 - 03:54 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




Contributor










