vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=237)
-   -   Blak-Ice V2 (https://vborg.vbsupport.ru/showthread.php?t=202123)

Sooner95 03-04-2009 09:57 PM

Ok, I am sure I did this..but nothing seem to change. I'll double check it again..and post the code too..

Sooner95 03-04-2009 10:04 PM

1 Attachment(s)
ok the forumhome_forumbit_level1_post is where you edit the layout for the forums..and that is all set.

what I am trying to change now, is when i go into the forum to view the threads. I want to make the "last post" box bigger.

EDIT: added a screenshot. My main forums, and sub forums are good. it's just getting the thread list to work.

RedHacker 03-04-2009 10:18 PM

Quote:

Originally Posted by hoof (Post 1760547)
What do you need help with? adding code for the navbar?

Yes and if you can icon for navbar to input "Portal"...?

Sooner95 03-04-2009 10:25 PM

I can point you in the right direction..

go to Edit Templates then header

Find this

PHP Code:

<!-- begin navigation buttons table --> 

Anything after that and before this

PHP Code:

<!-- End navigation buttons table --> 

Is apart of those Navigation Buttons.

All i did, was take one currently codes and copy/paste. Then edit the path for the image and url for the page on my site.

To get those images to show up on your Portal I assume CMPS 2.0, I do not know if its the same for anything higher. You will need to do this.

AdminCP/CMPS settings/ Default settings.

And you will need to do this for all the images in this style to show up properly.

Type in bi2 into the boxes next to Header Replacements, Navbar replacements and Footer replacements.

I am sure hoof can elaborate and fill in anything I am missing here.

RedHacker 03-04-2009 11:08 PM

Sorry i put image navbar etg Home \UserCP \Calendar but to say Portal and gone to the portal ..!!! And input navbar news posts

Sooner95 03-04-2009 11:46 PM

1 Attachment(s)
I'd like to share with others something i did as well in this theme.

Again the Nav button setup is cool.

Here is how you can make those buttons also open up drop-down menus.

I will use 2 examples.

For the new Post button, and a drop-down so that one can look at new posts at specidfic times. I did not create the hack, just mearly made it work on the button.

Common Templates/header

Use this to create the button and link


PHP Code:

<if condition="$show['member']">
<
td width="50" height="55"><a href="search.php?do=getnew$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_newpost2.gif" width="50" height="55" border="0" id="navbar_posts"  alt=""/></a><script type="text/javascript"vbmenu_register("navbar_posts"); </script></td></if> 


You will need to check you image path ect.. and take note of moving the id="" from the td tag into the url tag. This will get rid of the little dropdown arrow.


Then your drop down menu.

Find this

PHP Code:

<!-- content table -->
$spacer_open 

And place it above that.

Some thing this..

PHP Code:

<if condition="$show['searchbuttons']">
        <
div class="vbmenu_popup" id="navbar_posts_menu" style="display:none">
            <
table cellpadding="4" cellspacing="1" border="0">
<
tr><td class="thead">$vbphrase[get_posts_nav]</td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">Get All New Posts</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&minutes=15" accesskey="2">Last 15 Minutes</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&minutes=30" accesskey="2">Last 30 Minutes</a></td></tr>
            
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=1" accesskey="2">Last Hour</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=2" accesskey="2">2 Hours</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=4" accesskey="2">4 Hours</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=8" accesskey="2">8 Hours</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=12" accesskey="2">12 Hours</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=1" accesskey="2">1 Day</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=2" accesskey="2">2 Days</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=7" accesskey="2">7 Days</a></td></tr>
<
tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=14" accesskey="2">14 Days</a></td></tr>

            </
table>
        </
div>
    </if> 


And your end result is attached as a screeny..also attached a screenshot of doing this with vbplaza.

Again these are not my hacks, I just made the dropdowns work with these buttons.

RedHacker 03-05-2009 04:47 AM

Thanks Sooner95 its work..!!!But the image nav_new post the title image is blue and the other navbar buttons are white..!!!I saw your forum wheh Home and Forum navbar button and i do this..!!! But when home button i say my web site and my forum button i say http://www.xxxx.xxx/forum.php

Its easy....?

hoof 03-05-2009 10:03 AM

Quote:

Originally Posted by Sooner95 (Post 1760581)
ok the forumhome_forumbit_level1_post is where you edit the layout for the forums..and that is all set.

what I am trying to change now, is when i go into the forum to view the threads. I want to make the "last post" box bigger.


EDIT: added a screenshot. My main forums, and sub forums are good. it's just getting the thread list to work.

To do this you need to adjust the Lastpost width in the Forumdisplay template
I typically don't mess with this but I believe this is where you need to start:
Code:

<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>

hoof 03-05-2009 10:09 AM

Quote:

Originally Posted by Sooner95 (Post 1760629)
I'd like to share with others something i did as well in this theme.

Again the Nav button setup is cool.

Here is how you can make those buttons also open up drop-down menus.

I will use 2 examples.

For the new Post button, and a drop-down so that one can look at new posts at specidfic times. I did not create the hack, just mearly made it work on the button.

Again these are not my hacks, I just made the dropdowns work with these buttons.

Thanks, for this I'll have to try the New post feature. I am running an unmodified vB for development, but will try this on the main site :)

Sooner95 03-05-2009 10:25 AM

Quote:

Originally Posted by hoof (Post 1760922)
To do this you need to adjust the Lastpost width in the Forumdisplay template
I typically don't mess with this but I believe this is where you need to start:
Code:

<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>


I gave it a shot, but nothing changed.


All times are GMT. The time now is 07:29 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.01276 seconds
  • Memory Usage 1,793KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_php_printable
  • (4)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