Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2002, 07:34 AM
Cyn Cyn is offline
 
Join Date: Apr 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Modding templates for specific forums

Is this possible? Let me explain what I want to do.

I have set up four advertising forums. What I would like to do is remove the following things from the forum display page for each of those forums:
thread icons in the left column
thread starter
replies
views
last post
New Thread button
Forum Rules
thread icons legend

So on the forum display the table would be reduced to one column

On the showthread page I'd like the author column removed as well as the Forum Rules box and all the buttons for the author of the post except for the edit button, and the post reply button too. I'd like the new thread button to not show either but can't figure out how I'd start a new thread if necessary without that button.

Now in my mind I would do this through the Styles part of the admin cp, modifying the templates as necessary, saving the style, uploading it, and then selecting that new style as the one to be used in the forum I want it for. But when I download a copy of the default style I find it's a php file. I don't know php so does this mean I can't do this? or am I approaching it the wrong way?
Reply With Quote
  #2  
Old 10-21-2002, 07:59 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Create A New Template Set and Style Set. Then just work on the forumdisplay part of the templates and copy the same style settings into that style set. Once thats done just set the style to that specific forum.

Thats the only way I can think of it.
Reply With Quote
  #3  
Old 10-21-2002, 12:41 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its the only way you can do it unless you hack your files.
Reply With Quote
  #4  
Old 10-21-2002, 08:01 PM
Cyn Cyn is offline
 
Join Date: Apr 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks both of you! I'll give it a whack but will probably be back for help.
Reply With Quote
  #5  
Old 10-28-2002, 06:53 PM
Cyn Cyn is offline
 
Join Date: Apr 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please take a look at what I've done: http://216.92.20.151/discussions/for...s=&forumid=124

I'm really new at this and not finding my way around the templates very easily. I've mostly been deleting and checking to see what happens.

I'd like to get rid of the
MotheringDotCommune Forums > Mothering Marketplace
line at the top and replace it with a logo. How do I go about that?

What templates would I mod to get rid of the columns with the thread and post numbers and last post date "Never"? Also the wording "Forum Rules:"

Also what template enlarges and changes the font type of the forum names - in this case The Diaper Store, Clothing, etc?
Reply With Quote
  #6  
Old 10-29-2002, 03:33 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To remove the navbar, go to the navbar template and remove everything in it. This affects forumhome, forumdisplay and showthread (Maybe thread/reply not sure) Make sure it's just for that template set. The way you have been doing it.
Reply With Quote
  #7  
Old 10-29-2002, 06:14 PM
Cyn Cyn is offline
 
Join Date: Apr 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Tony! I've almost got it looking the way I want it to.

Here's another and I hope I can explain this clearly. I have a group of forums within a category and I want only one thread in each of these forums. So rather than be taken to the threads list page I want to be able to click on the forum, from the main page or from within the category forums list page, and be taken directly to the one thread in that board. How can I set this up?
Reply With Quote
  #8  
Old 01-10-2004, 12:20 PM
chrisvonc's Avatar
chrisvonc chrisvonc is offline
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony
Create A New Template Set and Style Set. Then just work on the forumdisplay part of the templates and copy the same style settings into that style set. Once thats done just set the style to that specific forum.
Digging up a post from the past here.... I am looking to do a similar thing of removing some of the postbit stuff completly from one specific forum but I dont fully understand what exactly is explained above or what to be removing for my desired results.

The end result I would like to try is to have the whole Author column removed as well as the row with the online, PM, email, etc, button are located. (I'll add a screenshot at the end of the post here). Is creating a whole new template set needed or can I modify a copy of the default style and upload it as a 2nd style to apply to the one forum?

Thanks in advance for any help!

Chris
Attached Images
File Type: jpg thread2.jpg (37.2 KB, 0 views)
Reply With Quote
  #9  
Old 01-10-2004, 01:30 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vBulletin two you must create anthor style via the control panel. Once you to that you can force that style to be used in the forum you want the style to show in via the forum settings.

If you dont want to go through that tourble you can hack the files (in which case you need to go to vBulletin.org) or you can upgrade to vBulletin 3, it is possible to do it from the templates in version 3.
Reply With Quote
  #10  
Old 01-10-2004, 01:56 PM
chrisvonc's Avatar
chrisvonc chrisvonc is offline
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Brad, thank you for responding. Yes, I am on vB2.3 sorry I forgot to mention that, and dont plan on moving to vb3 until maybe later in the year.

I dont mind creating another style from the current one being used, but I dont know what I want to look for in it to remove/modify to get the result. I downloaded the one the forum uses now and was going to modify that and then upload it as a 2nd style to apply to the one forum. Basicly, with myself not being savy enough yet with this kind of mod, what more in depth, do I need to do to get there I guess is what I need to know now.

Thanks again!

Chris
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04131 seconds
  • Memory Usage 2,266KB
  • 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
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete