This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
781
Features / Re: Re: Recents posts as formerly on the board index
« on November 13th, 2011, 09:38 PM »
The code I posted already disables rounded corners
782
Features / Re: Re: Recents posts as formerly on the board index
« on November 13th, 2011, 05:33 PM »Had a look. It's funny how you reused the main menu styles! I made it a bit shorter and it was already quite short. Needs more features but it seems to be a good start thanks.
783
Features / Re: Re: Recents posts as formerly on the board index
« on November 12th, 2011, 10:44 PM »BTW, I'm starting to seriously consider, between two casual dragon kills, going with my own custom selectbox component
$(document).ready(function(){
$('select.pf_select').each(function(){
var title = $(this).attr('title');
var id = $(this).attr('id');
if( $('option:selected', this).val() != '' ) title = $('option:selected',this).text();
$(this)
.css({'display': 'none'})
.after('<ul class="smalltext menu"><li id="' + id + '_li"><h4><a>' + title + '</a></h4><ul id="' + id + '_ul" style="visibility: visible; border-radius: 0; opacity: 1; display: none;"></ul></li></ul>')
.change(function(){
val = $('option:selected',this).text();
$(this).next().text(val);
})
.children('option').each(function() {
if ($(this).text() == '-')
$('#' + id + '_ul').append('<li class="separator"><a><hr></a></li>');
else
$('#' + id + '_ul').append('<li id="' + $(this).val() + '"><a>' + $(this).text() + '</a></li>')
});
$('#' + id + '_li').click(function(event){
$('#' + id + '_ul').show();
});
$(document).mousedown(function(event){
$('#' + id + '_ul').hide();
});
$('#' + id + '_ul').children('li').each(function () {
$(this)
.bind('mouseenter focus mouseleave blur', function(event){
$(this).toggleClass('hove');
})
.mousedown(function(event){
$(this).parent().children('li').each(function () {
$(this).removeClass('active');
});
$(this).addClass('active');
$('#' + id).val($(this).attr('id'));
});
});
});
});784
Off-topic / Re: 11/11/11
« on November 11th, 2011, 07:36 AM »Countdown to 12/12/12.
111111 = 2,097,152
785
Development blog / Re: Ticking away the moments that make up a dull day
« on November 11th, 2011, 02:46 AM »
Yay for half-assed implementations, eh...
787
The Pub / Re: Logo Madness
« on November 11th, 2011, 12:03 AM »Starting with great children's cartoons! I also loved The Lion, The Witch and the Wardrobe... That cheap BBC film from the late 70's
788
Plugins / Re: Plugins I refuse to do
« on November 9th, 2011, 08:19 AM »
What if Wedge aims to have blogs before 1.0 and an importer is being made? Oh, oh, some people want to stick to their beloved WordPress.
Someone might make a bridge, just that Pete says he won't make it.
Someone might make a bridge, just that Pete says he won't make it.
789
Off-topic / Re: Introduction
« on November 2nd, 2011, 07:39 AM »
Hi Shawn ;) I recognise that name fromsm.org
790
Features / Re: New revs - Public comments
« on October 30th, 2011, 08:53 PM »
Looks like the two JS functions in topic.js need swapped to fix it.
791
Features / Re: New revs - Public comments
« on October 30th, 2011, 08:48 PM »
Go up and go down links are backwards.
792
Features / Re: New revs - Public comments
« on October 30th, 2011, 06:03 AM »! Provide a hook for altering the list of posts to be retrieved, as suggested by live627. (ManagePlugins.php, Display.php)
793
Plugins / Re: Plugin CSS added to the main list?
« on October 30th, 2011, 04:46 AM »
You're still up? O_o
Not very efficient: It loops through all the defined skin folders (one on the default skin, haven't tried on children) and within that loop, each file and its variant. The code above added three: main, firefox, member. Although it does skip the process if the cache is already built as you've noted. So I guess it's still efficient enough!
Not very efficient: It loops through all the defined skin folders (one on the default skin, haven't tried on children) and within that loop, each file and its variant. The code above added three: main, firefox, member. Although it does skip the process if the cache is already built as you've noted. So I guess it's still efficient enough!
794
Plugins / Plugin CSS added to the main list?
« on October 30th, 2011, 04:32 AM »
So my plugin uses a wecss file to add a style to an element. since it just extends a base class[1], I could have easily applied the class to the element in the markup. But I had to go the long route[2] and use the awesome parser.
Here's part of what tripped me. add_plugin_css_file('file', true); adds a stylesheet to the head. But, as I found out, it would get rid of the style, probably because the base class wasn't found and left the style empty so it got deleted.So it seems inheritance works within the same file, not all of them.
In the end I actually made some hackish code to do what I want.It doesn't seem to be very efficient, though. :/
Code: [Select]
Here's part of what tripped me. add_plugin_css_file('file', true); adds a stylesheet to the head. But, as I found out, it would get rid of the style, probably because the base class wasn't found and left the style empty so it got deleted.So it seems inheritance works within the same file, not all of them.
In the end I actually made some hackish code to do what I want.It doesn't seem to be very efficient, though. :/
$context['css_main_files'][] = 'file';
$context['skin_folders'][] = array($context['plugins_dir']['plugin_id'] . '/', 'plugin_id_');
$settings['plugin_id_url'] = $context['plugins_dir']['plugin_id'];| 1. | base: .foldable, and that's it, really. The file literally only defines that one style. :o |
| 2. | Which ended up taking up half the day, plus my mouse scroll wheel started acting up last night, which makes browsing through code files a PITA. :^^;: |
795
Development blog / Re: Banning, and what I want to do with it
« on October 29th, 2011, 11:32 PM »
Oh... yeah, I do. But some Baidu engines still get through. Is it possible that some Baidu spiders do pass the Accept header?