Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2006, 03:47 PM
powerbook's Avatar
powerbook powerbook is offline
 
Join Date: Jul 2006
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Images & Wordcount in post

I know how to increase the maximum character count and images allowed in a single post (ACP -> Message Posting and Editing Options). Is it possible to have these different for certain usergroups let's say like Admin and normal users?

As Admin I'd write articles and post images that will exceeed the limit and for this I would like to be able to keep the normal users at 5 images and 5000 characters but for myself 15 images and 15000 characters.

Is it possible to have these profiles?
Reply With Quote
  #2  
Old 08-24-2006, 07:11 AM
powerbook's Avatar
powerbook powerbook is offline
 
Join Date: Jul 2006
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump : Any takers?
Reply With Quote
  #3  
Old 08-24-2006, 02:31 PM
F34R F34R is offline
 
Join Date: Aug 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be very helpful for me as well.
Reply With Quote
  #4  
Old 08-24-2006, 03:01 PM
R.Solutions's Avatar
R.Solutions R.Solutions is offline
 
Join Date: Mar 2006
Location: Texas
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should be in the admincp --> Usergroup --> Registered Users

Should have an option there to limit those options as well.
Reply With Quote
  #5  
Old 08-24-2006, 04:55 PM
powerbook's Avatar
powerbook powerbook is offline
 
Join Date: Jul 2006
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it doesn't offer any setting there to change limit for charcters or images per post for a certain usergroup.

I have a idea this is impossible...

Anyone Else?
Reply With Quote
  #6  
Old 08-29-2006, 05:17 AM
F34R F34R is offline
 
Join Date: Aug 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still havent been able to figure out if this is possible or not.
Reply With Quote
  #7  
Old 08-29-2006, 10:33 AM
powerbook's Avatar
powerbook powerbook is offline
 
Join Date: Jul 2006
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me neither I looked at everything but there is no option that allows for you to specify the two options (max word, images per post ) per usergroup or by user.

There must be other members that has/had the same issue.
Reply With Quote
  #8  
Old 08-31-2006, 04:51 PM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've looked around for a way to do this too. The closest solution I've found is the hack that allows specific usergroups to post html.
https://vborg.vbsupport.ru/showthread.php?t=96926
Reply With Quote
  #9  
Old 09-02-2006, 02:17 PM
powerbook's Avatar
powerbook powerbook is offline
 
Join Date: Jul 2006
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I'll go for that one now. I've searched this forum for some - anything related to this and nothing turned up. If we are asking this question I can't believe no one else were able to advise us. Makes you think doesn't it?

In 15 days no real answer, it's unbelievable...
Reply With Quote
  #10  
Old 09-02-2006, 03:54 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a quick and dirty solution.

In "includes/class_dm_threadpost.php" Find:
Code:
function verify_pagetext(&$pagetext)
	{
		if ($this->registry->options['postmaxchars'] != 0 AND ($postlength = vbstrlen($pagetext)) > $this->registry->options['postmaxchars'])
		{
			$this->error('toolong', $postlength, $this->registry->options['postmaxchars']);
			return false;
		}
Replace with:
Code:
function verify_pagetext(&$pagetext)
	{
		global $vbulletin;
		if ($this->registry->options['postmaxchars'] != 0 AND ($postlength = vbstrlen($pagetext)) > $this->registry->options['postmaxchars'] AND $vbulletin->userinfo['usergroupid'] != '6')
		{
			$this->error('toolong', $postlength, $this->registry->options['postmaxchars']);
			return false;
		}
This assumes that your Administrator Group is UsergroupID 6.

This will eliminate the limit placed on Administrators, yet maintain the established AdminCP Limits for other Users.
Reply With Quote
Reply


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 02:14 AM.


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.04322 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete