Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: wrapping it all in
by Cyberock on 2005/7/24 0:48:52

Thank you James. I'll give it a try. I will have to experiment sisnce I'm confussed about where the files need to reside, now that I've used auth.

I think I'll try your method and leave them in their installed directory. Also there's the issue of the name index.php being unusable, and trying to put the code in an html file between tags with auth.

What I really need to do is make a module and get the functionality that way. It's a hosting billing application with some nice features like paypal payment and auto account creation on the server after confirmed payment, plus billing/receiving/ordering support.

Ah well, I mentioned that in case anyone who reads this can offer an alternative application or anything. Thanks again James I'll hook it up tonite, wait and see!
Re: wrapping it all in
by JMorris on 2005/7/23 20:09:12

Either download MyPage content wrapper HERE, or manually wrap the content with the appropriate code below:

Paste at the beginning your file
<?php include("mainfile.php"); include("header.php"); $xoopsOption['show_rblock'] = 1; //0 for no right block ?>

Paste at the end of your file
<?php include("footer.php"); ?>


You will most likely need to change the paths of the included files from relative to static, i.e.:

From
le="color: #000000"><?php include("mainfile.php");

To
le="color: #000000"><?php include("http://yoursite.com/mainfile.php");


Hope this helps.

James
Re: wrapping it all in
by Cyberock on 2005/7/23 18:19:44

I used auth to wrap an html page, and it worked great. I then tried to wrap a php site, and it went south on me. The site I was wrapping is a bug-bear of linear programming, repeated functions, not modularized very well, and excessive code that could have been done in half as many lines of code ...

but it has the functionality I need. Couldn't wrap it tho ... Anyone have any luck wrapping php sites index.php) with auth or any other similar script? I'd appreciate any tips to save me from re-writing the whole site ... ( not )
Re: wrapping it all in
by riomx on 2005/7/20 21:17:15

This module is excellent and allows for wrapping HTML pages to integrate them into Xoops:

https://xoops.org/modules/repository/singlefile.php?cid=94&lid=1554


However, I'm not sure if that means only independent HTML pages (as in one at a time) or a whole site.

I've never tried it, but the link above is a start and you can experiment.

- Joe
Re: wrapping it all in
by Cyberock on 2005/7/20 20:54:14

I am looking for the same information, only I want to wrap an entire site ... I think I saw a FAQ named "Can I include my pages in XOOPS ..." (close to that) and there was a good explanation there that I think will work. Let me know if you find out anything better? Thanks

Who's Online

592 user(s) are online (563 user(s) are browsing Support Forums)


Members: 0


Guests: 592


more...

Donat-O-Meter

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

Latest GitHub Commits