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)

MadsK 11-15-2009 09:57 AM

Quote:

Originally Posted by amjadz4 (Post 1912273)
This is already done by default if the plugin is installed successfully.

Thanks. It works. But avatars do not though. I already have the avatar of the user shown in the log in box, if logged in. How could i go about and put this avatar into the comments? It seems i cannot edit the wp_list_comments thing.

Your help is appreciated.

amjadz4 11-15-2009 10:46 AM

Quote:

Originally Posted by MadsK (Post 1914522)
Thanks. It works. But avatars do not though. I already have the avatar of the user shown in the log in box, if logged in. How could i go about and put this avatar into the comments? It seems i cannot edit the wp_list_comments thing.

Your help is appreciated.

If you see in the read me file, the file edits which you have to do. In it find this code:

PHP Code:

<img src="<?php echo get_option('vbb_VBURL'?>/image.php?u=<?php echo $reply['userid'?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">

This is what does the avatars. It should work if the paths are correct.

MadsK 11-16-2009 07:05 AM

Quote:

Originally Posted by amjadz4 (Post 1914535)
If you see in the read me file, the file edits which you have to do. In it find this code:

PHP Code:

<img src="<?php echo get_option('vbb_VBURL'?>/image.php?u=<?php echo $reply['userid'?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">

This is what does the avatars. It should work if the paths are correct.

Thanks,

But to be able to link to the avatar i would have to have vbb_VBURL defined right? And what about the $reply - does it need some prework before it works? I've tried inserting the code directly into my functions.php as this is how i define my comments.php, but it just shows an image of vbulletin logo and thats it.


EDIT: Actually it seems everything is working except the usersid is not fetched. When i view the image, i get the correct url:

Code:

/forum/image.php?u=&dateline=1258362456
but as you can see it is missing the u=?????.

So how do i get it to fetch that correctly?

2nd EDIT:

I think i actually got it. I played around a bit and came up with the following (If anyone else should want to use it):

Code:

img src="<?php echo get_option('vbb_VBURL') ?>/image.php?u=<?php $user = get_userdata($comment->user_id);
echo $user->ID; ?>&amp;dateline=<?php echo TIMENOW ?>" alt="Avatar" class="avatar avatar-32 photo avatar-default" width="80" height="80">


kambiz 11-16-2009 01:37 PM

Is there any update or new release for upcoming VB4 ?!

MadsK 11-17-2009 09:30 AM

Quote:

Originally Posted by kambiz (Post 1915258)
Is there any update or new release for upcoming VB4 ?!

I've just set up a testing environment with the latest wordpress version and VB4, and it works perfectly :D. So I'm guessing not much needs to be done for it to be officially released for VB4, when it comes out.

Goomzee 11-17-2009 09:39 AM

anyone knows how to make this blog bridge

below is my blog
http://www.mknexusonline.com/blog
and below is my forum url
http://www.mknexusonline.com/forum

Pirat3 11-18-2009 01:55 PM

Does anyone know how to make it so if posts on WP are made my diffrent person, it doesnt show up as admin/user1? Or what do I edit to change user=1 to user=xxxx?

AntonyF 11-18-2009 01:58 PM

Hi everyone. I have a question. I have vbulletins and wordpress on different URLs. Same server. I see the requirements are they be on the same domain.

Will it just not work at all on different domains -- or is it just they have to login on both (if it's the latter, I can live with that).

Thanks

rjnsmith 11-20-2009 11:37 PM

Hi,

I have a problem whereby the author of a post in Wordpress is displaying incorrectly, for example:

A user with a VB id 12 writes a post in Wordpress,
his WP user id is 52

However it is displaying the author of the post as VB id 52, when it should be VB id 12, but it is using his Wordpress ID for some reason?

Any ideas?

Louis Phong 11-21-2009 03:05 AM

My site: http://blog.domain.com
My forum: http://forum.domain.com
How can i install with the above informations???
Please help me


All times are GMT. The time now is 10:31 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.05629 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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