Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Own Threads/Posts/Profile Link in UserCP Details »»
Own Threads/Posts/Profile Link in UserCP
Version: 1.00, by Borgs8472 Borgs8472 is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-18-2005 Last Update: 03-29-2006 Installs: 85
Uses Plugins Template Edits
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-03-2006, 08:39 PM
sinan318 sinan318 is offline
 
Join Date: Apr 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. nice and easy!
Reply With Quote
  #23  
Old 02-05-2006, 11:46 PM
Toky0's Avatar
Toky0 Toky0 is offline
 
Join Date: Aug 2003
Location: USA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install.

This is pretty cool, thanks!
Reply With Quote
  #24  
Old 03-29-2006, 12:13 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a lot simpler for members now

Thank you

Install
Reply With Quote
  #25  
Old 03-30-2006, 01:00 AM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 03-30-2006, 02:46 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this but is there a way so that it only appears for certain usergroups?
Will this work on 3.5.3 ?

Thanks
Reply With Quote
  #27  
Old 03-30-2006, 12:29 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ ^
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
Reply With Quote
  #28  
Old 03-30-2006, 09:12 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Borgs8472

For the update its a lot easier now
Reply With Quote
  #29  
Old 03-30-2006, 09:17 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ ^
I'm glad you think so, cause it was 100 times harder to code!
Reply With Quote
  #30  
Old 03-30-2006, 10:11 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 03-30-2006, 10:51 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:34 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.04739 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete