View Full Version : Find All Posts by "user" question
odeezie
05-04-2008, 08:05 PM
Is there anyway to take this link that is found in the statistics and put the same link on the navbar, or perhaps some little button on the main forum page where it is quickly accessible? ...a button titled something like "My Posts" which you can click on and see which threads you have posted in.
ssslippy
05-04-2008, 08:23 PM
If you look in the template you want to take the link from it will give you the url. You can then put this into your navbar.
odeezie
05-04-2008, 08:43 PM
If you look in the template you want to take the link from it will give you the url. You can then put this into your navbar.
I tried to take the code from the member_block_statistics template and put it into the navbar as a button but I cant get it to work right. I was taking this code:
<if condition= "$show['member']">
<td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
The thing is, I dont even know if this is remotely close to the right code...:confused:
ssslippy
05-04-2008, 09:16 PM
Thats exactly the right code you need however you need to modify it to match the other navbar templates.
odeezie
05-04-2008, 09:44 PM
Thats exactly the right code you need however you need to modify it to match the other navbar templates.
Do you mean make it like this code?
<if condition="$show['member']">
<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
:confused:
Something like this:
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[My Posts]</phrase></a></td>
</if>
Although I know that is not right because it gives me errors when I save the template.
I tried using your code in 3.6.8 it also returns errors when trying to save.
odeezie
05-05-2008, 03:39 PM
I tried using your code in 3.6.8 it also returns errors when trying to save.
Yeah, I know its not right, but I dont know how it is supposed to be formatted....I do not know how to code. :(
Any help would be much appreciated :D
Lynne
05-05-2008, 03:58 PM
Try something like this:
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]" rel="nofollow">My Posts</a></td>
</if>If that works, you can go make a phrase for My Posts and use that.
Boofo
05-05-2008, 04:07 PM
That is the right code, Lynne. Good job. ;)
kj_202
05-05-2008, 04:08 PM
That is the right code, Lynne. Good job. ;)
Lynne, snake... and opserty are always doing a good job :)
Thanks also lynne as I think it would be good to use :)
Edit: Aswell as others but I could be here all day naming them.
odeezie
05-05-2008, 04:21 PM
Lynne thank you so much! You guys are awesome and very helpful, I truly appreciate it.
I hope I get to know this coding stuff well enough to return the favor someday.
Thanks Again!! :up::)
Edit: I was just reading that over again and noticed the line about making a phrase for this (i ddnt see that earlier). What do you mean by this? I put your code in my navbar and it works wonderfully as it is. Should I make a phrase? Either way I am so happy its working. :)
Lynne
05-05-2008, 04:46 PM
No need to make a phrase if you don't want to. Some users use phrases because then you can put translations for the phrases and it will show up correctly in the different languages you have installed on your site.
odeezie
05-05-2008, 04:55 PM
No need to make a phrase if you don't want to. Some users use phrases because then you can put translations for the phrases and it will show up correctly in the different languages you have installed on your site.
ahhhh ok. I dont know how to make a phrase, but I dont think it is that big of a deal for our forums anyway. Thank you so much for your help Lynne! :D
--------------- Added 1210056221 at 1210056221 ---------------
The user who requested this just responded with this:
Although very close, that's not exactly what I meant. On the other board, when I clicked it, a list of all of threads (not posts) I have posted in came up. If somebody had replied since I had, the threads were lit up or whatever, indicating that there was new posts in that thread since I had been there last. It made it easy for me to quickly get to threads I may have said something in so I can see how people responded or whatever. I appreciate you trying to get the mod in there.
The old board was a phpbb board....but have you guys ever seen a mod or hack like he describes for vbulletin?
--------------- Added 1210087813 at 1210087813 ---------------
I found the hack he was speaking of....I tried installing it on my test board but couldnt get it to function properly...probably because it is such an old hack.
has anyone seen any newer versions of this?
https://vborg.vbsupport.ru/showthread.php?t=66768&highlight=View+unanswered+posts
kj_202
05-06-2008, 03:17 PM
ahhhh ok. I dont know how to make a phrase, but I dont think it is that big of a deal for our forums anyway. Thank you so much for your help Lynne! :D
--------------- Added 1210056221 at 1210056221 ---------------
The user who requested this just responded with this:
The old board was a phpbb board....but have you guys ever seen a mod or hack like he describes for vbulletin?
--------------- Added 1210087813 at 1210087813 ---------------
I found the hack he was speaking of....I tried installing it on my test board but couldnt get it to function properly...probably because it is such an old hack.
has anyone seen any newer versions of this?
https://vborg.vbsupport.ru/showthread.php?t=66768&highlight=View+unanswered+posts
I seen that https://vborg.vbsupport.ru/showthread.php?t=169923
(I know you posted in it but for others looking for the same)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.