Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2004, 11:18 AM
ventrix ventrix is offline
 
Join Date: Nov 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default memberlist link from custom profile field

hello. i am looking for a hack that will take info from a custom profile field that i created, and have it list as a link on the members list for the forum.

my website is www.proclivitusviolens.com/forums and if you goto the members list you will see a column called "Magelo".

if the user puts their magelo number in the profile field box, I would like it to put a link in the Magelo column on the members list that will do the following:

<a href="javascript:view_profile(123456);">123456</a>

Thanks in advance!
Reply With Quote
  #2  
Old 01-30-2004, 08:14 PM
digitalSite's Avatar
digitalSite digitalSite is offline
 
Join Date: Nov 2003
Location: Gator Nation
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello:

I, too, would like to list a column that shows a certain Profile field that I have created.
If anyone can show me how to do this, I would GREATLY APPRECIATE it! It shouldn't be difficult to do...can someone offer some help please?
Thanks!
Reply With Quote
  #3  
Old 01-30-2004, 11:30 PM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you can tell me if what I have done with mine is what you are looking for, I can tell you how I did it. No problem. It is pretty easy.

Go to my forum http://cavycages.com/forum/index.php (which is also integrated with PhotoPost, by the way) and click on the Members List. Especially, for the user CavySpirit (me), look at the links and the title of the column.
Reply With Quote
  #4  
Old 01-30-2004, 11:30 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ventrix
This is morless just templates and should have been asked over at www.vbulletintemplates.com
Nevertheless i'll answer you here.
Edit template memberlist and add the column where you want it to appear:
Code:
<td class="thead">header for your column</td>
Edit template memberlist_resultsbit and add a cell at the correct place:
Code:
<if condition="$userinfo[fieldx] AND exec_switch_bg()">
<td class="$bgclass">some foobar text or code $userinfo[fieldx]</td>
<else />
<td class="$bgclass">&nbsp;</td>
</if>
Where fieldx must be replaced by the actual field name of course
Don't fortget to set this field NOT to be display on memberlist, otherwise it will be duplicatedd (without the additional code)

@digitalSite
In user field manager (ACP) you can specify if a custom field should be display on memberlist or not.
Reply With Quote
  #5  
Old 01-31-2004, 08:47 PM
digitalSite's Avatar
digitalSite digitalSite is offline
 
Join Date: Nov 2003
Location: Gator Nation
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks All!

I got it working. For those who are new, to show one or more custom profile fields to show in the members list for vb3, go to Admincp >vb Options > User Listing & Profile Viewing.
Make sure "Custom Fields" is checked. Save. Next go to Admincp > User Profile Fields > User Profiles Manager > and then edit the field(s) you want to show in Members List. Save.

That's it! Thanks again for help all
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 01:37 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.03797 seconds
  • Memory Usage 2,197KB
  • Queries Executed 11 (?)
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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete