Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Dream-Library.com - Dream Sharing Project
Goto page Previous  1, 2
 
Reply to topic    Forum Index » Site showcase View previous topic
View next topic
Dream-Library.com - Dream Sharing Project
Author Message
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote
okay it was bugging me that it looked too much like urbandictionary.com and also bugging me that everyone was upset about it and stuff.. made me feel guilty.



so.. i redid it:





Dream Library




Now it doesn't resemble any site I've ever seen.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri Apr 13, 2007 12:20 pm View user's profile Send private message Visit poster's website AIM Address
Guest








Please login to hide the ads.

Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
Much better, good work. Before it was way too much of a knock off, plus I like your new color scheme and logo better. Urban Dictionary's color scheme doesn't rub me the right way anyway.



-HIM
Fri Apr 13, 2007 6:18 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote
ha thanks man.. i really like urbandictionary's color scheme though.. i dont know why im the only one lol. no one seems to like it.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri Apr 13, 2007 11:14 pm View user's profile Send private message Visit poster's website AIM Address
Ramon



Joined: 12 Oct 2005
Posts: 462
Location: Hoogeveen, NL

Post Reply with quote
Nice restyle Smile



I see your site already had his fair share of visitors :thumb:

_________________
Sat Apr 14, 2007 11:41 pm View user's profile Send private message Visit poster's website
astrostart



Joined: 11 Feb 2007
Posts: 124
Location: The Netherlands

Post Reply with quote
I really like the site! Great style and a nice subject!

_________________
My site: http://www.astrostart.nl | Thanks to everyone here who has helped me!
Sun Apr 15, 2007 10:50 am View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote
lol im glad people still like it.. i severely upset some people on another forum cause of making it so similar to urban dictionary (even though none were affiliated with urban dictionary whatsoever). i just didn't think it would matter that much. oh well.. yeah some girls already playing on it. thanks for all the positive feedback. im glad you guys dont hate me.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Mon Apr 16, 2007 3:17 am View user's profile Send private message Visit poster's website AIM Address
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote
Today I had a bizzzzzzzarre dream before I woke up:

http://www.dream-library.com/view.php?my-super-vivid-dream.html

Then after I wrote that I logged in to the site to see 4 new dream submissions! That's a new record. 4 at once! I realize that a lot of them are from repeat visitors.. so I think next thing this site needs is user memberships so people can add without needing me to approve and stuff. It would look a lot more pro huh?

What do you think guys? I've been working on making all the little code modifications that I've seen around here to make my cutenews.ru into a nice user membership script as well. I see HIM is trying to get his cutenews.ru to work as a user membership script and it must be working out pretty well. FI-DD has all the right answers. FI-DD, you can make the next MySpace. Do it real fast. You'll be rich.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Sat Jun 23, 2007 8:18 pm View user's profile Send private message Visit poster's website AIM Address
Ramon



Joined: 12 Oct 2005
Posts: 462
Location: Hoogeveen, NL

Post Reply with quote
and famous Cool

Even before reading this post I checked out how dream-library was doing. I'm still really enthusiastic about the whole concept, but somehow you're site is missing "something", can't put my finger on it whay exactly though Sad

I noticed it had grown a bit, yet it's not full of dreams Sad Well, maybe you should advertise the site a bit more. Good place to begin is MySpace (Y), just leave girls a message that you have been working on a nice project and you'd love to see them making use of it Razz

_________________
Sat Jun 23, 2007 11:33 pm View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote
I think the site lacks in communication by members! Sad But yes I could/should write girls cause they'll write their sexual fantasies and other weird dreams and guys will be ALL over the site. Wherever girls are, or guys think girls might be.. they will always show up. For example, a bar.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Sun Jun 24, 2007 6:41 am View user's profile Send private message Visit poster's website AIM Address
Ramon



Joined: 12 Oct 2005
Posts: 462
Location: Hoogeveen, NL

Post Reply with quote
So what's up with Dream-Library? Are you updating it or something? Cause i'm getting these f*cked up error messages everywhere i go Sad

_________________
Thu Sep 13, 2007 1:42 am View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote
Well.. I am updating it.. but I didn't know about those errors. I've been so engrossed in such a large overhaul of so many projects that that problem went unnoticed.. although it seems that cutefields is the focal point of this error.. which is also the focal point of the new thing I've been working on. Thanks for lettin me know though. If it drives me too insane I guess I'll fall back on xfields for that site.

When I fix it.. I was hoping to redo the site too.. not redesign.. just add things like memberships and what-not.. things that seem like obvious additions to a site like this but I didn't know how to do it. I think I got it now.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Thu Sep 13, 2007 8:49 am View user's profile Send private message Visit poster's website AIM Address
RDM



Joined: 12 Jan 2007
Posts: 40

Post Reply with quote
Ramon wrote:
Lol why use it like that?



just use a $_SERVER['PHP_SELF'] to determine what page you are on.



So for instance your menu ->



Code:
<ul>

<li class="<? if($_SERVER['PHP_SELF'] == '/cat1.php'){echo "active;} else { echo "nonactive";} ?>">cat 1</li>

<li class="<? if($_SERVER['PHP_SELF'] == '/cat2.php'){echo "active;} else { echo "nonactive";} ?>">cat 2</li>

<li class="<? if($_SERVER['PHP_SELF'] == '/cat3.php'){echo "active;} else { echo "nonactive";} ?>">cat 3</li>

<li class="<? if($_SERVER['PHP_SELF'] == '/cat4.php'){echo "active;} else { echo "nonactive";} ?>">cat 4</li>

<li class="<? if($_SERVER['PHP_SELF'] == '/cat5.php'){echo "active;} else { echo "nonactive";} ?>">cat 5</li>

</ul>



much more simple Wink


And how u implement that in cn_categories?

Code:
function cn_category($prefix = '&nbsp;', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="??" >{name}</a></li>', $no_prefix = true, $level = 0)

Fri Sep 14, 2007 10:04 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2635
Location: Germany

Post Reply with quote
In inc/functions.inc.php change this:
Code:
function category_get_tree($prefix = '', $tpl = '{name}', $no_prefix = true, $id = 0, $level = 0){
global $sql, $PHP_SELF;
static $johnny_left_teat;

   $level++;

   foreach ($sql->select(array('table' => 'categories', 'where' => array("parent = $id"), 'orderby' => array('id', 'ASC'))) as $row){
      $find = array('/{id}/i', '/{name}/i', '/{url}/i', '/{icon}/i', '/{template}/i', '/{prefix}/i', '/\[php\](.*?)\[\/php\]/ie');
      $repl = array($row['id'], $row['name'], $row['url'], ($row['icon'] ? '<img src="'.$row['icon'].'" alt="'.$row['icon'].'" border="0" align="absmiddle">' : ''), $row['template'], (($row['parent'] or !$no_prefix) ? $prefix : ''), '\\1');
      $johnny_left_teat .= ($no_prefix ? preg_replace('/('.$prefix.'{1})$/i', '', str_repeat($prefix, $level)) : str_repeat($prefix, $level));
      $johnny_left_teat .= preg_replace($find, $repl, $tpl);
      category_get_tree($prefix, $tpl, $no_prefix, $row['id'], $level);
   }

return $johnny_left_teat;
}


to this:
Code:
function category_get_tree($prefix = '', $tpl = '{name}', $no_prefix = true, $id = 0, $level = 0){
global $sql, $PHP_SELF;
static $johnny_left_teat;

   $level++;
   $get_cat = end($blah = explode("/", $_GET['category']));

   foreach ($sql->select(array('table' => 'categories', 'where' => array("parent = $id"), 'orderby' => array('id', 'ASC'))) as $row){
      $find = array('/{id}/i', '/{name}/i', '/{url}/i', '/{icon}/i', '/{template}/i', '/{prefix}/i', '/\[php\](.*?)\[\/php\]/ie', '/{class}/i');
      $repl = array($row['id'], $row['name'], $row['url'], ($row['icon'] ? '<img src="'.$row['icon'].'" alt="'.$row['icon'].'" border="0" align="absmiddle">' : ''), $row['template'], (($row['parent'] or !$no_prefix) ? $prefix : ''), '\\1', $get_cat == $row['url'] ? 'active' : 'nonactive');
      $johnny_left_teat .= ($no_prefix ? preg_replace('/('.$prefix.'{1})$/i', '', str_repeat($prefix, $level)) : str_repeat($prefix, $level));
      $johnny_left_teat .= preg_replace($find, $repl, $tpl);
      category_get_tree($prefix, $tpl, $no_prefix, $row['id'], $level);
   }

return $johnny_left_teat;
}


Then change this:
Code:
function cn_category($prefix = '&nbsp;', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="??" >{name}</a></li>', $no_prefix = true, $level = 0)


to this:
Code:
function cn_category($prefix = '&nbsp;', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="{class}" >{name}</a></li>', $no_prefix = true, $level = 0)

Fri Sep 14, 2007 11:32 am View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1782
Location: US

Post Reply with quote

Dream Library two point oooooooooooooh


I just spent 3 billion hours redoing the whole site. Members can sign up. Guests and members can write dreams. People 'not logged in' get a Anonymous dream form.. People 'logged in' get a 'guest can add news' form that has a readonly input box that puts their username in place so when they add their dream they are forced to use their username. Auto short story is activated so when users write their dream it is truncated to 200 characters on all pages until the {full-story} is clicked. Short story is set to 'display: none' (making it disappear) since it's not to be written in. Only members can leave comments.

It went from kinda plain.. to very interactive. It was very over due. I hope some people sign up Smile

I did, however, lose all previous comments.. well I just dumped them cause I want to kinda start fresh with the new system. Plus, all dreams are marked as 'anonymous' until people start signing up. I kept all the usernames from the previous dreams.. so as soon as those people sign up on the site.. I'll use the 'multiple author' hack and put their username on their old dreams. Until then, they stay anonymous. I thought really hard and figured this was the best method for future growth of the site.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Thu Sep 27, 2007 11:58 am View user's profile Send private message Visit poster's website AIM Address
RDM



Joined: 12 Jan 2007
Posts: 40

Post Reply with quote
FI-DD wrote:
In inc/functions.inc.php change this:
Code:
function category_get_tree($prefix = '', $tpl = '{name}', $no_prefix = true, $id = 0, $level = 0){
global $sql, $PHP_SELF;
static $johnny_left_teat;

   $level++;

   foreach ($sql->select(array('table' => 'categories', 'where' => array("parent = $id"), 'orderby' => array('id', 'ASC'))) as $row){
      $find = array('/{id}/i', '/{name}/i', '/{url}/i', '/{icon}/i', '/{template}/i', '/{prefix}/i', '/\[php\](.*?)\[\/php\]/ie');
      $repl = array($row['id'], $row['name'], $row['url'], ($row['icon'] ? '<img src="'.$row['icon'].'" alt="'.$row['icon'].'" border="0" align="absmiddle">' : ''), $row['template'], (($row['parent'] or !$no_prefix) ? $prefix : ''), '\\1');
      $johnny_left_teat .= ($no_prefix ? preg_replace('/('.$prefix.'{1})$/i', '', str_repeat($prefix, $level)) : str_repeat($prefix, $level));
      $johnny_left_teat .= preg_replace($find, $repl, $tpl);
      category_get_tree($prefix, $tpl, $no_prefix, $row['id'], $level);
   }

return $johnny_left_teat;
}


to this:
Code:
function category_get_tree($prefix = '', $tpl = '{name}', $no_prefix = true, $id = 0, $level = 0){
global $sql, $PHP_SELF;
static $johnny_left_teat;

   $level++;
   $get_cat = end($blah = explode("/", $_GET['category']));

   foreach ($sql->select(array('table' => 'categories', 'where' => array("parent = $id"), 'orderby' => array('id', 'ASC'))) as $row){
      $find = array('/{id}/i', '/{name}/i', '/{url}/i', '/{icon}/i', '/{template}/i', '/{prefix}/i', '/\[php\](.*?)\[\/php\]/ie', '/{class}/i');
      $repl = array($row['id'], $row['name'], $row['url'], ($row['icon'] ? '<img src="'.$row['icon'].'" alt="'.$row['icon'].'" border="0" align="absmiddle">' : ''), $row['template'], (($row['parent'] or !$no_prefix) ? $prefix : ''), '\\1', $get_cat == $row['url'] ? 'active' : 'nonactive');
      $johnny_left_teat .= ($no_prefix ? preg_replace('/('.$prefix.'{1})$/i', '', str_repeat($prefix, $level)) : str_repeat($prefix, $level));
      $johnny_left_teat .= preg_replace($find, $repl, $tpl);
      category_get_tree($prefix, $tpl, $no_prefix, $row['id'], $level);
   }

return $johnny_left_teat;
}


Then change this:
Code:
function cn_category($prefix = '&nbsp;', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="??" >{name}</a></li>', $no_prefix = true, $level = 0)


to this:
Code:
function cn_category($prefix = '&nbsp;', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="{class}" >{name}</a></li>', $no_prefix = true, $level = 0)


It works but it shows the same category with "active" no matter in which category you are ..
Tue Oct 23, 2007 11:11 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Site showcase All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.