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)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=205388)

Jafo232 03-08-2009 09:21 PM

Quote:

Originally Posted by pspcrazy (Post 1763025)

Also can you not make it case sensitive? Atm my username is Pspcrazy, and i usually type pspcrazy, but it doesn't accept it from wp. It only accepts Pspcrazy now which is wierd.

I will be applying this to the next version, but for now, open functions_vbridge.php and find this line:

Code:

        if ( !$user || ($user->user_login != strtolower$username) ) {
Replace with:

Code:

        if ( !$user || (strtolower($user->user_login) != strtolower($username)) ) {

BigPete7978 03-09-2009 12:44 AM

He just attempted it the way you stated and it is saying "Plugin does not exist". Is there something we are doing wrong here?

Jafo232 03-09-2009 01:21 AM

Umm, disable the plugin before you move it..

b-roll 03-09-2009 02:13 AM

Hello Jafo...

Thanks for your ideas on this...

I'm not seeing anything in the error log when the theme "breaks."

Everything on the page displays until the following bit of code.

Code:

                <?php
                $mbcount = 0;
                while (have_posts()) {
               
                        the_post();
                               
                        if( $mbcount == 0 ) { ?>

<div class="clearfloat">
  <h4><a href="<?php the_permalink() ?>" rel="bookmark">
    <?php the_title(); ?>
    </a> <span class="commentcount">(
    <?php comments_popup_link('0', '1', '%'); ?>
    )</span></h4>
  <?php $mbvalues = get_post_custom_values("Image");
                                if (isset($mbvalues[0])) {                                               
                                ?>
  <a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
                                                $mbvalues = get_post_custom_values("Image"); echo $mbvalues[0]; ?>&amp;w=70&amp;h=70&amp;zc=1" alt="<?php the_title(); ?>" /></a>
  <?php } ?>
  <?php the_excerpt(); ?>
</div>
<ul class="headlines">
<?php
                        } else {
                                ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark">
  <?php the_title(); ?>
  </a> </li>
<?php       
                        }
                                ?>
<?php
                               
                        $mbcount ++;
                }
               
                if( $mbcount > 0 ) { echo "</ul>"; }
                ?>
</div>
<?php } ?>

Does that help the mystery?

Thanks again,

kev

BigPete7978 03-09-2009 02:29 AM

The first time we did like you said, and installed it as a zip folder.
After that we followed the read me, uploaded the vbridge.php and functions_vbbridge.php and functions_wysiwyg2.php into the plugin directory, I didn't upload the resetvbbridge.php like the read me says.
I went in activated the plugin, went to options. I set up the options with all of the correct information. I got a test post to work in the forums. Then I went to vbridge user settings, selected registered users usergroup to be mapped to subscribers. Then went and enabled auto integrate in vbridge options.
I went to check the users for wordpress to see if users got mapped properly, and instead of taking me to the users page, it took me to a blank wordpress login box, and when I attempted to log in, it said invalid username.

Any ideas?

Jafo232 03-09-2009 02:39 AM

Did you try mapping administrators to administrators too? Usernames are case sensitive in WP until the next release of the bridge..

Jafo232 03-09-2009 04:30 AM

OK, added the following changes:

* Added code to process scheduled posts

* Addressed code where links and images would not show up properly in VB

* Added new table called vb_forumid for scheduled posts

* Reduced redundant calls when dealing with forum excerpts

Make sure you replace ALL the files..

vbplusme 03-09-2009 05:05 AM

Hello Jafo232,

thanks for the update, much appreciated...

Michael

b-roll 03-09-2009 11:02 AM

Thanks for the update.

Unfortunately, it doesn't improve the "breaking" pages.

Any recommendation? I really like this plugin - if I can get it to work.

kev

rcadden 03-09-2009 12:23 PM

Quote:

Originally Posted by Jafo232 (Post 1763760)
OK, added the following changes:

* Added code to process scheduled posts

* Addressed code where links and images would not show up properly in VB

* Added new table called vb_forumid for scheduled posts

* Reduced redundant calls when dealing with forum excerpts

Make sure you replace ALL the files..

Freakin sweet, I'll give this a go later today and report back. Thanks!


All times are GMT. The time now is 11: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.02036 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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