vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Need a mod (https://vborg.vbsupport.ru/showthread.php?t=92442)

cyberphere32 07-18-2005 04:13 PM

Need a mod
 
1 Attachment(s)
Hello,this time i picture something i need i need another thin in user cp wich will users see in my profile !
Can someone do it ?

Like this (i made it fast so its not the best,but you see the point):

Andreas 07-18-2005 04:21 PM

You can just use Custom Profile Fields for this :)

cyberphere32 07-18-2005 04:26 PM

Yes i know but i want it like this because i will have then too many custom profile fields !
And if i make custom profile fields then those things wont show up like in the picture when viewing profile,because then they will be mixed up with other profile things (with those ones in left table where is biografy,location...) !

Can anyone please make it ?

Andreas 07-18-2005 04:35 PM

You can make the Layout as shown on the Images.

cyberphere32 07-18-2005 04:40 PM

how to make a layout ?
Im a total noob for php so i dont know to make anything,and now i need this,and i cant make it... :disappointed:

Andreas 07-18-2005 04:49 PM

You don't need PHP. Just set them to be hidden in Profile so they won't show up under additional Information.

Then make a new Section "Computer Information" in Template MEMBERINFO and use $userinfo[fieldx] to display them there.

cyberphere32 07-18-2005 05:00 PM

How to make a new section ?
Can you explaine ?

sketch42 07-19-2005 10:02 AM

<a href="https://vborg.vbsupport.ru/showthread.php?p=738347#post738347" target="_blank">https://vborg.vbsupport.ru/showt...347#post738347</a>

i knew i saw this somewhere here

bigcurt 07-19-2005 10:37 AM

Yea but I do not think this will add it in the pace you want it in the user profiles.

sketch42 07-19-2005 10:57 AM

Quote:

Originally Posted by bigcurt
Yea but I do not think this will add it in the pace you want it in the user profiles.

but its a start... im sure it wouldnt be too hard to make it show in the public profile instead of the postbit

cyberphere32 07-19-2005 11:30 AM

Yes you get the point i want it in the profile because my postbit is like this:

Name !
Avatar !
... !
... ! POST
... !
... !

So if i apply that pach my one post will be 10 .km long !
Can someone please tell me how to add it to profile ?

sketch42 07-19-2005 11:36 AM

Quote:

Originally Posted by cyberphere32
Yes you get the point i want it in the profile because my postbit is like this:

Name !
Avatar !
... !
... ! POST
... !
... !

So if i apply that pach my one post will be 10 .km long !
Can someone please tell me how to add it to profile ?

well i just glanced at the code but honestly it wouldnt take much to adjust that code that is placed in the postbit template to work in the MEMBERINFO template.. ill look into it... but dont hesitate to ask in the original authors thread... you never know he may never even thought to put it in the profile. you got nothin to lose.

King Kovifor 07-19-2005 01:31 PM

Quote:

Originally Posted by cyberphere32
Hello,this time i picture something i need i need another thin in user cp wich will users see in my profile !
Can someone do it ?

Like this (i made it fast so its not the best,but you see the point):

In Member Info Find and Change this code:

[html] <td class="tcat" width="50%">$vbphrase[group_memberships]</td>[/html

Change where it says $vbphrase[group_memberships] to whatever the title is. Than Change this code:

HTML Code:

<if condition="$show['membergroups']">
                                        <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_a_member_of_the_following_groups]</phrase></strong>:</td>
                                        <else />
                                        <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
                                        </if>
                                </tr>
                                $membergroupbits
                                </table>

To have something like this:

HTML Code:

=<if condition="$post['fieldX']">Fieldx Prefix:<br /> $post['fieldX']</if>
Just change field X to the field # and it should work.

cyberphere32 07-19-2005 02:10 PM

thanks,il try !

I really cant do it !
If someone can make it,please... :disappointed:


All times are GMT. The time now is 05:28 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.01728 seconds
  • Memory Usage 1,748KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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