Chuckie (@ajtruckle)

Forum Replies Created

Viewing 25 replies - 126 through 150 (of 396 total)

  • Chuckie
    Participant

    @ajtruckle

    If you are interested, I ended up using EnlighterJS. It has a fantastic WordPress module that is compatible with bbPress and is fantastic. User support has been great via GitHub:

    Enlighter – Customizable Syntax Highlighter

    If you need to show code snippets in your forum then this should be the one to use – hands down.


    Chuckie
    Participant

    @ajtruckle

    I used bbp style pack to rename Registered Users as Members. 🙂


    Chuckie
    Participant

    @ajtruckle

    Just to mention that Advanced Menu Editor is a very nice plugin for managing menu positions.

    Admin Menu Editor


    Chuckie
    Participant

    @ajtruckle

    Sounds cool. Unfortunately I am not in a position to purchase the pro versions at the time. But it will be a good change for your users. Well done. 🙂


    Chuckie
    Participant

    @ajtruckle

    But is simply does not make sense. WordPress / bbPress should return public count if not logged on and complete count if logged on – surely. It is false and misleading.

    If they are only listing just the public content then the rest of the figures should match that.

    Not to worry.

    Can we change the terms at all so that they are more consistent with the advanced stats?

    Side point: I put a query in your GD Power Search forum 🙂

    Thanks!


    Chuckie
    Participant

    @ajtruckle

    These are my forums:

    View post on imgur.com

    General Information is public.
    Frequently Asked Questions is public

    That amounts to 2.

    The rest are all private. But even when I am logged in it says to.

    Even the At a Glance area says 2:

    View post on imgur.com


    Chuckie
    Participant

    @ajtruckle

    I have delved into the database using php admin on my domain portal to see what is happening.

    All of the “null” entries are where we have revisions for “replies” to “topics”. So if a “topic” has a revision it is listed. But if it is a reply, it is not listed. I verified this by doing the sql query in the database and those fields are empty.

    So whilst it looks “odd” that there is these null items they are valid. Technically the wp sweep should be improved to obtain those names from the primary topic and list it rather than null.

    But at least we know why now.


    Chuckie
    Participant

    @ajtruckle

    Yes, thanks though!


    Chuckie
    Participant

    @ajtruckle

    Here are the results after running the sweep for revisions:

    View post on imgur.com

    So 3 are good. I am not sure about the two “null” ones though?

    The terms are now purged. 🙂

    Thanks for your help.


    Chuckie
    Participant

    @ajtruckle

    Ok! Then I will go ahead and sweep those terms. Thanks.


    Chuckie
    Participant

    @ajtruckle

    Your new code is working fine for “revisions” 🙂

    It turns out that in the backend after I run your code I am left with two revisions. Both of which are forum posts 🙂 Cool .. well done.

    Maybe we can do the same for the terms (tags)?

    Andrew


    Chuckie
    Participant

    @ajtruckle

    Hi @robin-w

    Thanks for the revised code which I have yet to try.

    There are two aspects in general to consider with respects to the plugin:

    1. The actual sweeping (which you have been looking at)
    2. The actual stats provided on the plugin page.

    Both ideally need to be addressed. For example, you mention about the tags, but in his backend they are referred to as terms:

    View post on imgur.com

    I think terms are unused_terms in the function you referred to. But as mentioned, for this sweeping change to make sense the stats also need revising so they are not included in the counts or detail lists.


    Chuckie
    Participant

    @ajtruckle

    Thanks. I will try this on my beta site tomorrow.

    Will this work for both:

    Revision
    Tag

    ?

    Andy


    Chuckie
    Participant

    @ajtruckle

    The author told me to clone his plugin and extend it to support what we require. Oh well.

    Andrew


    Chuckie
    Participant

    @ajtruckle

    This is resolved.


    Chuckie
    Participant

    @ajtruckle

    If you know how to do the code in php you might be able to build a URL that effectively jumps to that reply in the topic (just like you can see on the standard forum pages).


    Chuckie
    Participant

    @ajtruckle

    Not that I know of. I see what you mean though. You can jump to that post from the parent topic list by clicking on the freshness link. Or by clicking on that page link.

    But at the top where the 1 2 3 > are lists I don’t know how.


    Chuckie
    Participant

    @ajtruckle

    I completely understand where you are coming from. This is only a cosmetic issue and I think I will leave it as it is. But I appreciate the resolution provided.


    Chuckie
    Participant

    @ajtruckle

    Sorted it!

    
    /* Profile Info */
    #bbpress-forums li.bbp-body div.bbp-reply-author,
    #bbpress-forums li.bbp-body div.bbp-topic-author {
    	margin-left: 5px;
    	margin-top: 5px;
    	background: #c1c1c1;
    	color: #262626;
    	border: 1px solid black;
    }
    
    /* Header Row */
    #bbpress-forums li.bbp-header .bbp-topic-author,
    #bbpress-forums li.bbp-header .bbp-reply-author,
    #bbpress-forums li.bbp-header .bbp-topic-content,
    #bbpress-forums li.bbp-header .bbp-reply-content
    #bbpress-forums div.bbp-topic-author {
    	color: #262626;
    	font-size: 16px;
    }
    

    Still, a bit clumsy using the same class name for two different things. 🙁


    Chuckie
    Participant

    @ajtruckle

    Also, it would be better if the bbp style pack plugin did not create code like this:

    <span class="bsp-la-text">in </span>

    The space is hard-coded. If the gap was achieved with styling then I could have added a “:” suffix which would make it even more consistent. I would be able to do that for the line:

    <span class="bsp-la-text">topic by</span>

    But not the “in ” line.


    Chuckie
    Participant

    @ajtruckle

    This is the final CSS that looks good:

    /* Recent Topics Widget */
    /* See also: .widget_display_topics img.avatar.photo */
    .widget_display_topics ul {
        background: rgba(0, 0, 0, 0.04);
        padding: 10px 20px;
        list-style-type: none;
        margin: 0;
        margin-bottom: 1.66666667em;
    }
    a.bsp-la-reply-topic-title {
        color: #222222;
        font-weight: 600;
        display: block;
    }
    .bsp-la-text,
    .bsp-la-topic-author,
    .bsp-activity-freshness,
    .bsp-activity-forum {
        font-size:12px;
        text-transform: uppercase;
    }
    .bsp-activity-author,
    .bsp-activity-freshness,
    .bsp-activity-forum {
        display: inline;
    }
    .bsp-activity-author:after,
    .bsp-activity-forum > .bsp-la-text:before {
        content:"/";
        margin: 0 7px;
    }
    .widget_display_topics ul:last-child {
        margin-bottom: 0;
    }
    In reply to: Custom logout page?

    Chuckie
    Participant

    @ajtruckle

    I am still interested in this. I would like ability to add my own “logout” URL in the header of my website (if possible).


    Chuckie
    Participant

    @ajtruckle

    I have improved it alot:

    .widget_display_topics ul {
    	background: rgba(0, 0, 0, 0.04);
    	padding: 10px 20px;
    	list-style-type: none;
    	margin: 0;
    	margin-bottom: 1.66666667em;
    }
    a.bsp-la-reply-topic-title {
    	color: #222222;
    	font-weight: 600;
    }
    .bsp-la-text,.bsp-la-topic-author, .bsp-activity-freshness, .bsp-activity-forum {
    	font-size:12px;
    	text-transform: uppercase;
    }
    .widget_display_topics ul:last-child {
    	margin-bottom: 0;
    }
    .widget_display_topics img.avatar.photo {
    	border: #000 solid 1px;
    	margin-top: -3px;
    	margin-right: 4px;
    	display:inline-block;
    	vertical-align:middle;
    }

    The only thing I would still like to do is get the final “TOPIC BY …” information to all flow as a sentence with a / delimiter. Can that be done?


    Chuckie
    Participant

    @ajtruckle

    This issue has already been raised and flagged in the tracker. They are aware of it.


    Chuckie
    Participant

    @ajtruckle

    If you look here:

    https://wordpress.org/support/topic/problem-with-bbpress-topics-with-multiple-pages/#post-12772840

    It was detected that the URLs in my case were failing bbpnsn plugin. They fixed it.

    But it appears that these links are out of my hands.

Viewing 25 replies - 126 through 150 (of 396 total)