PDA

View Full Version : Own Threads/Posts/Profile Link in UserCP


Borgs8472
19 Dec 2005, 00:36
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add before:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


===

There you have it! If only vb.org had this feature....

Don't forget to click install! (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=103248)

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.

rb290
19 Dec 2005, 02:03
installed
but when i went to My Posts it only showed 1 post of mine

rb290
19 Dec 2005, 02:50
i think it shows the most recent post *confused*
but for the threads its fine

Tidy
19 Dec 2005, 02:51
Working Great For Me. Bringing up all my Posts. Nice Hack, Very Handy.

/me Clicks Install

Borgs8472
19 Dec 2005, 02:56
installed
but when i went to My Posts it only showed 1 post of mine
It should be the same link as you get when you go to your profile and choose "Find all posts by XYZ". Drop me a link to your forums and I'll have a look if you like.

Tidy
19 Dec 2005, 03:09
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

Borgs8472
19 Dec 2005, 03:18
^ ^
thanks for that, nice text file :)

rb290
19 Dec 2005, 03:29
It should be the same link as you get when you go to your profile and choose "Find all posts by XYZ". Drop me a link to your forums and I'll have a look if you like.

its samething there, only shows 1 post by the person, im guessing its the most recent post they made too........thugonline.net < forums

Snake
19 Dec 2005, 08:16
Nice, installed!

BoYagoob
19 Dec 2005, 11:39
installed

Borgs8472
19 Dec 2005, 18:40
its samething there, only shows 1 post by the person, im guessing its the most recent post they made too........thugonline.net < forums
You seem to have an unrelated problem with your searching. For example, I get
vBulletin Message

Invalid Forum specified. If you followed a valid link, please notify the administrator
On using your 'new posts' function. Consider any other hacks or mods to your search function, this is not something to do with my little hack.

rb290
19 Dec 2005, 19:41
thats interestinggg, i turned the plugin system off and it worked

rb290
19 Dec 2005, 19:54
[Component] DV_RXRTAAF search_start


anyone know what hack this is ^
i disabled that specific plugin and it worked perfect.

Borgs8472
19 Dec 2005, 20:20
^ ^
try the thread in which you found the plugin

croportal
19 Dec 2005, 21:33
great thanks, i click install

browsehosts
20 Dec 2005, 03:29
anyone have a link I can view to see how this looks?

Hornstar
20 Dec 2005, 06:23
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 ^^

GamerJunk.net
20 Dec 2005, 20:15
Awesome I'll install this as soon as possible.

Borgs8472
27 Dec 2005, 02:45
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 ^^
^ ^
then click install!

Borgs8472
27 Dec 2005, 23:20
BTW, do I need to put session urls after those links? :/

sinan318
03 Jan 2006, 22:39
Thanks. nice and easy! :)

Toky0
06 Feb 2006, 01:46
/me clicks install.

This is pretty cool, thanks!

Nathan2006
29 Mar 2006, 14:13
That's a lot simpler for members now

Thank you:D

Install

Borgs8472
30 Mar 2006, 03:00
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.

bada_bing
30 Mar 2006, 04:46
I like this but is there a way so that it only appears for certain usergroups?
Will this work on 3.5.3 ?

Thanks

Borgs8472
30 Mar 2006, 14:29
^ ^
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

Nathan2006
30 Mar 2006, 23:12
Thank you Borgs8472

For the update its a lot easier now :)

Borgs8472
30 Mar 2006, 23:17
^ ^
I'm glad you think so, cause it was 100 times harder to code! :D

dsotmoon
31 Mar 2006, 00:11
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!


^ ^
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

Borgs8472
31 Mar 2006, 00:51
Wrap


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

where X Y and Z are the usergroups you want it to show for around the variable so instead of adding just
$usercp_ownpostsbit
you're adding


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

dsotmoon
31 Mar 2006, 04:32
thanks borg, worked great, installed

drdeathuk69
01 Apr 2006, 22:31
thats interestinggg, i turned the plugin system off and it worked


lol same for me

NR Fatal
07 Apr 2006, 22:59
nice indeed! works perfect
* Clicks install

TouranMan
07 Jun 2006, 20:31
Excellent! I had just been asked for this function yesterday!

** Clicky INSTALL **

tienkhom
08 Jun 2006, 16:02
yeah, intersting, I disable it and works well
Installed

dutchbb
11 Jun 2006, 14:04
nice little hack

however the template still shows uncached:

Uncached templates: usercp_ownpostsbit (1)

deejayh
18 Jun 2006, 00:09
installed - but cannot see it at all.
Using 3.5.4 with defalt template

Dave

deejayh
18 Jun 2006, 14:29
No worries - sussed it out:)

great mod - clicked install:cool:

Skedoozy
19 Jun 2006, 04:59
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.

SHalliday
28 Jun 2006, 21:37
Awesome Hack. Very easy to install and worked correctly right out of the box! Thank you very much, as I "Click Install".

brvheart
26 Oct 2006, 14:14
will this work in 3.6.x?

4Prometheus
22 Nov 2006, 01:18
Again???


INSTALLED!


Thank you very much for taking the time and trouble to share a working hack.

Happy Holidays!

Peace.

SHalliday
04 Dec 2006, 00:06
I would also like to know if this will work with 3.6.4. Anyone know the answer?

MrPHD
04 Dec 2006, 00:22
Installed and Working.Thanks

Konstantinos
17 Dec 2006, 07:46
it doesnt work in 3.6.4

Konstantinos
29 Dec 2006, 17:01
can someone port this for 3.6 ?