vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Where do I go to Change link in Control Panel (https://vborg.vbsupport.ru/showthread.php?t=204333)

maryx 02-05-2009 01:49 PM

Where do I go to Change link in Control Panel
 
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....dgroup=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

Quote:

Originally Posted by Lynne (Post 1735205)
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.


All times are GMT. The time now is 09:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00968 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete