PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Sep 19, 2012 11:27
Each User group has a number of user levels so I get confused... You're only ever taught adminstrator, editor, contributer. What if an editor level has senior, junior editor and has permissions based on these two?
Sep 19, 2012 11:26
Im building tables in MYSQL
Sep 19, 2012 11:26
Admin Table, Client Table, User Table
Sep 19, 2012 11:26
or are they three seperate tables
Jon
Sep 19, 2012 11:26
It's the DB schema, do i have tables of Users, User Groups (Staff, Clients, Users), and Users then have permissions and rules 'is_admin', 'is_manager'....
Jon
Sep 19, 2012 10:26
Is there a specific way to use ACL Authentication in the case of Staff, Clients, Users? Within Each group are custom user levels, i.e Staff has Admin, Manager. Client has Admin, Manager. User would have something like Premium and Normal.
Jon
Jun 5, 2012 19:44
You guys ever war with the Javascript room, i was just in there, they just called you all faggots (Zirak) especially
Jon
Jun 2, 2012 16:05
thanks im a fool
Jon
Jun 2, 2012 16:05
omg
Jon
Jun 2, 2012 16:05
perhaps a position inside with z-index i dont know, i tried a rectangle with a triangle on the end, but its not responsive...
Jon
Jun 2, 2012 16:02
@RepWhoringPeeHaa sorry just bugging me
Jon
Jun 2, 2012 16:01
Hello, Any CSS fans there want to help fitting text inside this one-sided trapezium? jsfiddle.net/bYa4K
Jon
May 25, 2012 21:28
Thanks for your feedback. I've tried writing my own, I've used CI, i'm using Cake and I'd love to use Zend tbh I keep going round in circles. But thanks.
Jon
May 25, 2012 21:19
i dont understand what everyone uses, does everyone just write their own and reuse?
Jon
May 25, 2012 21:17
i figured
Jon
May 25, 2012 21:04
Hello, Could anyone recommend a best practise CakePHP file structure to incorporate an admin backend? I'm slightly familiar with the built in admin route, i'd like to be able to add/edit blog posts and do image uploads for a gallery on one admin page preferably in one controller?
 

MySQL and relational databases

Ask your question, and then hang around a while to see if an e...
Jon
Sep 19, 2012 10:31
Is there a specific way to use ACL Authentication in the case of Staff, Clients, Users? Within Each group are custom user levels, i.e Staff has Admin, Manager. Client has Admin, Manager. User would have something like Premium and Normal.
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jon
Aug 18, 2012 14:52
sorry i'd like to be able to bind navclose on .showMenu
Jon
Aug 18, 2012 14:51
$(function(){
var menuStatus;

$(".showMenu").click(function(){
if(menuStatus != true){
$("#menu").animate({
height: "44px",
}, 300, function(){menuStatus = true});
return false;
} else {
$("#menu").animate({
height: "0px",
}, 300, function(){menuStatus = false});
return false;
}
});
$("#viewport").bind('click.navclose', function(){
$(this).unbind('click.navclose');
if(menuStatus = true){
$("#menu").animate({
height: "0px",
}, 300, function(){menuStatus = false});
return false;
}
});

}); showmenu is clicked
Jon
Aug 18, 2012 14:51
hello i want to be able to bind the navclose after
Jon
Jul 23, 2012 12:08
Anyone used nivo slider for multiple slideshows on one page?
Jon
Jun 5, 2012 19:41
Google suggests this {{html "</sc"+"ript>"}}, and this </scr{{= ""}}ipt>
Jon
Jun 5, 2012 19:39
People being nice to nublets like me is a rare thing, its usually nubets jog on
Jon
Jun 5, 2012 19:36
and the likes
Jon
Jun 5, 2012 19:36
instead its omg why the fuck are you doing like tht go die
Jon
Jun 5, 2012 19:36
not really just dont get why people cant just help out 5 mins
Jon
Jun 5, 2012 19:35
most people do when i ask for support in these chat rooms
Jon
Jun 5, 2012 19:35
ok
Jon
Jun 5, 2012 19:34
i cant write it in the code becasue it disappears
Jon
Jun 5, 2012 19:33
i have my reasons for using jquery templates, full screen functionality for a photography portfolio but i have made pages with similar functionaility. i wish to add an ajax contact form so i need to add ajax submit
Jon
Jun 5, 2012 19:30
i have tried </scr{{= ""}}ipt>, and the likes
Jon
Jun 5, 2012 19:30
Can anyone suggest a shim to include <script> tags inside jQuery templates? Oo entering private conversation
Jon
Jun 5, 2012 19:22
i have a form inside a jquery template id like to add ajax to
Jon
Jun 5, 2012 19:22
Can anyone suggest a way to include <script> tags inside jQuery templates?
Jon
May 24, 2012 11:43
sorted
Jon
May 24, 2012 11:30
and would like to add the content too
Jon
May 24, 2012 11:29
but its the fullscreen function i like
Jon
May 24, 2012 11:29
i added my own filter functions to this
Jon
May 24, 2012 11:24
loadImgPreview and loadContentItem
Jon
May 24, 2012 11:24
if you look at the tut theres two more functions below that open a jquery template with the content of the a tag
Jon
May 24, 2012 11:22
its original is simply .ib-content
Jon
May 24, 2012 11:20
var $ibWrapper = $('#content'),

Template = (function() {

// true if dragging the container
var kinetic_moving = false,
// current index of the opened item
current = -1,
// true if the item is being opened / closed
isAnimating = false,
// items on the grid
$ibItems = $ibWrapper.find('#main > ul.thumbs > li > a'),
// image items on the grid
$ibImgItems = $ibItems.not('ul.thumbs > li > a > .ib-content'),
// total image items on the grid
Jon
May 24, 2012 11:20
i feel its something to do with paths in gallery.js
Jon
May 24, 2012 11:19
but when i try to add content into a <li>
Jon
May 24, 2012 11:19
@Esailija ive changed the location of the images <li><a rel="portraits" href="#"><img alt="" data-largesrc="assets/images/large/1.jpg" src="assets/images/thumbs/1-s.jpg"></a></li>
Jon
May 24, 2012 11:18
oops
Jon
May 24, 2012 11:18
@esailij
Jon
May 24, 2012 11:16
thanks i could add a div scroll
Jon
May 24, 2012 11:14