1
franciscohm
Re: Port a PHP Application to Xoops

Hi again,

Finally I have been able to port my PHP script into XOOPS by following this:

https://xoops.org/modules/smartfaq/faq.php?faqid=280

Thanks Xoopers!!
Francisco



2
franciscohm
Re: Port a PHP Application to Xoops

Hi again Xoopers,

I have been working on this for the weekend and I am afraid none of your tips work for my case (or at least I was not able to make them work). Thanks againg for your tips

1. My iFrame: It works fine, but not for my case since the layout of the page gets really weird. The application I want to tie to XOOPS is a full-screen one so it is difficult to fit it into a frame.

2. PageWrap Module. I thought it was going to be the good one, but it did not work either. I follow the instructions but when I mixed the PHP it simply does not work. The original PHP application gets interferences from the module.

3. Development Guide. Honestly, I get very confused about so much programming information. I spent some time but had no clue how to begin. I am not an IT expert (but I was able to build up a cool intranet so far thanks to Xoops!)

So let me formulate again what I need just in case anyone knows how to solve it:

Quote:
If I am right (not sure!) what I need is the PHP code lines I should add to an existing PHP page in order to make it visible if the user is logged-in, or to ask the user to log-in the XOOPS portal if it is not yet.


I do not need my PHP page to be aesthetically integrated in Xoops. What I need is a sort of "Xoops logging" for an existing PHP application. The PHP application is now open so that I need to add PHP code to restrict the access and link it to XOOPS logging framework.

Does anybody have a clue of what code should I add??

Thanks



3
franciscohm
Re: Port a PHP Application to Xoops

Thanks very much to EVERYBODY!

I think this is exactly what I was searching. I will explore it this weekend.

Thanks, Thanks, Thanks
Francisco



4
franciscohm
Re: Port a PHP Application to Xoops

Thanks for your tips... Can you please give me more tips where that information could be? Do you have the link?



5
franciscohm
Port a PHP Application to Xoops

Hello all,

I promise I have been browising the forums (and used the search engine) but I could not find what I am looking for.

What I need is a "how-to" guide about porting an existing PHP applicattion into Xoops. What I need is even simpler... I do not need the XOOPS menus to appear etc. I just need that only XOOPS users that have logged-in can access the primary application.

The application I already have does not requiere log-in so the only thing I need is "adding something" that prevents accessing into the applicattion unless you are logged into xoops. I would appreciate also if that "something" includes membership to a XOOPS group (example "Webmasters").

Please let me know

Thanks a lot
Francisco



6
franciscohm
Re: Universal Billing module for XOOPS

Lance_,

Thanks, Thanks, Thanks very much!!!

Your lead is great. It is (apparently) a fantastic script I am gonna use for my start up.

It only costs 40 dollars, and the drinks I am inviting you if you drop by Madrid

Cheers
Francisco



7
franciscohm
Re: Why smarty tags do not work sometimes? SECOND PART

Dear Wizanda and Herko,

Thanks for your help but I think I have to explore further to solve my issue. I thought it would be easier, but it does not seem to be so.

Cheers
Francisco



8
franciscohm
Re: Which module is the best there is for HTML-contents

Yor question is addressed here:

https://xoops.org/modules/smartfaq/faq.php?faqid=253

I have tried CJ-Content and WF-Channel. The later one has an advantadge: you can set permissions of who can see a page or not (by username, group, etc). However, it has a bug when used with XOOPS version 2.0.15. To solve the bug you should change the file class/xoopsform/form.php for that of version 2.0.14

Hope it is useful.

Cheers
Francisco



9
franciscohm
Re: Why smarty tags do not work sometimes? SECOND PART

I understand what you mean. But my problem is that I need the "username" to be displayed as the default caption of a form's field, so the form(s) and the templates are different and (as far as I am concerned) I can not set a field's value using my theme.

Am I wrong?



10
franciscohm
Re: Why smarty tags do not work sometimes? SECOND PART

Hi Herko,

Thanks very much for your piece of advise. That actually helps me to understand what is actually happening with smarty tags and my website.

However I do not have it clear (in practical terms, sorry my knowledge of programming is not very high) how I can solve the issue (which basically is displaying user's name in some personalised pages I have to connect to my XOOPS platform).

Is there any guide I can check?

Francisco

P.D.: For what I understand the underlying issue is how to put the smarty tag before the php code is interpreted.




TopTop
(1) 2 »



Login

Who's Online

131 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits