Support Forum
Thanks for the fast response.
When the WP Page where SP is installed is called there is a very very short delay and a "flicker" which looked to me like an iFrame being refreshed.
As you know I am looking for a PHP programmer who knows how SP works so I can develop a way to input JSON data into the database.
A question one of the candidates had was "is there a hook in the WP page where SP is being called. This led me to take a look at the WP Page and I did not see a [shortcode] of any kind either on either the Visual or Text tabs on the Page.
As you know I cannot directly call the code snippet you sent and we were looking for a "point of entry". Sorry if this seems naive of me to you, but I am not a highly skilled PHP guy. Java has been my bag!
Best Regards
kenjw
I understand. No - no short codes, no iframes. Just the WordPress rewrite rule magic and anyone tackling your coding should not need to be bothered with this.
The first thing to consider is where you are going to locate the code file(s) you guys write. The ideal would be as an SP plugin - and we could provide a base framework for this to happen but alas no documentation at this stage. But the location and method of calling your code is important as it has, of course, to include certain SP php files. The way to do this within the front-end scope is to call the function:
sp_forum_api_support()
which will ensure what you need gets loaded. If it doesn't it will at least load enough to enable easy inclusion of any other files. If you will instead be calling your code from the admin side of WP then you will need to call:
spa_admin_ahah_support()
instead.
YELLOW
SWORDFISH
|
The "View Raw Code" button did not show any code. Where can I locate these 2 files please.
Also can I take you up on the offer in the phrase "The first thing to consider is where you are going to locate the code file(s) you guys write. The ideal would be as an SP plugin – and we could provide a base framework for this to happen". I appreciate its undocumented, but having this "base framework" may help me to find the right PHP developer.
Thanks
kenjw
The 'raw code' just shows the code in an easy to copy fashion. That was it. These are just two functions that can be called. As it says, one of these is always available from either the front or back end. Juyst call the function from whatever code you are running. If bundled in an SP plugin then it depends a little on where and how you will call your own code.
I will talk to Steve (Mr Papa) about the framework as he 'owns' that and keeps it up to date.
YELLOW
SWORDFISH
|
I have no issue sharing my framework... but its fairly barebones - just contains the base files and functions that go into every plugin I have written... the names will all have to be changed for any new plugin and then the specific plugin stuff added... but no issue sharing...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)