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. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
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.. |
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?
|
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? |
Am I even on the right track with this? Seems like the bridge_setup_postdata function would be the place to modify right?
|
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?
|
I have made this work in my template. Can share code with anyone who is interested.
|
i have the same problem, can you share your code with me? thanks
|
Quote:
|
Quote:
It's just an help to start, i need it :/ Anyway it's your choose, nevermind. Thank you so much in advance. |
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.
|
Quote:
|
All times are GMT -4. The time now is 07:01 PM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.