Storyteller and vbulletin, comment authors
jfranco 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Storyteller and vbulletin, comment authors
jfranco
OP
0
From: -
From: -
Storyteller and vbulletin, comment authors
Thanks for the tip Philipp, it's great that you keep supporting your CMS like this. No wonder I keep waiting for 2.0 and don't move anywhere else
Thanks for the tip Philipp, it's great that you keep supporting your CMS like this. No wonder I keep waiting for 2.0 and don't move anywhere else
1 Re: Storyteller and vbulletin, comment authors
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Storyteller and vbulletin, comment authors
You could add the following in the PHP part of the comments template:
and then use this link in the HTML part:
You could add the following in the PHP part of the comments template:
BBConnect();
$query = mysql_query("SELECT * FROM user WHERE username = '$insert[comment_author]'");
$vbdata = mysql_fetch_array($query);
dbconnect();
and then use this link in the HTML part:
<a href="https://www.contentteller.com/vb/member.php?u=$vbdata[userid]">
Hi Philipp,
Quick question. I'm using vbulletin integration with the news comments, is there any way we can link to the author's member pages or getting their user ID's for building such a link?
This is how an individual news story looks like:
http://www.techspot.com/news/27425-3way-sli-here-in-november.html
So in the first comment: " Posted by icye on October 11, 2007 at 4:08 PM" I would like to link to icye's vb profile page (once again the member ID would suffice).
Thank you.
Julio