vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=195)
-   -   Chestnut Style (https://vborg.vbsupport.ru/showthread.php?t=126863)

2meplie 03-13-2007 07:31 PM

ok guys I need help ASAP.

I added a new button for a link to the chatroom I want to add. Here is the code I added:

<!-- Chat -->
<td width="80">
<table width="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_chat.gif);">
<a href="$vboptions[bburl]/" rel="nofollow"
onmouseover="JSFX.fadeIn('chat')"
onmouseout="JSFX.fadeOut('chat')"><img
src="$stylevar[imgdir_misc]/bouton_chat.gif" name="chat" width="80" height="40" border="0" class="imgFader" id="chat" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Chat -->

Now, here are the chat company's instructions. I don't understand how to do this since I am on a custom style.

Step 8.1.

Scroll (or use your browser's Find feature) to find the following code:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl_q]">$vbphrase[calendar]</a></td>

Just below the above code, add the following:

<!-- START NEW PARACHAT CODE -->
<td id="chat" class="vbmenu_control">
<a href="$show[nojs_link]#usercptools">$vbphrase[parachat_link]</a> <script type="text/javascript"> vbmenu_register("chat"); </script></td>
<!-- STOP NEW PARACHAT CODE -->

Step 8.2.

Scroll (or use your browser's Find feature) to find the following code:

<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>

Just below the above code, add the following:

<!-- START NEW PARACHAT CODE -->
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['member']">
<!-- chat menu -->
<div class="vbmenu_popup" id="chat_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_control"><a href="chat.php?$session[sessionurl]">$vbphrase[parachat_embed]</a></td></tr>
<tr><td class="vbmenu_control"><a href="chat.php?$session[sessionurl]&do=popup" target="parachat" onClick="window.open('chat.php?$session[sessionurl]&do=popup', 'parachat', 'width=600,height=400,status=no,scrollbars=no,menu bar=no,resizable=yes'); return false"> $vbphrase[parachat_popup]</a></td></tr>
</table>
</div>
<!-- / chat menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
<!-- STOP NEW PARACHAT CODE -->

Then, after that, I want to be able to display the number of users chatting. I need to do that:

Double-click on navbar to edit the template. Scroll (or use your browser's Find feature) to find the following code:

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>

Just below the above code, add the following code.

<!-- New ParaChat Code -->
<br>$vbphrase[parachat_chatting]
<!-- Begin Counter Code -->
<applet codebase="http://host7.parachat.com/pchat/applet"
archive=counter.jar code="count.ChatCounter.class" width=20 height=10>
<param name="query.Site" value="$vbphrase[parachat_siteid]">
<param name="ui.bg" value="E1E4F2">
<param name="ui.fg" value="000000">
<param name="ui.FontSize" value="12">
<param name="ui.FontName" value="Arial">
Sorry, your browser is not Java enabled, please visit
<a href="http://www.parachat.com/faq/java.html">our java support pages
</applet>
<!-- End Counter Code -->
<!-- End New Code -->

Can someone help?

verrin 03-14-2007 07:31 AM

Very nice skin, and I installed it well. How do you make the buttons English? I'm still new with vbstyles

ThePiston 03-14-2007 12:06 PM

Quote:

Originally Posted by verrin (Post 1203114)
Very nice skin, and I installed it well. How do you make the buttons English? I'm still new with vbstyles

you'll need photoshop... open the .psd that are found in the PSD folder that you want to edit. click on the layer with the Text and change it to whatever you want... then save them with a new name.

gregfindley 03-14-2007 02:14 PM

Hi Allan,

Great job with the skin design :)
Just a quick question, how can I turn the 'animated' fade off for the old/new post icons?

If you take a look at my forum, www.ChessForums.org you should see what I mean :)

Thanks again!
Greg

EDIT: Ignore that, fixed it now :)

dbirosel 03-14-2007 04:33 PM

Allan, i am using the chestnut right now. Will you come out with other colors too?? I'm willing to pay a couple bucks.

hanji 03-14-2007 07:28 PM

Hello

Been using Chestnut for a while.. damn fine style. A user just pointed out to me that there is no 'edit' button to modify posts... and I can verify that it's not showing up.

I have 'quick edit' set to yes in the admin, am I missing something? The odd thing is that the 'Site' button is where 'Edit' is normally located, could this be part of the problem?

Anyone run into this??

Thanks!
hanji

albahrain 03-14-2007 09:26 PM

there is one image messing (expires.gif) it should be on the following directory:
images/chestnut/misc/expires.gif
but it's not there, i also searched for it but i couldn't see it.

can you upload it please.

dbirosel 03-14-2007 11:56 PM

Quote:

Originally Posted by albahrain (Post 1203631)
there is one image messing (expires.gif) it should be on the following directory:
images/chestnut/misc/expires.gif
but it's not there, i also searched for it but i couldn't see it.

can you upload it please.

I just used my default style's expires.gif image. Works great for me. :D

TheFocusElf 03-15-2007 01:28 AM

Still waiting for ANYONE to respond to the WIDTH issue on page 16 of this thread. Please help...

Draygonia 03-16-2007 08:52 PM

May I know how to add more buttons to he navbar? It gives me a JSX or whatever error saying the hoverover is not correct when the path is clearly correct. A small tutorial would be helpful! Also, if there is a way to add a second header navbar, please tell!


All times are GMT. The time now is 07:42 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.03252 seconds
  • Memory Usage 1,751KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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