Search found 28 matches

by evanslee
Fri Jul 30, 2010 11:21 am
Forum: Bugs
Topic: jQuery is undefined
Replies: 3
Views: 2536

Re: jQuery is undefined

I cant do atm, as it is only running on localhost at the moment behind a firewall

The bizzarre thing is, even with the jQuery error displayed, everything appears to work as it should
by evanslee
Fri Jul 30, 2010 11:17 am
Forum: Themes
Topic: Bulletproof: entry footer format
Replies: 4
Views: 4951

Re: Bulletproof: entry footer format

thanks for the reply, apols for my delayed reply

it was down to another event plugin, the one that adds the delete option for admins... i couldnt work out how to make it appear lower so just uninstalled the plugin in the end. I feel so defeated :shock:
by evanslee
Fri Jul 30, 2010 11:11 am
Forum: Development
Topic: Add entry then Redirect to view entry after save (how?)
Replies: 10
Views: 10745

Re: Add entry then Redirect to view entry after save (how?)

Thanks So, you can stack them up like this? $hooks = &$bag->get('event_hooks'); if (isset($hooks[$event])) { switch($event) { case 'frontend_saveComment_finish': serendipity_db_query("UPDATE {$serendipity['dbPrefix']}entries SET timestamp = UNIX_TIMESTAMP(NOW()) WHERE id = '" . (int)$a...
by evanslee
Thu Jul 29, 2010 12:32 am
Forum: Themes
Topic: Bulletproof: entry footer format
Replies: 4
Views: 4951

Bulletproof: entry footer format

This is how my entry footer looks currently: Posted by Lee in Test at Tuesday, July 27. 2010 20:29 | Comments (0) | Edit entry Defined tags for this entry: cat1, cat2 | Delete How can I make it look like this? Posted by Lee in Test at Tuesday, July 27. 2010 20:29 | Comments (0) | Edit entry | Delete...
by evanslee
Wed Jul 28, 2010 10:57 pm
Forum: Bugs
Topic: jQuery is undefined
Replies: 3
Views: 2536

jQuery is undefined

I keep getting jQuery is undefined, even though I have enabled the plugin in the admin area to make it available to other plugins. When i load the blog, i do see the jQuery link at the top of the source code in the header section... Not sure where this error is coming from Searching the code i fine ...
by evanslee
Wed Jul 28, 2010 10:18 pm
Forum: Development
Topic: Add entry then Redirect to view entry after save (how?)
Replies: 10
Views: 10745

Re: Add entry then Redirect to view entry after save (how?)

I had a look a freetag plugin to try and see what was going on with backend_publish but couldnt make sense of it.

I have yet to get my head round all the hooks n the like, but im sure i will get there, then i can start publishing plugins :)
by evanslee
Wed Jul 28, 2010 9:49 pm
Forum: Development
Topic: Add entry then Redirect to view entry after save (how?)
Replies: 10
Views: 10745

Add entry then Redirect to view entry after save (how?)

Currently after I enter an entry, it stays on the page that says it's saved and remains in the admin section. How would I be able to change this without hacking the serendipity code, can redirects be done in a plugin or is this the wrong way to go? Id like to be able to redirect to the final post af...
by evanslee
Wed Jul 28, 2010 9:44 pm
Forum: Development
Topic: Grey out post title when read (how?)
Replies: 2
Views: 3715

Re: Grey out post title when read (how?)

Thanks, working

Thanks for the help, im learning how all this ties together.

Regards,
lee
by evanslee
Wed Jul 28, 2010 7:32 pm
Forum: Development
Topic: Grey out post title when read (how?)
Replies: 2
Views: 3715

Grey out post title when read (how?)

If i wanted to grey out the title of a read post where would be the best place to make this change? CSS or one of the .TPL files? I tried activating user.css in bulletproof template, and stuck this inside but its not worked :link { color: rgb(0, 0, 153); } /* for unvisited links */ :visited { color:...
by evanslee
Wed Jul 28, 2010 12:02 am
Forum: Development
Topic: Entry gets bumped if new comment is posted, how?
Replies: 11
Views: 8611

Re: Entry gets bumped if new comment is posted, how?

I have replace the files in the root dir of serendipity with fresh copies, and it fixed the error, i must have changed something I shouldnt have prior to the plugin change.

Regards,
Lee
by evanslee
Tue Jul 27, 2010 9:15 pm
Forum: Development
Topic: Entry gets bumped if new comment is posted, how?
Replies: 11
Views: 8611

Re: Entry gets bumped if new comment is posted, how?

Thank you, loving your work.

You understood perfectly, and changing Now() to UNIX_TIMESTAMP(NOW()) did the trick.

Im still getting the error with the admin page though, and i checked for spaces, there were no before the <?php

Thanks again

Regards,
Lee
by evanslee
Tue Jul 27, 2010 6:25 pm
Forum: Development
Topic: Entry gets bumped if new comment is posted, how?
Replies: 11
Views: 8611

Re: Entry gets bumped if new comment is posted, how?

Thank you very much for the point in the right direction, I have tried it, and whilst it is doing something its a little unexpected. When I add a comment to a post It is correctly modifiying the time to: Last modified on 2010-07-27 17:18, however rather than bumping it, it is sending it to the very ...
by evanslee
Tue Jul 27, 2010 3:26 pm
Forum: Development
Topic: Entry gets bumped if new comment is posted, how?
Replies: 11
Views: 8611

Entry gets bumped if new comment is posted, how?

Hi guys, hoping you may have some suggestions for me to try. I hoped it would be a quick SQL statement change, but how would I change serendipity so that if someone placed a new comment on a post it would then become top of the list... Effectively, i want comments on old post to be able to bump the ...