View Single Post
  #4  
Old 08-28-2010, 02:14 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaRK mAN306 View Post
Thank you very much mike and I mean very very very much for your reply ..
It was exactly what I was looking for .!

I followed your directions step-by-step but I couldn't get it to work .. At first, I thought that the problem is in my test forum, but when I tested Lynne's trick on the link you provided me with (Moving Facebook Connect out of the header template and into the navbar template) ... It worked like charm .. I also tried preregistering other variables based on both Lynne's directions and yours and I succeed in it, but every time I come back to preregistering the notifications_menubits variable I fail in it .!

I appreciate your help Mr. Miller and I'm 100% sure that your directions are correct .. But as I can see the problem is not with the way to preregister the variable as Lynne have told me on my thread on vBulletin.com, there gotta be something else to do in this particular case .!

Thanks again for your help Mr. Miller ..
I'll try speaking to Lynne seeking for help with this issue; because I don't want to bother you and to waste your time with me on such things .!

Best Regards,
ME
Hmm it has to be the template your putting it in... like I said for example if your custom bar code is pasted into the footer template it will work, if not in the plugin code where it says 'footer' replace with 'your_template_the_bars_code_is_in' and I mean replace with the actual template name.

Basically you can use my info or Lynne's as you had success with that and simply change the code to pre-register what you need but remember you need to remove the old code from the header or it won't work in the footer!! - copy the header and footer template into a empty notepad etc before you start so you can quickly paste back in or simply revert the template if it was not previously customized in case you make a mistake .
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01310 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete