vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   2nd Postbit Template. Help w/ implementation! (https://vborg.vbsupport.ru/showthread.php?t=85204)

Yosc_Chris 11-04-2002 08:56 PM

2nd Postbit Template. Help w/ implementation!
 
I want to create a second post bit, for a certain group of forums. It is almost exactly like the original, except it forces a font color (I have a default font color for each user, but color is not allowed in the Role Play forums due to reading difficulty).

So could anybody tell me how I'd implement that? (As in create the template, get the variable name, etc; I am a n00b at creating new templates.)

Tony G 11-05-2002 01:15 AM

You'd need to make a whole new template group, just edit the forumdisplay and postbit templates to make it exactly the same for the forumdisplay and the way you want it for the postbit. Create the style for the template group too. After that just go to your forum settings and impliment that template set to the forum you want.

Thats the only way I know how to do it.

Yosc_Chris 11-05-2002 02:04 AM

Wow. That's a lot just for one change.

But that's alright.

So to let me get it straight:
1) I make a new template set, and copy in my forum display and postibit templates, minus the change I'm making to the postbit

2) Make a new style, associated w/ the new template set, and presumeably make it match the original?

3) Apply it all to the forums in question.

Does that sound about right?

Tony G 11-05-2002 02:34 AM

Yep. You can apply via the Forum Settings on that forum in the CP. :)


All times are GMT. The time now is 01:10 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.00974 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete