vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vS-Interactive Profiles (https://vborg.vbsupport.ru/showthread.php?t=150028)

Harley D 04-20-2008 02:39 PM

It should be close to lines 33-37. See below. I cut a bit more than the code that was deleted, to help you locate the correct area easier.

Code:

                                </if>                       
                                <div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
                                <if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
                        </td>
                        <if condition="$show['profilepic']">
                        <td valign="top" align="$stylevar[right]" rowspan="2">
                                <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
                        </td>
                        </if>
                </tr>
                <tr valign="top">
                        <if condition="$show['avatar']">


deLi_kurT 04-21-2008 06:57 AM

Thanks

lilfields10 05-20-2008 09:56 PM

is there a way you can make the friend requests and comment notifications go to private messages? Maybe even in a special folder? That would be awesome. Overall an awesome mod though, I just came back to see updates, been using this for a while now.

nicolerork 06-16-2008 01:04 PM

Is there a way to set up a page pagination for friends lists?

Ash Ketchum 06-16-2008 09:02 PM

I installed vS on my forum, but my group memberships and contact information are showing up all crappy like. How do I change this?


Here's an example: http://poke-sages.com/member.php?u=3

rootnik 06-17-2008 03:29 AM

Quote:

Originally Posted by Ash Ketchum (Post 1551144)
I installed vS on my forum, but my group memberships and contact information are showing up all crappy like. How do I change this?


Here's an example: http://poke-sages.com/member.php?u=3

I suggest reverting the template and applying the changes again. You've messed up somewhere...

whiteeagle0 06-25-2008 05:51 AM

please tell me how to fix this everytime i enter a myspace layout code it comes up with this -.-

fixed it but now i have this problem.....

my background to my website doesn't transparent when i add a myspace layout...so my profile looks really really ugly...how can i fix this?

Warlord 08-10-2008 02:02 AM

I installed this and hacked it a bit. I love it. I think it's an amazing tool to help build your community.

Great hack!

Check out my profile here for a demo.

I am having the problem with the instant messengers, but I think I'll find a fix for that soon. Oh and there is something wrong with the <IF> statement for the commenting system, it still says there are no comments even if there are comments on the profile page, but should be able to figure that out too.

Still.. Great hack!

Warlord 08-10-2008 02:40 AM

Ok, I forget what the orginal code was on the new memberinfo template for this hack but the vbulletin out of the box code for the memberinfo Instant Messenger section looks like this (minus the table I wrapped it in)

PHP Code:

 <!-- INSTANT MESSENGER ICONS -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
            <if 
condition="$show['hasimicons']">
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div align="$stylevar[left]">

            <
fieldset class="fieldset">
                <
legend><font color="#ffffff">$vbphrase[instant_messaging]</font></legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                <if 
condition="$show['textimicons']">
                    <if 
condition="$userinfo['showicq']">
                    <
tr>
                        <
td>$vbphrase[icq]</td>
                        <
td>$userinfo[icq]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showaim']">
                    <
tr>
                        <
td>$vbphrase[aim]</td>
                        <
td>$userinfo[aim]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showmsn']">
                    <
tr>
                        <
td>$vbphrase[msn]</td>
                        <
td>$userinfo[msn]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showyahoo']">
                    <
tr>
                        <
td>$vbphrase[yahoo]</td>
                        <
td>$userinfo[yahoo]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['skype']">
                    <
tr>
                        <
td>$vbphrase[skype]</td>
                        <
td>$userinfo[skype]</td>
                    </
tr>
                    </if>
                <else />
                    <if 
condition="$userinfo['showicq']">
                    <
tr>
                        <
td>$userinfo[icqicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showaim']">
                    <
tr>
                        <
td>$userinfo[aimicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showmsn']">
                    <
tr>
                        <
td>$userinfo[msnicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showyahoo']">
                    <
tr>
                        <
td>$userinfo[yahooicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showskype']">
                    <
tr>
                        <
td>$userinfo[skypeicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
                    </
tr>
                    </if>
                </if>
                
$template_hook[memberinfo_iminfo]
                </
table>
            </
fieldset>
            </if>
            
            
$template_hook[memberinfo_contactinfo]
        </
div>
    </
div>
    </
td>
    
</
tr>
</
table>
 <!-- 
END INSTANT MESSENGER ICONS --> 

Users who have nothing filled out in their profile for instant messengers have the instant messenging box show up on their profile but it's empty (it doesn't show any of the icons or IM usernames, but does show the table)

Users who have added their instant messenger names to their profile don't even get the box to show up (nothing at all appears).

Does anyone have any idea how to fix this? I've looked at the code and I'm not finding any reason the original code shouldn't work.:confused:

Warlord 08-10-2008 03:51 PM

Ok, I've SERIOUSLY cleaned up the MEMBERINFO code from a previous poster (Jascul I think). Not complaining though, it was a great starting block to rebuild from. There was just a lot of bad html in there.

Here's my memberinfo template as it stands now. If you wish to use this code you will need to create user profile fields and correctly edit this template accordingly.

To create user profile fields, log in to your Admin CP and click on User Profile Fields and then Add New User Profile Field.

Please note that, I'm still experiencing the problems with the instant messenger icons. I will post the corrections when/if I find them.

You will also likely want to delete everything in between the WEBCOMIC comments as well.


All times are GMT. The time now is 12:18 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.01797 seconds
  • Memory Usage 1,808KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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