We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[code]Turn the Portal into an extension!; Pretty cool!; By IceMetalPunk
Topic Started: Jan 23 2010, 12:48 AM (201 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: IceMetalPunk
[code
 
Turn the Portal into an extension!; Pretty cool!]This code will allow you to change the portal page into a forum-matching webpage. I know it can be done with IFRAMEs, but this is cleaner, and with this you can read forum cookies to, for example, send member IDs to an off-server PHP script (as I am doing for a money/store system).

Step 1: Make a new category that is invisible.

Step 2: Add a forum to that category, and make sure no one can post there.

Step 3: In the IPDynamic-Lite section of the Admin CP, make it take the articles from that new, invisible forum. This makes sure no articles get in the way.

Step 4: Disable everything else in the IPDynamic-Lite section except the Affiliates box (ENABLE that).

Step 5: In the IPDynamic-Lite>>Affiliates box, put this:

Quote:
 
(See Affiliates Marquee At Bottom Of Forums)</form>
</DIV>
</DIV>
</div></tr></table>


Replace the part in red with your affiliates (there is no way to get rid of the first affiliates box). Anything you put after that code in the affiliates box will show up on the page, and there is nothing else in the way. Make your page freely!

-IMP ;) :)

*EDIT* Preview: Portal Page Test Board (Direct Portal Page Link)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply