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 - Profile Update - MySpace Profile Rewrite (https://vborg.vbsupport.ru/showthread.php?t=183320)

Hex_legend 06-22-2008 10:00 PM

Profile Update - MySpace Profile Rewrite
 
What does this do?
This will change your profile page to have a myspace style layout.

This creates new templates so should not alter anything.

This also uses standard css classes so should fit into any skin.

It should squeeze down to 800x600 (just) and stops expanding around 1000 wide so it doesn't look too warped.

Version History
0.1 - Initial test/pre-release version


Product Details

4 plugins
5 templates (all new)
3 file uploads

Installation instructions
1- Upload .htaccess to forum root dir
2 - Upload the 2 images to /images folder
3 - Install product
4 - Create profile fields (as below)
5 - Register at Shrinktheweb and note the 2 unique access keys that you get.
6 - Edit MEMBERINFO_new

look for:

PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>

<
td class="tcat" width="100%">
<
a  style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('my_table7')"><img id="collapseimg_my_table7" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_my_table7].gif" alt="" border="0" /></a>
<
div style="text-align: center;">
Homepage
</div>
</
td>
<
tbody id="collapseobj_my_table7" style="$vbcollapse[collapseobj_my_table7]">
</
tr>

<
tr>

<
td class="alt1" width="100%">
<
div class="smallfont">
<if 
condition="$prepared['homepage']">
    <
fieldset>
<
legend>$vbphrase[home_pageof $prepared[username] (<a href="$prepared[homepage]target="_blank">$prepared[homepage]</a>)</legend>
<
div class="fieldset_padding floatcontainer">
<
ul class="list_no_decoration">
<
a href="$prepared[homepage]target="_blank"><img src="http://www.shrinktheweb.com/xino.php?embed=1&u=0c386&STWAccessKeyId=5edc8c987f37d0f&Size=lg&Url=$prepared[homepage]width="175" height="125" align="left" border="0" style="border: 3px double #e3e3e3" alt="$prepared[username]'s Homepage" /></a>
</
ul></div></fieldset>
    <else />
$prepared[usernamehas no homepage set in <if condition="$userinfo[field12]==Male">his <else /> her </if> profile settings</if>


</
div>
</
td>

</
tr>
</
table>

<
br /> 

Replace 0c386&STW with your secret access key
Replace 5edc8c987f37d0f with your access key


Create profile fields as below

Quote - Field 5
City - Field 6
Star Sign - Field 7
Height - Field 8
Ethnicity - Field 9
Smoker - Field 10
Body Type - Field 11
Gender - Field 12
Real Name - Field 13
Country - Field 14
About Me - Field 15
Who I'd like to meet - Field 16
First Date - Field 18
Custom Block Title - Field 19
Custom Block Content - Field 20
Marital Status - Field 21
Looking For - Field 22

If you choose to not use any of the profile fields, or you put them in different field ID's, then you will have to edit the memberinfo_new template accordingly as it is currently assigned to those ID's.

Additional Information

For this modification to work correctly, there are a few other modifications that have to be installed, otherwise there will be dead links in the profile.

If you do not have the VBlog installed (the official VBulletin version) then there are some template edits you need to do to remove the "calls" for the blog.

Open Memberinfo_new
Look for:
PHP Code:


<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>

<
td class="tcat" width="100%">
<
a  style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('my_table6')"><img id="collapseimg_my_table6" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_my_table6].gif" alt="" border="0" /></a>
<
div style="text-align: center;">
Blogs
</div>
</
td>
<
tbody id="collapseobj_my_table6" style="$vbcollapse[collapseobj_my_table6]">
</
tr>

<
tr>

<
td class="alt1" width="100%">
<
div class="smallfont">
 [<
a href="http://www.thesocialmeet.com/blog_subscription.php?do=subscribe&u=$userinfo[userid]">Subscribe to $userinfo[username]'s blog</a>]
<br />

[<a href="http://www.thesocialmeet.com/blog.php?u=$userinfo[userid]">View All $userinfo[username]'
s Blog Entries</a>]

<if 
condition="$post['entries'] > 0">
$vbphrase[blog_entries]: <a href="blog.php?$session[sessionurl]u=$post[userid]">$post[entries]</a>
</if>


</
div>
</
td>

</
tr>
</
table>

<
br /> 

Remove.

In memberinfo_block_mainprofile, look for:
PHP Code:

| <a href="blog.php?u=$userinfo[userid]">Blog</a

Remove. That's it. No more template edits.


Modification Info

This modification is still in beta phase and IS supported. Please let me know what else you would like to see in the next release. This has been tested on 3.7.1 and other instances of 3.7.x.
You can see a live demo here
user - demo
pass - demo

Please click "Mark As Installed" to show your support for this modification. This modification is completely free, but all donations are appreciated. If you would like to donate any amount, please send a paypal payment to: admin@vampyrescene.com.

Hex_legend 06-23-2008 03:33 PM

Reserved first post

elmati 06-23-2008 04:41 PM

Suggestions:

Phrase it!
Take out all the references to http://www.thesocialmeet.com :P
And make it valid XHTML

Nice add on ;)

Megatr0n 06-23-2008 05:02 PM

Reserved.

Hex_Legend - can you now confirm if a facebook version is on the way? :)

Hex_legend 06-23-2008 07:10 PM

I will be phrasing it and taking all references out in version 1.2 which should be done in the next few days - anything else you want to see?

Megatr0n, I will now be working on the facebook clone as I now have full time which I can put into it :)

Shazz 06-23-2008 07:13 PM

Looks alot cleaner and nicer then the old 3.5 myspace look :)
Great job.

Hex_legend 06-23-2008 07:39 PM

Is there any other features you guys would like to see?

Boosted Panda 06-23-2008 07:40 PM

Just more facebook like would be awesome!

Shazz 06-23-2008 07:57 PM

Quote:

Originally Posted by Boosted Panda (Post 1557135)
Just more facebook like would be awesome!

maybe 2 versions, one more changed to be facebook like and this one kept the same for the myspace lovers.

smnoel 06-23-2008 08:07 PM

An option to switch between both for the end user would be great!


All times are GMT. The time now is 08:47 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.01154 seconds
  • Memory Usage 1,784KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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