vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - vBFavorites (https://vborg.vbsupport.ru/showthread.php?t=215197)

Mark.B 06-03-2009 05:26 PM

I'm just getting a blank page on submitting the favorite...I realise this is a modified template issue as it works in the default but I wouldn't know where to start looking for what's actually causing that...it doesn't seem to make sense as that part of the mod uses custom templates anyway. I can only assume it's something in header or headinclude as all the templates for this mod are in place ok and unmodified. Uninstalling sadly for now, I'll try again some other time and see if I can figure it out.

akanevsky 06-03-2009 05:55 PM

The hack has a few auto-modifications for existing templates. It is possible that one of those auto-modifications does not work on your custom skin. However, I have no way of telling unless I see it.

TimberFloorAu 06-03-2009 11:00 PM

Just bloody brilliant mate, again another superb Hack

Chadi 06-04-2009 12:06 AM

The navbar menu does not appear in my skin.

Could you please explain how to manually edit the template?

I did already add a favorite thread for testing.

akanevsky 06-04-2009 12:37 AM

Quote:

Originally Posted by Chadi (Post 1823043)
The navbar menu does not appear in my skin.

Could you please explain how to manually edit the template?

I did already add a favorite thread for testing.

Since you are running vBulletin 3.8.x, the best solution for you is:

Find a plugin whose title is 'vBFavorites: Initialize', it is located under 'global_start'. You do that using the plugin manager. Find the following code:

Code:

$find_string = compile_template('<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>');
Replace it with the following code:

Code:

$find_string = '$template_hook[navbar_buttons_left]';
I think it should work for you unless your style does not have the template hook.

Chadi 06-04-2009 12:42 AM

Thanks, but unfortunately that did not work.

MacHack 06-04-2009 02:09 AM

Mine too did not add a link to the navbar.

Curious as to what the link would be so I could add it to the quick links dropdown menu.

Thank you for this hack, I was just asked for something like this, great work!!

MacHack 06-04-2009 02:23 AM

Quote:

Originally Posted by MacHack (Post 1823087)
Mine too did not add a link to the navbar.

Curious as to what the link would be so I could add it to the quick links dropdown menu.

Thank you for this hack, I was just asked for something like this, great work!!


I did the previously mentioned fix and now it is working.

I guess my question I asked is pointless, I was thinking there was another page that displayed the info and you could make choices there that I could add a link to in my site navigation, sorry. Great Hack! It will be put to good use, thanks.

Julie 06-04-2009 02:29 PM

Awesome product!

I was wondering though if it was possible to add in user permissions to this? I want only my paying members to be able to use this :)

Also a suggestion, on the Add Favorites Entry screen, is it really necessary to have the Entry Type:field? Seeing as the field is disabled (at least on the thread entry type), it will only confuse users, which lowers the usability of the product :)

Thanks!

akanevsky 06-04-2009 05:17 PM

Quote:

Originally Posted by Chadi (Post 1823056)
Thanks, but unfortunately that did not work.

The link that needs to be added to navbar is as follows (for the default style, don't know if it will work on yours):

Code:

<td class="vbmenu_control" id="vbfavorites"><a href="usercp.php$session[sessionurl_q]">$vbphrase[vbfavorites_favorites]</a> <script type="text/javascript"> vbmenu_register("vbfavorites"); </script> </td>


All times are GMT. The time now is 04:56 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.01136 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (3)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