vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Unable to edit buddy list from user CP (https://vborg.vbsupport.ru/showthread.php?t=233542)

Tettinntil 01-19-2010 02:34 PM

Unable to edit buddy list from user CP
 
When using the link to buddy list from User CP, the list of users does not show. I have tried disabling all mods in the Admin CP, but still no success. Can anyone help me fixing the problem?

Lynne 01-19-2010 03:19 PM

Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?

Tettinntil 01-19-2010 03:29 PM

Yes.

--------------- Added [DATE]1263922694[/DATE] at [TIME]1263922694[/TIME] ---------------

I am not very experienced, so bare with me... The url I am trying to use is http://www.your-forum.com/profile.php?do=editlist (maybe not called buddy list?)

Just installed the "canned replies" add-on. The option to make new canned replies did not either show in user CP, so I tried the url http://www.your-forum.com/cannedreplies.php - and that worked. My whole user CP also changed, and some new links showed. Among these "buddy list" link.

Hence, as I can see it I have two problems:
The link http://www.your-forum.com/profile.php?do=editlist does not work
The options to edit buddy list and canned replies do not show in user CP.

Lynne 01-19-2010 04:35 PM

What version are you using? On my 3.8 site, the url would be profile.php?do=buddylist, not do=editlist.

Tettinntil 01-19-2010 05:18 PM

3.8.2.

So - the link to editlist is apparently something from an older version and should be buddylist?

Lynne 01-19-2010 06:06 PM

Yes. Like here, on 3.6.12, it is editlist, but on 3.8, it is buddylist. I think it may have changed in 3.7 when they added Friends Lists.

Tettinntil 01-19-2010 06:07 PM

Thanks, Lynne. But - how do I edit this? :o

Lynne 01-19-2010 06:11 PM

You would edit whatever template it is in.

To find the template to modify, do this - 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.)

Tettinntil 01-19-2010 06:49 PM

Used search templates and found it in the GTPM_USERCP_SHELL. It works! http://tettinntil.no/forumet/images/smilies/dan.gif Thanks!!!

By the way - can I ask 2 more questions?

how do I add new links to the user CP when the add-on I reffered to above did not?
how do I translate text in user CP (tried language & phrases, but did not succeed)?

Lynne 01-19-2010 07:09 PM

I don't have that template, so I don't know if their are template hooks or not in there. I would guess you can just add more links directly into the template though. As for translating, if it's a phrase, then that is done in the Phrase Manager. I'm not sure why that isn't working for you.

Tettinntil 01-19-2010 08:01 PM

Quote:

Originally Posted by Lynne (Post 1960496)
I don't have that template, so I don't know if their are template hooks or not in there. I would guess you can just add more links directly into the template though.

The template is not describing the full User CP. I cannot find where the last links in the CP are defined...

Lynne 01-19-2010 09:37 PM

Quote:

Originally Posted by Tettinntil (Post 1960547)
The template is not describing the full User CP. I cannot find where the last links in the CP are defined...

Did you use the method I posted about to find the template? There should be something in the template that defines the links. It could just be a variable in which case just do a search in your vb php pages for that variables to find where they are defined.

Tettinntil 01-20-2010 02:43 PM

Yes, I found the upper part of the CP and added two links. But the last part is "Blog" and "My smilies", which are not part of the same template. I just can't figure out where these are defined... But working on it!

Lynne 01-20-2010 03:10 PM

Since Blogs and My smilies are not default vbulletin, then I would guess they are done by a plugin. So, you'll need to find the plugin, which may lead to a template, and modify it there.

Tettinntil 01-20-2010 05:59 PM

Yes, found it in the mysmilies plugin. But I have no idea of how to add a link inside a plugin, so I think I'll leave it there for now. Thanks again, Lynne! http://tettinntil.no/forumet/images/smilies/12.gif


All times are GMT. The time now is 02:39 PM.

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.03358 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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