Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-14-2006, 08:00 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Stop moderators/ super-mods from changing titles

Hi,

I have just found out by mistake 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
Attached Images
File Type: jpg untitled.JPG (6.7 KB, 0 views)
Reply With Quote
  #2  
Old 03-14-2006, 08:22 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-14-2006, 08:56 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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
Reply With Quote
  #4  
Old 03-14-2006, 09:35 PM
cRaZy-BoY cRaZy-BoY is offline
 
Join Date: Feb 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #5  
Old 03-14-2006, 10:11 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks again
Reply With Quote
  #6  
Old 03-14-2006, 11:41 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 03-15-2006, 12:11 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)

Thank you very much for finding the codes
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:54 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.05725 seconds
  • Memory Usage 2,253KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_html
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete