Thanks for the images Anand -- they are perfect in style -- but if i had my preference it would be nice to have one that was gender "neutral" if you know what i mean..
Personally I'd just prefer the box at the very top, so landing on the main page immediately tells the visitor what's been happening, without the need to scroll or click on another page.
go to the new custom options line in your Forum Profile area and add:
-topinfocenter
Personally I'd just prefer the box at the very top, so landing on the main page immediately tells the visitor what's been happening, without the need to scroll or click on another page.
go to the new custom options line in your Forum Profile area and add:
-topinfocenter

See my reply on the thread -- sorry for the confusion -- I added the image so that I could blog it. I do that sometimes when I blog a post -- usually I leave a note in the "last edited by" line but i forgot this time. Sorry for the confusion.
// ==UserScript==
// @name Custom DC Forum Links and Removals
// @namespace donationcoder.com
// @include https://www.donationcoder.com/forum/*
// @version 1
// @grant none
// ==/UserScript==
var anchor, before, translate, share, avatar;
// link additions
// link to insert
anchor = document.createElement('a');
anchor.href = '/forum/index.php?action=unreadreplies';
anchor.appendChild(document.createTextNode('Unread replies to your posts'));
// where to insert before
before = document.getElementById('top_sectiondc');
before.parentNode.insertBefore(anchor, before);
// some things to remove
// by id
translate = document.getElementById("lang_form");
translate.parentNode.removeChild(translate);
// by class
share = document.getElementsByClassName("sharebuttons")[0];
share.parentNode.removeChild(share);
avatar = document.getElementsByClassName("avatar")[0];
avatar.parentNode.removeChild(avatar);// ==UserScript==
// @name Custom DC Forum Links and Removals
// @namespace donationcoder.com
// @include https://www.donationcoder.com/forum/*
// @version 1.01
// @grant none
// ==/UserScript==
var anchor, before, listitem, unordered,
form, inputIndex, inputRecentFirst,
translate, share, avatar;
// link additions
// link to insert
try {
anchor = document.createElement('a');
anchor.href = '/forum/index.php?action=unreadreplies';
anchor.appendChild(document.createTextNode('Unread replies to your posts'));
// where to insert before
//before = document.getElementById('top_sectiondc');
//before.parentNode.insertBefore(anchor, before);
listitem = document.createElement('li');
listitem.appendChild(anchor);
unordered = document.getElementsByClassName("reset")[0];
unordered.appendChild(listitem);
} catch (err) {
console.log("Hmm, problem adding link");
}
try {
// search index
form = document.getElementById("search_form");
inputIndex = document.createElement('input');
inputIndex.setAttribute("name", "dc_noindex");
inputIndex.setAttribute("id", "dc_noindex");
inputIndex.setAttribute("value", "1");
inputIndex.setAttribute("type", "hidden");
form.appendChild(inputIndex);
// most recent first
inputRecentFirst = document.createElement('input');
inputRecentFirst.setAttribute("name", "sort");
inputRecentFirst.setAttribute("id", "sort");
inputRecentFirst.setAttribute("value", "id_msg|desc");
inputRecentFirst.setAttribute("type", "hidden");
form.appendChild(inputRecentFirst);
} catch (err) {
console.log("Hmm, problem modifying search form");
}
// some things to remove
try {
// by id
translate = document.getElementById("lang_form");
translate.parentNode.removeChild(translate);
} catch (err) {
console.log("Hmm, problem handling translate pop-up");
}
// by class
try {
share = document.getElementsByClassName("sharebuttons")[0];
share.parentNode.removeChild(share);
} catch (err) {
console.log("Hmm, problem handling share buttons");
}
/*
try {
avatar = document.getElementsByClassName("avatar")[0];
avatar.parentNode.removeChild(avatar);
} catch (err) {
console.log("Hmm, problem handling avatar image");
}
*/(1) I can't recognize the links that I've read from the ones I haven't read; On old DC the link-color changed after visiting he link, but on DC2 the link color stays exactly the sameThis issue seems to have been tweaked out, thanks!This may be due to the color-scheme in the theme, I can't tell, but it is a nuisance hunting down the unread links from the Active Topics list.

I've modified the Image button to explain better how to use the inline attachment feature, and removed the button from the Quick Reply bbc editor, since there is no way to attach files from the quick reply editor.
As has been discussed above, my intent for this button is largely to serve as help for those who don't yet know how our inline attached images work -- and therefore it is mainly about explaining to the user how to attach an image and refer to it.
As deozaan pointed out above, if you want to quickly insert an inline image you can use the new button down by the Attach Choose File buttons. So there are solutions both for newbies and advanced users.
2) [attach=#] where an actual number is not used - does not work inline (not sure if supposed to - just saying in case)
I used [attach=1] and [attach=2], yet one is shown as a thumb, and one full size.ah thanks for reminding me -- i need to update the help.
On a side note, how hard would it be to have a user-templatable area * near the top/bottom of a given page?
attach <-- automatically shows as thumbnail if the image is very large (1900x1200)thanks for the attach image info
attachimg <-- always full size no matter size
attachthumb <-- always thumbnail no matter size
attachimg <-- always full size no matter size-
Not sure if it has been reported, but I seem to be missing the indication on icons next to posts that shows I participated in them.
Not sure if it has been reported, but I seem to be missing the indication on icons next to posts that shows I participated in them.
i think i removed these in my effort to streamline and reduce noise.. any thoughts on a good way to bring them back -- assuming folks find them important (i didn't).
If there is only one icon with no indicators for anything, what is the point of the icon anyway?the icon is matching the post icon -- which is USUALLY just the simple white one but can be different in some cases.
Perhaps a little icon overlay on the thread icon on the left, like a little "reply arrow"ok let me look into it.
Perhaps a little icon overlay on the thread icon on the left, like a little "reply arrow". If there is only one icon with no indicators for anything, what is the point of the icon anyway?
On a side note, how hard would it be to have a user-templatable area * near the top/bottom of a given page?
can you elaborate on what you had in mind for me to add?
I think that the way that you're doing it, i.e. coding the customizations and then making a label available, would be better than giving the users the ability to add code to the page. Spammer and Security nightmare, IMO.
Original address: https://www.donationcoder.com/forum/index.php?topic=41514.0