Log in

View Full Version : Where do I go to Change link in Control Panel


maryx
02-05-2009, 01:49 PM
Quick links>user control panel>social groups.

What template do I edit to change the social groups link? And where, exactly, in that template?

Because my social groups are in the phpfox side of my integrated site, I need Social Groups to point to a different URL than it does now.

(Yes, I know, I would be better off if social groups and everything else was on the vB side, but it is way to late for that now!)

Also, this page -- http://www.YOURSITE.com/forum/album.php?albumid=5&addgroup=1#page1 (put something else in for YOURSITE) points to social groups also. Where do I go to change the link on this page?

Thanks!!!

Lynne
02-05-2009, 02:29 PM
To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

maryx
02-05-2009, 09:41 PM
To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

I tried this and still couldnt find it. Stupidly, I left this option set to Yes, and exhausted the site memory temporarily. They arent kidding when the notes say dont turn this on in a production environment.

So, still havent found the template; anyone out there know where to look?

Lynne
02-05-2009, 10:11 PM
Well, if you are talking about Quick Links, then that *should* be in your navbar unless you have a custom style and the designer put it somewhere else.

maryx
02-05-2009, 10:31 PM
Well, I found this --

<if condition="$show['socialgroupslink']">

in USERCP_SHELL

so the question is, where do I go to edit the socialgroupslink and make it point to something
else instead of groups.php

Sorry if this is getting tedious, I appreciate your help!

Lynne
02-05-2009, 11:10 PM
Right under that line in the USER_CP, it has a link to group.php$session etc. group.php is the social groups page. I'm guessing you will want to search for group.php in the templates and modify everytime there is a link to group.php?

maryx
02-16-2009, 11:35 PM
So, does that mean that every time i find groups.php I should overwrite that with my social groups page URL?

The whole URL, or part of it?

Lynne
02-16-2009, 11:51 PM
I would test it first. I just did quick search for group.php in the templates and it is in a lot of templates. You may be better off just using Replacement Variables and seeing if you can replace the link that way.