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 - vBH-Advanced Thread Rules (https://vborg.vbsupport.ru/showthread.php?t=165583)

Forum Lover 12-25-2007 02:15 PM

Quote:

Originally Posted by ssvp (Post 1408373)
I second that.

I third that. :p

0ptima 12-26-2007 09:18 PM

Quote:

Originally Posted by Alien (Post 1405834)
Hey this is real nice...

Would you consider in a future version to add "per forum" rules for some of us who have a forum with special rules?

Thanks!

You could probably do it with a template conditional like this

PHP Code:

 <if condition="in_array($forumid, array(5,6,7))">

$threadrules

</if> 


Just replace 5,6,7 with the forum IDs you want the rules to show up in.

0ptima 12-26-2007 09:22 PM

This hack would be perfect if there was a check box that stated "I have read and fully understood the rules" and it would be required to be checked in order to submit the thread

BuRaCh 12-31-2007 03:00 PM

Quote:

Originally Posted by 0ptima (Post 1409715)
You could probably do it with a template conditional like this

PHP Code:

 <if condition="in_array($forumid, array(5,6,7))">

$threadrules

</if> 


Just replace 5,6,7 with the forum IDs you want the rules to show up in.

i am add hack on/off at version2

vBH-Team 01-01-2008 10:13 AM

Very cool BuRaCh
thanks..
iam installed

Nizwa 01-12-2008 09:34 PM

nice , i like it

cyberbob73 01-13-2008 07:19 AM

Thanks :up:

Nikke 01-13-2008 09:06 AM

Nice, installed.

The "Add thread rules" is not phrased by the way. You've added it as a phrase to the language system, but it's hardcoded into the template!

If you want to have the same rules for posts, just pot the same bit in the newpost template!

BuRaCh 01-14-2008 06:25 PM

Thanks friends;)

sinfull 02-22-2008 06:15 PM

Quote:

Originally Posted by Forum Lover (Post 1408899)
I third that. :p

I fourth that haha


All times are GMT. The time now is 01:59 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.01557 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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