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

Reply
 
Thread Tools Display Modes
  #11  
Old 07-15-2008, 02:19 AM
RLShare RLShare is offline
 
Join Date: Jun 2008
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I created a quick one, tested in IE 7 and firefox 2 & 3. Also note it doesn't disable the message area like it does on digital point, well because I didn't feel like going through VB's javascript to try to figure out how to at this time. But disabling the subject will achieve the same effect as the user cannot create a thread with it disabled.

So here goes

First the template edits:

Go to,
AdminCP->Styles & Templates->Style Manager->Your Style->Edit Templates->New Posting Templates-> NewThread

First find:
PHP Code:
$usernamecode 
and add this right above it:
PHP Code:
$pb_areyousure 
Next in the same template find:
PHP Code:
<input type="text" class="bginput" name="subject" value="$subjectsize="40" maxlength="$vboptions[titlemaxchars]tabindex="1" /> 
Make sure its the input that has 'name="subject" ' and then replace it with this:
PHP Code:
<if condition="$bbuserinfo['posts']<=20">
                <
input type="text" class="bginput" name="subject" id="pb_subject" value="$subjectsize="40" maxlength="$vboptions[titlemaxchars]tabindex="1" disabled="disabled" />
<else />
                               <
input type="text" class="bginput" name="subject" value="$subjectsize="40" maxlength="$vboptions[titlemaxchars]tabindex="1" />

</if> 

Next just import the plugin I attached.


One last note, its set up to stop showing for users with more then 20 posts because thats what you asked for.
Attached Files
File Type: xml vbulletin-plugins.xml (1.6 KB, 11 views)
Reply With Quote
  #12  
Old 07-15-2008, 05:17 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

example?
Reply With Quote
  #13  
Old 07-16-2008, 03:25 AM
RLShare RLShare is offline
 
Join Date: Jun 2008
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its on my test board, I can't show you. It looks exactly as it does in that picture with the exception that 'logged in as whoever' shows up below the message/checkbox area.
Reply With Quote
  #14  
Old 07-16-2008, 07:21 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RLShare View Post
Its on my test board, I can't show you. It looks exactly as it does in that picture with the exception that 'logged in as whoever' shows up below the message/checkbox area.
a screenshot will do.
Reply With Quote
  #15  
Old 07-17-2008, 12:53 AM
RLShare RLShare is offline
 
Join Date: Jun 2008
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol
User with more then 20 posts... It looks normal.

User with less then 20 posts... The extra field shows up.
Reply With Quote
  #16  
Old 07-17-2008, 01:01 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any point having the tick bit there if it doesnt work? lol
Reply With Quote
  #17  
Old 07-17-2008, 01:03 AM
RLShare RLShare is offline
 
Join Date: Jun 2008
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re-read what i said before. It disables the subject not the message area, eitherway with the subject disabled you cannot submit a thread. Meaning it achieves the same thing, you have to tick it before you can create a thread..

--------------- Added [DATE]1216260672[/DATE] at [TIME]1216260672[/TIME] ---------------

I guess i should change the text of the subject field and make it more noticable that it gets disabled like it is on Digital point. I might do that tomorrow.
Reply With Quote
  #18  
Old 02-09-2009, 01:40 AM
deep_blue deep_blue is offline
 
Join Date: May 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi RL Share

Have you upgraded the mod. Is it also poissiblle to put this text in subject "Something descriptive here will fetch better response" as given in Digital Point Forums
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 06:56 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.04135 seconds
  • Memory Usage 2,261KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_php
  • (1)bbcode_quote
  • (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
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete