PDA

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


Borgs8472
12-18-2005, 10:00 PM
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:
<!-- usercp nav -->

Add before:

$usercp_ownpostsbit
===

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

Don't forget to click install! (https://vborg.vbsupport.ru/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
12-19-2005, 12:03 AM
installed
but when i went to My Posts it only showed 1 post of mine

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

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

/me Clicks Install

Borgs8472
12-19-2005, 12:56 AM
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
12-19-2005, 01:09 AM
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
12-19-2005, 01:18 AM
^ ^
thanks for that, nice text file :)

rb290
12-19-2005, 01:29 AM
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
12-19-2005, 06:16 AM
Nice, installed!

BoYagoob
12-19-2005, 09:39 AM
installed

Borgs8472
12-19-2005, 04:40 PM
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
12-19-2005, 05:41 PM
thats interestinggg, i turned the plugin system off and it worked

rb290
12-19-2005, 05:54 PM
[Component] DV_RXRTAAF search_start

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

Borgs8472
12-19-2005, 06:20 PM
^ ^
try the thread in which you found the plugin

croportal
12-19-2005, 07:33 PM
great thanks, i click install

browsehosts
12-20-2005, 01:29 AM
anyone have a link I can view to see how this looks?

Hornstar
12-20-2005, 04:23 AM
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
12-20-2005, 06:15 PM
Awesome I'll install this as soon as possible.

Borgs8472
12-27-2005, 12:45 AM
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
12-27-2005, 09:20 PM
BTW, do I need to put session urls after those links? :/

sinan318
01-03-2006, 08:39 PM
Thanks. nice and easy! :)

Toky0
02-05-2006, 11:46 PM
/me clicks install.

This is pretty cool, thanks!

Nathan2006
03-29-2006, 12:13 PM
That's a lot simpler for members now

Thank you:D

Install

Borgs8472
03-30-2006, 01:00 AM
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
03-30-2006, 02:46 AM
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
03-30-2006, 12:29 PM
^ ^
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
03-30-2006, 09:12 PM
Thank you Borgs8472

For the update its a lot easier now :)

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

dsotmoon
03-30-2006, 10:11 PM
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
03-30-2006, 10:51 PM
Wrap
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> 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
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
$usercp_ownpostsbit
</if>

dsotmoon
03-31-2006, 02:32 AM
thanks borg, worked great, installed

drdeathuk69
04-01-2006, 08:31 PM
thats interestinggg, i turned the plugin system off and it worked


lol same for me

NR Fatal
04-07-2006, 08:59 PM
nice indeed! works perfect
* Clicks install

TouranMan
06-07-2006, 06:31 PM
Excellent! I had just been asked for this function yesterday!

** Clicky INSTALL **

tienkhom
06-08-2006, 02:02 PM
yeah, intersting, I disable it and works well
Installed

dutchbb
06-11-2006, 12:04 PM
nice little hack

however the template still shows uncached:

Uncached templates: usercp_ownpostsbit (1)

deejayh
06-17-2006, 10:09 PM
installed - but cannot see it at all.
Using 3.5.4 with defalt template

Dave

deejayh
06-18-2006, 12:29 PM
No worries - sussed it out:)

great mod - clicked install:cool:

Skedoozy
06-19-2006, 02:59 AM
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
06-28-2006, 07:37 PM
Awesome Hack. Very easy to install and worked correctly right out of the box! Thank you very much, as I "Click Install".

brvheart
10-26-2006, 12:14 PM
will this work in 3.6.x?

4Prometheus
11-21-2006, 11:18 PM
Again???

INSTALLED!

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

Happy Holidays!

Peace.

SHalliday
12-03-2006, 10:06 PM
I would also like to know if this will work with 3.6.4. Anyone know the answer?

MrPHD
12-03-2006, 10:22 PM
Installed and Working.Thanks

Konstantinos
12-17-2006, 05:46 AM
it doesnt work in 3.6.4

Konstantinos
12-29-2006, 03:01 PM
can someone port this for 3.6 ?