![]() |
Own Threads/Posts/Profile Link in UserCP
A nice and easy hack for users to track their own threads and posts as well as view their profile Often on a large message board you want to see how your old threads are doing and can't find a link to your profile anywhere. This is the answer!
I actually used phrases a little and basically I think I did this quite well. The links are the same as on your profile page. For the purely template hack version, view the attached .txt file. Otherwise: Import the attached product ---> Open USERCP_SHELL Find: Code:
<!-- usercp nav --> Code:
$usercp_ownpostsbit There you have it! If only vb.org had this feature.... Don't forget to click install! Update 30th of March '06 - the hack is now a plugin. Because the template is cached, this means the usercp loads a little bit more quickly. |
installed
but when i went to My Posts it only showed 1 post of mine |
i think it shows the most recent post *confused*
but for the threads its fine |
Working Great For Me. Bringing up all my Posts. Nice Hack, Very Handy.
/me Clicks Install |
Quote:
|
May i suggest you use the following Readme.txt as yours is a Copy and Paste job from your Thread and it still has [ code ] tags in it etc :nervous: . Nice Hack Thanks! :D
|
^ ^
thanks for that, nice text file :) |
Quote:
|
Nice, installed!
|
installed
|
Quote:
Quote:
|
thats interestinggg, i turned the plugin system off and it worked
|
[Component] DV_RXRTAAF search_start
anyone know what hack this is ^ i disabled that specific plugin and it worked perfect. |
^ ^
try the thread in which you found the plugin |
great thanks, i click install
|
anyone have a link I can view to see how this looks?
|
i've just been finding one of my posts and then viewing my profile that way, and then viewing all my posts.... but this way seems better ^^
|
Awesome I'll install this as soon as possible.
|
Quote:
then click install! |
BTW, do I need to put session urls after those links? :/
|
Thanks. nice and easy! :)
|
/me clicks install.
This is pretty cool, thanks! |
That's a lot simpler for members now
Thank you:D Install |
I've changed this from a template hack to a plugin. (Because I'm calling the little template elsewhere too now).
Possibly easier to manage in upgrades etc. |
I like this but is there a way so that it only appears for certain usergroups?
Will this work on 3.5.3 ? Thanks |
^ ^
Sure. I'm not making a whole admin interface for this, but if you surround the 'usercp_ownpostsbit' template or the $usercp_ownpostsbit entry with: <if condition="$bbuserinfo[usergroupid] == X"> $usercp_ownpostsbit </if> Where x is the usergroup id. There's a slightly different conditional if you want to define multiple groups. This works with 3.5.anything |
Thank you Borgs8472
For the update its a lot easier now :) |
^ ^
I'm glad you think so, cause it was 100 times harder to code! :D |
i would love to add this for multiple usergroups, could you give me the conditional you mentioned and a sample of where to add it?
thanks! Quote:
|
Wrap
Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> $usercp_ownpostsbit you're adding Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> |
thanks borg, worked great, installed
|
Quote:
lol same for me |
nice indeed! works perfect
* Clicks install |
Excellent! I had just been asked for this function yesterday!
** Clicky INSTALL ** |
yeah, intersting, I disable it and works well
Installed |
nice little hack
however the template still shows uncached: Uncached templates: usercp_ownpostsbit (1) |
installed - but cannot see it at all.
Using 3.5.4 with defalt template Dave |
No worries - sussed it out:)
great mod - clicked install:cool: |
Thanks.. this ruined my User CP layout. Pushed everything in the right table underneath the tables on the left. Gah!
Edit: I fixed it. Prolly a conflict with another mod. |
Awesome Hack. Very easy to install and worked correctly right out of the box! Thank you very much, as I "Click Install".
|
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|