I noticed some entries were missing from watchdog in Drupal 5 and I figured out that it was happening for uid
err
Michelle,
I think webchick is right to a degree, but what forums are really lacking is a personal connection to the community. I think what is really needed is a large cache of content which you can easily link those repeat questions to, rather than ignoring them outright. If the answers were easily
available on the web, I don't think people would be asking the questions.
Well, I'm getting help on making a web 2.0 logo for my site in there now, which I"d never post on the forums because it's rather OT
From a end users perspective, forums can really suck, because it often takes forever to get any sort of answer out of them, which doesn't jive for people working under deadlines
it's just a matter of taste i guess
if you're under tight deadlines, the first thing you shoudl do is STFW
STFW?
Search the fine web. Often, the person telling you to do a search has the manual
shut this fucking window (the irc window that is)
and WORK HARD
then you're not dependent on either someone eventually answering your question on the forums, nor on some random expert you need just happening to be in IRC the same time you are.
Docs question. Do we call it FAPI 2, and FAPI 3?
Does that mean version 2 and version 3, I hope?
hmm, what's the context?
The people who can answer my questions tend to not read the forums
functions, forms generated by the new Forms API (fapi2) can be themed in a similar manner. This tutorial will work through the process of theming a form.
api versioning. yay
nah. I would do "the form api host in Drupal 5"
ahh it was the input filter causing the access denied
how bizarre
That's better. Thanks webchick
I understand where your coming from.. but at the same point, I think theres a gap between just starting something, and being an expert at it, which the web often doesn't do a very good job of covering. I for instance just started creating drupal host
sites a few months ago, and very rapidly got to the point where what I wanted to do was often more specific than it seemed information was available for, but I certainly wasn't to the point
"…forms generated by the new FormAPI in Drupal 5.x (and higher) can be themed in a similar manner…."
where I knew drupal internals well enough to wing it and just figure it out, at the same time, I still had some pretty demanding deadlines to get things done in
http://drupal.org/node/168134 = review please.
Drupal, install system, critical, patch (code needs review), 1 IRC mention
ping
and it's that stage where I think people often decide to stick with a platform, or leave it, and a lot o fthat will come down to how well they get the information they need to implement their projects.
hi
just my $0.02
menu question
D6?
u huh
is there any way I can remove an item from the menu
through some callback
without menu.module
All we can do is improve the documentation.
And that means people who reach intermediate level, who run into intermediate level roadblocks, document how they got past those roadblocks and do so in a manner that's useful to others.
hook_menu_alter , unset , done.
ooh yay!
hook_menu_alter is a big highlight of the new system.
agreed, documentation is always great. I think in general though, that's a stage that most software projects have trouble catering to with their documentation, I don't feel it's unique to drupal.
That's what FAQ projects are usually attempting to address.
documentation is indeed the best answer, but in the meantime it's definitely great that you guys have people willing to answer questions.
It's great that we do; but it's not reliable. People come and go; knowledge ebbs and flows.
Until it's documented you don't know if that knowledge will be there.
k,zxktrtaswersa
mbvx bn ;ddcfgjygtssasyu890ra
if you feel that way, hang out in #drupal-support and answer other noobs questions.
cat.
You must teach this cat how to program!
Cooper?
and learn the answers to harder question at the same time
or Pickle?
I do/have answered questions which are easily within my ability to answer
great
there ya go
it's hard to justify 2 hours a day answering questions in irc to my boss though i'm sure some of you guys have the same problem.
what goes around…
another nice aspect of irc is the information i've soaked in just by glancing in here every now and then
things that I now won't ever need to ask questions about, that was really my motivation for coming in here in the first place.
haha yeah Cooper.
Pickle doesn't come by unless he thinks I have food.
are you eating at the computer?
haha
it's hard to justify 2 hours a day answering questions in irc to my boss though — Yeah, especially when he's yelling "Play cars Jamie NOW"
haha
is it easier to justify 2 hours in IRC asking for help?
demanding job, apparently.
haha, i've never had to.
guys/girls, in several files I seet the output being parsed to a function called t, is this to translate it to other languages?
chx - Yeah, can be. They're both napping, now… Ah, the quiet
typically when I ask a question i'll just go back to trying to solve it, and if anyone helps me out before that then great
good guess
you're correct
k, thnx
beeradb - Yeah, I do that, too
watching irc tick by isn't the best host method for fixing code, i've found.
dmitrig01, maybe a silly question but why isn't an identifier used instead of text?
the text IS the identifier
because it's used a lot and people want it to be short
brb
anyway, speaking of work, I should buckle down and bang out this last hour
beerfan, I understand, but parsing a string of 100+ chars is a little expensive I think, an integer would be faster (imho)
it's easier
ok
ping!
pong
pm
ping
.
pm
any one knows a "photolog" alike module for drupal ? smtg users can post photos and comment photos ? ty
acidfree is one I guess
shameless plugAcidfree Rocks!/shameless plug
vhmauery, hmmm
vhmauery, like this you mean? http://lonki.xs4all.nl/node/85
acidfree is not so much a photo blog sort of thing as a photo album. But it does offer a filter that you can inline photos with
macOnki, that is a Acidfree-5 album…
is there a newer one?
hm… it looks really nice! I will try this acidfree… ty
macOnki, no, but technically Acidfree-5 does not have a stable release yet — still waiting on some changes in Video module
The first time is always free.
RobLoach ping
vhmauery, I am reviewing the latest stuff
both drupal host and modules
macOnki, the 5.x-dev version of Acidfree works fairly well as long as you don't do videos
I'm not doing those
yet
vhmauery, now we are at it, is it possible to load the css and js only when needed? It's a little overkill to always load it
macOnki, submit a patch
vhmauery, I am still learning how the internals work, that might take a while
clients cache all that anyway, it is not a real big deal in my mind
but then I am not an enterprise web programmer, just a hobbiest
ok
fair enough
well, if I can find the time and knowledge I will patch it, I am a bit of a byte clown, I like small pages when possible
this SUCKS
what's the _street address_ of fucking citilab?
this is not mentioned _anywher_ on the site!
Google Maps?
as far as I could make out, it's…
Citilab of Cornellà de Llobregat
Edifici Can Suris Pl. Can Suris (Can Surius Square)
Cornellà de Llobregat, Spain
I just hope that makes sense to a cab driver.
oh come on, you're using a taxi to get there?
I actually have no idea how we're getting there.
the metro goes right to cornella center
But without fail, I'll probably sleep in some morning. Like say, oh, the morning I lead off with a presentation *cough* Brussels *cough* and need to take a cab.
and from there it's about 200m by foot
LOL
I wrote a custom views style plugin specially
views_teleport.module
I need something http://www.tmb.net/vullanar/en_US/vullanar.jsp eats
Try Edifici Can Suris Pl. Can Suris
ajk^: Pong ping pang pung.
RobLoach, pm?
http://www.tmb.net/img/genplano.pdf
note that the venue is NOT in Barcelona.
It's in Cornellà de Llobregat
Which looks like it's a suburb or something.
it's still in zone 1
Llobregat centre.
that works
it's across the street seemingly
ah, cool
from our appartment, it's about 45-50 minutes by metro
that's what I was checking yes
it's zone 1?
great!!
if I'm not mistaken…
http://tmb.net/pdf/corona.pdf
the end of L5 (cornella) is definitely in the very inner circle
http://www.tmb.net/en_US/barcelona/moute/targetes/t_10.jsp
transportation will be very cheap
I installed acidfree… now how do I add an album ? I allready added a menu entry called 'Albums' but there is no such thing as 'Add Album'
support?
Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.
binutils — node/add/acidfree
yes. It's very confusing
why?
vhmauery, ty, I found it
but I compared it with another map and yes
L5 is the metro
the "longer" lines are commuter trains
L5 is not on the Corona map
it is.
there is a tiny symbol next to Cornella
ok, it's mentioned at Cornella
but still the line is not there — i compared this map with the full map which (fun!) does not contain zone borders…
the "full" map is only zone 1
seems liek it
http://www.tmb.net/img/genplano.pdf
or mostly zone 1
Molins de Rei (light blue) is already in zone 2
according to the corona map
anyways. we will need just a zone 1 pass.
I will have that for a month
44.35EUR , not bad.
you guys are buying a five days tourist card?
no
I'll probably buy those 10pack tickets
ah.
10 for 6.90
of which each journey may last up to 1h 15
with an unlimited number of means of transport
you will use four daily at least
yes
4 * 5 days = 20
= 2 10-ticket
= 13.80
compared to 20.80 with the 5-day card
I could make 6 journeys a day and the 10-ticket is still cheaper
your call
it might be cheaper even for me to go with those 10 pack tickets — but it's a close call and it's so much easier to have a simple pass
6 journeys a day, I can still buy this 5 day card
true.
ok, it should be written somewhere that you absolutely cannot leverage any type of hook_form_alter into a php template.
dangint.
And believe me, I've tried for hours.
why would you put i in a theme?
Cause I was trying to get crazy!
-_-
It will hook. It will make errors. It will not, however, alter that dang form
i'm gathering real world drupal techniques under my belt :-p
i was wondering what was your use case
http://drupal.pastebin.com/d45c190e6
P.S. it makes sence that form alter doesnt work in theme because i think by the time you reach the theme stage all your content has already been prepared
Never ever do this.
yeah.
prolly.
oh let me guess
you mentioned about making 'global' modifications that are not theme speciffic?
or something?
or ARE theme speciffic?
right
which one?
I wanted to try and leverage a non-specific function into a theme
or themes.
I shoulda just dropped it into a module
ok
I've lost a whole day trying this
why dont you hook into theme inside your module to see which theme is being loaded?
Basically, I was wanting a way of overriding a contrib module's .theme file
oh
those weird things again
But I wanted to do it in a way that didn't affect the site no matter which theme was chosen
and thus, the template.inc being forced into template.php
no dice.
hook_form_alter has to live in a module
or it won't do its job.
Like an office assistant on their first day…
the only reason i can see for /not/ using a module is to force that change without having to activate anything. soft of like a new default
right!
That's the way I see it
i c
now i'm just curious as to why wouldnt you want to activate a module?:
As in, if I handed you a theme for your new site, and it overrode the labels on all the signup.module's stuff to make them prettier
You'd never know it, till one day you activated signup.mod
and poof!
there it is in full glory
hmm
See, I likes themes. I don't write modules unless I have to. That for the propellorheads that hang out in #drupal.
yeah thats difficult
woops
I'm IN #drupal
:-p
though i like your idea
and it does have to do with theming
so you /shouldnt/ have to write module for it
I cut you with my propeller
:-\
Greetings. I just installed Drupal 5.2 and for some reason in the admin section the "Run the clean URL test" is a page not found. Any ideas?
I just figured that if modules were handing out their own .theme files, I should be able to override that in my site's theme without having to enable Y.A.Module
the test failed
I run a few drupal sites on the same apache… and I know it can do clean URLs just fine.
oh
never mind
You can override. It's altering you can't do
mod_rewrite messed up?
is it possible to modify the primary links menu programmatically?
oh really!?
hmmm
Shouldn't be. It works on the other sites.
perhaps you forgot to copy the .htaccess file in the root folder?
most os don't display them by default
And altering was what i was trying to do in order to add more fields.
Wouldn't that be there by default after tar -xvzf'ing the drupal website install? (looking)
See, adding more fields is no longer just presentation.
I can add and remove items from the default navigation menu, but I don't know how to access the primary links menu
bI can add and remove items from the default navigation menu, but I don't know how to access the primary links menu/b
That's altering the content.
That's a module
I don't know how you installed Drupal.
ok then. a module for the form_alter, and a template function for the field label's overrides?
That's why I was never able to justify a patch that extended form alter to the theme.
Nope, .httaccess is there.
hmm
dowdle, tar -zxvf would add the .htaccess
changing labels… shouldnt that be related to translations?
I just extracted the drupal-5.2.tar.gz and renamed the dir… nand made that document root for the apache virtual host.
imho ALL strings should be changeable somewhere in the admin
that shoulda read, "imnsho"
heh
but using .htaccess adds a read to apache modules for each page view
Duh, I think I need to add a few options to my VirtualHost container in httpd.conf
the .htaccess should be added to a vhost
i had terrible luck with translations so far
i dont know what i'm doiung wrong but nothing ever translates
but if you translate from english to english… you essentialy changing the labels
Ok, that fixed it. DUH.
They are, if you use a translation package.
Not that I've ever done that, cause the performance hit isn't worth it
Anyone want to take an existing site's look and turn it into a drupal theme for me?
i used to work at a company (www.easyroommate.com and www.vivastreet.com) which uses 100% translatable labels
I work for a deparment of a college… and the University has a theme they want everyone to use… and it would be so nice to have a drupal theme I could give to other departments to use.
and their site is lightning fast
ofcourse they are running multiple master-slave servers
litwol, how did they implement translations? apache index.foo.language?
noup
one giant query to fetch ALL strings
hmmm
and then use the ones that needed
very unoptimized
however. still very fast
Anyone know anyone who creates Drupal themes for hire?
i do
once you have enough memory it will work I suppose litwol
Talking to me?
i have a designer friend that can design and then i code it
or you can give me psd and i code it
The theme is already on a site (not running drupal)… so you can go by that?
not memory, they query the DB on every request, i guess it has to do with db cache which turns back to ram like you said
i can go by anything :-p
The campus web communications folks have templates in .html and .php format.
check out the theme at dev.hias.org
by drupal standards that is a very complicated theme
Ok, if you want to check out the original to see what you think, here's the url http://www.cs.montana.edu/
Seriously, email me info on how much work you think it'll be and a rate. admin@cs.montana.edu
yes its quite easy to do
I already kinda hacked up a drupal theme but it leaves a lot to be desired… and I'd like it done correctly.
i do my themes from scratch
Here's my poor attempt: http://www.cs.montana.edu/drupal/
well you almost got it
litwol, query_cache needs memory too
I run a mysql server that needs at least 200 MB of query cache
hence the very last part of my sentense :-p
:-)
i run an old P3 dedicated server with only 512 MB ram (
I run on a p3 with only 192 MB ram
auch!
is yoru server any fast?
my is SLOW
it's fast, I am running spamikaze on it
lol whats spamikaze?
Damn… ghetto servers.
google for it
oh
spam server
-_
damn you!
:-0
I helped coding that
b.t.w., anti spam server
very interesting site design. sometimes its a 3 column layout, sometimes 1 and sometimes 4
if litwol's not available then other people (me) are here to help
when designing a module, should I try to make every piece of content a node? for instance, our department wants the department theme to have a javascript slideshow at the top that links various places. Is it worth makign a node that consists of just a file and a link?
making a node type i mean
if its linking then make it a menu item
Well, not really. Perhaps some of the links you are going to are on the main www.montana.edu site… but all of the pages on the www.cs.montana.edu should be two columns I think.
use various jquery modues to customize how your menu will act
yeah i was thinking of just creating an auxilary slideshow table in the db, and storing filename, weight, caption, etc in there
it boils down to either one of the two options
1) use whats out there but spend tons of time understanding how to make it work the wya you want it to work
and
2) write your own code which can be done faster but it may be prone to security risks
email me please at litwol@gmail.com
the problem is this slideshow is going to be tightly coupled to the theme.. so if i used an external module, I'd probably have to modify the code, which i would want to avoid doing
mention any extra details that you are interested in
usualy i just do themes for myself and friends (aka free) so i feel bad riping your off :-p
lol
so we can do a fair trade :-p
you keep the money in exchange for an email as detailed as possible as to what you want
regarding theme that is
okey?
^^
O_O
:-)
WOW
what?
after submitting 11K lines of patches to phpnuke, securing exponentcms without getting payed I should
after submitting 11K lines of patches to phpnuke, securing exponentcms without getting payed I should
exponentcms?
you're getting a good deal!
kkaefer, don't ask
http://expcms.sourceforge.net?
dmitrig01, you're right
kkaefer, yes
heh
exponentcms.org
that still exists
eww, i never managed to get to use php-nuke. around the same time i found drupal but i quit drupal some no less than 4 times before finally getting the hang of iti guess what burned me out those 4 times is the fact that i jumped neck deep into theming off the back
search securityfocus for my remarks
kkaefer, well, james left the team, Fred still seems to run it
I don't know these names
the only name I can remember is Pitor
i'm working up an admin screen for my module, and i'm wondering how system_settings_form works… do i have to initiate any of those variables that it sets somewhere? or does it just automatically detect all the variables used in the admin screen and update them as such?
Piotr
I mean
I do not remember him/her
that was in the *very* starting phase
ioc group?
I think they didn't even have a website up
Ok, I just sent you an email with all of the info.
oh… i see, it detects and saves automatically- but to get it working your form elements have to be named the same as the variable…. duh
seen greggle*?
google for it and then click the cached version of the page'.
greggle1 was last seen in #drupal 1 day 23 hours ago saying 'or is it referral module?'.
I was just trying to make sure it was you who posted about that to devel'.
saw your post… i'm actually in colorado right now too (i went to a NYC meetup a few months ago, but have been out here since)
but i'll be going back east again on sunday
Sorry, I was busy composing the email and didn't see what you said… until now. Ok, yeah.. hell yeah… I'd like to see you do it for free… but then again… $25 an hour wouldn't be bad either.
dang.. well that sucks..
you going on the bike ride in Denver this Saturday night?
wish i could do it- i'm actually way up in the mountains
I'm hoping if I can get a decent theme that matches the branded templates… that I can offer it up to other departments and colleges on campus and more folks we start using Drupal.
and i'm out of here early on sunday
when are you off to china? i'm going to be there for most of Sept
uwhen are you off to china? i'm going to be there for most of Sept/u
that sounds good
Btw… I was in a booth (OpenVZ) right next to the Joomla boot at LinuxWorld last week.
the problem i noticed is that there's a lot of /non uniform/ things added randomly thoughout the theme
probably mid to late Sept: we'll be down South near Guangzhou
Well, have a look at the templates and those should give you what needs to be in the theme and what doesn't.
so those will have to be added imdividualy somehow either through module dev of through admin. but i'll figure it out and tell you when i give it more thought
of = or*
cool deal… i'll be there too- at least for part of the time. we'll have to do a china meetup
You mean like embedded graphics at the top of a content area?
oh ya.. I'm planning on doing some China meetups after a while..
you coming into the Denver area before you head out?
Did you get the email I sent ok?
yes, usualy appearing on top left corner i think
nah, i'm driving back east- and will be going thru the Springs on the way out. i'll be back this way from nov-about feb
yep i got it
when do you need this by?
i'm going out tonight :-p
dang.. ya I'm heading out of here for S.F in Sept.. then we're heading to China from S.F sometime in Sept.. after we get our Visas.
ech, i'm about to lose my satellite connection… i'm REALLY far out big-ass thunderstorm blowin in
ya I see.. Ok have a good day. I guess we'll meetup online and maybe meetup in China.. keep in touch
ya I see.. Ok have a good day. I guess we'll meetup online and maybe meetup in China.. keep in touch
shhh
i'm trying to score work here
jk
They have a zillion examples and variations. It would be nice to have a slight customized variation of our own for the CS department but I'll be happy with one that looks enough like the generic two column template. Here's a page of examples and variation sites: http://www.montana.edu/cpa/webcom/webtemplate-examples.html (that I should have included in that email)
sounds good, i'll shoot you a message next month
np, i already came up with a possible solution
also. does your site get a lot of traffic?
not really important
but if it doesnt then i could use some cool modules like text to image converters for your top menu
but w/e i'll do some examples and email them to you later
I doubt it… I have no real meters currently… but we really need to revamp the content… which is why I want to get it on Drupal. Then if we do start getting some hits I can use the caching.
cool
what will be in that right column?
left is menu, middle is content.
I can install php-eaccelerator.
Two column… menu and content.
mkey
that 3rd column confused me
okey expect email from me by monday
http://api.drupal.org/api/function/comment_invoke_comment — is there ar reason hook_invoke_all() isnt used here?
sorry module_invoke_all
Cool.
passing by reference
It would be so cool to have 1, 2, 3 and 4 columns in the theme… but like I said, 2 column only is all I really need.
Here's an example of 4 column: http://www.montana.edu/level2/prospectivestudents.php
i'll make it 2 columns and you can extend it with panels
can you assign different theme to individual panels?
I think because it's not only invoking a hook, it's also invoking an op.
there'a node_invoke_something as well.
I don't think that's a good approach
nodeapi
Yes. That.
just thinking outloud
you're better off coding a whole four regions in there
yeah. i'll just do multiple templates with different regions and use some module that changes templates based on region
At the moment, no.
i'm going to play a fortune teller for a moment and say that i ahve a feeling manels is going to become partly a theme element
outter panel for layouts
inner panels for contnent
you're better off doing something like this: http://pastie.textmate.org/private/beg17mr9nkct262fsq
http://pastie.textmate.org/private/c6vzptup7ze5srlrhc
exactly lol
i've seen one presentation given by dries
and his last words were
'lets eliminate web masters… coders…. themers. and outselves :-p
} in phptemplate.php
:-p
k, time to think about a patch to t()
Oh, I think I missed your question if you were asking me when do I need it by… ummm… a week or two… or however long it would take you.
Websites are really driven by content creators and I don't think those can be replaced.
think of that website i told you about that is driven by translated strings
when patching t() :-p
hehe
speed is of the essense
speed is interaction between code, rdbms and lots of webserver tuning
it would be easy to speed up t() if all translation queries were pooled
but since all modules run their own queries it cannot be done now
sure it can
we cannot /eliminate/ module executions. but we can /reoder/ execution of things
queries can be cached
reordering is nice, it helps
and if you pool queries and then bulk translate them and then let modules access the result
like
module queue translation job, then system query bulk translation, then modules patch into result to get their stuff
well, the first step would be to thing about caching per node
we have caching per node
a lot of strings repeat on multiple nodes
so you need string cache
second one would be to cache per node/language
hash them to sensible id's an query cache them
Drupal is teh fast with normal caching + css preprocessor
dmitrig01, sorry, it's not
for me it is
on localhost
for me it isnt
lol
drupal needs sick CPU to run well
RAM
imho
litwol, it's not to hard to change it
well depends on features
Well, ghetto servers will only live so long… and then you get machien with sick CPU.
no
yeah i'm pushing for a new server at my organization
well, I will prepare a patch, might want to talk to some php internal folks first
seen Crell
Crell was last seen in #drupal 23 hours 5 min ago saying 'laters'.
hmm
but how did you like the translation bulking idea above?
it would mean that all t's have to be run 3 times more than they are being ran now
or maybe just 2x
but it could reduce calls to db_query by hundreds
litwol, when using/available memory is high then yes, it would be an idea to use it
not necesserily
mkey i'm out now
ttyl
most memory is saved by keeping pages small, make few calculations, drupal isn't good at it
laters
I don't think that the size of the output has much to do with Drupal's memory usage.
killes, not on the output side, but calculating the output could be speeded
Any module or code that processes images (lots of large images) uses a ton of memory… and I can't think of anything that uses more.
Drupal is a swiss army knife, and as such may not be the best tool for any particular job but it's flexible enough to be a good tool for a lot. Suggestions for improvement are welcome.
sure, everything can be done faster.
if you have concrete suggestions, I am very willing to listen.
1); = just for aestethics, I would use #type value
also, I would think on using #access throughout the module
and finally, this is a really cute module
you are wrong
feel free to commit changes
commit? not just file em? sure.
it's been known to happen, once or twice
Suggestions for improvement are welcome. = usually not.
a patch for a module with less than 50 loc? :p
the attic is full with ideas
_patches_ for improvement are welcome.
so…suggestions aren't welcome?
depends
;-)
really depends
if they are concrete enough
"make faster" isn't helpful and will be ignored if you are lucky. :p
if it's a well researched one… with an understanding of the past and effect of the change…
http://drupal.org/node/36602
"make faster" isn't a suggestion
9 IRC mentions
right, it's whining. :p
is it impossible to create a path alias for a views 2nd page? like replace viewname?page=1 with viewname/page/
more like a demand
not impossible just tricky.
you need a custom_url_rewrite function for that.
not worth the hassle
hassle? where is hassle?
seen hassle?
Sorry, I haven't seen hassle.
I had a site where custom_url_rewrite was 237 lines long
LOL
it's easy
oh yea
even for a farang?
Can anyone tell me if there is an easy way to redirect to another page after a page loads which outputs html to the page
with js
or meta tag
drupal_goto
output buffer (phptemplate does that) and drupal_goto
I can't telly
*tell
I only know what's easy for me
drupal_goto wasn't working for me. must need to look further
mfer, if you mean, after the HTTP response has been sent, then no
Hmmm, I have clean urls but when I go to create a page the URL section isn't there?!? I don't recall a setting anywhere needed to turn that on. Ideas?
err… I have clean urls on…
dowdle, just enter the values for the menu, clean url's are only important for user foo
Well, I think I'm just getting ahead of myself. I guess I really should check out the modules section… and get that all configured. I'm so used to working on Drupal sites that are already setup… and I haven't done a fresh install in a long time.
Yeah, after turning on some more modules… like URL settings start to show up. DUH. I hope I'm subtle entertainment for you experts.
dowdle, it's my first visit in this channel, I only read code
btw, i just had a quote out of place in my drupal_goto. maybe it's time for a break
seen dlobo
dlobo was last seen in #drupal 1 week 1 day ago saying 'right up there with amnesty
'.
!seen dlobo
dlobo (n=lobo@222.152.34.26) was last seen quitting from #drupal 1 day, 22 hours, 16 minutes ago stating (Read error: 113 (No route to host)).
sudden interest in civicrm? :p
I just wanted to warn him of the waking licence tide
personally, i would not touch civicrm with a ten foot barge pole.
*g*
yeah, I wanted to speak to him too.
did eaton send his mail?
anyone got a couple minutes? I think I found a bug in dblog and I'd like to just double-check my logic
not that i know of
k thanks, I thought I had missed it.
I noticed some entries were missing from watchdog in Drupal 5 and I figured out that it was happening for uid 0. The query to fill the watchdog page does an inner join on users, which doesn't include user 0 anymore, so those entries aren't added. This will hide any watchdog entries for deleted
users, for instance. Am I missing anything?
Junyor, how could one exploit the dblog?
if uid = 0 is missing, it needs to be re-added.
there is some strange bu gin Drupal that I'd really like to track down…
the bug is that uid = 0 gets lost.
it might be in the 4.7 to 5 update.
ok, so uid = 0 *should* be in users?
yes!
oy
Junyor, I suppose you should check if this is true for any deleted user
your Drupal works without a user 0 ?
that's a surprise
usually Drupal is terribly broken w/o that
yes, but we're disallowing anonymous users to access anything. Access is via LDAP
if you have db backups I'd really like to know when it was lost.
I would think even login has problem w/o a user 0 but i might be mistaken never tried it
and won't now
night all
we just upgraded to Drupal 5, so I'll check if it's there in 4.7
night
well, under these circumstances it miht be that omebody thought it would prvent access…
cool
it was gone prior to our upgrade
hmm, thanks
so maybe somebody thought he'd be extra smart and removed it?
I hope not, since that extra smart person probably would have been me
*g*
this bug has been reported more than once.
however it was never clear when it happened.
well, it's not missing in another 4.7 install that's also using similar access control methods, so I don't know what's causing it
but I'll fix our DB
and it's not missing in my 4.6 install
What's the recommended minimal setting for memory_limit = in php.ini for drupal?
8
seen moshe*
moshe_work was last seen in #drupal-dev 2 hours 7 min ago saying 'bbl'.
moshe_work_ was last seen in #drupal-dev 5 days 3 hours ago saying 'y'.
I found something fishy. The uid field is set to auto_increment. I tried to add UID 0, but it wouldn't allow it. Then I disabled the auto_increment, added UID 0, re-enabled it, and UID 0 disappeared. Does that sound like a possible cause?
yeah
why is the uid field auto_increment?
it should not be.
no idea
at leat not for Drupal 6.
we're using MySQL 5.0.32
that should not matter.
Junyor, which dbengine? myisam?
probably, checking..
yes
k
Junyor, ok, let's reveal, you are adding uid 0 to drupal or the database?
database
Junyor, then the core accepts it, it should
yep
but it wasn't working when the uid field was set to auto_increment
but works now
did you use drupal to submit it?
no
nice
so, I'm guessing the reason uid 0 sometimes goes missing is because uid is sometimes auto_increment. I'll see if I can figure out why that happened
hi
I don't think there's any way to find out. My oldest backups have it in the table definition, but maybe this can give you a lead. Thank you for your help
thanks.
I still don't have an idea why it shoudl get dropped. :p
since it doesn't happen very often, it isn't really a huge problem
yep
later
hey! how are things!
I posted the meetup… you have to come now
heh
figured a good send off was in order..
you need beer..
free beer.
uh oh
Thursday was the day I can't do
hey.. its your last chance for a really good US beer before you're off
OH!!!
crap..
seriously!
Friday or sat or Sunday
damn..
ok.. I can change it..
cool man
Friday then?
weekends might be iffy, eh? or not in Denver..
I think in NYC people like there weekends.. and avoid meetups
Friday are generally not the best day either but if Beer is involved then..
well exceptions are made
so.. hey…. you wanna do a live on TV meetup?
in front of a green screen…
we can pretend to run away from the Drupal man all day
sorry, I only pay attention to stuff prefixed with my name
um - a weekend night is probably bad
weekend days work reasonably well
So Friday night out? maybe Saturday afternoon?
I don't know of DOM has that space, though
yeah
hhm.. I'll ask at DOM..
or if Brian wants to do it
hmm.. Ok I'll check with Brian and Tony at DOM and see if we can get a Saturday setup..
what do you think like 12ish?
I can be flexible then
but yeah, mid-day seems about right to me
what about pushing it up to Wednesday…. I'm thinking that the turnout on a Saturday afternoon during the summer isn't going to be so good.
or maybe just doing it Friday night.. and doing a short session at DOM and then heading straight to a bar.. to make it a bit more lively and fun
I'm booked until Thursday
inclusive
ok…
well, Friday quick session+bar works for me
ok.. lets change it to Friday and see what happens with people online..
cool
see what the comments turn out to be..
any svn gurus lurking?
is there an easy way to exclude a directory form a commit
not permanently mid you
just for a particular commit
grr, typing
mid = mind
and form = from, for that matter
anyone know when practical drupal is supposed to be out ? or if it is done ?
Slurpee you mean put lullabot book?
we have just begun writing it
it will be out next year
UIT Cambridge Ltd. (August 1, 2007)
there is another book by that name though i think that is just out?
yeah i dunno that one
i thought lullabot was doing the o'riely book
and we will probably change our name i guess
yeah
we are
http://www.amazon.com/Practical-Drupal-Evaluating-Content-Management/dp/095445295X
bummer that the names are the same
but o'reilly will need to sort that out
i wonder if that is the reason for the delay ?
No the reason for the delay is that books take a long time to write.
hm, you mean on the cambridge one?
i doubt it
pro drupal development was good. way more in depth than I thought it was be.
yess add1, the cambridge one
yes, to what merlinofchaos said
book dates get constantly moved
i couldnt find any info on line aout it
just due to trying to get it done
yeah i dunno much at all other than they bogarted our name
i heard that user groups can get copies of books for free. you just have to write a review or something
wtf, Preorder this item today and it should arrive on or just after 08/28/2007 - walmart.com
wtf is Niall Mansfield?
walmart? ick
hi!
I just unstalled a dns based blocklist
I was going to tacle the who question later
well crap
uninstalled?
on what? Your server or d.o.?
installed
d.o.
I've had it runnign on my server for a month.
ah well.
I've been blocked for months anyway
just don't use sorbs. they won;t take me off
not email blocklist.
http blocklist.
ooOOooOo
for bad crawlers? referrers?
bad crawlers
I've been wanting to try something like that
nice.
it is now running for 13 minutes.
guess how many accesses were blocked…
been listening to the SXSWi podcast over spammers, etc…
"10,000?
http://www.projecthoneypot.org/
no…
nearly 300
drupal.org/user/73521
eww, thanks!
That's still a lot in 13 minutes.
wow
yep
let's see if they complain about too much resource usage. :p
which/how are you implementing the blocking?
dns lookup
I meant sw package
I wonder what/if any drag/latency this introduces
http://planetozh.com/blog/my-projects/honey-pot-httpbl-simple-php-script
I take it you are doing the download list as opposed to live lookups?
j #poker
gah
OSUOSL will likely take the list of blocked IPs and then pipe them into iptables.
and that's something we now know about you
no, live lookups
there is no downloadable list AFAICS.
I was reading the Commerical and high traffic uses of http:bl
…
I've mailed them and asked two weeks ago
they didn#t say "no" .P
it says to contac them on download. If for example you are in the alexa top 10,000
bit says to contac them on download. If for example you are in the alexa top 10,000/b
and it does say 'may prefer'
www.projecthoneypot.org/httpbl.php
I've used their form
I didn#t mention our Alexa rank though.
and neither did I ask for zone files.
I was merely thinking that it would reduce any 'lag/latancy' for lookups
I've actually no idea what a zone file might be…
not actually having used their tool yet, I am only imgining how it works
dns zone file
so you could do lookups locally vs tranvering the web
ic
gethostbyname is what the script uses.
so you think I should try asking them again?
I would say at least touch base… I forget what alexa rating we are but I know it's high
don't want them hunting us
805!
on alexa
they may also be happy to aid us more if we are willing to 'say' we use them later
I didn't think it would be that high
I knew we were top 1000
that's crazy
well crap, my sites dropped
not posting for a month didn't help
oops. have to go deal with child
mailed them again
it's really great fun to watch the block counter increase. :p
seen m3avrck
m3avrck was last seen in #drupal 8 weeks 3 hours ago saying 'well worked on a project with others that did that'.
seen nedjo
nedjo was last seen in #drupal 6 weeks 5 days ago saying 'Ciao all.'.
yikes
Nedjo was never much of a IRC user
ahh i see thanks
tinymce is driving me insane!
that's its main purpose I think
hehe
what else is it good for? :p
ab-so-lute-ly nuthin
if my trial is representative, this small script should remove about 7% of our daily page visits
how could I erase all url aliases but only for a certain node type??
you could do it with some fancy SQL.. maybe. YOu might need to pull the path aliases into an array and parse it with PHP..
hi
the logic would basically be "for each path that matches node/[some number], select that node and check its type. If its type is 'whatever' then delete it."
hey!
yeah, some fancy sql will do
see my mail to infra
Dikini mentioned you'd been in contact with these guys?
webchick, killes, alright I'll try it
thanks
Wow, cool!
Hm. Not really. I posted on their board that I wanted to make a project honeypot module, but someone pointed out the ht black list module.
ic
on a very very very old community I used to be on, we did some graphics work for them.
well, we are running this now on d.o.
hope we doN#t blow their servers. :p
http://drupal.org/project/httpbl
Ha, awesome.
nice, I didn't know about that
I am runnign a custom script which dikini sent to me.
w000t, just passed 1500 blocks.
haha holy crap.
yeah, totally amazing
I was always convinced we'd have a high loa of nasties on d.o but that it's that much is amazing.
5-10% of our traffic?! Yes, I'd say that's… certainly… something.
So when this is added to iptables, will that keep the load down on d.o?
and just filter them out @ the server level?
Or doesn't it really make a difference..
yes, if it is in iptables the access will be blocked before even apache is bothered.
That's fantastic!
we might even try to implement this on the load balancer.
Oooo!!
indeed
the module has the disadvantage that is runs on Drupal. ;p
haha yes, indeed.
I just thought it was cool.
it i
s
if you don't have a load balancer etc
The more of these mfers that are caught, the better, and Drupal has the ability to be used on all types of sites.
right
we actually have a problem with catching the nasties…
their script won't run behind squid.
so currently, we don't catch, we only benefit from others catching…
Ahhh right.
Can't we still put a link to a honeypot in the header?
it would be useless.
their script would report that 127.0.0.1 is spamming. :p
LOL oh right.
http://www.projecthoneypot.org/board/read.php?f=6&i=461&t=461
"In some instances, Project Honey Pot is willing to make the http:BL service available for commercial products such as firewalls, load balancers, or anti-spam appliances. If you are interested in using the http:BL data in this way, please contact us."
from http://www.projecthoneypot.org/httpbl.php
yeah
next paragraph
Since drupal.org is in the top 1000 Alexa rankings, rather than 10,000, maybe they'd be willing to help us.
As I'm sure we get all kinds of interesting crawlers.
yeah
I've used their contact form
Right, I saw that about the DNS
last time I mentioned d.o but no Alexy rankings. .p
But that still leaves us in "leech" mode rather than actively helping them compile lists of spammers.
right
I've mentioned that
shouldn't be too hard for them to send us a modified script.
Yeah
we'll break the 2000 line soon. :p
lol
how long has it been enabled?
Looks like less than an hour?
1:15
ha.
See, now you're not going to get to sleep, cos you'll be refreshing those stats all night.
"Is it 2500 yet??"
:p
actually, there's a number of people who try to unblock themsselves
actually more than 10%of the blocks…
How do they do that?
2000 w000t!
woohoo!!
the script presents a form that allows you to unblock yourself
Ahhh. Interesting!
yeah
I am only not sure if a "smart" crawler could operate this form…
Is there some kind of captcha on it, or?
If I have a cck type called "rate" should I be able to create a node-rate.tpl.php file in my current theme directory and have it use that to display the node? I have tried and it does not seem to work
It bases it off the internal ID.
no
JS, though
which, if you're using 4.7 would be content_rate
5.2
and if you're using 5 is usually just 'rate' (if you've not upgraded from 4.7), but check the form at admin/content/type to be sure, because it can differ.
that works, but for some reason my iframe tag does not
How would I go about creating a new contrib module project? http://drupal.org/node/add/project-project seems to want a CVS directory, which presumably requires someone to create it?
lyricnz - You need to apply for a cvs account
I have a cvs account, of course
but just commit for my modules, I presume.
Oh, I don't know beyond that… The approval email gives a bunch of helpful links
AFAIK, you can make a new project once you have cvs access
Correct
you need to create the contributions/modules/xyz directory first
LOL! I was searching the forums about the panels by term view to see if anyone had done a two column version and ended up finding an old post of mine that I forgot to come back to
lyricnz, have you looked at the handbook?
http://drupal.org/node/100748
5 IRC mentions
heheh. The thing I was doing wrong, was not putting a file in my contrib dir, before trying to commit
I hope you tip yourself, or at least send a note of thanks
agaric - Well, the old post didn't answer my question… So that didn't help me any. Unfortunately, changing this to two columns doesn't look like it will be simple
Wahoo, that worked.
Oooh, I did it. I'm sure it could be done a lot less hacky if I knew what I was doing, but it at least works
is there a drupal function that makes an array an associative array?
back
drupal_map_assoc?
http://api.drupal.org/api/5/function/drupal_map_assoc
seen dmitrig01
dmitrig01 was last seen in #drupal-dojo 3 hours 58 min ago saying 'Out until the 20th or 21st'.
sighs /
http://drupal.org/node/166913 )
Drupal, book.module, normal, patch (code needs review), 8 IRC mentions
"…%title may be added again using the Outline tab, and each of its former child pages relocated manually." OR "…%title may be added again using the Outline tab, and each of its former child pages will need to be relocated manually."
Nobody?
3000!
haha
over 500 of those are unblock events, though
3000? Oh,
FYI - That honeypot blocklist hit me earlier. Kind of an ugly error page, you could at least make it pretty
really?
so what activities are coming forth from your IP? :p
does the unblocking work?
maybe some anti-virus is in order?
It unblocked on it's own after a couple page refreshes (I had logged out, then went to log back in and was greeted by the forbidden page)
Nah - dynamic IP.
interesting
cache maybe?
shouldn't.
the block script runs before Drupal even bootstraps.
WAG == wild ass guessing
I actually came in here to see what it was all about when I saw it, then read the infra email…
guess you need to have a word with your provider…
Me and a few million others I guess
yep
how dare they provide services to spammers and other evil guys…
night!
Night.
user_authenticate?
http://api.drupal.org/api/5/function/user_authenticate
ping dopry
hi
with workflow/actions- can you set off an action when changing state that performs validation, and if it fails block the state change?
i found http://drupal.org/node/71586 which claims it does state change validation… could anyone elucidate how this is supposed to work?
1 IRC mention
!seen davidstrauss
strange.
hi (little later…)
ping
oh, hi greggles, how are you?
hi
go to bed
I don't understand why having themes.d.o alive is a problem
too late for being awake
:-)
no no…. mail server blew up at home trying to fix it
so jjeff, I hope to have a solid roadmap fo rht edocs next week. any chance of an interview to pimp it more?
podcast interview?
sure!
cool… dries sends me email prompting me to broadcast more
but I really didn't have anything solid ntil recently (you seen the pdf?_)
I feel like such a slacker for taking this long too
I couldn't get the pdf to open
like your podcast?
bummer… hmmm… I even generated it with a kubuntu system
did you get it open?
opens with KPDF as well
it's not quite the same as I've added to the docbook, but to get an idea check out http://scratch.blkmtn.org/install-and-config
let's exchange some email and schedule the podcast
ok. use sepeck@gmail.com for now.
my blkmtn mail server blew up and it's causing me restore difficultiues right now
jeff @ thatcompanythingthatido com
pingv.com?
?
I was teasing jjeff
and I didn't think brught.com first
ah
my sone has one of the robot stickers from earlier this year
sone == son
hell, I can't even spell right
sorry I'm distracted… walkah, eaton, and I are sitting in a hotel room cramming for our workshop tomorrow
I am working on fixing my darn mail server and IRC is not necessarily time sensitive. I am used to slightly disjointed conversations
cramming? You didn;t already have a class outline?! /me fires up blog
cramming? You didn;t already have a class outline?! /me fires up blog
yay! mailserver fixed… whew!
now family and friends won't kill me
Are there any plans to add more rule types to Access Rules, i.e., restrict only comments, restrict only submissions, etc?
contrib permissions modules
supprt?
support?
Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.
mad props to me for reading the topic
What have people found is the best way to have a user editable image gallery?
Just the basics would be great. Allow users to create albums/galleries then allow the users to add pictures to those galleries
well you could use a cck type as a gallery.. or even simply views
I really like the CCK method of uploading images
you could add a cck gallery node type and then reference imags to the gallery with node reference
check out www.centraledesnations.com/photos
patchak
for a very simple gallery, you can use a multiple-value cck imagefields, and you have one node per gallery (of course that doesn't let you move pictures between galleries)
I like this system for upload pictures and auto sizing them etc, but I can find a simple way for users to create the galleries. without the user having to go through taxonomy and views ( link: http://drupal.org/node/144725 )
19 IRC mentions
well why not create galleries as nodes
Hmm
and then assign images to those nodes
Hmmm, I could do that.
one image = one node assigned to a gallery, you just have to theme the gallery node
So would I make a content type of "Gallery"?
yeah
oook, I need to look up themeing of nodes then
and you would use nodereference to link the images to that node
you could even use insert views to insert a grid view in the node body
so no theming necessary heh
Would the view set it self up automatically based on the name of the gallery node??
Sort of a dynamic view
yes of course
something like 'pull all the nodes related to this one' view
And my next question is then, how can I embed a view into the gallery nodes?
there are several ways to do it, you can use modules for that, like insert view and view field
check them out
ok
let's move the discussion in drupal-support
Thanks
hey np
wtf
Forbidden
Sorry. You are using a suspicious IP.
new d.o feature ?
Grrr!
may someone give me some idea about this line? i don't really understand the need of it: comment.module:1011
$query .= ' ORDER BY SUBSTRING(c.thread, 1, (LENGTH(c.thread) - 1))';
the SUBSTRING seems useless?
Hi do you have a sec to talk about http://drupal.org/node/165160
Drupal, database system, critical, fixed, 1 IRC mention
please?
can you test on your mysql installation if user name blocking works with mask like %block% this as far as i know should block all user names with block inside
I tried it and it didn't work but maybe my install is borked somehow
i run those query within mysql directly, and report with expected result
and it is the same case for both Oracle/DB2, and MSSQL, that i am now developing
yes I read your report but maybe you use case is a bit different
you should try quers SELECT * FROM `term_data` WHERE LOWER(name) LIKE LOWER('tblockt');
where name = %block%
yes, i try that too
or you can use access table
and it worked
Anyone know how I could get the exposed filter of a view to use a dropdown instead of an autocomplete search box for filtering freetaged terms?
ok I'll try it one more time just a sec
i test this in phpmyadmin directly, and it is ok: SELECT * FROM `term_data` WHERE LOWER(name) LIKE LOWER('%lp%');
but this will face error: SELECT * FROM `term_data` WHERE LOWER('%lp%') LIKE LOWER(name);
http://drupal.pastebin.com/m21a54ec7
do you see what I'm trying to say?
in user name blocking we compare normal word like "usernameblockthis" with mask from db like "%block%"
my patch comes with LOWER(), did you try that too?
yes
please try to work with term_data (usually more data), and try my examples, too?
SELECT * FROM `access` WHERE LOWER(mask) LIKE LOWER('tblockt') zero results
(my access is always empty ;p)
(in D5)
yes but in term data you donot store masks with % inside
which is the case with access table
try adding some rules at admin/user/rules and use check rules to see if they work
http://drupal.pastebin.com/m4bfae936
term_data is not broken. access is broken.
yes
please add some rules at admin/user/rules and you will have some rows in access table
we are talking about the syntax of query statement, which is not directly related with any table
yes but I think it is in this case you have normal text stored in db while in access table there are masks like "%mask%" which makes a difference
so you means that mask store something like '%block%', and so your compare is no longer function?
http://drupal.pastebin.com/d1c59080b
thank you
ok so i get it now. the problem is becasue we are storing something like '%abcd%' in mask directly, and so the compare become no longer functioning?
yes
your patch changed the order and it broke it
therefore should we change into this way: SELECT CASE WHEN status=1 THEN 0 ELSE 1 END FROM {access} WHERE type = '%s' AND (LOWER(mask) LIKE LOWER('%s') OR LOWER('%s') LIKE LOWER(mask)) ORDER BY status DESC
maybe this can solve the problem?
look like it should work, give me a sec
that substring clause cutsoff the first and the last character of the thread field.
een dww
umum… understand the function, but don't understand the needs…?
seen dww
dww was last seen in 2 days 25 min ago saying 'seen heine?'.
lol
look at the threat column
varchar?
are you talking about the last "/"?
this works for me http://drupal.pastebin.com/m6bb0cee0
may you just running this mysql directly? i hope to test it with paltform independent
yes it works directly aswell
I think so
also the first char
nono, this only trim the last char, as it start with 1 (the first char)
yeah, just found that out, too.
so this will become database dependent problem… at least in MSSQL… i am thinking about solution…
may be i will try to create a MSSQL procedure that wrap the DATALENGTH into LENGTH?
actually, I am not sure that this code is ever called…
and it seems to be quite useless too.
O_o!?
but the remove of these code may require a more deep explore of program logic… and this may be a bit difficult for me…
as i am now focuing on MSSQL driver (only…)
LENGTH, and try the effect. anyway, thank you very much
does that query work with DB2 also? you said DB2 does not support 'text LIKE column'. What would it do in this case?
as I see it, there are four possible modes for comment ordering.
no I missed something
i think it may be a problem too… anyway, i am not able to test it with DB2 right now…
(server is now offline…)
anyway, i get your idea and problem, i will try to fix it as soon as i can
can anyone tell me how to bypass login in drupal?
Summary: I don't really know why the substring is neccessary. :p
lol…
I need some help deciphering some php
Can anyone lend a hand?
meta?
Simply ask your question. No need to ask to ask . Unless you are doing a census, asking whether anyone uses a module isn't going to result in a useful answer.
how to bypass login
is it ok with the drupal assoc. to have the "'drupal" name in the domain name of my site?
morning all
does anyone know if drupal is ipv6 compatible? (i know it will work on an ipv6 host but stuff like watchdog ip addressesn, rules based on ip addresses etc)
ping
was there an answer while my adsl dropped?
depends
we are working on a statement on that.
depends on what php/apache feed to Drupal.
no dependencies on ip addresses in drupal self?
blocking ip addresses? soring in watchdog?
don't think so
if there is sorting it might of course give strange results.