vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add "View My Profile" To USERCP (https://vborg.vbsupport.ru/showthread.php?t=124775)

KevNJ 08-23-2006 10:00 PM

Add "View My Profile" To USERCP
 
Quick little template change. Couldnt find it anywheres so figured Id post it for those working on a Myspace style hack.

Install time: 37 Seconds
Templates to edit : 1

Styles/ Templates > Pick whichever style you want > Edit Templates > User Control Panel Templates > USERCP_SHELL


Find:
PHP Code:

<if condition="$show['siglink']"

Below that add:

PHP Code:

<td class="alt2" nowrap="nowrap"><class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td>
    </
tr>
</if> 

Click save. Your Done. Click Install at the top. Enjoy.

Ascor 08-24-2006 03:44 PM

nice idea, installed thank you :)

Snake 08-24-2006 04:08 PM

Nice idea. Thanks!

Kirk Y 08-24-2006 07:14 PM

Wouldn't you be breaking the $show[siglink] condition by doing that? You'd want to add it above that and instead use something like this:
Code:

<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td></tr>

xman_79 09-03-2006 09:54 AM

Installed.
Nice idea .
Thank you .

Lysithea 10-11-2006 07:14 PM

Very nice :) thank you!

Installed

MaestroX 12-19-2006 08:54 AM

Installed thanks :)

yoyoyoyo 12-19-2006 11:49 AM

Quote:

Install time: 37 Seconds
It took me 38 seconds :D

smoknz28 12-23-2006 06:52 PM

Quote:

Originally Posted by acidburn0520 (Post 1059671)
Wouldn't you be breaking the $show[siglink] condition by doing that? You'd want to add it above that and instead use something like this:
Code:

<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td></tr>

Has there been any validity to this yet? I don't know which code to go with here....

Thanks

Despairing 12-25-2006 08:03 AM

Installed.


All times are GMT. The time now is 02:13 AM.

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.01079 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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
  • (10)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