Jump to content

Code Suggestion

Featured Replies

Posted

File: /sources/ipsclass.php
Function: make_profile_link($name, $id="")

Add in an parameter called $tab. This is more for the use of personal profile is enabled. $tab will add in "tab={$tab}" in the link.

Aye, that makes sense. :)

Not sure I understand, is the goal of that to force the link that function creates to open with a specific tab opened?

Guess So....

Basically yes, Michael. I was about to use this but I didn't beacuse it doesn't force the tab for a mod I am making.

if i'm understanding this right then its already done the in profile_portal.js file. Its parses the tab link off the tab name and some various other things.

He meant to add $tab varible to the profile_link function so if there would be a tab input like: showuser=1&tab=posts then it would redirect to the posts tab by default.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.