Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Facebook Profiles (Released) Details »»
Facebook Profiles (Released)
Version: 1.00, by christian8a christian8a is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 07-01-2008 Last Update: 07-05-2008 Installs: 125
Uses Plugins Template Edits
Additional Files  
No support by the author.

Facebook Profiles

Brought to you by http://www.eibuddy.com :up:

What is it?
Facebook profiles rewrite.
For vbulletin 3.7.0

Update: It does work the same way as vbulletin is set, so if you use Profile Customize it works the same way. See screenshot #4

Demo:

This is how I implemented it on my main site
http://www.eicorvette.com/member.php?u=1

This is only a profile layout edit in a facebook style to implement with your site, and does not includes the Gifts Product you see on the demos.

For a full facebook style get it from here
https://vborg.vbsupport.ru/showthread.php?t=184016

=============================
Install:

1- Download profile_templates.zip file and copy/paste content to yours.
(use a test style always, and backup before you try anything )

=============================

Friends on Separate Page
https://vborg.vbsupport.ru/showthread.php?t=186575

=====

Thats all

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-06-2008, 12:12 PM
R-D's Avatar
R-D R-D is offline
 
Join Date: Jan 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
);
}
}
Reply With Quote
  #53  
Old 07-06-2008, 12:20 PM
R-D's Avatar
R-D R-D is offline
 
Join Date: Jan 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The 3.7.2 member.php has changed that code to the following (see below), you should be able to replace the old code with the new stuff (untested), although just removing it as above works too.

Code:
$vbulletin->GPC['simple'] = ($prepared['myprofile'] ? $vbulletin->GPC['simple'] : false);

$profileblock =& $blockfactory->fetch('ProfileFields');
$profileblock->build_field_data($vbulletin->GPC['simple']);

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

Out of interest, don't you have to have Jelsoft's permission to copy such a sizeable chunk of their work? Your myfriends.php file is exactly the same as Jelsoft's member.php.
Reply With Quote
  #54  
Old 07-06-2008, 02:41 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by R-D View Post
Out of interest, don't you have to have Jelsoft's permission to copy such a sizeable chunk of their work? Your myfriends.php file is exactly the same as Jelsoft's member.php.
The friends page is a copy of your memberinfo.php file, basically you are just using another profile page, with a different template and only using the friends block. Permission from jelsoft I dont need unless I am "selling" their product. As far as I know Im allowed to modify my own files and templates as I totally wish and here Im just sharing how I got it to work on my site after plenty of requests.

Glad you fixed it, I wish everybody could just do that and make their own page to work

==========
By the way the friends product that I was including in the pro version is totally different than this one and that one was made out of thin air, you can see it in action here (just to make things clear)

http://www.myls1.com/friends.php?u=1
Reply With Quote
  #55  
Old 07-06-2008, 03:39 PM
xxalexkimxx xxalexkimxx is offline
 
Join Date: Nov 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we make our users to be able to change the background?
Reply With Quote
  #56  
Old 07-06-2008, 05:02 PM
Booth Booth is offline
 
Join Date: Jan 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxalexkimxx View Post
I just bought pro version and installed it, but when I'm trying to view the profile it doesn't work. Database error, here's the message, please check.

Database error in vBulletin 3.7.1:

Invalid SQL:

SELECT
gifts.gifttypeid, gifts.giftid, gifts.comment, gifts.message,
gifts.private, gifts.recipient, gifts.recipientid, gifts.sender,
gifts.senderid, gift_type.image
FROM khmerroom_gifts AS gifts
LEFT JOIN mysite_gift_type AS gift_type ON(gifts.gifttypeid = gift_type.gifttypeid)
WHERE recipientid = 1
ORDER BY dateline DESC
LIMIT 4;

MySQL Error : Table 'mysitecom_gifts' doesn't exist
Error Number : 1146
Request Date : Wednesday, July 2nd 2008 @ 04:40:07 PM
Error Date : Wednesday, July 2nd 2008 @ 04:40:07 PM
Script : http://www.mysite.com/member.php?u=1
Referrer : http://www.mysite.com/index.php
IP Address : **.**.**.**
Username : xxAlexKimxx
Classname : vB_Database
MySQL Version : 5.0.27
I've purchased the gifts plug-in and I'm getting exactly the same error. When the product installs it doesn't appear to be installing the database tables.

Any chance of a fix so that I can get gifts working?
Reply With Quote
  #57  
Old 07-06-2008, 05:20 PM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PixelFx View Post
I'm getting this error too, but the way your wording it for setup not sure, could you explain this fix a bit better please.

Also side note, what currency are you using for the gift system, or is it someting I could plug vbcredits into?
I would be very happy if you did that. I love vbcredits and this would just be awesome.
Reply With Quote
  #58  
Old 07-06-2008, 06:26 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys the Gift product is not supported, is an external addon and we are not supposed to use vb.org to talk about that. It is a custom work somebody made for my site that I decided to share it for a small fee, but I didnt make. It has been working so perfectly in all of my sites that now that I see these errors some of you are getting I have no clue why or how to fix it sorry about that.
Reply With Quote
  #59  
Old 07-06-2008, 10:56 PM
xxalexkimxx xxalexkimxx is offline
 
Join Date: Nov 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Booth View Post
I've purchased the gifts plug-in and I'm getting exactly the same error. When the product installs it doesn't appear to be installing the database tables.

Any chance of a fix so that I can get gifts working?
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!
Reply With Quote
  #60  
Old 07-06-2008, 11:01 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxalexkimxx View Post
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!
This makes more sense...
I will ask if he could take a look at that.
Reply With Quote
  #61  
Old 07-06-2008, 11:17 PM
schlottkej schlottkej is offline
 
Join Date: Apr 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine over here..
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:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04849 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete