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 03-26-2006 11:54 AM

Code:

<tbody>
    <tr align="center">
    <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"><table cellpadding="0" cellspacing="0" border="0">
          <tr>
            <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
            <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
            <td><div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div>
              <if condition="$show['forumdescription']">
              <div class="smallfont">$forum[description]</div>
              </if> <if condition="$show['forumsubscription']">
              <div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div>
              </if> <if condition="$show['subforums']">
              <div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div>
              </if> </td>
          </tr>
        </table>
        <if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
        <div style="float:$stylevar[right]"> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a></div>
        </if> </td>
...

The part in bold is what's causing it to align left. That's from the style you have installed. You could change it to:
Code:

<td class="alt1Active" colspan="2" align="$stylevar[right]" id="f$forum[forumid]">

ka81 03-26-2006 12:18 PM

Quote:

Originally Posted by Deviation
The part in bold is what's causing it to align left. That's from the style you have installed. You could change it to:
Code:

<td class="alt1Active" colspan="2" align="$stylevar[right]" id="f$forum[forumid]">

No result!!
:(

Deviation 03-26-2006 12:28 PM

You might try asking in the other sections. It is an issue with the template code itself, not vB.Sponsors. :) I can't really get into dissecting the template code for all the different styles out there. I have too little time as it is lately.:cross-eyed:

Thanks.

bada_bing 04-06-2006 09:46 PM

First I would like to say thank you for this great hack as I just installed it. I do have a couple questions.

1. If I dont enter a Sponsor URL and get a database error then I click on the sponsor banner? Some of my sponsors do not have a web site so to get around the error I have been placing my site URL in that spot to avoid the error. How do I fix that?

Enable Sponsor= Yes
Sponsor Name = John Smith CC
Use Sponsor Banner (If disabled, it will use a text link instead.) Yes
Sponsor Banner: http://www.example.com/images/banner.gif)
Sponsor URL:


Also how do I remove the powered vb.sponor in my footer? I will be willing to pay to get this removed as it looks bad how its placed?

SaN-DeeP 04-07-2006 12:19 AM

nice work, might use this

Deviation 04-07-2006 01:14 AM

Quote:

Originally Posted by bada_bing
First I would like to say thank you for this great hack as I just installed it. I do have a couple questions.

1. If I dont enter a Sponsor URL and get a database error then I click on the sponsor banner? Some of my sponsors do not have a web site so to get around the error I have been placing my site URL in that spot to avoid the error. How do I fix that?

Enable Sponsor= Yes
Sponsor Name = John Smith CC
Use Sponsor Banner (If disabled, it will use a text link instead.) Yes
Sponsor Banner: http://www.example.com/images/banner.gif)
Sponsor URL:


Also how do I remove the powered vb.sponor in my footer? I will be willing to pay to get this removed as it looks bad how its placed?

Interesting. I didn't really think about people having sponsors without sites. Hmm.

The vB.Sponsors at the bottom will have to stay for now. The next version may give the flexibility to remove it. Be sure to click INSTALL at the top. ;)

bada_bing 04-07-2006 02:57 PM

Quote:

Originally Posted by Deviation
Interesting. I didn't really think about people having sponsors without sites. Hmm.

The vB.Sponsors at the bottom will have to stay for now. The next version may give the flexibility to remove it. Be sure to click INSTALL at the top. ;)

Great hack and I have clicked install...

Yes the no sponsor link issue you may want to look at becasue we have lots of local sponsors that dont have website..

I also noticed that when you are running subforum structure like this

-Main forum Name
--subforum
---forum 1
---forume 2
---forum 3
---and so on

The banner system does not line up correctly any way to fix this?

bada_bing 04-07-2006 05:50 PM

I am trying to add a small banner next to each of my sub-forums. How can I do this

Here is a snap shot of what im trying to do

bada_bing 04-11-2006 03:01 AM

Quote:

Originally Posted by bada_bing
I am trying to add a small banner next to each of my sub-forums. How can I do this

Here is a snap shot of what im trying to do

Can someone help me with this please?

bada_bing 04-12-2006 01:54 AM

Is anyone supporting this hack anymore? I would like to get some help before I uninstall it .


All times are GMT. The time now is 07:40 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.01436 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
  • (3)bbcode_code_printable
  • (4)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