vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - New Thread Posting Rules (https://vborg.vbsupport.ru/showthread.php?t=174189)

uae 03-25-2008 10:00 PM

New Thread Posting Rules
 
New Thread Posting Rules

Info: This little modification will add a box that is shown when a new thread is started, and can be configured for specific forum(s) or all forums.

--------------------------------
| New Files: 0
| New Templates: 1 (newthread_posting_rules)
| New Phrases: 6
| New Plug-ins: 3
| Table to Alter: 1 (forums)
| File Edits: 0
| Template Edits: 1 (newthread)
| Queries: 0
--------------------------------


New Installation
****************************
** Unzip the files to a directory on your computer.
Step 1. Import Product.
Step 2. Do the Template Edit from the text file: // Skip if you got Template-Modifications System installed.
Step 3. Configuring the hack:
  • Forums & Moderators -> Forum Manager -> Edit the forum of your choice -> Enable New Thread Posting Rules on this Forum
  • OR (for all forums)
  • vBulletin Options -> New Thread Posting Rules Hack
Save & Enjoy!

Version History:
1.0.0
- Initial Release for vB 3.7.x

intensecool 03-26-2008 06:44 AM

** Reserved ****

Barakat 03-26-2008 07:04 AM

thanks ....

codershark 03-26-2008 08:02 AM

good job !

Magnumutz 03-26-2008 08:12 AM

Very nice hack dude, Good job !

Tagged for later use.

Guest210212002 03-26-2008 11:14 AM

Thanks!

/me clicks install

edenx 03-26-2008 12:17 PM

excellent!

SVTCobraLTD 03-26-2008 12:27 PM

Will try installing on 3.6.8 pl2. Thanks

Guest210212002 03-26-2008 12:49 PM

3.7RC1, I don't see any option to enable the new thread posting rules when editing forums.

Edit: Had to CTRL-F5 my whole ACP for some reason, got it. It's showing up under my vBSEO options group though. You might want to give it it's own header.

This mod is a life-saver for me and my classifieds forums, since I get a lot of one-post-wonders coming through dropping ads w/o reading my forum rules. Good stuff man, thanks very much.

http://www.sevenstring.org/chris/newpostingr.png

SVTCobraLTD 03-26-2008 12:52 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1474933)
Will try installing on 3.6.8 pl2. Thanks

Works!

RvG2 03-26-2008 02:23 PM

must be by default in vbulletin install.

*installed.

nyqnzguju 03-26-2008 02:30 PM

Very nice addon. Can you make it available for 3.6.8 as well.

Basboss 03-26-2008 02:41 PM

Thanks, it's working with vb3.6.x and vb3.7.x

barroca 03-26-2008 03:07 PM

Tks a lot :D
I expect help to increase search function ;) I will use to alert members to do it ....
* a ideia : maybe in future you plan differents rules/advices to different foruns. I think will be a [more] useful addon

joao barroca
aka beduino

Guest210212002 03-26-2008 04:01 PM

Quote:

Originally Posted by barroca (Post 1475047)
Tks a lot :D
I expect help to increase search function ;) I will use to alert members to do it ....
* a ideia : maybe in future you plan differents rules/advices to different foruns. I think will be a [more] useful addon

joao barroca
aka beduino

You can set rules for individual forums. ;) Edit the forum and if you put a description in there, it will override the global bit.

Hornstar 03-28-2008 07:31 AM

Fantastic! I will probably show a few rules and link them to the rest, that way they will have no come backs that they didnt know where they were.

Will be installing this when I upgrade.

Thanks.

maidos 03-28-2008 10:59 AM

can i have post rules that can seperate itselfs on each forum sections, and allow having different post rule on differetn sections

maidos 03-28-2008 11:12 AM

can the new post rule go for quick and advanced reply

michaelmash 03-31-2008 07:00 PM

very useful mod. thanks.

samet54 04-07-2008 12:38 PM

vav good jop sal kardes

Forum Lover 04-12-2008 05:35 PM

I am having a problem. Its showing only in my default skin. Its not showing up my other two styles.
What may cause this prob?

Sorry, Did forgot to put $newthread_posting_rules for other styles. he..he..

J98680Bxxxxx 04-19-2008 03:28 PM

Installed, works fine. Thanks :up:

As I personnaly create most of the leading Threads on my forum, how can we extend this mod so that posting rules are also displayed on "Reply to Posts", so that the folks in my ZOO stop telling that they didn?t see or they didn?t know where the posting rules were?:rolleyes:

Would it make sense to have this option added for the next release? :)

kira 05-07-2008 05:54 PM

Very nice addition, thank you! Works perfectly in my 3.6.7, though I changed up the templates a bit. Great work!

myown 05-14-2008 10:46 AM

thanks for this.

myown 05-14-2008 11:12 AM

is there any way to set if for parent forum and all child forums at once?

thanks in advance for help.

Best Regards,

CPB123 07-31-2008 05:12 AM

Installed, great for new threads but is there ANY way this can be modded to also show up above the quick reply box and when invoking "new reply" or advanced reply?

