userpages profile like a bio - social networking

Fusion_Sushi - July 12, 2006 - 23:09

My question is this: with the bio module, each person can post one bio and one bio only and the link is automatically included in posts. I'd like to have a userpage, not a user profile.. you know how MySpace has your account(private and standard) and then your profile(public and custom). I was thinking that the bio module already does everything.. is there a way to have the bio created by default for every account and for me to customize the bio page so that there are standard things in the page ex. user picture then let the users inject CSS?

Has anyone done this? is there an easier way? is flexinode a solution? do you have any tips hints or ideas??? thanks.

is this feasible?

Fusion_Sushi - July 13, 2006 - 07:06

Process, thoughts, opinions corrections??

1) copy bio.module and duplicate the bio table
2) grep and replace "bio" with "userpage"
3) rename copy of bio table to userpage
4) create a new inputfilter specifically for the new module
5) edit the new userpage.module and hardcode some basic features
6) develop a new css page mapped to the stuff in #5
7) disable the bio module and remove from server
8) upload new module and enable
9) enable in access
10) change the links in the user listing to point to their userpage, rather than their account.
11) restrict access to their old user account
12) test...

-----------------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

so far

Fusion_Sushi - July 13, 2006 - 17:26

successes

1) was able to create the userprofile module sucessfully and seems to work fine
2) there is no db to worry about
3) access controls work as expected

problems

1) I'm confused on theming issues. I included this in my template.php:

function phptemplate_userprofile($user, $fields = array()) {
return _phptemplate_callback('userprofile', array('user' => $user, 'fields' => $fields));
}

and created a userprofile.tpl.php but something is wrong, it does not seem to be using the userprofile.tpl.php

---------------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

i have installed the bio

gos1 - March 22, 2007 - 15:59

i have installed the bio module too but I cannot see any picture submitting forms etc. How can I manage them ?

interesting

mwu - July 13, 2006 - 19:30

thanks for working on this. This is functionality I'm interested in.

I'm not clear on the specifics of myspace. I don't know if you've taken a look at usernodes or modules like that.

alright forget it

Fusion_Sushi - July 14, 2006 - 09:58

Thats the end of that project.. so I'm abandoning this PHP bio->userprofile attempt and I'm going to rebuild this whole project in Coldfusion.. I'll have an awsome users profile area that does everything.. maybe finished by tonight.

-------------------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

update, all written in Coldfusion

Fusion_Sushi - July 14, 2006 - 09:58

Pre-alpha release stage but looking good. Basically it ended up being a profile page similar to MySpace.. it has all the same stuff, a friends image gallery(based upon my work rewriting the user directory). a list of recently written bogs, online status indicator, guestbook list with images.. tomorrow I'll finish this up and create a section to allow css modifications... anyone good with css that would like to beta test?? starting late Friday or over the weekend?? that would help a lot as my css sucks..

So now you'll have the standard user_profile to use, just restrict access to that and that will be where users modify the contents of their profile and do stuff like write blogs etc... but their "public" page(described above) will be what I just wrote, when finished will be at http://domain.com/theirname and will allow customization and integration with a video section(Google videos) that should be ready in less than week too, alpha release already working.

Coldfusion, we get it done.

-----------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

this sounds

Andrew Thomas - July 14, 2006 - 12:48

this sounds amazing
definitly something i was interetsed in doing on my site also

coldfusion

mwu - July 14, 2006 - 16:48

cool.

I know next to nothing about coldfusion.

Should I think about installing your module?

what kind of server requirements does coldfusion have? (apache or something else?)

I'm happy to test. how should I test?

You are welcome to

Fusion_Sushi - July 14, 2006 - 19:56

You'll probably want to use a hosted environment.. Coldfusion runs on Linux and works side by side with PHP and is EASY to learn and has all sorts of cool features.

The server is expensive if you would choose to buy it from Adobe and do the hosting yourself which is why I recommend using a host like mine that charges like $10 a month for support of PHP and CF, but it's up to you. If you do want to use the scripts that I have posted they are not for true beginners to CF, you'll have to define the application set the basic parameters in the directory that you choose to run the script out of.

I'll be happy to provide tips and donate more code but, its really not hard to do and there are lots of tutorials on the web for Coldfusion.

------------------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

Seems like an interesting

mudanoman - July 15, 2006 - 21:56

Seems like an interesting project. Would definitely like to see how it turns out. Btw, have you seen the Drupal Myspace Module (currently for 4.6.5.): http://www.drupalution.com/mods

Peace,

Ivan

did'nt see that before

Fusion_Sushi - July 15, 2006 - 22:14

Nope what does it do?? does not say much really.

____________________________________________________________________
"You can always find the storm by listening for the Thunder."

Hmmm..... I just installed in on drupal 4.7.2.....

ckeo - July 15, 2006 - 22:37

It semi-works... the blocks i can enable.... but some features turn up errors...
Has anybody gotten this to work on 4.7.2 or ported it yet ?

Ok, it's totally sick!

Fusion_Sushi - July 16, 2006 - 02:07

Our new user profiles section is up and running and when I say sick.. I mean it's, really, really cool. We Just implemented the new user profiles, which allow everything described above and it all works! It pulls all the info from the Drupal database and allows people to inject css for their public profiles and I'm seeing what their custom pages look like so far.. totally cool.

__________________________________________________________________
"You can always find the storm by listening for the Thunder."

but....

ckeo - July 16, 2006 - 05:29

wheres the demo ?
And are you going to release the code ?

Alpha

Fusion_Sushi - July 16, 2006 - 17:06

It was just developed 2 days ago.. there is a lot of work left to be done. It's working well now on my system but, for instance, yes you can insert CSS, but I have not yet started locking down what code can be put in.. there are a lot of security and stability issues that only are dealt with over time. There is a lot of code, pages and pages and I don't have access to do daily postings as I work on it, sooo.. I'm a pretty quick developer so if you need this code, keep in touch and I'll share.

-----------------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

updates?

Andrew Thomas - July 19, 2006 - 05:26

please keep us updated on this mod!!
thanx for all ur time and effort!!

Things are progressing

Fusion_Sushi - July 19, 2006 - 12:23

As I'm sure you know running a big/complex site is kinda like being a fireman, running around trying to put out little PHP fires. I have a couple main concerns with my site at the moment that have nothing to do with this area that are holding up big progress. The ecommerce section right now is a big deal for us.

What I have done is to define a configuration section of user profile fields:

profile_bgcolor
profile_textcolor
profile_backgroundimage
Profile_css
Profile_font

This is the data which I grab for the profile. I'm actually thinking of making the profile compatible with this tool: http://www.strikefile.com/myspace/classic.htm so that anyone who wants to move from MySpace can bring their css... you like???

------------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

thats a great idea nice

Andrew Thomas - July 19, 2006 - 15:30

thats a great idea nice work

Actually no....

ckeo - July 20, 2006 - 03:14

those profile generators exist for a very good reason... have you ever worked on designing a myspace profile ?

A better option would be to use normal templates and/or build your own generato or converter.
Besides I think If anyone canme to one of our sites from myspace, then they may want to build a different page than their myspace one.

Craig.

Opinion noted

Fusion_Sushi - July 21, 2006 - 10:05

I'd like to make it easy for the user to switch, but that's just me. You are welcome to rebuild the code anyway that you please. I'm building it MySpace compatible.

____________________________________________________________
"You can always find the storm by listening for the Thunder."

Actually...

Fusion_Sushi - July 21, 2006 - 21:34

I thought it over and decided to split the difference... I'll make it MySpace CSS compatible.. i.e. the user can use their css and it will be mapped to a cleaner css system.. how's that??

"You can always find the storm by listening for the Thunder."

I am uploading this

Muslim guy - July 21, 2006 - 03:46

I am uploading this MySpace_module Version 10 to a 4.7.2 - eager to see if it works.

BTW if you visit the drupalution.com and click on a module link, it will download the .zip (just to inform you guys :)

Thanks.... i tried converting it myself... but...

ckeo - July 21, 2006 - 05:24

Im not that familiar enough with drupal or php yet.

I'll test it out right away.

Craig.

oh.... im guessing you meant upgrading not uploading....

ckeo - July 21, 2006 - 05:53

because its not working fully.

I want to be clear.. Muslim

Fusion_Sushi - July 21, 2006 - 21:36

This thread is not about the PHP "MySpace_module".. I have not used it.. it's for 4.6 and it sounds like it does not even work. Please do not confuse my project with that project.

"You can always find the storm by listening for the Thunder."

i dont think anybody is confused....

ckeo - July 22, 2006 - 00:33

I think he just wants people to know it is available.

Craig

I didnt start it....I was

Muslim guy - July 22, 2006 - 06:03

I didnt start it....I was commenting on the guy who linked to Drupalution.com :)

BTW your module is CFM based right....

Is it editable just like Drupal profile.module?

I found that Drupalution - MySpace was a pain to edit....it has preconfigured options and textareas, lie `Hair Style' and `Gay/Straight' etc.

Very configurable...

Fusion_Sushi - July 23, 2006 - 09:35

I can't say for sure what it will look like when I'm done... I wish that I had everything all worked out ahead of time but, that's not how it works.. some things are easy, some easy things get hard and are better done differently. I'll probably release this in parts as each comes up, and my biggest contribution, is indeed code but it's also in motivating you to learn more so that you too can build bridges.

________________________________________________________________
"You can always find the storm by listening for the Thunder."

MySpace Module?

hendrakieran - September 6, 2006 - 09:08

Anyone using this MySpace module from drupalution? Care to share anything at all? The site seems outdated, with the last posting back in October 2005, almost a year ago?

Your work sounds very

madhatter - July 21, 2006 - 02:13

Your work sounds very interesting. I'm adding a post so that I can track this conversation.

Vincent....

I'm also tracking

radiofreebcj - July 28, 2006 - 00:49

I'm also tracking this...very interesting. Keep up the good work, and I'd love to see an example or a download.

Not sure what this page has

radiofreebcj - July 28, 2006 - 04:42

Not sure what that last page has to do with anything we've been talking about.

Tracking this...

Mojah - July 31, 2006 - 10:28

One Love

tracking as well... can't

kweisblatt - August 14, 2006 - 12:48

tracking as well... can't wait to see.

BTW- uploaded the myspace profile module to my civicspace 4.6 site and a lot of features do not work shutting down the profile page and pictures do not upload right.

Kris

Current project: www.cribfax.com

Any progress?

ruralrooster - August 29, 2006 - 01:35

Any progress? Sounds cool!

Tracking

DayShallCome - August 29, 2006 - 04:44

Tracking this project. Would like to see how it turns out! Great work!

hmmm

apina - September 1, 2006 - 12:51

looks like this was one the most hopefull projects to come but i think he abandoned it??
its been over a month and no updates

Code?

litio.net - September 8, 2006 - 03:44

Whare can i find the code that is already done? could i get a copy, i woulld like to see how it works...
Thanks!

We should all spit in some

mudanoman - September 13, 2006 - 20:11

We should all spit in some money to get this developed! Anyone interested?!

updates...............?

j0k3z - September 19, 2006 - 05:58

updates...............?

would love to be kept in the loop

Shiraz Dindar - September 22, 2006 - 23:34

sounds like a great project, hope it gets released!

any new development on this?

bjraines - November 8, 2006 - 07:01

any new development on this?

I am curious about this as well.

mzabala - November 15, 2006 - 17:38

Tracking...

tracking this page...

pyrello - November 27, 2006 - 23:17

tracking this page...

Not sure if there is much

bjraines - November 29, 2006 - 00:45

Not sure if there is much reason to track. I havent seen any updates on the site above.

update

Fusion_Sushi - December 8, 2006 - 05:13

sorry for the long delay in updating... just to wrap things up here. I totally scrapped php and moved my entire project to Coldfusion. yes, I have a good start on a MySpace clone.. yes it is registered with sourceforge, is it ready for production, no. does it support user customized profiles, blogs, images, voting on media and guestbook's? yes. is it worth integrating into Drupal, PHP.. no. It's hard enough to make the app secure using one language.. if someone knows how to pass session variables securely it might be worth doing... I have an older version that might work as a basic profiles plug-in to Drupal but... building my cf version takes all my time.. I just felt that I'd rather build everything so that I understand how it works.. too much of Drupal PHP was confusing to me because I did'nt understand how the logic was built so.. if you are interested.. drop me a note and I'll let you know when its time to release a production version...

Best

To Fusion Sushi

technomage - February 21, 2007 - 10:35

We are not interrested in your coldfusion stuf.
As you know this is a forum for drupal users. Don't promis things that you can't deliver!

Hey dont kill any good stuff

Muslim guy - February 22, 2007 - 04:32

I might be dumb at PHP and CFM, but I believe developers like Fushion Sushi did a lot of work to contribute to Drupal even if it's CFM based stuff (non PHP)

You might also notice that many modules exist that help to integrate other CMS and Forums with Drupal, even with commercial VBulletin.

Drupal users do get interested with non-PHP that can integrate well with Drupal )(see MySpace for example - we aspire to have like that, and keen on Drupal + cfm if it's cheap and works well

Please continue...

chowzer - March 1, 2007 - 09:36

I'm interested to see this developed. Even if its in CF, can it be ported over later to Drupal as a module?

tracking

kirkcaraway - April 1, 2007 - 15:40

Tracking progress on this work. Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.