vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   News/Announcements In Your Header Above The Forums (https://vborg.vbsupport.ru/showthread.php?t=107770)

inspiration100 02-14-2006 03:00 AM

keep up the good work!

DAdiguzeL 02-14-2006 05:38 AM

I would like to set the table's width, where can I do it?

WildSharky 02-14-2006 06:00 PM

Redownload zip first befor doing this as i remove some widths thats wasnt need..
you can edited the plug in and find
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="{$vboptions['global_border']}" width="100%" align="center">
and where it says width"100%" change 100% to what you want the width to be and then do what it says to upgrade it on the first post here

Thia is the only way for now maybe some better coder can help me set it up in the admincp to change the width..

G_Man 02-18-2006 01:58 AM

I love it. Very Simple and Functional. Great Job!

I am wondering if you mind our changing the templete slightly after we have installed it, just for personal tweaks??

*hits install*

WildSharky 02-18-2006 03:10 PM

No i dont mind but it would be better if you changed the templete be for you install it if you want it changed on all the skins you have or you will have to change it for all skins.

G_Man 02-19-2006 09:17 PM

Quote:

Originally Posted by WildSharky
No i dont mind but it would be better if you changed the templete be for you install it if you want it changed on all the skins you have or you will have to change it for all skins.


Good tip. And thanks. I am just thinking about changing the title, but actually haven't bothered as of yet.

Again: Very Nice Mod! :D

ZombieAndy 02-21-2006 09:28 AM

Quote:

Originally Posted by G_Man
Good tip. And thanks. I am just thinking about changing the title, but actually haven't bothered as of yet.

Again: Very Nice Mod! :D

how would i go about moving this to another position on my page? i cant find any reference to it in the FORUMHOME template..

WildSharky 02-21-2006 09:32 AM

I would think that would be other hack all together and im not sure how the hooks all work yet sorry about that

ZombieAndy 02-21-2006 09:43 AM

ive been able to move it by taking the code out of your newspost template and placing it directly in my FORUMHOME template and it works good, with only 1 minor side effect.

when its off, i now see a thin bar (check out the screenshot ive attached).

EDIT - here's the code as it is in my FORUMHOME template if its anyhelp..

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>

<if condition="$vboptions[news_text]">
<tbody>
<tr>
<td class="tcat" colspan="2">
<div align="center">Current Announcement</div>
</td>
</tr>
</thead>
<tr>
<td class="alt1" colspan="2">
<if condition="$vboptions[news_italic]"><i></if>
<if condition="$vboptions[news_underline]"><u></if>
<if condition="$vboptions[news_bold]"><b></if>
$vboptions[news_code]
<if condition="$vboptions[news_bold]"></b></if>
<if condition="$vboptions[news_underline]"></u></if>
<if condition="$vboptions[news_italic]"></i></if>
</td>
</tr>
</tbody>
</table>
</if>

dont suppose you have come across this before or know how to fix it?

WildSharky 02-21-2006 09:48 AM

that would be cause the code cant not turn it all off as its not useing the same hook i did im not sure how to get this to work other place as i said im not a great coder i just though some would like this hack as thats why i made it for my self..

Maybe someone here can help with this as i dont really now or have time to look in to it and see how to move it somewhere else maybe later i can..

You guys feel free to change this but if changed i cant support it..


All times are GMT. The time now is 10:15 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.01110 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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