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)
-   -   vB.Sponsors - Forum and Category Sponsorship with Statistics (https://vborg.vbsupport.ru/showthread.php?t=103327)

Deviation 11-13-2006 11:24 PM

Quote:

Originally Posted by PossumX (Post 1116735)
:cry: :cry: over the fact vB.Sponsors 2.0 still ain't here :cry: :cry:

Eh hem... https://vborg.vbsupport.ru/showthread.php?t=131512 ;)

Did the link not go through when I sent out the update?

PossumX 11-14-2006 12:08 AM

Sorry there sir, my bad. I didn't see the update. Much appreciated !!

bada_bing 11-14-2006 01:37 AM

Quote:

Originally Posted by Konstantinos (Post 1102797)
great hack . for those who want to make the output to look better (like me) try this code.

In FORUMDISPLAY find

Code:

<!-- controls above thread list -->
AFTER ADD

Code:

<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="468" height="60" align="center">
 <tr>
<td class="tcat" align="center"><span class="normal"><font size="1">
$vbphrase[sponsored_by] </font>
  </span></td>
 </tr>
 <tr>
<td class="alt2" align="center"><span class="normal"><font size="1"><a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank">
<if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<if condition="!empty($foruminfo[sponsor_banner_big])">
<img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" />
<else />
<img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" />
</if>
<else />
$foruminfo[sponsor_name]
</if></a>
</if></font>
  </span></td>
 </tr>
</table>

It will look like this

Attachment 55042

I like what you did here but this code does not work if you are using side blocks located to the left of the forum, it throws the entire template off...

Do you know how to fix that issue?

bada_bing 11-14-2006 01:39 AM

Im looking to align the sponsored by : banner in the center of the my forumdisplay rather than to the left above the new thread button. Anyone know how to do this?

PossumX 11-14-2006 02:01 AM

<a href="https://vborg.vbsupport.ru/showthread.php?p=1116730" target="_blank">Post in the new thread for version 2.0 for vB 3.6.x</a>, unless it is for vB 3.5.x

bada_bing 11-14-2006 02:45 AM

Quote:

Originally Posted by PossumX (Post 1116800)

Yes its for 3.5.x

GoTTi 11-14-2006 09:42 AM

getting this error..

Quote:

Warning: chdir(): No such file or directory (errno 2) in /home/site/public_html/forum/vB.Sponsors/link.php on line 30

Warning: main(./global.php): failed to open stream: No such file or directory in /home/site/public_html/forum/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/forum/vB.Sponsors/link.php on line 32
and also, the forum list view was now showing the categories 2 times.

Deviation 11-14-2006 01:11 PM

Quote:

Originally Posted by GoTTi (Post 1116957)
getting this error...

Check vB.Sponsors/link.php. Be sure you've specified the path to your forums directory.

bada_bing 11-15-2006 02:46 AM

Quote:

Originally Posted by bada_bing (Post 1116789)
Im looking to align the sponsored by : banner in the center of the my forumdisplay rather than to the left above the new thread button. Anyone know how to do this?

Can anyone help Please..

Deviation 11-15-2006 11:04 AM

Quote:

Originally Posted by bada_bing (Post 1117655)
Can anyone help Please..

Try enclosing the vB.Sponsors code for that template in <div> tags.
HTML Code:

<div align="center">
[CODE]
</div>

Simple enough, right?;)


All times are GMT. The time now is 01:59 AM.

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.01460 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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