Krusty1231
12-07-2013, 04:54 PM
I need a push, as I know what I did is entirely wrong, but it works - just not the way I suspect it SHOULD be done.
In my postbit legacy I added search option to members posts and threads. Works fine.
It looked rather plain to me, so I decided to toss in some images. This is where I think I did it wrong.
It does work, but am hoping someone has a better way of doing this.
Here is what I am using:
<dt>{vb:rawphrase posts}</dt>
<dd><div class="divspoiler"><img src= "/images/postbitposts.png"> <a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&showposts=1" title="View {vb:raw post.username}'s posts">{vb:raw post.posts}</a></dd>
<dt>{vb:rawphrase threads}</dt>
<dd><div class="divspoiler"><img src= "/images/post.png"> <a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Threads&showthrea ds=1" title="View {vb:raw post.username}'s startedthreads">{vb:raw thread.threads}{vb:rawphrase find_all_started_threads}</a></dd>
The code in red I tossed in there to make the images appear - and they do, but something is telling me this is not the best way to accomplish this.
The end result looks like the attachment.
Is there a better way I should do this?
Thanks in advance for any replies.
In my postbit legacy I added search option to members posts and threads. Works fine.
It looked rather plain to me, so I decided to toss in some images. This is where I think I did it wrong.
It does work, but am hoping someone has a better way of doing this.
Here is what I am using:
<dt>{vb:rawphrase posts}</dt>
<dd><div class="divspoiler"><img src= "/images/postbitposts.png"> <a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&showposts=1" title="View {vb:raw post.username}'s posts">{vb:raw post.posts}</a></dd>
<dt>{vb:rawphrase threads}</dt>
<dd><div class="divspoiler"><img src= "/images/post.png"> <a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Threads&showthrea ds=1" title="View {vb:raw post.username}'s startedthreads">{vb:raw thread.threads}{vb:rawphrase find_all_started_threads}</a></dd>
The code in red I tossed in there to make the images appear - and they do, but something is telling me this is not the best way to accomplish this.
The end result looks like the attachment.
Is there a better way I should do this?
Thanks in advance for any replies.