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-01-2009 04:45 PM

I have a couple of questions.

First, I can't seem to figure out how to change some of the column widths on the Forum. I'd like to make the "Last Post" column wider than it is. I thought it was in a template, Forum display template, but I can't seem to remember if that is correct or not.

And second. I love the Nav buttons, but I am horrible with graphics. I saw some had made a couple of buttons, and I'd like to request a few if possible. If they don't get made, it's no big deal.

I was looking for 5 total, if possible.

One with a clock on it..like regular analog clock.

One with a dogbone on it.

One with a Dollar sign?

One to represent a chatroom..

And one that has like a graph on it.

It would be greatly appreciated if anyone could help me out. Thanks again.

hoof 03-01-2009 09:25 PM

Quote:

Originally Posted by Sooner95 (Post 1757678)
I have a couple of questions.

First, I can't seem to figure out how to change some of the column widths on the Forum. I'd like to make the "Last Post" column wider than it is. I thought it was in a template, Forum display template, but I can't seem to remember if that is correct or not.

The template you are looking for is the forumhome_forumbit_level1_nopost
Find:
Code:

<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
        <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>

And adjust in percentages to what you would like it to be. For example and this I have not tested but to give you an idea on how to modify the code:
Code:

<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
        <tr align="center">
          <td class="thead" width="5%">&nbsp;</td>
          <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="25%">$vbphrase[last_post]</td>
          <td class="thead" width="10%">$vbphrase[threads]</td>
          <td class="thead" width="10%">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead" width="0%">$vbphrase[moderator]</td>
  </if>

I'll see what I can come up with for the nav buttons :)

Sooner95 03-01-2009 10:48 PM

That's what it was..many thanks hoof!

I look forward to the additional nav buttons..greatly appreciated.

Sooner95 03-02-2009 12:05 PM

1 Attachment(s)
I have one more thing, I am trying to adjust, but can't seem to find the right template.

I want to adjust the columns on the thread lists and sub-forums, as seen in the screenshot posted.

Again, I appreciate it.

hoof 03-02-2009 09:45 PM

Quote:

Originally Posted by Sooner95 (Post 1758449)
I have one more thing, I am trying to adjust, but can't seem to find the right template.

I want to adjust the columns on the thread lists and sub-forums, as seen in the screenshot posted.

Again, I appreciate it.

You will have to match and adjust the same code as above on the forumhome_forumbit_level1_nopost and forumhome_forumbit_level1_post

Sooner95 03-02-2009 10:36 PM

Well, this one is driving me crazy..I tried to match the settings, though the code is a bit different between the forumhome_forumbit_level1_nopost and forumhome_forumbit_level1_post. Nothing ever changed though.

the thread lists columns never moved, no matter what I put in. And the sub-forum list at the top, I could only seem to manipulate the Forum title box by moving the title over to the right. The columns never moved or widened.

PHP Code:

<if condition="!$show['collapsable_forums']">
<
tbody>
</if>
<
script type="text/javascript">
function 
rollchange(n,forumname)
{
if (
== 0)
{
document.getElementById(forumname).style.background="#1f2020";
}
else if (
== 1)
{
document.getElementById(forumname).style.background="#242628";
}
}
</
script>
    <
tr align="center">
<
td class="alt2" width="48px"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td>

        <
td class="alt1Active" colspan="1" align="$stylevar[left]id="f$forum[forumid]onmouseover="rollchange(1,'f$forum[forumid]')" onmouseout="rollchange(0,'f$forum[forumid]')">

        <
table cellpadding="0" cellspacing="0" border="0">
        <
tr>
            
            <
td><img src="$vboptions[cleargifurl]alt="" width="9" height="1" border="0" /></td>
            <
td>
            <
div>
                <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                <if 
condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
            </
div>
            <if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
            <if 
condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
            <if 
condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
            </
td>
        </
tr>
        </
table>

        </
td>
        <
td class="alt2" width="30%">$forum[lastpostinfo]</td>
        <
td class="alt1" width="10%">$forum[threadcount]</td>
        <
td class="alt2" width="10%">$forum[replycount]</td>
        <if 
condition="$vboptions['showmoderatorcolumn']">
        <
td class="alt1" width="0%"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
    </
tr>

<if 
condition="!$show['collapsable_forums']">
</
tbody>
</if>

<if 
condition="$childforumbits">
<if 
condition="!$show['collapsable_forums']">
<
tbody>
</if>
    
$childforumbits
<if condition="!$show['collapsable_forums']">
</
tbody>
</if>
</if> 

That's what mine looks like, I left in some of the width tags, hoping at least those are in the right spots..also I am still running 3.5.4, if the code has changed sicne then..then if I'm better off waiting, then so be it.

Sooner95 03-03-2009 05:01 PM

I'm just going to upgrade my board to the latest this weekend, and then start working on this some more. I don't think there'd be alot of differences in these forum templates, but then again, maybe there is. I don't want that to be an issue and a waste of time for you.

dgkrob 03-03-2009 10:05 PM

Hey Guys,

Love this theme however i cannot get it to show on my vbadvanced page, It shows just fine on the forums page but not on my homepage {cmps_index.php}.

Ive tried deleting the style and re-uploading it but to no avail.

Any ideas??

Sooner95 03-03-2009 10:19 PM

In your adminCP.. CMPS settings, then Edit pages.

if your like me, you have one page set up, the default. When you go into edit that, you can change the Custom Style for that page. Possibly your board is set to use another style by default, thus your CMPS will use that still as well..

RedHacker 03-04-2009 06:53 AM

Quote:

Originally Posted by hoof (Post 1750703)
Here's a couple :) If you have a specific image in mind upload it and I'll put one together for you.

How to put in navbar...?Can create and icon for "Portal"....?Please......

Sooner95 03-04-2009 10:18 AM

Quote:

Originally Posted by RedHacker (Post 1759876)
How to put in navbar...?


You have to edit your Common Templates/Header. You'll find the nav_buttons and code in there.

RedHacker 03-04-2009 10:25 AM

Who code input in header...?

Sooner95 03-04-2009 07:32 PM

hey hoof, I've actually been able to create some of the additional buttons that i had requested earlier. if you have made them, then do share..otherwise you can skip it.

Thanks!

EDIT: btw, I'll post them here, in case anyone else would like to use them.

Sooner95 03-04-2009 07:34 PM

1 Attachment(s)
I am by no means graphically inclined, but I was able to make a few buttons for my needs. If the benefit anyone else, then cool.

One for a stats page

One I have for a worldclock page

and a blank..

Sooner95 03-04-2009 07:55 PM

1 Attachment(s)
I made this for vbookie..we use"dogbones" for our points..thus the reason button was made.

hoof 03-04-2009 08:21 PM

Quote:

Originally Posted by Sooner95 (Post 1760448)
I am by no means graphically inclined, but I was able to make a few buttons for my needs. If the benefit anyone else, then cool.


One for a stats page

One I have for a worldclock page

and a blank..

They look good :) thanks for sharing them! Mine wouldn't work, I now see you have a different color for the text on your site. The gold color looks good as well, we need to make this skin in other colors :)

RedHacker 03-04-2009 09:35 PM

hoof any help for me....?

hoof 03-04-2009 09:41 PM

Quote:

Originally Posted by RedHacker (Post 1760540)
hoof any help for me....?

What do you need help with? adding code for the navbar?

Sooner95 03-04-2009 09:43 PM

Quote:

Originally Posted by hoof (Post 1760487)
They look good :) thanks for sharing them! Mine wouldn't work, I now see you have a different color for the text on your site. The gold color looks good as well, we need to make this skin in other colors :)

hey thanks hoof...yea i wanted to try and make the font match the colors of the bulldogs...I think it came out pretty good.

Also, any ideas in reference to Post #86? really about the only thing left I need to fix.

hoof 03-04-2009 09:46 PM

The only thing I can see is that when you divide up the sections it probably needs to equal 100% for the table.

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.

Sooner95 03-05-2009 11:07 AM

I made changes in the FORUMDISPLAY template, but nothing changes in the thread lists..

PHP Code:

<if condition="$show['search_engine']">
    <if 
condition="$show['threadicons']">
        <
td class="thead" colspan="2">&nbsp;</td>
    <else />
        <
td class="thead">&nbsp;</td>
    </if>
    <
td class="thead" width="100%">
        <if 
condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
        
$vbphrase[thread] / $vbphrase[thread_starter]
    </
td>
    <
td class="thead" width="29%" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    <
td class="thead" width="8%" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    <
td class="thead" width="8%" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
    <if 
condition="$show['threadicons']">
        <
td class="thead" colspan="2">&nbsp;</td>
    <else />
        <
td class="thead">&nbsp;</td>
    </if>
    <
td class="thead" width="100%">
        <if 
condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a$sortarrow[voteavg]</span></if>
        <
a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a$sortarrow[title] /
        <
a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a$sortarrow[postusername]
    </
td>
    <
td class="thead" width="29%" 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>
    <
td class="thead" width="8%" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a$sortarrow[replycount]</span></td>
    <
td class="thead" width="8%" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a$sortarrow[views]</span></td>

    <if 
condition="$show['inlinemod']">
        <if 
condition="$show['popups']">
            <
td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"vbmenu_register('imod'); </script> </td>
        <else />
            <
td class="thead" align="center">
                <
input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]onclick="inlineMod.check_all()" />
            </
td>
        </if> 

Only thing I can think of at this point, is just to wait and try it again with 3.8.1

dgkrob 03-05-2009 01:41 PM

1 Attachment(s)
Hi guys,

Im having a real headache trying to get a dropdown menu to work and have been sitting here for ages trying to get it to work.

What i need is a drop down menu from the menu image like i already have on my main theme {screenshot attached}

I just cant seem to get it to work when doing this through the header template.

The code i used to get it working on my main theme was

Code:

<td id="stats" class="vbmenu_control">
    <a href="#">Cod 5 Stats</a>
    <script type="text/javascript">
        vbmenu_register("stats");
</script>
</td>

and

Code:

<div class="vbmenu_popup" id="stats_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Cod 5 Stats</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite"><a
href="/Stats$session[sessionurl_q]">DGK | Hardcore Server</a></td>
<tr>
            <td class="vbmenu_option" title="nohilite"><a
href="/cstats$session[sessionurl_q]">DGK | Bolt Rifles Server</a></td>
</td>
</tr>
</table>
</div>

I need to convert that code over so it works without the menu header text and just when someone clicks on the image in the menu it drops down with the options like i have in the screenshot attached.

Help anyone???? please

Kind Regards and thanks in advance

Rob

RedHacker 03-05-2009 07:44 PM

Quote:

Originally Posted by RedHacker (Post 1760785)
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....?


Nothing...?

technom8t 03-08-2009 07:46 PM

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.

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.

This is a good idea and i sort of have it working BUT....... if there ar no posts within 15 minutes and you select '' post within last 15 minutes'' from the drop down, instead of giving you the '' there are no posts to display'' message( the standard VB message) it shows post from the last few days, which isn't realy correct, are you able to sort this? and this happens if there are no ost in any of the drop downs you want

RedHacker 03-09-2009 09:43 PM

Finally hoof for this.? "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"

hoof 03-09-2009 09:53 PM

Quote:

Originally Posted by RedHacker (Post 1764370)
Finally hoof for this.? "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"

So you need a nav_newpost image with the white text? For the coding just add where ever you want it to go :) Have the Home button go home and the Forum button go to the Forum URL. You just need to fix the url in the code.

dgkrob 03-09-2009 11:16 PM

hey hoof any chance of some help with my previous post? and also the pm i sent you mate?

hoof 03-09-2009 11:51 PM

Quote:

Originally Posted by dgkrob (Post 1764439)
hey hoof any chance of some help with my previous post? and also the pm i sent you mate?

For the "Popup" menu controls to work, you need to put that part of the code in the Navbar template.

Here's a good embedded way to do it, if you follow the community example:
Code:

<!-- community link menu -->
        <div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr><td class="thead">$vbphrase[community_links]</td></tr>
                $template_hook[navbar_community_menu_start]
                <if condition="$show['quick_links_groups']">
<tr><td class="vbmenu_option"><a href="http://simplegfx.net/forums/forums.php">Forum Main</a></td></tr>
                                        <tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
                </if>
                <if condition="$show['quick_links_albums']">
                                        <tr><td class="vbmenu_option"><a href="album.php$session[sessionurl_q]">$vbphrase[pictures_and_albums]</a></td></tr>
                </if>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
                <tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
                $template_hook[navbar_community_menu_end]
                </table>
        </div>
        <!-- / community link menu -->

In the header is where you'll put the button and code similar to the community button:
Code:

<if condition="$show['communitylink'] AND $show['popups']">
                        <td width="50" height="55"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="3"><img src="$stylevar[imgdir_misc]/nav_comm.gif" width="50" height="55" border="0" alt=""/></a> <script type="text/javascript"> vbmenu_register("community",1); </script></td>
                <else />

I didn't initially answer as you haven't clicked install for this skin and the example you posted is not the style offered in this thread :)

dgkrob 03-10-2009 12:06 AM

Thanks mate really appreciate the help ill give that a try and see how i get on.

And my bad for not hitting install general oversite on my part but the screenshot i posted was just to show what i wanted as an end result.

I know im taking the mickey with this but is there any chance you could help me out with the images i pm'd you about mate?

Tell me to get lost if you want lol

Thanks again

Rob

p.s install clicked now!

RedHacker 03-10-2009 06:38 AM

Quote:

Originally Posted by hoof (Post 1764383)
So you need a nav_newpost image with the white text?

Can I Have this image....?


All times are GMT. The time now is 01:28 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.01923 seconds
  • Memory Usage 2,055KB
  • 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
  • (8)bbcode_code_printable
  • (10)bbcode_php_printable
  • (16)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
  • (40)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