Python Forum
First impressions on forum software
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First impressions on forum software
#21
I have a ton of PM's from users on the other forum. I basically just ignore, tell them to post it on the forums, or tell them to wait till someone answers. But mostly i just ignore especially if they are just trying to spam users with help PM's. 

I guess we will see how it goes. Admis and mods are use to getting a bunch of PM's to ignore. If regular users start getting it, we might do something about it.

I dont know. A lot of the plugins are "cool features" that we dont know anything about because we had no access to install such features on the other forum. So i am testing quite a bit of plugins to see if they become annoying or not, etc.
Recommended Tutorials:
Reply
#22
(Sep-26-2016, 03:36 PM)nilamo Wrote: Which is fine, I delete all my pms without reading them

Then as a service to others, just untick the "Receive private messages from other users" in your profile, so that nobody wastes time.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply
#23
Nah. Depending on who it's from, sometimes I'll give it the benefit of the doubt.
Reply
#24
gotta get used to this (seems easy enough), then shake out some bugs (like the "quote" button not working).

moderating first post seems useless during the transition (everyone gets to be "new", again).  then afterwards, it's up to the moderators.

i guess the old site will be its own archive for a while (until someone writes a script to scrape the whole site).

more smilies would be nice.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#25
(Sep-27-2016, 02:29 AM)Skaperen Wrote: (like the "quote" button not working).
What do you mean?
Recommended Tutorials:
Reply
#26
(Sep-26-2016, 03:36 PM)nilamo Wrote: fine, I delete all my pms without reading them

Wait, what? Why? :huh:

(Sep-27-2016, 02:48 AM)metulburr Wrote:
(Sep-27-2016, 02:29 AM)Skaperen Wrote: (like the "quote" button not working).
What do  you mean?

Try the two buttons to the left of it. They work more like expected.

The button reading "quote" will activate only when you hit "reply" below.

That is helpful if you want to quote multiple posts in your answer. (Indicated by the small green plus symbol)


(Sep-27-2016, 02:29 AM)Skaperen Wrote: more smilies would be nice.

Which ones are you missing?
Reply
#27
more detail on the 3 quote buttons i wrote up
http://python-forum.io/misc.php?action=help&hid=30
Recommended Tutorials:
Reply
#28
(Sep-27-2016, 11:53 AM)metulburr Wrote: more detail on the 3 quote buttons i wrote up
http://python-forum.io/misc.php?action=help&hid=30

I'm used to the functionality so I eventually figured out what each button was meant for, but I do agree that their names could be a bit more explicit, such as "Multi-quote" and "Reply with quote" (which could be just "Quote" if we use "Multi-Quote" fot the other).
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply
#29
I modified them

Quote:The button reading "quote" will activate only when you hit "reply" below. 
Since i modified them it might be confusing now but...
For the multi-quote button select, you can 
1) go down and click new reply to insert all the quotes into the advanced editor

2) click quote button next to it (the new Quote text button) (which was the old Reply button). This will also do the same thing as if you clicked new rply with having selected multiply quotes 

3) If you go down to the fast quote editor, there is a link at the bottom to add the selected quoted posts to it (if you dont want the advanced editor). You also have the option to deselect them all.

Actually the multi quote button i not even needed. If you check the check boxes for each post and select any one of the (now new) Quote button, it will do the same thing. 

And then the small no text button is a plugin. That is the only one that allows to select text and quote the selected text only instead of the entire post. However if there is no selected text, then the whole post is considered "highlighted". Ideally i am at some point trying to make that only show if there is text selected.

Here is the js for the fast quote button if someone is able
/**
 * This file is part of Fast Quote plugin for MyBB.
 * Copyright (C) Lukasz Tkacz <[email protected]>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */ 
 
/* All code from phpBB3 SEO Premod, based on GPLv2 License */ 
function initInsertions() 
{
	var doc;

	if (document.forms[form_name])
	{
		doc = document;
	}
	else 
	{
		doc = opener.document;
	}

	var textarea = doc.forms[form_name].elements[text_name];
	if (is_ie && typeof(baseHeight) != 'number')
	{	
        setTimeout(function() { textarea.focus(); }, 10);
		baseHeight = doc.selection.createRange().duplicate().boundingHeight;

		if (!document.forms[form_name])
		{
            setTimeout(function() { document.body.focus(); }, 10);
		}
	}
}

/**
* Insert text at position
*/
function insert_text(text, spaces, popup)
{
	var textarea;
	
	if (!popup) 
	{
		textarea = document.forms[form_name].elements[text_name];
	} 
	else 
	{
		textarea = opener.document.forms[form_name].elements[text_name];
	}
	if (spaces) 
	{
		text = ' ' + text + ' ';
	}
	
	if (!isNaN(textarea.selectionStart))
	{
		var sel_start = textarea.selectionStart;
		var sel_end = textarea.selectionEnd;

		mozWrap(textarea, text, '');
		textarea.selectionStart = sel_start + text.length;
		textarea.selectionEnd = sel_end + text.length;
	}	
	
	else if (textarea.createTextRange && textarea.caretPos)
	{
		if (baseHeight != textarea.caretPos.boundingHeight) 
		{
            setTimeout(function() { textarea.focus(); }, 10);
			storeCaret(textarea);
		}		
		var caret_pos = textarea.caretPos;
		caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;
		
	}
	else
	{
		textarea.value = textarea.value + text;
	}
	if (!popup) 
	{
        setTimeout(function() { textarea.focus(); }, 10);
	} 	

}



// Startup variables
var imageTag = false;
var theSelection = false;
var bbcodeEnabled = true;

// Check for Browser & Platform for PC & IE specific bits
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version

var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));

function addquote(post_id, post_time, username, l_wrote)
{
	var message_name = 'message_fq' + post_id;
	var theSelection = '';
	var divarea = false;

	if (l_wrote === undefined)
	{
		// Backwards compatibility
		l_wrote = 'wrote';
	}

	if (document.all)
	{
		divarea = document.all[message_name];
	}
	else
	{
		divarea = document.getElementById(message_name);
	}

	// Get text selection - not only the post content :(
	if (window.getSelection)
	{
		theSelection = window.getSelection().toString();
	}
	else if (document.getSelection)
	{
		theSelection = document.getSelection();
	}
	else if (document.selection)
	{
		theSelection = document.selection.createRange().text;
	}

	if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
	{
		if (divarea.innerHTML)
		{
			theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
			theSelection = theSelection.replace(/<br\/>/ig, '\n');
			theSelection = theSelection.replace(/&lt\;/ig, '<');
			theSelection = theSelection.replace(/&gt\;/ig, '>');
			theSelection = theSelection.replace(/&amp\;/ig, '&');
			theSelection = theSelection.replace(/&nbsp\;/ig, ' ');
		}
		else if (document.all)
		{
			theSelection = divarea.innerText;
		}
		else if (divarea.textContent)
		{
			theSelection = divarea.textContent;
		}
		else if (divarea.firstChild.nodeValue)
		{
			theSelection = divarea.firstChild.nodeValue;
		}
	}

	if (theSelection)
	{
		if (bbcodeEnabled)
		{
			insert_text('[quote="' + username + '" pid="' + post_id + '" dateline="' + post_time + '"]' + theSelection + '[/quote]\n');
		}
		else
		{
			insert_text(username + ' ' + l_wrote + ':' + '\n');
			var lines = split_lines(theSelection);
			for (i = 0; i < lines.length; i++)
			{
				insert_text('> ' + lines[i] + '\n');
			}
		}
	}

	return;
}


/**
* From http://www.massless.org/mozedit/
*/
function mozWrap(txtarea, open, close)
{
	var selLength = (typeof(txtarea.textLength) == 'undefined') ? txtarea.value.length : txtarea.textLength;
	var selStart = txtarea.selectionStart;
	var selEnd = txtarea.selectionEnd;
	var scrollTop = txtarea.scrollTop;

	if (selEnd == 1 || selEnd == 2) 
	{
		selEnd = selLength;
	}

	var s1 = (txtarea.value).substring(0,selStart);
	var s2 = (txtarea.value).substring(selStart, selEnd);
	var s3 = (txtarea.value).substring(selEnd, selLength);

	txtarea.value = s1 + open + s2 + close + s3;
	txtarea.selectionStart = selStart + open.length;
	txtarea.selectionEnd = selEnd + open.length;
    setTimeout(function() { txtarea.focus(); }, 10);
	txtarea.scrollTop = scrollTop;

	return;
}
Recommended Tutorials:
Reply
#30
I just realized that the checkbox is only available for admins/mods    :P
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Does the forum need a forum category ? Yoriz 4 6,289 Sep-18-2016, 08:16 PM
Last Post: Kebap

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020