How to change the forum link on header?

alt=
@serin
11 years ago
38 posts
I use mediaProLight

So the forum on the header.tpl is by default the Master Admin's forum. How can I change it so I can put the forum from the ID user that I want?

                {if isset($_conf.jrMediaProLight_admin_profile_url) && strlen($_conf.jrMediaProLight_admin_profile_url) > 0}
                    {assign var="site_profile_url" value=$_conf.jrMediaProLight_admin_profile_url}
                    {jrCore_module_url module="jrForum" assign="furl"}
                    {assign var="check_forum_url" value="/`$site_profile_url`/`$furl`"}
                    {jrCore_module_url module="jrDocs" assign="durl"}
                    {assign var="check_doc_url" value="/`$site_profile_url`/`$durl`"}
                {/if}
                {if jrCore_module_is_active('jrForum') && isset($site_profile_url)}
                    {jrCore_lang module="jrForum" id="36" default="Forum"}
                {/if}

updated by @serin: 01/22/14 01:17:06PM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
It looks like you would need to remove the check for the config admin profile and change the value for the site_profile_url.

Try something like this:

                    {assign var="site_profile_url" value="my_profile_url"}
                    {jrCore_module_url module="jrForum" assign="furl"}
                    {assign var="check_forum_url" value="/`$site_profile_url`/`$furl`"}
                    {jrCore_module_url module="jrDocs" assign="durl"}
                    {assign var="check_doc_url" value="/`$site_profile_url`/`$durl`"}

                {if jrCore_module_is_active('jrForum') && isset($site_profile_url)}
                    {jrCore_lang module="jrForum" id="36" default="Forum"}
                {/if}



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 12/22/13 05:12:00AM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
The forum doesnt seem to be updating properly:

                    {assign var="site_profile_url" value="my_profile_url"}
                    {jrCore_module_url module="jrForum" assign="furl"}
                    {assign var="check_forum_url" value="/`$site_profile_url`/`$furl`"}
                    {jrCore_module_url module="jrDocs" assign="durl"}
                    {assign var="check_doc_url" value="/`$site_profile_url`/`$durl`"}

                {if jrCore_module_is_active( 'jrForum' ) && isset($site_profile_url)}
                    {jrCore_lang module="jrForum" id="36" default="Forum"}
                {/if}
Oh, its the bloody smilies


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 12/22/13 05:18:31AM
douglas
@douglas
11 years ago
2,790 posts
I'll have a fix for this in the next release of MediaPro.

It will be setup so you can choose any profile for the forum link as well as any profile for the doc/faq link.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
douglas
@douglas
11 years ago
2,790 posts
I've got the fix in the Marketplace, you'll want to upgrade to that, then in your skin settings, you can set any profile for the forum link as well as the document link.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
alt=
@serin
11 years ago
38 posts
thank you :)

Tags