vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Facebook Profiles (Released) (https://vborg.vbsupport.ru/showthread.php?t=184175)

xxalexkimxx 07-06-2008 11:23 PM

Quote:

Originally Posted by christian8a (Post 1568528)
This makes more sense...
I will ask if he could take a look at that.


If you are going to ask, can you ask him to add another feature in it? It would be more fun if member can change their own background for themself.....

Booth 07-06-2008 11:32 PM

Quote:

Originally Posted by xxalexkimxx (Post 1568524)
I know why's the error...it's because when you installed the vBulletin, you gave it a table prefix on your config.php so when u install the gift it couldn't find that table prefix.....
and I think the coder needs to take a look on that error too!

Sometime's it doesn't see the prefix and sometimes it requires the prefix. So if you manually add your prefix to the tables, it fixes a lot of problems but creates another. I'm sure it can be fixed though.

fattony69 07-07-2008 04:24 AM

Quote:

Originally Posted by R-D (Post 1568106)
Commenting out this chunk of code in myfriends.php fixes that error, seemingly with no adverse effects.
Code:

$profileblock =& $blockfactory->fetch('ProfileFields');
$profileblock->build_field_data();

foreach ($profileblock->locations AS $profilecategoryid => $location)
{
if ($location)
{
$blocklist["profile_cat$profilecategoryid"] = array(
'class' => 'ProfileFields',
'title' => $vbphrase["category{$profilecategoryid}_title"],
'options' => array('category' => $profilecategoryid),
'hook_location' => $location
);
}
}


This works to solve the error!

Monja 07-08-2008 07:01 AM

@ fattony or christian - i´ve tried to find the files where i should copy and paste the info, i went to the stylemanager but all i found are the two files, the default file & the facebook style... can you describe a bit more detailed what my next step is?

sorry to be so blond - i know about css but i couldn´t finde the memberinfo, memberinfo_css and the third on my server.

thanks for your help

DannyITR 07-08-2008 08:46 PM

Quote:

Originally Posted by Monja (Post 1569878)
@ fattony or christian - i?ve tried to find the files where i should copy and paste the info, i went to the stylemanager but all i found are the two files, the default file & the facebook style... can you describe a bit more detailed what my next step is?

sorry to be so blond - i know about css but i couldn?t finde the memberinfo, memberinfo_css and the third on my server.

thanks for your help


In the dropdown menu next to those style choose "edit templates". This shows you a list of templates. Scroll down and expand memberinfo templates. In there you will find 3 templates that match the filenames in the zipfile you downloaded. Copy and paste.

Now for my problem. I copy and pasted and the profile looks no different other than a larger profile pic area. What did I miss? Is there a product that comes with this?

DannyITR 07-08-2008 10:01 PM

If I use the entire facebook style then it works. You can't have just the profile re-styled?

Lift for Life 07-09-2008 01:35 AM

Other than the "Missing argument" error on the friends link, this mod (including the Gifts attachement) is working great for me on 3.7.2

I love this style!

Thanks

fattony69 07-09-2008 06:19 AM

Quote:

Originally Posted by Lift for Life (Post 1570593)
Other than the "Missing argument" error on the friends link, this mod (including the Gifts attachement) is working great for me on 3.7.2

I love this style!

Thanks

How did you get the gifts to work>

christian8a 07-09-2008 11:18 AM

Quote:

Originally Posted by DannyITR (Post 1570478)
If I use the entire facebook style then it works. You can't have just the profile re-styled?

The reason why it works with facebook is because the style is fixed and on the right size. If you want you can just use the facebook style templates that you like on your main style.

christian8a 07-09-2008 11:41 AM

Quote:

Originally Posted by Lift for Life (Post 1570593)
Other than the "Missing argument" error on the friends link, this mod (including the Gifts attachement) is working great for me on 3.7.2

I love this style!

Thanks

I see on the profile pics you are missing /forums/ to display the question mark, the same on the memberlist.

Go to memberinfo template and find

PHP Code:

<!-- ##### PROFILE PIC ##### -->
<if condition="$prepared['profilepicurl']">
<
td id="profilepic_cell" class="tborder alt2" align="center"><img src="$prepared[profilepicurl]$prepared[profilepicsizealt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td><else /><td id="profilepic_cell" class="tborder alt2" align="center" height="200"><img src="/images/misc/no_profilepic.gif" alt="" border="0"/></td>

<if 
condition="$prepared['myprofile']"><tr><td class="explanation" nowrap="nowrap" align="center"><class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr></if>
</if>
<!-- 
##### /PROFILE PIC ##### --> 

and replace for this

PHP Code:

<!-- ##### PROFILE PIC ##### -->
<if condition="$prepared['profilepicurl']">
<
td id="profilepic_cell" class="tborder alt2" align="center"><img src="$prepared[profilepicurl]$prepared[profilepicsizealt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td><else /><td id="profilepic_cell" class="tborder alt2" align="center" height="200"><img src="/forums/images/misc/no_profilepic.gif" alt="" border="0"/></td>

<if 
condition="$prepared['myprofile']"><tr><td class="explanation" nowrap="nowrap" align="center"><class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr></if>
</if>
<!-- 
##### /PROFILE PIC ##### --> 

Then go to memberlist templates and on memberlist_resultbit

Find

PHP Code:

<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass">
<if 
condition="$show['avatar']"><img src="$avatarurlborder="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" class="whiteborder"/><else /><img src="/images/misc/unknown.gif" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="24" /></if></td>
</if> 

Replace with

PHP Code:

<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass">
<if 
condition="$show['avatar']"><img src="$avatarurlborder="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" class="whiteborder"/><else /><img src="/forums/images/misc/unknown.gif" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="24" /></if></td>
</if> 

I will have an updated copy of the red style you see on demos hopefully tonight and have the friends page fixed ;)


All times are GMT. The time now is 07:36 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.01363 seconds
  • Memory Usage 1,785KB
  • 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
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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