vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   default homepage link (https://vborg.vbsupport.ru/showthread.php?t=196154)

Wordplay 11-13-2008 09:12 AM

default homepage link
 
is there a way to have the homepage link be the link to the user's profile for new registers? instead of just being blank?

Lynne 11-13-2008 02:49 PM

What home page link and what do you mean by being blank? A link to this page and a better explanation would help.

Wordplay 11-13-2008 05:52 PM

sorry, i thought that was self explanatory.

i meant on the user profiles where it says under contact: Home Page! the link there is usually by default blank, i was wondering if it was possible to set that to their profile link, by default.

Lynne 11-13-2008 07:59 PM

There isn't something to set in vb that would do that. You'd have to write some plugin that hooks into a location during the registration process. It would have to be one that occurs after a userid is assigned but before the end of the registration process. Then you'd have to insert the link there - member.php?u=$userid . And, you'd have to run a query to do this for all your current users also.

Where do you plan to have users 'see' this homepage link? You could just change it in the templates - <if homepage is blank> show member.php?u=$userid <else /> show what they input </if> Also, if I recall, if the field is blank, no one sees that link so it isn't even available to people to see/click on so why worry about it?

Wordplay 11-13-2008 08:20 PM

actually i'm starting up a completely new community. just going through a couple of points in my head that i thought would make the forum a little sweeter.

the if else function sounds nice, i think i'll do it that way.

thanks for the help!


All times are GMT. The time now is 01:30 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.01026 seconds
  • Memory Usage 1,696KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete