vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - vMoods aka Mood Manager (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=233336)

fookaa 06-10-2012 09:42 AM

All i can suss out atm is that you can add this {vb:raw vmoods_list} to say teh header template and it displays the moods menu but not where you want it to be...

I been messing around with the new navigation manager in 4.2.0 but cant seem to get it to work grrrr

fookaa 06-10-2012 10:06 AM

Quote:

Originally Posted by fookaa (Post 2338358)
All i can suss out atm is that you can add this {vb:raw vmoods_list} to say teh header template and it displays the moods menu but not where you want it to be...

I been messing around with the new navigation manager in 4.2.0 but cant seem to get it to work grrrr

Ah ha :D

I added

{vb:raw vmoods_list}

In the navbar template below the part about notifications and it kinda fits on my theme, i guess just play around and try it out in different places ....

NSForumGuru 06-10-2012 03:08 PM

Quote:

Originally Posted by fookaa (Post 2338362)
Ah ha :D

I added

{vb:raw vmoods_list}

In the navbar template below the part about notifications and it kinda fits on my theme, i guess just play around and try it out in different places ....


Unfortunately your description of your fix isn't particularly helpful...

perhaps you should post the explicit template name, and where explicitly you added the line:

{vb:raw vmoods_list}

Thanks.

Thunderbird8 06-11-2012 11:58 AM

1 Attachment(s)
Quote:

Originally Posted by NSForumGuru (Post 2338470)
Unfortunately your description of your fix isn't particularly helpful...

perhaps you should post the explicit template name, and where explicitly you added the line:

{vb:raw vmoods_list}

Thanks.

The explicit template name is navbar. You can also stick it in the header template if you like.

However, in order for that to actually work, you will need to turn off the Auto Edit Navbar Template option, otherwise it will attempt to stick the list into the nonexistent navbar_end template hook.

Or, to make it easy, I modified the plugin controlling that to point it to the navtab_end template hook instead, and attached the XML for said plugin. It's in a slightly different spot than it used to be though.

New Joe 06-11-2012 01:49 PM

How do I remove that PlugIn?
I just installed it but it added a Tab instead of a link under the Tabs.

But now I can't find it in my Plug In manager to take it out.

Thunderbird8 06-11-2012 09:23 PM

If you turn off the Auto Edit Navbar Template in the vMoods options, it'll go away and you can place {vb:raw vmoods_list} anywhere in the navbar or header template you wish, though I don't think it's possible to stick the list in the place it used to be under this way.

Megaboost 06-12-2012 11:39 AM

Quote:

Originally Posted by Thunderbird8 (Post 2338707)
The explicit template name is navbar. You can also stick it in the header template if you like.

However, in order for that to actually work, you will need to turn off the Auto Edit Navbar Template option, otherwise it will attempt to stick the list into the nonexistent navbar_end template hook.

Or, to make it easy, I modified the plugin controlling that to point it to the navtab_end template hook instead, and attached the XML for said plugin. It's in a slightly different spot than it used to be though.

Its working for me now. All I did was upload the .xml above in the Plugins & Products of AdminCP and it was spot on. Thanks Thunderbird.

New Joe 06-12-2012 12:00 PM

Great share I agree, but I don't want it as a Tab, more of how it was before as in the 'Links' below the Tabs.
Any ideas how to do that?

Thunderbird8 06-12-2012 08:35 PM

1 Attachment(s)
I played around with the plugin involved a little more.

This new attached version will allow you to place {vb:raw vmoods_list} inside the navbar_tabs template, which is probably the place that you were looking for. As usual, the Auto Edit Navbar Template option (AdminCP->Settings->Options->vMoods) must be turned off in order to do this, otherwise it'll just stick the list as a tab.

For the equivalent location, place it after the second to last </vb:each> in that template, but before the </ul> that follows it. Note that {vb:raw template_hook.navbar_after_links} is in this same spot, but that's scheduled to be deleted in 4.2.1, so I can't use that.

Do note that this will make the mood list show up regardless of which tab is selected on the top (the original behavior only showed it if Forum was selected).

New Joe 06-13-2012 02:37 AM

Very big thank you for that, worked great, just as it should.
Thanks again.


All times are GMT. The time now is 05:08 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.01437 seconds
  • Memory Usage 1,742KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete