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)

OrionDesigns 10-21-2006 05:22 PM

I would like this installed, if someone PM's me I'll pay them to help me.

Reedly 10-23-2006 07:49 AM

Hello - Thank you Deviation for such an amazing product!!

Everything is working great except that I'm getting a double banner on my forum. I'm assuming it's a simple template code change, but I'm not sure what to change.

I have attached a screen-shot of the problem...Any help to resolve this would be greatly appreciated.
Thanks,
Reed

Konstantinos 10-23-2006 02:36 PM

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

Nuguru 10-24-2006 12:59 AM

Hello Everyone,

In the past I had asked if there was going to be a branding free option for this mod and something was said to the effect of that is a good possibility or will be something done in the future. I can't exactly remember.

I am wondering if there is a branding free option now because I have been waiting months to install this mod on my vb 3.5.4, but would rather have the branding free option before actually committing to this mod.

If you can let me know on the branding free, I would appreciate it.

Thanks Again,

Nuguru :classic:

wjkids 10-24-2006 01:31 AM

I think the branding option is for 3.6 and as far as I know that should be out soon....

cyberbeggar 10-24-2006 03:07 AM

Cheers for a great hack!

cyberbeggar 10-24-2006 04:53 AM

fixed!

Nuguru 10-26-2006 06:35 AM

Quote:

Originally Posted by Nuguru
Hello Everyone,

In the past I had asked if there was going to be a branding free option for this mod and something was said to the effect of that is a good possibility or will be something done in the future. I can't exactly remember.

I am wondering if there is a branding free option now because I have been waiting months to install this mod on my vb 3.5.4, but would rather have the branding free option before actually committing to this mod.

If you can let me know on the branding free, I would appreciate it.


Thanks Again,

Nuguru :classic:


Hello,

Can you please let me know if you have a branding free option for vb3.5.4-3.5.5? Either way, can you please provide some details?


Thank You,

Nuguru

wjkids 10-26-2006 06:38 AM

Did you mention how much the unbranded version was going to cost for 3.6?

dklassen 10-27-2006 01:03 AM

This mod is exactly what I need and believe me when I say I need it bad! I'm running 3.6.2 so I'm gonna wait for the update. Hopefully soon?

Thanks for all the time a effort you are putting into this!

aaamaretto 10-28-2006 01:31 PM

I upgraded to 3.6.2 and upgraded vBsponsors to 1.0.5

I got the banners to display, but when they are clicked, it opens a page with a hyperlink instead of a direct link to the sponsor...

any suggestions?

site: cobbtalks_dot_ com

OrionDesigns 10-29-2006 11:12 PM

Could we please get this for vBulletin 3.6?

Nuguru 11-04-2006 01:10 AM

Quote:

Originally Posted by Nuguru
Hello,

Can you please let me know if you have a branding free option for vb3.5.4-3.5.5? Either way, can you please provide some details?


Thank You,

Nuguru

Hello,

I still would like to know on this. Is there someone that knows something on this?

It can't be that hard to remove the copyright and pay a fee to do so. Pretty basic stuff, just someone needs to communicate here.


Thank You,

Nuguru :)

PossumX 11-05-2006 09:44 PM

<font size="4">DESPERATE</font> for 3.6.2 version of this...

I see from the history that it is "coming" .... but when.

I know all about the work effort, and do appreciate it.

Any information would be GREATLY appreciated on the 3.6.x compatibility version.

PossumX 11-09-2006 10:57 PM

OK... now 3.6.3 version ....

paypal 11-09-2006 11:25 PM

when you create a new forum its at the bottom


Quote:

Originally Posted by hornstar1337
I dont see the hack in the admincp, I found the part where you can turn it on and off in the admincp but not the main part from this one https://vborg.vbsupport.ru/attachmen...chmentid=39677

THanks


Deviation 11-10-2006 10:46 AM

Quote:

Originally Posted by PossumX
OK... now 3.6.3 version ....

v2.0 for 3.6.x is done. I just need to check the template code. I've been so #$%* busy lately I haven't had the chance. It should be posted this weekend provided I don't end up working.

PossumX 11-11-2006 01:17 AM

Deviation:

VERY MUCH appreciated. I do know how much work goes into these, as I am a developer by trade, IT Release Manager by current role, and sit in front of my computers at home many evenings.

Looking forward to the posting of v2.0.

nul7 11-11-2006 07:09 AM

That's great news! Thanks for your work Dev. We finally got our first sponsor so I've been waiting for this update. I've been testing it on 3.6.2/3 and aside from the admincp issue i posted about earlier, I noticed there is an incompatibility with FireFox. The banners do not display. It works in IE, though. Then again... that was the same thing with the AdminCP pages... worked in IE and not in FireFox. Maybe it's just my computer? lol

PossumX 11-13-2006 11:22 PM

:cry: :cry: over the fact vB.Sponsors 2.0 still ain't here :cry: :cry:

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?;)

bada_bing 11-15-2006 11:13 PM

Quote:

Originally Posted by Deviation (Post 1117853)
Try enclosing the vB.Sponsors code for that template in <div> tags.
HTML Code:

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

Simple enough, right?;)


Awwww well this seemed to fix the issue but only within the forums that have the banner displayed turned on an in all the other forums it still throw the template off???? Any ideas?

This is what my code looks like adding the tags you suggested.. Did I do it right?

<div align="center">
<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>
</div>

Deviation 11-15-2006 11:35 PM

Try this:
HTML Code:

<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
    <div align="center">
    <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>
              </font>
              </span>
              </td>
          </tr>
    </table>
    </div>
</if>

Be sure when posting HTML code that you enclose it with the HTML tag on the forum (looks like the <>). Otherwise its a bear to read. ;)

bada_bing 11-16-2006 02:28 AM

OK I will use the HTML tags next time sorry.. Now I tried the updated code and the weird thing is as soon as I apply that code my server spike to 80% utilization:alien:

What is going on?

bada_bing 11-16-2006 02:37 AM

Yep just verified with my Hosting provider that as soon as I add this code in my FORUMDISPLAY the server peeks to 80% Any ideas why?

Deviation 11-16-2006 10:58 AM

Quote:

Originally Posted by bada_bing (Post 1118364)
Yep just verified with my Hosting provider that as soon as I add this code in my FORUMDISPLAY the server peeks to 80% Any ideas why?

Not sure. There's nothing overly complex happening there. Have you checked to see what the template does with any changes (stock)?

bada_bing 11-16-2006 12:21 PM

Quote:

Originally Posted by Deviation (Post 1118524)
Not sure. There's nothing overly complex happening there. Have you checked to see what the template does with any changes (stock)?


If I dont add your code and just add the default code as described originally in the hack there are no issues.

Deviation 11-16-2006 12:40 PM

Quote:

Originally Posted by bada_bing (Post 1118553)
If I dont add your code and just add the default code as described originally in the hack there are no issues.

After looking at the original FORUMDISPLAY code I've included, it looks like the code you pasted initially has some additions.

Try this:
HTML Code:

        <if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
                <div align="center>

                                      $vbphrase[sponsored_by] <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>
                </div>

        </if>

This is the original code with a <div> tag added to center the sponsor's ad. This replaces the section of vB.Sponsor code ONLY. This isn't the full FORUMDISPLAY code.

bada_bing 11-16-2006 05:03 PM

Quote:

Originally Posted by Deviation (Post 1118567)
After looking at the original FORUMDISPLAY code I've included, it looks like the code you pasted initially has some additions.

Try this:
HTML Code:

        <if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
                <div align="center>

                                      $vbphrase[sponsored_by] <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>
                </div>

        </if>

This is the original code with a <div> tag added to center the sponsor's ad. This replaces the section of vB.Sponsor code ONLY. This isn't the full FORUMDISPLAY code.



Ok I added the above code and server appears good BUT the banner is still on the left side? Its still not centering the banner?

bada_bing 11-16-2006 05:17 PM

I have noticed on the code you posted there seems to a couple lines that look very identical???

HTML Code:

<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
                <div align="center>
                                          $vbphrase[sponsored_by] <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>
                      </div>
                </if>

Code in question below
<img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" />

<img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" />

bada_bing 11-16-2006 05:26 PM

sorry to be a pest...

I have done this to correct the allignment of the banner and it works. BUT the text (Visit Our Site:) is still on the left.. How can I also Center that text or either place it under the banner or below the banner ?

HTML Code:

<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
                <div align="center>
                                          $vbphrase[sponsored_by] <a href="
vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank">
                              <p align="center">
                              <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>
                      </div>
                </if>



All times are GMT. The time now is 04:08 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.02184 seconds
  • Memory Usage 1,889KB
  • 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
  • (7)bbcode_html_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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