| This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy. Visit the NEW ZetaBoards Support forum! |
- Pages:
- 1
- 2
| For Developers: Load Profile posts; Faster then ajax (PHP) | |
|---|---|
| Topic Started: Feb 18 2008, 07:55 PM (1,309 Views) | |
| DynamicIP | Feb 18 2008, 07:55 PM Post #1 |
|
I'm known as Nor
![]() ![]() ![]() ![]()
|
How you would use this is:
You could automate this for logged in users for your scripts.
Requirements: Server PHP5 PHP5 DomDocument ![]() Preview: http://s1.zetaboards.com/TheInfernoSinX/index/ (Click on the link Above the header) My server may be slow today doing server upgrades(still fast though), but if you want you could use this url for your own usage:
PHP Used in example
Very easy automate for shop codes and what not ;)... (I own my hosting so be happy I share with you ;)) I love PHP5 more everyday :P.. For 100% accuracy:
Edited by DynamicIP, Feb 20 2008, 05:38 PM.
|
![]() |
|
| RyuraGS | Feb 18 2008, 07:57 PM Post #2 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
Haha nice one. I was actually just developing something similar to this for modBase
|
![]() |
|
| DynamicIP | Feb 18 2008, 07:58 PM Post #3 |
|
I'm known as Nor
![]() ![]() ![]() ![]()
|
Thanks ;).. I was going to use ajax then I'm like PHP DOM ftw hehe, working on this marketplace script for some site opening next week. |
![]() |
|
| thelegend1987 | Feb 18 2008, 10:59 PM Post #4 |
|
Member
![]() ![]() ![]()
|
Nevermind. It was another code we were both running that was slowing everything to a crawl.
Edited by thelegend1987, Feb 18 2008, 11:26 PM.
|
![]() |
|
| Phlip (S) | Feb 19 2008, 12:57 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
A bit pointless. There's too many codes, too.
|
![]() |
|
| DynamicIP | Feb 19 2008, 01:08 PM Post #6 |
|
I'm known as Nor
![]() ![]() ![]() ![]()
|
If you don't program yeah its pointless to you, please don't spam if you don't code or have a clue about what this does.. |
![]() |
|
| Viral | Feb 19 2008, 04:58 PM Post #7 |
|
i'm stanley nao
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Wow, very nice. Read it through a couple of times and think I understand it. 1. Load the profile page. 2. Loop through the dds to find the Post count one 3. Return it. ?? Nice code, Viral . |
![]() |
|
| DynamicIP | Feb 20 2008, 11:06 AM Post #8 |
|
I'm known as Nor
![]() ![]() ![]() ![]()
|
There will be problems if you have HTML in javascript tags (E.G:: you want to add a new table or something) so basically javascript src='' to display addons for your mods will make the script run perfectly. |
![]() |
|
| Dennis | Feb 20 2008, 11:29 AM Post #9 |
|
Member Extraordinaire
![]()
|
You should loop through all the profile elements and return them all in an array. That would make this far more useful. Nice work so far, though.
|
![]() |
|
| DynamicIP | Feb 20 2008, 12:00 PM Post #10 |
|
I'm known as Nor
![]() ![]() ![]() ![]()
|
Yeah maybe, if I get time. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · User Created Codes · Next Topic » |
- Pages:
- 1
- 2




![]](http://209.85.62.24/static/1/pip_r.png)





There's too many codes, too.

10:14 AM Dec 8