vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - A new 'newthread' look. (https://vborg.vbsupport.ru/showthread.php?t=216688)

FreshFroot 06-22-2009 05:26 AM

love this! good work mate :D

JamesC70 06-23-2009 12:33 AM

1 Attachment(s)
Quote:

Originally Posted by Quantnet.org (Post 1834471)
If you use this Posting rule template edit, you can even remove the forum rule box
https://vborg.vbsupport.ru/showthread.php?t=129349

Quote:

Originally Posted by JamesC70 (Post 1834498)
Or just delete the line that states $forumrules from this modification. ;)

I went ahead and put together a forumrules box that matches the rest of the options section.

[INSTALLATION]
Styles & Templates -> Search in Templates -> NEWTHREAD

Locate $forumrules, and replace that line with the following:
Code:

<!--- posting rules adjustment --->
<fieldset class="fieldset"><legend>Forum Rules</legend>
You <strong>may $rules[postnew]</strong> post new threads.<br />
You <strong>may $rules[postreply]</strong> post replies.<br />
You <strong>may $rules[attachment]</strong> post attachments.<br />
You <strong>may $rules[edit]</strong> edit your posts.<br />
<hr />
You <if condition="$foruminfo[allowbbcode]"><strong>may</strong> use <a href="misc.php?$session[sessionurl]
do=bbcode">BBCode</a><else /><strong>may not</strong> use BBCode</if> in your posts.<br />
You <if condition="$foruminfo[allowsmilies]"><strong>may</strong> use <a href="misc.php?$session[sessionurl]
do=showsmilies">smilies</a><else /><strong>may not</strong> use smilies</if> in your posts.<br />
You <if condition="$foruminfo[allowimages]"><strong>may</strong> post <a href="misc.php?$session[sessionurl]
do=bbcode#imgcode">images</a><else /><strong>may not</strong> post images</if> in your posts.<br />
You <if condition="$foruminfo[allowhtml]"><strong>may</strong> use HTML<else /><strong>may not</strong> use HTML</if> in your
posts.<br />
<hr />
<phrase 1="misc.php?$session[sessionurl]do=showrules">$vbphrase[forum_rules_link]</phrase>
</fieldset>
<!--- / posting rules adjustment --->

The same code change can be used in my companion modification "A new 'newreply' look", installed in NEWREPLY template. ;)

lordtopcat 06-23-2009 01:56 AM

Thanks James.

Blackheart_72 06-23-2009 08:31 PM

Never actually clicked install.

Members love it, thanks

lordtopcat 06-24-2009 12:44 AM

Quote:

Originally Posted by Veccy 150 (Post 1835899)
Never actually clicked install.

Members love it, thanks

Glad you like it. It's fantastic to be able to see some of my work live on another forum.

RobbieZ 06-24-2009 07:28 AM

It looks cool. Thanks . Plus it has a reminder look without reminding you.

therogueforums 06-30-2009 09:04 AM

I would really love to use this mod, but I have a left side bar on my forum that shows on all pages, and pushes the text input area too far to the right. Any way to get this mod to fit properly on my site?

HMBeaty 06-30-2009 09:13 AM

Quote:

Originally Posted by therogueforums (Post 1840071)
I would really love to use this mod, but I have a left side bar on my forum that shows on all pages, and pushes the text input area too far to the right. Any way to get this mod to fit properly on my site?

For your sidebar, you can disable it in "newthread" by placing this around it...
HTML Code:

<if condition="THIS_SCRIPT != 'newthread'">
HTML Code:

</if>

therogueforums 06-30-2009 09:51 AM

Quote:

Originally Posted by Redlinemotorsports (Post 1840076)
For your sidebar, you can disable it in "newthread" by placing this around it...
HTML Code:

<if condition="THIS_SCRIPT != 'newthread'">
HTML Code:

</if>

Beautiful! Thank you!

HMBeaty 06-30-2009 10:01 AM

Quote:

Originally Posted by therogueforums (Post 1840095)
Beautiful! Thank you!

No problem :)


All times are GMT. The time now is 08:06 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.01166 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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