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
MySpace Friends (separate page) Details »»
MySpace Friends (separate page)
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-27-2008 Last Update: 07-27-2008 Installs: 36
Template Edits
Additional Files  
No support by the author.

Im not the author of this product but I have asked for permission to release it and did some small adjustments to it.

I cant support this hack, or fix any problem, but feel free to ask and I will answer what I know and please feel free to help other people

=====
What it does

It displays friends list in a separate page the way MySpace does.

DEMO
http://www.eicorvette.com

On the guest welcome message, click on profile demo and on that profile you will see the friends block mini, click on view all.

=====
Install

1) Upload file friends.php to root directory
2) Import product (admincp/plugins $ products/import product)
3) Set your values on your admin cp (vbulletin options/separate friends page)

Template edit:
memberinfo templates / memberinfo_block_friends_mini

At the very end you will find:
PHP Code:
<a href="#friends" onclick="return vB_TabCtrls['profile_tabs'].switch_tab('friends');">$vbphrase[show_all_friends]</a

Replace with: (or just change the url to friends.php)
PHP Code:
<a href="friends.php?u=$userinfo[userid]">$vbphrase[show_all_friends]</a
=====

This product can be used to complete the facebook style released here
https://vborg.vbsupport.ru/showthread.php?t=184016

Thats all

Show Your Support

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

Comments
  #12  
Old 07-29-2008, 11:28 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem
Reply With Quote
  #13  
Old 07-30-2008, 01:49 AM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can't we just use the current template for friendster mod? i try to install but it required to install another template.
Reply With Quote
  #14  
Old 08-05-2008, 10:27 PM
Shaliza Shaliza is offline
 
Join Date: Apr 2006
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic! Worked flawlessly.
Reply With Quote
  #15  
Old 08-06-2008, 03:50 PM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downloaded and installed, thanks for this hack!
Reply With Quote
  #16  
Old 08-09-2008, 08:34 PM
figu120 figu120 is offline
 
Join Date: Feb 2008
Location: medellin
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank....


Hello good hack ....
I'm thinking of using it in my hack if I leave .... if you want a mp and let me talk about that ...
Reply With Quote
  #17  
Old 08-28-2008, 11:05 AM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this change the whole layout of the profile page? I would like my members to be able to use their profile page as like a myspace or facebook page. If I'm understanding this right, this does this? No?
Reply With Quote
  #18  
Old 09-29-2008, 03:51 PM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't install it yet but checked the demo. great idea.. Can I ask for some editions too?

1. pagination.
2. add something like this. https://vborg.vbsupport.ru/showthrea...=123687&page=2
Reply With Quote
  #19  
Old 10-12-2008, 11:54 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 soundbarrierpro View Post
Does this change the whole layout of the profile page? I would like my members to be able to use their profile page as like a myspace or facebook page. If I'm understanding this right, this does this? No?
It doesnt change anything on the profile page.

Quote:
Originally Posted by Forum Lover View Post
Didn't install it yet but checked the demo. great idea.. Can I ask for some editions too?

1. pagination.
2. add something like this. https://vborg.vbsupport.ru/showthrea...=123687&page=2
It does have pagination, but the popup is a good idea
Reply With Quote
  #20  
Old 10-14-2008, 11:06 PM
iglobal iglobal is offline
 
Join Date: Apr 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, but I got an error... anyone please?

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)

WHERE userlist.userid = 11
AND userlist.type = 'buddy'
AND userlist.friend = 'yes'
LIMIT 0,;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 10
Error Number : 1064
Request Date : Tuesday, October 14th 2008 @ 09:05:16 PM
Error Date : Tuesday, October 14th 2008 @ 09:05:16 PM
Script : http://www..com/friends.php?u=11
Referrer :
IP Address : ....
Username : admin
Classname : vB_Database
MySQL Version : 5.0.51a-community
Reply With Quote
  #21  
Old 10-15-2008, 12:28 PM
EWGF EWGF is offline
 
Join Date: May 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod


Edit: Small mistake in the navbar. The link with the member's name isn't right, it only says "member.php" without any userid.

Open friends.php, replace line 45 with the following line to fix it:
PHP Code:
$navbits construct_navbits(array('member.php?' 'u=' $userid => $userinfo['username'], '' => $userinfo['username'] . '\'s Friends')); 
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 10:39 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.04581 seconds
  • Memory Usage 2,317KB
  • 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
  • (3)bbcode_php
  • (2)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
  • (2)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