vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Myspace Profile Re-Write PRO! 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=109094)

ZacUSNYR 03-21-2006 11:44 PM

All it is is a profile re-write. You can do it yourself any way you want. I love the change. Makes the profiles useable.

ZacUSNYR 03-21-2006 11:45 PM

Quote:

Originally Posted by ZacUSNYR
Did anyone else notice the member groups do not display right? heh. It looks like it uses it's own table code somewhere... doh!

My fix.

In the memberinfo find usergroup section.

Find the if statement and modify it ... replace the if and everything between with

Code:

    <if condition="$show['membergroups']">
    <td class="alt2" valign="top">Member of the group(s) below.</td>
    $membergroupbits
    <else />

Edit memberinfo_membergroupbit

Replace all with

Code:

<tr>
<td class="alt1"></td>
        <td class="alt2">
                <div>$usergroup[opentag]<strong>$usergroup[title]</strong>$usergroup[closetag]<if condition="$usergroup[description]">:</if></div>
                <div class="smallfont">$usergroup[description]</div>
        </td>
</tr>


Stangsta 03-22-2006 12:22 AM

Quote:

Originally Posted by ZacUSNYR
My fix.

In the memberinfo find usergroup section.

Find the if statement and modify it ... replace the if and everything between with

Code:

    <if condition="$show['membergroups']">
    <td class="alt2" valign="top">Member of the group(s) below.</td>
    $membergroupbits
    <else />

Edit memberinfo_membergroupbit

Replace all with

Code:

<tr>
<td class="alt1"></td>
    <td class="alt2">
        <div>$usergroup[opentag]<strong>$usergroup[title]</strong>$usergroup[closetag]<if condition="$usergroup[description]">:</if></div>
        <div class="smallfont">$usergroup[description]</div>
    </td>
</tr>


Good Job! Do you mind if I add that to the 1st post?

ZacUSNYR 03-22-2006 01:35 AM

No problem - there are a lot of different ways to do it - but that's how I went about doing it.

rrokdoka 03-22-2006 02:25 AM

Quote:

Originally Posted by ZacUSNYR
Not following - you want people to be able to put a link to an image and have it show up?

Then you'd just put the user field in between the html tag for an image.

<img src="$userinfo[fieldx]" />

And as long as there is a valid path (http://www.images.com/myimage.jpg) in the userfield it'll show up just dandy. You can also declare BBCode for the user field and use the https://vborg.vbsupport.ru/ tags.

hmmm... i dont get what youre saying :( ... i was saying if anyone on my site wanted to put a picture up and resize it to fit in the page.... how could they do that i tried using normal html and nothing showed up? Can anyone help me with what code i can give them to put an image up?

rrokdoka 03-22-2006 02:40 AM

Does anyone know how to get the background image to stand still while everything else scrolls because some people find it annoying that the background scrolls with all the text...

ZacUSNYR 03-22-2006 08:12 AM

Quote:

Originally Posted by rrokdoka
Does anyone know how to get the background image to stand still while everything else scrolls because some people find it annoying that the background scrolls with all the text...

add background-attachment: fixed to the css call.

So ...
body {background-image: url('bgimage.gif'); background-attachment: fixed}

shadowdancer36 03-22-2006 01:30 PM

Can someone tell me the code to bring up the age based off the users registration info? It's a $vbphrase right?

ZacUSNYR 03-22-2006 02:26 PM

Quote:

Originally Posted by shadowdancer36
Can someone tell me the code to bring up the age based off the users registration info? It's a $vbphrase right?

$vbphrase[age] will display the vbphrase (Age for English).

$userinfo[age] will display the contant

So

$vbphrase[age]: $userinfo[age]

Will display
Age: 28

shadowdancer36 03-22-2006 02:32 PM

Thanks! :banana:


All times are GMT. The time now is 01:19 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.01757 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete