vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - vb.sponsors edit for vb4 (https://vborg.vbsupport.ru/showthread.php?t=248997)

Jonathan81 08-03-2012 07:12 PM

Another question...anyone know how to centre the large banner displayed on the thread listing?

Jonathan81 08-04-2012 10:53 AM

Quote:

Originally Posted by Ral.ly (Post 2354130)
Another question...anyone know how to centre the large banner displayed on the thread listing?

Managed to sort this out. Just trying to fix this issue now...

Quote:

Originally Posted by Ral.ly (Post 2354123)
Anyone know how to fix this issue with the right alignment? (hope you don't mind me using your site to highlight this vivapotenza):

http://www.vivapotenza.com/forumdisp...e-Market-Place

You can also see this highlighted at:

http://www.rallyforums.com/forum/for...World-Rallying

Can anyone help?

Jonathan

ScottishScoobie 08-11-2012 05:11 AM

ok, no replies, i will have to go this alone and have a stab in the dark at it.

can anyone tell me where i will find the 4 files for the styles that require editing as this is what i think im missing. everything else seems to be there.

ScottishScoobie 08-11-2012 02:27 PM

ok found how to find the files, i was searching for the code in the search box not the name of the file.

so i find all 4 files.

FORUMDISPLAY code has been found and your code added
forumhome_forumbit_level1_nopost Does not contain the code you say to find
forumhome_forumbit_level1_post Does not contain the code you say to find
forumhome_forumbit_level2_post code has been found and your code added

Still nothing is showing even though enabled, so im guessing its to do with the level1 files.

people must be subscribed to this forum, why does no one help ? im not gobby, im just so frustratingly close but everyone thats asked questions for help and has got it working, wont reply to help.

ScottishScoobie 08-11-2012 06:07 PM

I pasted the code in where i thought it should go and it works but not voting for mod of the month, as there has been zero support on it. still installed though.

ScottishScoobie 08-14-2012 06:24 AM

Quote:

Originally Posted by Ral.ly (Post 2354130)
Another question...anyone know how to centre the large banner displayed on the thread listing?

How ? would have been good, having the same issue myself. would prefer it centre rather than left. ;):up:

Jonathan81 08-18-2012 06:46 AM

Quote:

Originally Posted by brihan (Post 2302222)
Before I can upgrade from 3.8.7 to 4.x I need to be able to get my big sponsor banners to appear at the top and bottom of each individual thread as well as by the submit button(s) when posting a new thread or reply.

I have it that way on my current board and need to keep it that way because all the sponsors are promised that much exposure.

On my current board I thought that all I did was take the vBSponsors code for the big banners and place it in the correct locations for where I wanted the banners to appear. I have tried this on my 4.x test board and no banner appears.

You can see all my banner placements here:
http://www.inspectionnews.net/home_inspection

Has anyone figured out how to do this with 4.x?

Thank you,

Brian

Anyone have an answer to this at all?

As per previous poster, I think I know where to add the code (Showthread) but when added, nothing appears. Looking at the source code, all I can see are the comments:


<!-- barne77 -->
<!-- vBSponsors -->

<!-- / vBSponsors -->
<!-- barne77 -->

This must be something relatively simple? An extra bit of code needed somewhere?

Jonathan81 08-18-2012 07:07 AM

Quote:

Originally Posted by ScottishScoobie (Post 2356822)
How ? would have been good, having the same issue myself. would prefer it centre rather than left. ;):up:

I can't remember now but looking back at the files, it looks like I've changed (in FORUMDISPLAY) this:

Code:

<img src="{vb:raw foruminfo.sponsor_banner_big}" border="0" />
to this:

Code:

<div align="center"><img src="{vb:raw foruminfo.sponsor_banner_big}" border="0" /></div>
I also appear to have put div tags around this:

Code:

<div><img src="{vb:raw foruminfo.sponsor_banner}" border="0" /></div>
Hope that helps?

Jonathan81 08-18-2012 08:03 AM

Quote:

Originally Posted by Ral.ly (Post 2357813)
Anyone have an answer to this at all?

As per previous poster, I think I know where to add the code (Showthread) but when added, nothing appears. Looking at the source code, all I can see are the comments:


<!-- barne77 -->
<!-- vBSponsors -->

<!-- / vBSponsors -->
<!-- barne77 -->

This must be something relatively simple? An extra bit of code needed somewhere?

To clarify, why does the following code work in forumhome_forumbit_level1_post, forumhome_forumbit_level2_post etc but not in SHOWTHREAD?

Code:

<!-- barne77 -->
<!-- vBSponsors -->
<vb:if condition="$forum['sponsor_enabled'] == 1 AND $vboptions ['sponsor_global_enable_sponsorship'] == 1">
<div style="float:$stylevar[right]">
{vb:raw vboptions.sponsor_global_default_text}
<a href="vB.Sponsors/link.php?f={vb:raw forum.forumid}" title="{vb:raw forum.sponsor_name}" target="_blank">
<vb:if condition="$forum['sponsor_banner_enabled'] == 1 AND $vboptions['sponsor_global_enable_banners'] == 1">
<img src="{vb:raw forum.sponsor_banner}" border="0" />
<vb:else /> 
{vb:raw forum.sponsor_name}
</vb:if>
</div>
</a>
</vb:if>
<!-- / vBSponsors -->
<!-- barne77 -->


Jonathan81 08-24-2012 08:40 AM

Anyone?


All times are GMT. The time now is 05:24 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.01287 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_code_printable
  • (6)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