IPB SDK 1.6.0 Beta 5
By: Pita
IPB SDK 1.6.0 Beta 5, User Contributed Files |
|
|||||||||||||||||||||||||||||||||||||||||||
| July 16 2007, 08:39 PM | |
|---|---|
| by shakrandhes |
mysql_query(); is a php function
$SDK->DB->query(); is a self declared IPB function. You should use $SDK->DB->query(); and use as table prefix ibf_ because IPB will replace this with you real prefix (or with nothing if you have no prefix). this will make your code more compatible. |
| July 16 2007, 08:21 PM | |
| by y2k4ever |
My pagination requires me to use this line but I don't know how to incorporated
$total = mysql_result($result, 0, 0); That will work with PHP4 and not work with PHP5. That was the reason why I asked the compatible question in previous post. In PHP4 I can call a query like this $result = mysql_query("select"); but in PHP5 I have to call a query like this $result = $SDK->DB->query("select"); Other wise I will run into many error messages |
| July 16 2007, 08:17 PM | |
| by shakrandhes |
sdk query should work. look at /board/cache/ to see mysql error logs - maybe you have an error in your query.
|
| July 16 2007, 07:43 PM | |
| by y2k4ever |
QUOTE(shakrandhes @ Jul 15 2007, 03:35 PM) <{POST_SNAPBACK}> it should be really compatible with PHP5, did you have any problems? oops nevermind. I got it to work Did someone actually built a pagination out of this system using the SDK query? I tried but failed miserably |
| July 15 2007, 07:35 PM | |
| by shakrandhes |
it should be really compatible with PHP5, did you have any problems?
|
| July 15 2007, 06:15 PM | |
| by y2k4ever |
I don't think this php 5 compatible if someone has used this on php 5 and it worked please let me know
|
| July 9 2007, 09:24 PM | |
| by The Ultimate Life Form |
Whether it works or not, there are still some things that aren't fixed and other functions that don't exist at all. Since Pita's leave, I think that the IPBWI has been very helpful in updating the functions. Plus that, we never know when another problem will come up with future releases.
|
| July 9 2007, 10:21 AM | |
| by shakrandhes |
Thats true, IPBWI uses this fix - but it has much more improvements and bugfixes - see changelog. At the beginning I documented the exactly changed code, so you can use it to patch your file manually. Since IPBWI 1.7.1c I decided to stop documenting the changes detailed for future because of the high effort.
|
| July 9 2007, 03:12 AM | |
| by Darth Unrivaled |
I just like to point out that there was a fix for SDK back when it was like 2.2.1 or something and everything I use (which is generally what is common) works 100% fine. I'm using SDK 1.6.0 RC 1 @version 1.7.0 Beta 1 (23/07/2006) with IPB 2.2.2 and it works 100%. I don't see a need for IPBWI.
|
| June 26 2007, 11:01 PM | |
| by oluigi |
okay, thank you for all the answers!
|