search for: in: entire forum this post
you are here: root => Installing the Nodesforum => Installation Support => User banning ability?
member since:
folders:
1
posts:
2
replies:
10

User banning ability?

I noticed a few things that I would like to stop if possible.

Is the a way to keep regular users from having these powers?
quote
ban user from this post
erase all posts from a user in this post
ban an IP address from this post
erase all posts from an ip in this post

grant moderator powers on this folder

I would like that only moderators that I have choosing to have these powers.

Thanks
post #64 permalink
please login to reply
member since:
folders:
10
posts:
22
replies:
75
atm users have moderator powers only inside of the folders and posts that they have created themselves.

i felt that since they have the power of erasing their own posts anyways why not let them moderate them too.

this allows any user to come and instead of creating a simple post, creating a folder with many subfolders/posts, appoint mods inside and manage it literally like his own forum inside of your forum. so that you can someday have "societies within societies".

their moderator powers do not extend outside of their own creations.

someone with moderator power outside of this folder will be moderator of these moderators..

if you give someone mod power on the root of the forum this will give this person moderator power over the entire forum

----------------------

i know thats kind of a crazy system, different from the traditional 1-level mod system. but the nodesforum has been conceived like that, hence the name nodesforum.

though maybe it could be possible in the future to have an option in the config to change this behavior so that posters do not have moderator powers over their own creations. but i kind of feel that this will deprive them from the possibility of starting their own subforums inside of your forum, which is kind of the idea.

or maybe another idea i had was to make it so that users have mod powers on the folders that they create but not the posts. but i felt that would influence posters to post their posts into a dummy folder just to have mod power on it. so i felt it was better to give same management power if you post a post or a folder to make sure that ppl only use a folder when they really wanna group things togheter.

anyways, let me know what you think

wassaa


test: test
post #65 permalink
member since:
folders:
1
posts:
2
replies:
10
I guess it makes since.
It is different for sure. LOL

Hay I have one other question.
What pulls the forum name?
In other words I want to move the forum name from the middle to the very top but I can't find the html code to move.

I am playing around the looks of things a little so when I'm done I'll post a link so that you can see.

Thanks
post #66 permalink
member since:
folders:
10
posts:
22
replies:
75
i dont understand your question.

the $_nodesforum_forum_name will never actually be shown on the page. it will show in the
code:
<title></title>

of your page but for that you must not forget to place the variable $_nodesforum_title in your
code:
<title></title>

like this:

code:
<head>
<title><?php echo $_nodesforum_title; ?></title>
</head>



the title of a page appears in the title bar of the browser and is also good for SEO

also the $_nodesforum_forum_name will be used in emails sent by the forum to design the forum (email to validate email address, forgotten password ect) but if you use your site's user system the forum will not send any email so that does not apply to your situation

-----------------

the $_nodesforum_forum_description though does show on top of the root page of the forum just in the same way that the description of a folder will show on top of the page when you enter a folder.

these descriptions support the bbcode so you can use the bbcode to style your description

the td (table cell of the table tag) bbcode tag does have a "valign" attribute that can be set to top, middle or bottom to chose the vertical alignement inside of the cell.

wassaa


test: test
post #68 permalink
member since:
folders:
1
posts:
2
replies:
10
Okay for example on your root folder it says
quote
Welcome to the Nodesforum Demo!
Hope you enjoyz

I want to move that above where it says "logged in as".
post #70 permalink
member since:
folders:
10
posts:
22
replies:
75
quote from oldreb on post #70
Okay for example on your root folder it says
quote
Welcome to the Nodesforum Demo!
Hope you enjoyz

I want to move that above where it says "logged in as".



oh i see.

well actually that does pose a problem because the login/logout bar is shown in body.php (top level display file) and the description of a folder is shown in bod_folder_view.php (included by body.php) along with the contents of the folders.

i think the best way to accomplish what you want to accomplish is to just add your own plain HTML on the body.php file where you want it.

and if you would like that this part of the text looks like the description you can see how the HTML code to make the folder description looks in bod_folder_view.php

it looks like that

code:
<div style="height:4px;"><!-- --></div><div style="width:100%;"><table class="class_nodesforum_bgcolor3" style="width:100%;"><tr><td class="class_nodesforum_bgcolor2"><div class="class_nodesforum_inner">
//your stuff in html
</div></td></tr></table></div>


wassaa


test: test
post #71 permalink
member since:
folders:
10
posts:
22
replies:
75
so you could add this on the body.php

code:
echo '<div style="height:4px;"><!-- --></div><div style="width:100%;"><table class="class_nodesforum_bgcolor3" style="width:100%;"><tr><td class="class_nodesforum_bgcolor2"><div class="class_nodesforum_inner">';
//your stuff in html
echo '</div></td></tr></table></div>';


wassaa


test: test
post #72 permalink
member since:
folders:
10
posts:
22
replies:
75
oh and in case you dont already have a good editor on windows you can use netbeans to edit php files, that will help you see if there are errors or anything: http://netbeans.org/downloads/index.html

wassaa


test: test
post #73 permalink
member since:
folders:
10
posts:
22
replies:
75
also note that this way, the text you add will appear on all pages unlike the forum description which only appears on the home page

if you prefer that the HTML you will add only shows on the root of the forum you could add this to the body.php:

nodesforum style
code:
if($_GET['_nodesforum_node']=='0')
{
echo '<div style="height:4px;"><!-- --></div><div style="width:100%;"><table class="class_nodesforum_bgcolor3" style="width:100%;"><tr><td class="class_nodesforum_bgcolor2"><div class="class_nodesforum_inner">';
//your stuff in html
echo '</div></td></tr></table></div>';
}



no style
code:
if($_GET['_nodesforum_node']=='0')
{
//your stuff in html
}


wassaa


test: test
post #74 permalink
member since:
folders:
10
posts:
22
replies:
75
and replace //your stuff in html by either

code:
?>

<table><td><ect..>blah

<?php



or

code:
echo '

<table><td><ect..>blah

';



cos well youre in php

wassaa


test: test
post #75 permalink
member since:
folders:
1
posts:
2
replies:
10
That's what I'm looking for.
I'll give it a try in a little while right now I have to go out and work in my garden. lol

By the way I use Macromedia Dreamweaver to edit and other than that I just use notepad.
I'm not to good with php code but I am pretty good with html.

I'll let you know how it works out.

Thanks
post #76 permalink
member since:
folders:
10
posts:
22
replies:
75
good idea, nothing like a bit of fresh air and walking around doing gentle physical activities i need more of that myself

to code php netbeans is better than notepad cos it has syntax highlighting and finds errors in the code too, also has tabs, code auto-formatting and lots of cool stuff

and its free no need to crack it

wassaa


test: test
post #77 permalink
member since:
folders:
1
posts:
2
replies:
10
Opps I just read what you posted as I was in hurry today.

What I was trying to do is call the
code:
$_nodesforum_forum_description

from the config file and have it show at the top of the root page instead of showing below the "you are here:" part.

Yes I can add the name of the site or description or whatever at the top with html but was trying to come up with a way that would make it easier for people that may not know html code.

Any for now I'm just going to add it to my site with html as you posted above.
post #78 permalink
member since:
folders:
10
posts:
22
replies:
75
i think i understand what you mean but if i could see it would help me understand what you have in mind.

for the moment every folder can have a description and the root is just a folder with
code:
$_nodesforum_forum_name

for title and
code:
$_nodesforum_forum_name_at_or_at_the

for description. and it just felt natural to group all that has to do with the folder together and group all the forum navigation links together on the top

wassaa


test: test
post #80 permalink
member since:
folders:
10
posts:
22
replies:
75
also i think that if you just removed or commented out the

code:
if($_nodesforum_folder_description!='')
	{
		$user_or_guest=1;
		if($_nodesforum_creator_uniqueID==$_nodesforum_uniqueID_of_deleted_user)
		{$user_or_guest=0;}

		echo '<div style="height:4px;"><!-- --></div><div style="width:100%;"><table class="class_nodesforum_bgcolor3" style="width:100%;"><tr><td class="class_nodesforum_bgcolor2"><div class="class_nodesforum_inner">';
		echo display_bb($_nodesforum_folder_description,$_nodesforum_folder_p_inf_str,$user_or_guest,$_nodesforum_folder_description_disable_auto_smileys,$_nodesforum_folder_description_disable_auto_links,0);
		echo '</div></td></tr></table></div>';
	}



from "bod_folder_view.php" (should be around line 50)

and instead place it where you want the description in "body.php" that would cause all the folder descriptions to appear up where you placed that code in the "body.php"

wassaa


test: test
post #81 permalink
please login to reply

moderators of this post

oldreb (level: ∞)
powered by Nodesforum