vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Can you embed a usercp template (profile fields) into forumhome? (https://vborg.vbsupport.ru/showthread.php?t=317137)

greigeh 02-03-2015 08:55 PM

Can you embed a usercp template (profile fields) into forumhome?
 
Hi there, I'm trying to figure out something. Is it possible to embed a template used in the usercp into the forumhome template?

Pretty much what I am trying to do I want a user to be able to update certain profile fields of their account on the forum homepage. I have a 'user' section on the FORUMHOME and therefore want to just have a quick way for them to update their profile that way.

(e.g. see when on a users profile they can quickly update their about me section by clicking the edit button, want a extremely similar concept but in forumhome)

If anyone has tips/advice on going about this that would be very helpful!
Thank you

Dr.CustUmz 02-04-2015 06:32 AM

<if condition="$bbuserinfo[fieldFIELDID]">
$bbuserinfo[fieldFIELDID]
</if>

ozzy47 02-04-2015 10:35 PM

That would just show them the field, not give the users the ability to edit from the forumhome.

It can be done, but it is not a simple quick thing, it would require some custom coding. You may want to pay someone for it by posting in the, Requests for Paid Services forum. Just make sure you read the sticky threads in there before hiring someone. :)

Dr.CustUmz 02-05-2015 10:16 AM

Quote:

Originally Posted by ozzy47 (Post 2536196)
That would just show them the field, not give the users the ability to edit from the forumhome.

i was thinking he wanted a field section shown on forumhome and users can edit it from their usercp, didnt process the edit quickly on forumhome part lol.

so yeah the way i said placing that code where you want will work.... although, users will have to update the section via their usercp. If you cant bare with that than I too would suggest what Ozzy suggested =)


All times are GMT. The time now is 04:06 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.01070 seconds
  • Memory Usage 1,713KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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