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)
-   -   Different banner on each forumbit (https://vborg.vbsupport.ru/showthread.php?t=93673)

stinger2 09-28-2005 09:59 PM

thank you sir for the quick response..just installed and it looks charming now.....
can i ask for one thing more.......

the fix you gave for fire fox...corrected the original...but it seems not working on this one.......any idea

Beermonster 09-29-2005 05:36 AM

Quote:

Originally Posted by stinger2
thank you sir for the quick response..just installed and it looks charming now.....
can i ask for one thing more.......

the fix you gave for fire fox...corrected the original...but it seems not working on this one.......any idea

Because I didn't do it ;)

Code:

<if condition="$forum['fhbanner']">
<table align="right" border="0"><tr><td align="center" valign="top">
<if condition="$forum['fh_banner']"><a href="http://$forum[fh_url]" target="_blank"><img src="images/fhbanner/$forum[fh_banner]" alt="$forum[fh_url]" border="0" /><br><font size="1">$forum[fh_text]</font></a>
</td></tr></table>
</if>


I've also updated the zip with the Firefox fix

dreck 09-30-2005 12:49 AM

The IE code works great. But the foxfire gets this error when trying to save.
Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/thisdarn/public_html/vb/includes/adminfunctions_template.php(3519) : eval()'d code on line 5

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


stinger2 09-30-2005 07:37 AM

yes sir...this is what i was getting and reffered to in my previouse post....the fix is not working for the text under version......

but i really do suggest that the text under become the original hack.....the alignment is great....i will attach a snapshot for it..hope we get a fix for firefox
kind regards

Beermonster 09-30-2005 11:18 AM

Sorry guys me being lazy and not checking my code, I've tested it on 3.5.0 Gold with Firefox and IE with text above and below image, zip updated :)

stinger2 09-30-2005 11:58 AM

thank you sir
..for some reason the text below with firefox fix is not working.....at least for me..
it doesnot show any error...but........the forum structure is totally disturbed..all spaces are disturbed with IE and avant

mclark2112 09-30-2005 12:39 PM

Put the </if> inside the last </td>

This will fix the screwed up forum stuff in Firefox.

Quote:

<table align="right" border="0"><tr><td align="center" valign="top">
<if condition="$forum['fh_banner']"><font size="1">$forum[fh_text]</font><br><a href="http://$forum[fh_url]" target="_blank"><img src="images/fhbanner/$forum[fh_banner]" alt="$forum[fh_url]" border="0" /></a></if>
</td></tr></table>

dreck 09-30-2005 01:43 PM

Quote:

Originally Posted by Beermonster
Sorry guys me being lazy and not checking my code, I've tested it on 3.5.0 Gold with Firefox and IE with text above and below image, zip updated :)

That code screws up my forum view BIG TIME!
The IE still works fine.

PixelFx 09-30-2005 05:22 PM

Quote:

Originally Posted by dreck
That code screws up my forum view BIG TIME!
The IE still works fine.

this looks really promising thanks for working on this :)

stinger2 09-30-2005 10:46 PM

Quote:

Originally Posted by mclark2112
Put the </if> inside the last </td>
PHP Code:

<table align="right" border="0"><tr><td align="center" valign="top">
<if 
condition="$forum['fh_banner']"><font size="1">$forum[fh_text]</font><br><a href="http://$forum[fh_url]target="_blank"><img src="images/fhbanner/$forum[fh_banner]alt="$forum[fh_url]border="0" /></a></if>
</
td></tr></table

This will fix the screwed up forum stuff in Firefox.

thanks mclark....and thanks beermonster
it works great....its a fix for the text above

for the text under its

PHP Code:

<!-- Ad Banner Start Firefox Friendly Text under image -->
<
table align="right" border="0"><tr><td align="center" valign="top">
<if 
condition="$forum['fh_banner']"><a href="http://$forum[fh_url]target="_blank"><img src="images/fhbanner/$forum[fh_banner]alt="$forum[fh_url]border="0" /><br><font size="1">$forum[fh_text]</font></a></if>
</
td></tr></table>
<!-- 
Ad Banner end Firefox Friendly Text under image --> 

now it became a complet one...thanks every one for the great share
ps..hope the original file will be updated
regards


All times are GMT. The time now is 09:37 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.01080 seconds
  • Memory Usage 1,758KB
  • 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_php_printable
  • (5)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