Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 2 Jahren, 10 Monaten
Letzter Beitrag:
vor 2 Jahren, 10 Monaten
Beteiligte Autoren:
iso, Piet van Zanten, Yogi Yang, Fabrice Harari

Wordpress & WB18

Startbeitrag von iso am 27.04.2015 17:04

Hello

Has anyone any experience of linking a wordpress site with a Webdev site,

I have a wordpress an need to create some additional functionality but im not so great with php so was thinking of trying to link it to a webdev site, anyone done this?

thanks

iso

Antworten:

Re: Wordpress & WB18

Hi

I haven't tried with wordpress, but I did have to work a few years back for a customer who wanted to do the same thing with phpbb...

So, the result of my experience is :
- if you are good in php, you may be able to do it
- otherwise, it's going to be a nightmare if your "linking" is in any way involved...

By the way, that experience was about the time I decided to never again touch php, in webdev or otherwise :-)

Best regards

von Fabrice Harari - am 27.04.2015 17:53

Re: Wordpress & WB18

Hi Iso,

Don't know what you mean by linking, but you can embed a Webdev page (hosted elsewhere) in Wordpress.
I used the method below since there were no plugins available at the time to use an iFrame or other means of embedding content.

Edit the theme:

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #container {
float: left;
margin: 0 0 0 20;
width: 100%;
}
.one-column #content {
margin: 0 0 0 0px;
width: 900px;
}

Then embed your content in a text widget:

<div style=width:176px; height 170px;">
<iframe src="http://www.xxxx.com/XXXX_WEB/US/PAGE_XXXXX?Param=XXXXXXX"</iframe>;
</div>

It may need some tweaking.

Regards,
Piet

von Piet van Zanten - am 27.04.2015 20:14

Re: Wordpress & WB18

hi thanks for you help

yes Fabrice thats my problem im not good in php.

what i mean by linking is when someone logs onto their Wordpress account, i d like to be able to get that persons userid (using PHPExecute) and look it up in a tables i have created to view the stuff i have done. My problem is trying to capture the currently logged on users id, i have found some info on the wordpress support site but cant get it to work.

thanks

iso

von iso - am 27.04.2015 20:26

Re: Wordpress & WB18

ISO,

Can't you call a script from your site which will accept required info from PHP script.

What you can do is modify the log in part of WP to call your script once the user is verified by the WP's log in system.

And the rest your system can do at your end.

Just my two cents.

von Yogi Yang - am 28.04.2015 11:33

Re: Wordpress & WB18

I found a solution to this if anyone needs to know how its done let me know.

Thanks Piet going to try that.

iso

von iso - am 28.04.2015 21:38

Re: Wordpress & WB18

Hi Iso,

I forgot to mention that you need the PageView plugin.

Regards,
Piet

von Piet van Zanten - am 29.04.2015 06:11
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.