 |
 |
 |
 |
 |
| Author |
Message |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
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
last update: 07-22-08: 8:30 pm |
|
| Fri Apr 13, 2007 12:20 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
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 |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
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
last update: 07-22-08: 8:30 pm |
|
| Fri Apr 13, 2007 11:14 pm |
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 462 Location: Hoogeveen, NL |
|
|
|
Nice restyle
I see your site already had his fair share of visitors :thumb:
_________________
 |
|
| Sat Apr 14, 2007 11:41 pm |
|
 |
astrostart

Joined: 11 Feb 2007 Posts: 124 Location: The Netherlands |
|
|
|
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 |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
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
last update: 07-22-08: 8:30 pm |
|
| Mon Apr 16, 2007 3:17 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
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
last update: 07-22-08: 8:30 pm |
|
| Sat Jun 23, 2007 8:18 pm |
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 462 Location: Hoogeveen, NL |
|
|
|
and famous
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
I noticed it had grown a bit, yet it's not full of dreams 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 
_________________
 |
|
| Sat Jun 23, 2007 11:33 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
I think the site lacks in communication by members! 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
last update: 07-22-08: 8:30 pm |
|
| Sun Jun 24, 2007 6:41 am |
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 462 Location: Hoogeveen, NL |
|
|
|
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 
_________________
 |
|
| Thu Sep 13, 2007 1:42 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
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
last update: 07-22-08: 8:30 pm |
|
| Thu Sep 13, 2007 8:49 am |
|
 |
RDM
Joined: 12 Jan 2007 Posts: 40
|
|
|
|
 |  | Lol why use it like that?
just use a $_SERVER['PHP_SELF'] to determine what page you are on.
So for instance your menu ->
 |  | <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  |
And how u implement that in cn_categories?
 |  | function cn_category($prefix = ' ', $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 |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2635 Location: Germany |
|
|
|
In inc/functions.inc.php change this:
 |  | 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:
 |  | 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:
 |  | function cn_category($prefix = ' ', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="??" >{name}</a></li>', $no_prefix = true, $level = 0) |
to this:
 |  | function cn_category($prefix = ' ', $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 |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1782 Location: US |
|
|
|
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
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
last update: 07-22-08: 8:30 pm |
|
| Thu Sep 27, 2007 11:58 am |
|
 |
RDM
Joined: 12 Jan 2007 Posts: 40
|
|
|
|
 |  | In inc/functions.inc.php change this:
 |  | 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:
 |  | 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:
 |  | function cn_category($prefix = ' ', $tpl = '<li><a href="[php]cute_get_link($row, category)[/php]" class="??" >{name}</a></li>', $no_prefix = true, $level = 0) |
to this:
 |  | function cn_category($prefix = ' ', $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 |
|
 |
|
|
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
|
|
 |
 |
 |
|