Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
forum distinction from the rest of the forums Details »»
forum distinction from the rest of the forums
Version: 1.00, by al-baker al-baker is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.8 Rating:
Released: 10-17-2007 Last Update: Never Installs: 3
Template Edits
 
No support by the author.

hi all ,,

forum distinction from other forums

develop by : albaker
changes:
  • forumhome_forumbit_level2_post
  • forumhome_forumbit_leve1_post

first:

go to the css main for ur style and from Additional CSS Definitions put :



Code:
.mshaer1
{
	background: #ffffff url(images/mshaer1.jpg) repeat-x bottom ;

}
change the url for bg image ( red word )

second:

open[*]forumhome_forumbit_level2_post

on the 2nd line u will see 2 calss alt2 & alt1active :



<td class="alt2">

replace it with :
Code:
<td class="<if condition="$forumid == 2"> mshaer1
  <else />
alt2 </if>
    </if>"
chabge $forumid == 2 for ur fourm id what u want to distinctions

then:
Code:
<td class="alt1Active"
replace it with :

Code:
	<td class="<if condition="$forumid == 2"> mshaer1
  <else />
alt1Active </if>
    </if>"
on same tamplate in line 16 :




Code:
<td class="alt2"
replace it with:
Code:
	<td class="<if condition="$forumid == 2"> mshaer1
  <else />
alt2 </if>
    </if>"
then:
Code:
<td class="alt1"
replace it with :
Code:
	<td class="<if condition="$forumid == 2"> mshaer1
  <else />
alt1</if>
    </if>"
then:
Code:
<td class="alt2"
replac it with:
Code:
	<td class="<if condition="$forumid == 2"> mshaer1
  <else />
alt2 </if>
    </if>"
then:
Code:
<td class="alt1"
replace it with:
Code:
	<td class="<if condition="$forumid == 2"> mshaer1
  <else />
alt1 </if>
    </if>"

finaly:


==========================================

if u want to distinction 2 forums from other forums

use that code

Code:
<td class="<if condition="$forumid == 20"> mshaer1
  <else />
        alt2 </if>
    </if>
        <if condition="$forumid == 111"> mshaer2
  </if>
  </if>
</if>
and dont forget to put Additional CSS Definitions for the second distinction forum

Code:
.mshaer2
{
	background: #ffffff url(images/mshaer1.jpg) repeat-x bottom ;

}
if u want to distinction by color use this code

Code:
.mshaer1
{
	background: #ffffff 

}
===================================

repat this steps on forumhome_forumbit_leve1_post

have fun !

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-18-2007, 09:31 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um - what on earth does this do?
That's a LOT of template edits...

Jacquii.
Reply With Quote
  #3  
Old 10-18-2007, 12:00 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very confused also
Reply With Quote
  #4  
Old 10-18-2007, 12:47 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe it allows you to highlight a particular forum (or forums) as a checked post awaiting moderation would appear, via template edits.
Reply With Quote
  #5  
Old 10-22-2007, 11:20 AM
kollam003 kollam003 is offline
 
Join Date: May 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very confusing ..........
Reply With Quote
  #6  
Old 10-23-2007, 02:47 PM
mhackl mhackl is offline
 
Join Date: Aug 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears to me that it allows posts from a certain forum to be highlighted. you could use it to identify premium or administrative posts in say ... the new post lists.

This is very helpful. I don't suppose this would work on posts made in sub-forums of the parent forum id? I need to do this for about six forums that are all part of the same category.
Reply With Quote
  #7  
Old 05-18-2008, 11:30 PM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The most confusing hack seen on vBulletin.org..
Good effort anyway lol.
Reply With Quote
Reply

Thread Tools

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:24 AM.


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.04045 seconds
  • Memory Usage 2,261KB
  • Queries Executed 20 (?)
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
  • (15)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete