Social Portal [ohai.im]

Website in a Weekend

  • (5 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • 5

73 Replies - 11158 Views - Last Post: 29 October 2011 - 12:08 PM

#46 gabehabe  Icon User is online

  • GabehabeSwamp
  • member icon




Reputation: 1346
  • View blog
  • Posts: 10,918
  • Joined: 06-February 08

Re: Social Portal [ohai.im]

Posted 25 November 2009 - 02:13 PM

yessir, close. I've set up a rule so that profile names /can't/ start with a ; which reserves it for functionality such as this. (Need to add a JS rule on the register page tomorrow, too)

It's currently this structure:
http://ohai.im/;p;ht....com/gabehabe;3

First can be p or l, profile or link.
Then it's the URL.
Lastly, the ID in the table, so it knows what to actually update.

Like I said, I'll probably re-structure them to http://ohai.im/;p3;h...er.com/gabehabe
Was This Post Helpful? 0
  • +
  • -

#47 Gorian  Icon User is offline

  • ninja DIC
  • member icon

Reputation: 116
  • View blog
  • Posts: 1,660
  • Joined: 28-June 08

Re: Social Portal [ohai.im]

Posted 25 November 2009 - 02:26 PM

Sweet. I am liking it a lot.

What you could do, is just add another section, like you have for profiles and links, for "friends" and we just add the username. Say, I add gabehabe, and it links http://ohai.im/gabehabe

This post has been edited by Gorian: 25 November 2009 - 02:26 PM

Was This Post Helpful? 0
  • +
  • -

#48 gabehabe  Icon User is online

  • GabehabeSwamp
  • member icon




Reputation: 1346
  • View blog
  • Posts: 10,918
  • Joined: 06-February 08

Re: Social Portal [ohai.im]

Posted 26 November 2009 - 02:21 AM

Considering it, but I don't want to cross the border from being a portal to being a network. :)
Was This Post Helpful? 0
  • +
  • -

#49 EdwinNameless  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 119
  • View blog
  • Posts: 710
  • Joined: 15-October 09

Re: Social Portal [ohai.im]

Posted 26 November 2009 - 02:27 AM

View Postgabehabe, on 25 Nov, 2009 - 01:13 PM, said:

I've set up a rule so that profile names /can't/ start with a ; which reserves it for functionality such as this.


I hope you've set up rules to prevent people registering as "register" and "login" too. ;-)

Good good stuff. You probably mentioned it somewhere else, but what language did you use? Or is that industrial secret?
Was This Post Helpful? 0
  • +
  • -

#50 gabehabe  Icon User is online

  • GabehabeSwamp
  • member icon




Reputation: 1346
  • View blog
  • Posts: 10,918
  • Joined: 06-February 08

Re: Social Portal [ohai.im]

Posted 26 November 2009 - 07:31 AM

No need, register and login are both users already ;)

Actual pages are powered (sorta) by profiles. Only difference is that some will include different files for the body.

I've used PHP. :)

htaccess for vanity URLs:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

RewriteRule (.+) index.php [nc]


Then I just use the $_SERVER["REQUEST_URI"] variable to get the profile name.

$id = @mysql_real_escape_string(substr($_SERVER["REQUEST_URI"], 1));

substr is used to get rid of the leading /

:)
Was This Post Helpful? 0
  • +
  • -

#51 gabehabe  Icon User is online

  • GabehabeSwamp
  • member icon




Reputation: 1346
  • View blog
  • Posts: 10,918
  • Joined: 06-February 08

Re: Social Portal [ohai.im]

Posted 26 November 2009 - 01:24 PM

Currently very primitive, but as promised:
http://ohai.im/analytics
Was This Post Helpful? 0
  • +
  • -

#52 Gorian  Icon User is offline

  • ninja DIC
  • member icon

Reputation: 116
  • View blog
  • Posts: 1,660
  • Joined: 28-June 08

Re: Social Portal [ohai.im]

Posted 01 December 2009 - 10:29 AM

Nice, has a link to analytics now. :)
Was This Post Helpful? 0
  • +
  • -

#53 gabehabe  Icon User is online

  • GabehabeSwamp
  • member icon




Reputation: 1346
  • View blog
  • Posts: 10,918
  • Joined: 06-February 08

Re: Social Portal [ohai.im]

Posted 15 January 2010 - 06:07 AM

Been a while, but got two new features:

You can add email addresses, protected by displaying as images instead of text.

You can also now add a twitter account, to display a few recent tweets on your profile.
Was This Post Helpful? 0
  • +
  • -

#54 TEH  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 28
  • View blog
  • Posts: 150
  • Joined: 30-January 08

Re: Social Portal [ohai.im]

Posted 18 January 2010 - 06:16 AM

I submit my website link with erong address and tryed to remo it by clicking it in this page Manage, it removes it from the list, but when I check my profile it's still here and when I update my manage-page it appears again. So I can't remove my links.
Was This Post Helpful? 0
  • +
  • -

#55 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: Social Portal [ohai.im]

Posted 27 January 2010 - 04:07 PM

I have some suggestions for some profiles to add to the site: Github.com and Gitorious.org.

http://ohai.im/programble

My pic is too small for that page lol.

Just saw the "Submit a Site" button lol :) submitting those now.

This post has been edited by programble: 27 January 2010 - 04:10 PM

Was This Post Helpful? 0
  • +
  • -

#56 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: Social Portal [ohai.im]

Posted 27 January 2010 - 04:22 PM

Also, how about adding fields for IM accounts, like Jabber, Yahoo, AIM, MSN, etc.
Was This Post Helpful? 0
  • +
  • -

#57 Gorian  Icon User is offline

  • ninja DIC
  • member icon

Reputation: 116
  • View blog
  • Posts: 1,660
  • Joined: 28-June 08

Re: Social Portal [ohai.im]

Posted 27 January 2010 - 04:35 PM

Nice Danny, tested the new features, seem to work great. Is it possible to have some sort of disguised link to add functionality to the email images? say something of the sort: onclick="this.src='http://ohai.im/;p;mailto:email@domain.com;0'"
Was This Post Helpful? 0
  • +
  • -

#58 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: Social Portal [ohai.im]

Posted 28 January 2010 - 06:08 PM

Best method for obfuscating emails is to hex encode them.
Was This Post Helpful? 0
  • +
  • -

#59 ts230  Icon User is offline

  • D.I.C Head

Reputation: 11
  • View blog
  • Posts: 225
  • Joined: 11-July 09

Re: Social Portal [ohai.im]

Posted 31 January 2010 - 10:11 AM

Pretty snazzy! I signed up today as ts230.
Your site is still pretty basic. I'd be interested to work on it a little bit. I always wanted to do something like that!
Was This Post Helpful? 0
  • +
  • -

#60 ts230  Icon User is offline

  • D.I.C Head

Reputation: 11
  • View blog
  • Posts: 225
  • Joined: 11-July 09

Re: Social Portal [ohai.im]

Posted 31 January 2010 - 12:37 PM

And BTW: Where did you register the .im domain? I was just interested.
Was This Post Helpful? 0
  • +
  • -

  • (5 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • 5