vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Stop moderators/ super-mods from changing titles (https://vborg.vbsupport.ru/showthread.php?t=110380)

Nathan2006 03-14-2006 08:00 PM

Stop moderators/ super-mods from changing titles
 
1 Attachment(s)
Hi,

I have just found out by mistake :rolleyes: lol that I can change a title on a thread by double clicking it.

Is there anyway I can stop Mods and super mods from changing titles in this way?

The reason I ask is because there is no log to tell me when a title is changed and I would prefer the mods to click on edit thread.

I have added a pic so you know what I mean

Thank you for any help :)

007 03-14-2006 08:22 PM

I didn't even know you could do that.. Doesn't clicking the title take you to the thread itself? Where are your mods clicking to change this?

Also, you can most likely do it with template edits and by using conditionals for udergroups. :)

Nathan2006 03-14-2006 08:56 PM

Quote:

Originally Posted by 007
I didn't even know you could do that.. Doesn't clicking the title take you to the thread itself? Where are your mods clicking to change this?

Also, you can most likely do it with template edits and by using conditionals for udergroups. :)

LOL its funny how it works but all you need to do is double click on the right-hand-side of the title and it will allow you to edit the title lol:D

I would love to know how to remove it just for mods and super mods tho and I'm not a coder or that good with code so I don't know what I would be looking for :(

I cannot find anything in the user groups but it looks as if its something to do with Super mods

cRaZy-BoY 03-14-2006 09:35 PM

ok....

open functions_forumdisplay.php:

find:

PHP Code:

can_moderate($thread['forumid'], 'caneditthreads'

replace with:

PHP Code:

is_member_of($vbulletin->userinfo6

change "6" to the usergroups that you want to allowed to edit the title of the tread....

if you what a few groups...just separated the usergroupsID with a comma.. like:

PHP Code:

is_member_of($vbulletin->userinfo64956

e-njoy.... ;)

Nathan2006 03-14-2006 10:11 PM

Thank you cRaZy-BoY thats worked a treat :bunny:

Thanks again ;)

007 03-14-2006 11:41 PM

You can do the code edit, but I don't think it's worth it just for that. Editing source files makes upgrading a real pain.

I'm 99.999% positive you can do this with a simple template conditional.. I will look into it right now for myself too and post what I come up with.

Ok, I just did this on my own boards and it works, and is WAY easier than a template edit.

In template "threadbit"

Look for towards the top:

HTML Code:

$thread[title_editable]
Replace with:

HTML Code:

<if condition="$bbuserinfo[usergroupid]==6">$thread[title_editable]</if>
Now only administrators can use this feature.

If you want just YOU, then put this instead:

HTML Code:

<if condition="$bbuserinfo[userid]==1">$thread[title_editable]</if>
(Assuming your userid is 1)

Try that instead of the code edit.

Nathan2006 03-15-2006 12:11 AM

Quote:

Originally Posted by 007
You can do the code edit, but I don't think it's worth it just for that. Editing source files makes upgrading a real pain.

I'm 99.999% positive you can do this with a simple template conditional.. I will look into it right now for myself too and post what I come up with.

Ok, I just did this on my own boards and it works, and is WAY easier than a template edit.

In template "threadbit"

Look for towards the top:

HTML Code:

$thread[title_editable]
Replace with:

HTML Code:

<if condition="$bbuserinfo[usergroupid]==6">$thread[title_editable]</if>
Now only administrators can use this feature.

If you want just YOU, then put this instead:

HTML Code:

<if condition="$bbuserinfo[userid]==1">$thread[title_editable]</if>
(Assuming your userid is 1)

Try that instead of the code edit.

Yeah I have a used the code now it says " you do not have permission" for mods (evil laugh):D

Thank you very much for finding the codes :)


All times are GMT. The time now is 08:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01305 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_html_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete