Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2006, 05:44 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How is the link to my forum profile?

Hello,

would be nice if someone could tell me how is the link to my profile when i am logged in, because when i modified my options i need to go back to the frontpage first to click on my name in the who is online list, but i'd like to have a direct link from my profile options to view my public profile..

i guess it's like profile.php?do=

but i couldn't find something that would link me to my public profile. any chance to do this?
Reply With Quote
  #2  
Old 12-06-2006, 06:25 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To edit it or to access it?
To edit it, the link is profile.php?do=editprofile
To access it, the link is member.php?u={userid}
Reply With Quote
  #3  
Old 12-06-2006, 07:23 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you did not know already, and I just realized this a couple weeks ago (bah!), there is a "My Profile" link under Quick Links on your navbar. It may not be the option you're looking for, but for those who don't like modifying anything, there ya go. =D
Reply With Quote
  #4  
Old 12-06-2006, 07:41 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
To access it, the link is member.php?u={userid}
Thanks, this is after what i was looking for, i just tried it with the wrong php-file o_O .. my link is now: member.php?u=$bbuserinfo[userid]

have a nice day!
Reply With Quote
  #5  
Old 12-06-2006, 07:50 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In USERCP_SHELL

Find:
HTML Code:
<tr>
	<td class="thead">$vbphrase[settings_and_options]</td>
</tr>
Add Below:
HTML Code:
	<tr>
		<td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?u=$bbuserinfo[userid]">View My Profile</a></td>
	</tr>
Or place it wherever you want. This just seems most convenient.
Reply With Quote
  #6  
Old 12-06-2006, 08:17 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx yarub, maybe you can give me a hint, the thing is that i want use beside of the "View my profile"-link the current avatar of this user if he or she got an avatar selected.

i tried $currentavatar, but it doesnt shows up, althought i got an avatar selected. you know how to fix?
Reply With Quote
  #7  
Old 12-06-2006, 08:30 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you talking about something like this?

Modification: https://vborg.vbsupport.ru/showthread.php?t=112594
Screenshot: https://vborg.vbsupport.ru/attachmen...0&d=1144624922

I don't completely understand what you're after. >_<; If it is something like that, maybe it'd help give me some incentive to start working on the 3.6.x version. =D
Reply With Quote
  #8  
Old 12-06-2006, 09:09 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, like the upper left avatar-picture in this screenshot.

once i had your modification installed, but it didn't work with our advanced memberprofile together, there is html allowed and a member's profile can be very large for putting it directly into the usercp, so i had to uninstall the mod again. that's why i was just looking for a simple link + avatar because every preview of a custom html member profile within the usercp would be too large.

check my profile to see it's too large to put it into the cp.

i also tried to put this code into my USERCP template, but no avatar shows up.


<tr valign="top">
<td>
<img src="$bbuserinfo[avatarurl]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
</tr>

I think i have to add more code somewhere else to get this working, perhaps in the plugin-system, but i am new to this.
Reply With Quote
  #9  
Old 12-06-2006, 09:11 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need a plugin in order for the avatar to show up. Give me a few minutes and I'll try to make something for you.
Reply With Quote
  #10  
Old 12-06-2006, 09:16 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey thanks would be nice of you! Yarub's New UserCP Look Lite Edition .. xD
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 06:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04967 seconds
  • Memory Usage 2,269KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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