If anyone knows how or has an alternate hack that does this please let me know.

baktabul 08-04-2008 01:46 AM

Thank you very much excellent!

anderow 08-08-2008 07:47 PM

Quote:

Originally Posted by Chris-777 (Post 1475106)
You can set rules for individual forums. ;) Edit the forum and if you put a description in there, it will override the global bit.

Nice product...thanks dude :)

One thing though, is it possible by any chance to have it to display by post count option as well?

eg// Only display forum rules on XX and YY forums to forum members with less than 100 posts.
Because all of my forums longer term members (well, not all but many) have decent posting habits now after moderators making them post correctly in their early days!

oz_girl 08-16-2008 07:22 AM

Reserved :D

quasan 09-22-2008 10:29 PM

Quote:

Originally Posted by CPB123 (Post 1588043)
Installed, great for new threads but is there ANY way this can be modded to also show up above the quick reply box and when invoking "new reply" or advanced reply?

If anyone knows how or has an alternate hack that does this please let me know.

my favorite request too :D

neoxi 12-14-2008 01:21 AM

thank you.. installed.

Alfa1 12-14-2008 02:55 AM

Works great on 3.7.4. Thanks.

myown 04-22-2009 12:04 PM

does it work on 3.8 ?

xyzmary2001 07-17-2009 11:37 AM

Same question, does it work on vb 3.8, anyone?

Aquestor 08-26-2009 06:58 AM

Quote:

Originally Posted by CPB123 (Post 1588043)
Installed, great for new threads but is there ANY way this can be modded to also show up above the quick reply box and when invoking "new reply" or advanced reply?

If anyone knows how or has an alternate hack that does this please let me know.

Thanks for this addon it`s geat, but it would be nice if the Options in the quote would be possible.

NJTy180 08-04-2010 04:49 AM

Quote:

Originally Posted by CPB123 (Post 1588043)
Installed, great for new threads but is there ANY way this can be modded to also show up above the quick reply box and when invoking "new reply" or advanced reply?

If anyone knows how or has an alternate hack that does this please let me know.

Quote:

Originally Posted by quasan (Post 1628059)
my favorite request too :D

in case anyone else hasnt figured this out already, I got it to work for Post Reply and Quote Reply by doing the following.

1. Open the product-newthread_posting_rules.xml file in Dreamweaver or your favorite editor and resave it as product-newreply_posting_rules.xml

2. Open your new product-newreply_posting_rules.xml file, then find & replace the phrase "newthread" with "newreply" (i believe it changed 30 or 31 phrases), then save the file again.

3. Find the following text in Template newreply
Code:

<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
                $vbphrase[reply_to_thread]
        </td>
</tr>

Below that add the following text
$newreply_posting_rules

4. Upload product-newreply_posting_rules.xml as a product just as you did the new thread posting rules.

Once installed, it will say you have two New Thread Posting Rules products installed (if you hover over them you will see they are different) and it will also show two of the same in the vBulletin Options menu.

Lastly, it also adds a second rules box in your Forum Manager below the first one that was added. Simply copy and paste your rules to that box as well or make different rules, save them and youre done.

The rules will now appear when posting New Thread, Post Reply or Quote Reply.

angeljs 02-14-2011 07:53 PM

I know this is an old thread, but this has to be one of the most useful mods ever for vBulletin...I love it! :D

anderow 01-15-2012 04:17 PM

does anyone have it running on 4.1.8?
thanks

angeljs 01-15-2012 06:03 PM

Any vB4 version would be welcome :)

anderow 01-21-2012 04:22 PM

ok, well I didnt get this working on Vb4 but instead did the mod myself. Its a piece of cake. For the template you want to edit (or repeat for all of them if you want to)

Go to Style Manager --> Edit Templates --> New Posting Templates --> newthread....

find this bit of code
Quote:

{vb:raw prefix_options}
</select>
<p class="description"></p>
</vb:if>
Underneath this closing if statement, add the text you have in the vbulletin options > advanced posting rules.. text area (or just add the text you want)
Paste it in here. Save and reload the template.
Job done. All new thread postings will have your advanced posting rules posted and formatted above the post titles.
heres an example of some new rules you could edit to your needs.

Quote:

<ul>
<li><span style="color: #ff0000"><span><strong>Please post in the correct section for the topic you are posting about.</strong></span></span> <span style="color: #ff0000"><span><strong>Take a minute to check through the forums list and find the correct forum or subforum.</strong></span></span></li>
<li><span style="color: #ff0000"><span><strong>Use a descriptive title for your thread and start it with your xxyy details </strong><span style="color: #ff6600"><strong>[Example Thread Title] xxyy product - is not working correctly please help.</strong></span></span></span></li>
<li><span style="color: #ff0000"><span><span><strong>Remember, the more descriptive and well written your threads are, the more accurate and plentiful the help offered will be.</strong></span></span></span></li>
</ul>


All times are GMT. The time now is 06:36 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.02987 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete