Thread: Integration with vBulletin - Wordpress vBulletin integration
View Single Post
  #167  
Old 07-30-2013, 07:11 AM
obscureclouddon obscureclouddon is offline
 
Join Date: Jul 2011
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for all of the support thus far.

Sorry for the absence. I've had a very busy past few weeks. I took some time off to travel with the family. Sorry to keep anyone waiting. While I try to check here for support requests as often as possible, the best way is always via email to ensure a timely response.

I will address all of the concerns above.

But in the mean time, here is what I've been working on:

First, many have asked to have the forum url added to the wordpress theme. here is how to accomplish this -
add this code to your wordpress theme file where you want the link to the vb thread
PHP Code:
$vb_thread_id get_post_metaget_the_ID(), "vb_thread_id"TRUE );
$options get_option('osc_wpvb_options');
$forum_path $options['vb_path'];
$home_path get_option"home" );
$vb_thread_link $home_path $forum_path "showthread.php/" $vb_thread_id;
 
$title_link = isset($vb_thread_id) && $vb_thread_id != "" ?  $vb_thread_link get_permalink(); 
then use the variable $title_link where you want the link to the vb thread to show up in your WP theme. it will use the permalink if there is no synced thread.
also, this will only work in the loop.

Secondly, I have just about finished porting the plugin to vB5. This should be ready tomorrow. Due to the way they gutted vB5, it will only work from WP->vB. The reason is that there are no hooks to trigger things in vB5. I will work on a solution. It will go one of two ways: either vB gets an update with some hook mechanisms, or I will do it by modding the core files.

Lastly, the other thing that keeps getting requested is to have the plugin post only the excerpt from WP. I will work on an option for this in the next update.

Additional note: the avatar sync feature seems to be broken. I will get that in the next update.

Now to the support requests.......
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03068 seconds
  • Memory Usage 1,776KB
  • 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_php
  • (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