09-27-2011, 05:06 PM | #1 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Question about authors
I have successfully installed the bridge and it works great (vb users can login via vb, and make new posts). What I would like to do is to be able to have the authors of the posts have their name linked back to their vb profiles. How would I make this happen on a regular post like this:
http://www.michigan-sportsman.com/ms...le-management/ I would like author "Steve" in this case to link to the vb profile for Steve. |
Reply With Quote |
09-27-2011, 07:20 PM | #2 | |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Quote:
|
|
Reply With Quote |
09-28-2011, 11:29 AM | #3 | |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Quote:
|
|
Reply With Quote |
09-28-2011, 12:20 PM | #4 | |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Quote:
|
|
Reply With Quote |
09-28-2011, 01:13 PM | #5 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
|
Reply With Quote |
09-28-2011, 04:33 PM | #6 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
Feel free to look at the code and adapt this for your uses. The users ID is available as always, just link it like normal:
somepath/to/your/forums/member.php?u=USERID You will probably have to edit your template to do that.. |
Reply With Quote |
09-28-2011, 04:40 PM | #7 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
I don't understand how you were able to make it work for the comments part without modifying a template. I'm assuming that you are suggesting that I modify the WP code that displays the author and the link?
|
Reply With Quote |
09-29-2011, 02:44 PM | #8 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Hi Jeff,
Seems like I could accomplish what I want to do by modifying your bridge_setup_postdata function and changing $authordata = get_userdata($post->post_author); to something like: $authordata = comment_auth_linker($author); but that is not working for me. Any ideas? |
Reply With Quote |
10-03-2011, 05:03 PM | #9 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Am I even on the right track with this? Seems like the bridge_setup_postdata function would be the place to modify right?
|
Reply With Quote |
10-04-2011, 05:13 PM | #10 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
Ok, I'm getting very, very close. Still having trouble getting the vb user id from within my template. Have tried 'userid' but apparently that's not within the scope of content.php. Any hints Jeff?
|
Reply With Quote |
10-06-2011, 10:21 AM | #11 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
I have made this work in my template. Can share code with anyone who is interested.
|
Reply With Quote |
10-13-2011, 06:28 AM | #12 |
Junior Member
Join Date: Mar 2011
Posts: 13
Rep Power: 0 |
i have the same problem, can you share your code with me? thanks
|
Reply With Quote |
10-13-2011, 09:12 AM | #13 |
Member
Join Date: Feb 2011
Posts: 58
Rep Power: 14 |
I would love to help and share my code but I don't want to step on Jeff's toes here. I don't feel that my code was done in the most efficient way and perhaps Jeff and I can collaborate on something for a more stable solution.
|
Reply With Quote |
10-14-2011, 06:34 AM | #14 | |
Junior Member
Join Date: Mar 2011
Posts: 13
Rep Power: 0 |
Quote:
It's just an help to start, i need it :/ Anyway it's your choose, nevermind. Thank you so much in advance. |
|
Reply With Quote |
10-14-2011, 08:08 AM | #15 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
You are free to post whatever you wish, but everyone should keep in mind that what may work for one persons install may not work for another.
|
Reply With Quote |
10-14-2011, 11:53 AM | #16 |
Junior Member
Join Date: Mar 2011
Posts: 13
Rep Power: 0 |
|
Reply With Quote |
Reply |
Tags |
vbulletin wordpress bridge |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert WP Authors function give me error | wacnstac | vBulletin Wordpress Bridge | 3 | 09-26-2011 10:08 AM |
Authors/Users scrambled | Giby | vBulletin Wordpress Bridge | 3 | 09-07-2011 03:51 AM |
Bridge Functionality question | AFQ | vBulletin Wordpress Bridge | 8 | 08-23-2011 06:32 AM |
Question of new Wordpress Bridge vs Old one | woox | vBulletin Wordpress Bridge | 21 | 02-20-2011 12:20 AM |