[QUOTE=benbb;42263032]Curate.IM's already detected my Gravatar, still showing that ugly comic sans though :v[/QUOTE]
The comic sans was meant to be incentive to change your profile picture, not sure why it's still showing if it's connected to your Gravatar but I'll look into it :)
Thanks
[QUOTE=Alcapwne;42265686]The comic sans was meant to be incentive to change your profile picture, not sure why it's still showing if it's connected to your Gravatar but I'll look into it :)
Thanks[/QUOTE]
It's working now.
[QUOTE=benbb;42265745]It's working now.[/QUOTE]
Ahhh I think you just have to log out and log back in for it to realise that your Gravatar is linked up, because I didn't change anything between 5 hours ago (your first post) and now
[editline]21st September 2013[/editline]
also do you guys think that running some sort of contest on here/reddit to get people to make nice high quality content on my site (with some prizes) would be a good idea? I feel like the lack of content currently on there is stopping new users from sticking around and using the site.
Who needs an API when you can just pass raw SQL :v:
[url]http://jacappsdata.com/app/query.php?field=item&myusername=jacappsradio&mypassword=12345jar&selqry=app_id,%20onoff,%20fba_code%20as%20facebook_id,%20twit_key%20as%20twitter_key,%20twit_secret%20as%20twitter_secret,%20localytics,%20localytics_format,%20panels_url,%20autostart,%20247_link%20as%20ad_link,%20triton_siteid,%20triton_code,%20triton_reward,%20player_color,%20nav_color,%20time_url,%20entvideo_id,%20entvideo_setting,%20ticker%20from%20apps%20inner%20join%20facebookapps%20on%20%28fba_id=facebook%29%20inner%20join%20twitterapps%20on%20%28twit_id=twitter%29%20where%20apptype=%27android%27%20and%20bundle_id=%27com.jacobsmedia.wbli%27[/url]
[editline]22nd September 2013[/editline]
This query lists out all the TABLES on the MySQL server
[url]http://jacappsdata.com/app/query.php?field=item&myusername=jacappsradio&mypassword=12345jar&selqry=*%20FROM%20information_schema.TABLES[/url]
[editline]22nd September 2013[/editline]
Oh...oh dear. I found an endpoint that allows for write queries.
Working on bringing Metrics Hunter back to life.
[t]http://i.imgur.com/6j957uk.png[/t]
I'm going to develop it in Ruby on Rails. Do you guys use an IDE for Ruby? I usually just use stuff like Sublime Text for scripting languages.
What do you guys think of [URL="http://manolisvrondakis.com/layouts/movie/"]this[/URL]?
It's still a very much WIP, clearly.
[img]http://puu.sh/4xNDN.jpg[/img]
i dont like the text shadow on this
[QUOTE=Coffeee;42275700]What do you guys think of [URL="http://manolisvrondakis.com/layouts/movie/"]this[/URL]?
It's still a very much WIP, clearly.[/QUOTE]
The boxes labeled kittens and the buttons accompanying them, mostly the top of the boxes are a bit too glossy/rounded to fit that well with the rest of the website style.
The buttons in there are a bit of an odd fit too.
[IMG]http://i.imgur.com/fc4sZLL.png[/IMG]
[img]http://puu.sh/4xPxP.jpg[/img]
dunno if you intended for this to happen
[QUOTE=/dev/sda1;42276552][img]http://puu.sh/4xPxP.jpg[/img]
dunno if you intended for this to happen[/QUOTE]
I most certainly didn't, thanks for pointing it out :) I'll get to work
- snip -
I'm not sure how many of you read General Discussion, but please check this out [url]http://facepunch.com/showthread.php?t=1309512[/url] and consider signing up :) thanks
[QUOTE=Epiclulz762;42282341][T]http://i.imgur.com/eGc5ZZ4.png[/T]
Tailoring fonts make me want to quit altogether.
I'm literally monospacing.[/QUOTE]
Your background is more contrasty than your content. You should probably fix that.
I wanted to get back into design so I can get better.
[url]http://jung3o.github.io/doForget/[/url] (super WIP)
(not really sure if I'm going to make this. If I do, it will be to learn ruby)
Is it good practice to use OpenStreetMap on a company website instead of Google Maps?
okay my mind is turning itself off now, can't figure this out in a good way
need three nested submenus. "simple" as that. what the fuck
[QUOTE=Giraffen93;42292919]it needs to be dynamic serverside[/QUOTE]
then make it dynamic serverside
[editline]24th September 2013[/editline]
array("label" => "text", "submenu" => array( ... ));
[editline]24th September 2013[/editline]
if php
[QUOTE=Darkwater124;42293617]then make it dynamic serverside
[editline]24th September 2013[/editline]
array("label" => "text", "submenu" => array( ... ));
[editline]24th September 2013[/editline]
if php[/QUOTE]
well for my mental wellbeing it should be easily read too, i was doing that solution for a while then my brain exploded
[QUOTE=Giraffen93;42293793]well for my mental wellbeing it should be easily read too, i was doing that solution for a while then my brain exploded[/QUOTE]
PHP is a back-end language, and it is not supposed to be easily read under some circumstances. What Darkwater124 posted is probably the most easy-to-read solution for PHP.
[QUOTE=Svenskunganka;42293865]PHP is a back-end language, and it is not supposed to be easily read under some circumstances. What Darkwater124 posted is probably the most easy-to-read solution for PHP.[/QUOTE]
well the main reason i want php is so it lights up the menu items depending on which page you are on, i don't want to rely on javascript or static html files
[QUOTE=Giraffen93;42293793]well for my mental wellbeing it should be easily read too, i was doing that solution for a while then my brain exploded[/QUOTE]
Weren't you the one telling me that PHP is great because you have built lots of community sites and CMSes and what not in PHP and never ran into any issues? But dynamically building a menu out of an array is getting you stuck..
[QUOTE=KmartSqrl;42293951]Weren't you the one telling me that PHP is great because you have built lots of community sites and CMSes and what not in PHP and never ran into any issues? But dynamically building a menu out of an array is getting you stuck..[/QUOTE]
i could use a sql table and be done with it but i'd rather not since this is mostly a static site and setting up databases are just a hassle
- snip -
[QUOTE=Giraffen93;42293987]i could use a sql table and be done with it but i'd rather not since this is mostly a static site and setting up databases are just a hassle[/QUOTE]
I dont understand what you want completely but this might help you get the idea of it:
[CODE]
$menu = array(
"label" => "Sometext",
"submenu" => array(
"label" => "Sometext",
"submenu" => array(
"label" => "Sometext",
"label" => "Sometext",
),
"label" => "Sometext"
),
"label" => "Sometext"
);
[/CODE]
[QUOTE=Svenskunganka;42294040]I dont understand what you want completely but this might help you get the idea of it:
[CODE]
$menu = array(
"label" => "Sometext",
"submenu" => array(
"label" => "Sometext",
"submenu" => array(
"label" => "Sometext",
"label" => "Sometext",
),
"label" => "Sometext"
),
"label" => "Sometext"
);
[/CODE][/QUOTE]
but they need links too, it becomes a nested clusterfuck in the end
never tried sqlite, might work
[QUOTE=Giraffen93;42293987]i could use a sql table and be done with it but i'd rather not since this is mostly a static site and setting up databases are just a hassle[/QUOTE]
You definitely don't need to set up a db table for this unless you want people to edit it on the fly. I don't see what's wrong with just using an array though?
[code]
<?php
$main_menu = array(
'Home' => array(
'path' => '/'
),
'Portfolio' => array(
'path' => '/portfolio'
),
'About' => array(
'path' => '/about',
'submenu' => array(
'Our Team' => array(
'path' => '/our-team',
'submenu' => array(
'Frank' => array(
'path' => '/team/frank'
),
'Bob' => array(
'path' => '/team/bob'
)
),
),
'Our Process' => array(
'path' => '/our-process'
)
)
),
);
$on_home_page = true;
if($on_home_page){
$main_menu['Home']['active'] = true;
}
function do_menu_stuff($menu) { ?>
<ul>
<?php foreach ($menu as $item_name => $menu_item): ?>
<li>
<a href="<?php echo $menu_item['path'] ?>" <?php if ($menu_item['active']): ?>class="active"<?php endif ?>><?php echo $item_name ?></a>
<?php if (isset($menu_item['submenu'])){
do_menu_stuff($menu_item['submenu']);
} ?>
</li>
<?php endforeach ?>
</ul>
<?php }
do_menu_stuff($main_menu);
?>
[/code]
[QUOTE=KmartSqrl;42294306]You definitely don't need to set up a db table for this unless you want people to edit it on the fly. I don't see what's wrong with just using an array though?
[code]
<?php
$main_menu = array(
'Home' => array(
'path' => '/'
),
'Portfolio' => array(
'path' => '/portfolio'
),
'About' => array(
'path' => '/about',
'submenu' => array(
'Our Team' => array(
'path' => '/our-team',
'submenu' => array(
'Frank' => array(
'path' => '/team/frank'
),
'Bob' => array(
'path' => '/team/bob'
)
),
),
'Our Process' => array(
'path' => '/our-process'
)
)
),
);
$on_home_page = true;
if($on_home_page){
$main_menu['Home']['active'] = true;
}
function do_menu_stuff($menu) { ?>
<ul>
<?php foreach ($menu as $item_name => $menu_item): ?>
<li>
<a href="<?php echo $menu_item['path'] ?>" <?php if ($menu_item['active']): ?>class="active"<?php endif ?>><?php echo $item_name ?></a>
<?php if (isset($menu_item['submenu'])){
do_menu_stuff($menu_item['submenu']);
} ?>
</li>
<?php endforeach ?>
</ul>
<?php }
do_menu_stuff($main_menu);
?>
[/code][/QUOTE]
because it's a huge clusterfuck and is hard to read, i have a hard time reading that
sql tables are real nice, you just have a parent to the id and loop through everything
[QUOTE=KmartSqrl;42294306]You definitely don't need to set up a db table for this unless you want people to edit it on the fly. I don't see what's wrong with just using an array though?
[code]
<?php
$main_menu = array(
'Home' => array(
'path' => '/'
),
'Portfolio' => array(
'path' => '/portfolio'
),
'About' => array(
'path' => '/about',
'submenu' => array(
'Our Team' => array(
'path' => '/our-team',
'submenu' => array(
'Frank' => array(
'path' => '/team/frank'
),
'Bob' => array(
'path' => '/team/bob'
)
),
),
'Our Process' => array(
'path' => '/our-process'
)
)
),
);
$on_home_page = true;
if($on_home_page){
$main_menu['Home']['active'] = true;
}
function do_menu_stuff($menu) { ?>
<ul>
<?php foreach ($menu as $item_name => $menu_item): ?>
<li>
<a href="<?php echo $menu_item['path'] ?>" <?php if ($menu_item['active']): ?>class="active"<?php endif ?>><?php echo $item_name ?></a>
<?php if (isset($menu_item['submenu'])){
do_menu_stuff($menu_item['submenu']);
} ?>
</li>
<?php endforeach ?>
</ul>
<?php }
do_menu_stuff($main_menu);
?>
[/code][/QUOTE]
As expected of our sqrl! You always continiue to amaze me. How come you know everything?
Sorry, you need to Log In to post a reply to this thread.