vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Display Enhancements - Display Options Above Threads - as seen on vbulletin.org (https://vborg.vbsupport.ru/showthread.php?t=152343)

hissatsu 08-13-2007 04:27 AM

it is alright now - one coder came to fix it for me.

It works now. So i will try using your hack to display the prefixes on top of my pages. Will let you know what happens. Definately click install if it works.

Edit:
wow-- kira ur site is beautiful. How did you set that up? damn -- i really need to learn how to code, these things may become easier to understand.

kira 08-13-2007 06:49 AM

Wow, thanks so much, hissatsu! I did the graphic designing and template modding myself, but the code modifications can all be found right here (there's some custom work, but not very much). This site's taught me so much. This month we're even up for vB.com's Board of the Month contest along with four other very nice sites. You should check them all out for inspiration -- it's a great way to learn.

Anyway, I hope you have luck installing the template changes. It's pretty simple! If you need any help let me know.

Quantnet 08-13-2007 07:39 AM

Quote:

Originally Posted by kira (Post 1316311)
Sure. It uses a background image, though, which I've attached.

Code:

background-color: #DF501F;
background-image: url(images/misc/bg_button.gif);
background-repeat: repeat-x;
border-width: 2px;
border-style: solid;
border-color: #DF501F;
color: #FFFFFF;
font-weight: bold;


Kira,

I meant to ask for the css button class of vb.org default, not the one you use (nice). Mine come out flat square. Not like the one in your demo pic or the one here which has rounded corners
sorry about it

kira 08-13-2007 04:43 PM

Quote:

I meant to ask for the css button class of vb.org default, not the one you use (nice). Mine come out flat square. Not like the one in your demo pic or the one here which has rounded corners
Oh, I feel dumb. Okay, well the form buttons here and at vbulletin.com are identical, so this is part of the default vBulletin style. If you look at the default style you'll see there's nothing in the button class that affects the edges or border - just the font. (BTW, if you've customized your style, you can recreate the default by going to your Style Manager and adding a new style -- just make sure it has no parent style.)

A look at the quantnet.org style shows that your css for the buttons is:

Code:

background: #ffffff;
color: #000000;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border: 1px solid #6b82ac;
margin-left: 0px;

Remove the border and margin attributes from the "extra CSS attributes" box and you should get back to the original rounded shape. :)

Quantnet 08-14-2007 04:28 PM

thanks Kira.
I had to revert the button css

PeteBlume 08-20-2007 12:26 AM

Here you can use the TMS-XML for Template Modification System.

It's my first try with this system. I hope that everyting is ok.

kira 08-20-2007 06:02 PM

Hi PeteBlume! Thanks for the addition. Can you explain what this does? I'm afraid I'm not very familiar with the TMS.

Symmetrical? 08-25-2007 08:03 AM

thnx ..:)

gobears20 08-29-2007 10:12 PM

I was curious if I wanted to display this only for certain user groups?

Would I put something like this below and if so, where?

Thanks!

Code:

<if condition="$bbuserinfo['usergroupid'] < 10">


</if>


kira 08-30-2007 01:06 AM

Hi gobears20. Short answer: yes, that code will work if you want to hide the filtering options part of the forumdisplay. You would place the first line right after:

Code:

<!-- Modified Display Options -->
and the final "/if" statement would go right before:

Code:

<!-- End Modified Display Options -->
HOWEVER. The problem is that if you want to use the original filtering options as an alternative, things are gonna get a little complex, because this means you'll need both the original code and the changed template stuff we added in this modification, either showing or hiding each depending on the different usergroups with conditionals.

I can try to figure it out for you if you really need this to work that way. I'd need to know what specific usergroups you want to allow access to the new version, and which ones will have the original version. (Oh and also whether you're using the prefix or nonprefix version.)

Out of curiosity, why would you only want certain usergroups to have this capability? It's not that nifty, except looks-wise. :)


All times are GMT. The time now is 04:44 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.01053 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_code_printable
  • (2)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