vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Own Threads/Posts/Profile Link in UserCP (https://vborg.vbsupport.ru/showthread.php?t=103248)

Borgs8472 12-18-2005 10:00 PM

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 -->
Add before:

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.

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

Quote:

Originally Posted by rb290
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

Quote:

Originally Posted by Borgs8472
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

Quote:

Originally Posted by rb290
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
Quote:

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

Quote:

Originally Posted by hornstar1337
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!


Quote:

Originally Posted by Borgs8472
^ ^
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
Code:

<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
Code:

<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

Quote:

Originally Posted by rb290
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".


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
  • Page Generation 0.01317 seconds
  • Memory Usage 1,790KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete