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)

goblues 03-10-2006 02:33 PM

Quote:

Originally Posted by JonnyQuest
This is a great start. The ultimate addition to this pack which would make it a truly revolutionary addition is if you allow any registered user to purchase sponsorship of a given forum using the paid subscriptions functionality. A user could purchase a sponsorship for a given period of time, manage the banner and see their stats. Getting the timing part to function correctly would be challenging but this would be a dream (and worth paying for).

I second this. Would be willing to pay!

tekram 03-11-2006 09:42 AM

Have a big Thx for this Hack. Installed and running. Nice Job

MGSteve 03-13-2006 08:55 PM

Quote:

Originally Posted by goblues
I second this. Would be willing to pay!

I third this!! :D

Deviation 03-13-2006 11:46 PM

That's definately in the plans. :) Once I complete this other project I'm working on, I'll be starting on this. Keep an eye out.. ;)

ka81 03-21-2006 01:01 PM

Quote:

Originally Posted by TundraSoul
When using the sub category code, forumbit_level1_post, the image aligns to the left, instead of to the right.

Hi!! Big thanx for the hack!!

Question:
placing it on main subforum, and it comes left.
see attach.

Is there a way to deal with it?

Thanx anyway!

ka81 03-24-2006 04:47 AM

Quote:

Originally Posted by ka81
Hi!! Big thanx for the hack!!

Question:
placing it on main subforum, and it comes left.
see attach.

Is there a way to deal with it?

Thanx anyway!

Help please. :)

Deviation 03-25-2006 11:46 PM

Quote:

Originally Posted by ka81
Hi!! Big thanx for the hack!!

Question:
placing it on main subforum, and it comes left.
see attach.

Is there a way to deal with it?

Thanx anyway!

That would be in the template code itself. You would probably need to adjust it to align the way you like. You can wrap the <if> statements in any sort of HTML code (like <div> tags) that you like. You will need to post the template code for anyonw to be able to help you.

Sorry for the delay. For some reason vB.org didn't send me an email that someone replied.:confused:

ka81 03-26-2006 08:50 AM

Quote:

Originally Posted by Deviation
That would be in the template code itself. You would probably need to adjust it to align the way you like. You can wrap the <if> statements in any sort of HTML code (like <div> tags) that you like. You will need to post the template code for anyonw to be able to help you.

Sorry for the delay. For some reason vB.org didn't send me an email that someone replied.:confused:

Thank you very much for replying!

I'm newone, so it's a little bit hard for me to understanding.

Question:
what should I post here to make helping easier ??
which part of code or smth else... ?

Thanx!!!!

Deviation 03-26-2006 11:10 AM

Quote:

Originally Posted by ka81
Thank you very much for replying!

I'm newone, so it's a little bit hard for me to understanding.

Question:
what should I post here to make helping easier ??
which part of code or smth else... ?

Thanx!!!!

You need to post the template code for your subforum. The tempate name should be forumhome_forumbit_level1_post. You can get this from the style manager in the Admin CP.

ka81 03-26-2006 11:39 AM

forumhome_forumbit_level1_post
Quote:

<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>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>


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 .

designBox 04-13-2006 08:29 AM

You'll have to contact Deviation, he is the person who developped this hack.
Don't forget that this extension are free contribution and developpers also have real life and responsabilities to manage.

I am sure Deviation is preparing a new version of this awesome hack and will release it soon.
"Rome wasn't built in 1 day" ;)

bada_bing 04-13-2006 12:17 PM

Quote:

Originally Posted by designBox
You'll have to contact Deviation, he is the person who developped this hack.
Don't forget that this extension are free contribution and developpers also have real life and responsabilities to manage.

I am sure Deviation is preparing a new version of this awesome hack and will release it soon.
"Rome wasn't built in 1 day" ;)

I totally understand and I am willing to even pay for help not trying to be a free loafer here I noticed a couple bugs with this hack and was hoping that we can work together and get them worked out as this is a great hack..

Now as to Deviation are you still helping with this hack?

pabloknight 04-14-2006 05:36 PM

Ok, I downloaded this a second time, but still don't have the Global menu in AdminCP, and still not seeing any text or ads in the forum rectangle.
I uploaded the file via FTP, imported product via Manage Products.
Did I miss something?
I have it turned on in Forum Manager, but again, not seeing the vbSponsors AdminCP tab, and not seeing the ad I was trying to show.
Thanks in advance!
pk

pabloknight 04-15-2006 05:15 PM

anyone?

pabloknight 04-17-2006 01:10 AM

NM. I must be an idiot. It works great! and everything showed up today.

Thanks Deviation!

AM Guvnor 04-21-2006 02:36 PM

Hi Deviation

Im trying to upload your superb work but hitting a brick wall

I followed your install guide to the letter, and now Im stuck completely.

The VB Sponsors is not showing in my AdminCP at all when I go to the forum manager

I uploaded the files using FTP to my forum as per your instructions

:(

gravesend46 04-24-2006 02:44 PM

Quote:

Originally Posted by AM Guvnor
The VB Sponsors is not showing in my AdminCP at all when I go to the forum manager


:(

Don't know if it's any help, but the same happened to me. I logged out, uploaded the vbSponsors.php file to admincp again, overwriting the old one, and when I logged in again, it appeared in my menu.

designBox 04-30-2006 07:16 PM

No update anymore on this hack?
Any ETA for the new version?
I know i am such an unpatient :D

kash2k 05-04-2006 03:56 PM

So far so good :up:

K

Ntfu2 05-08-2006 07:40 PM

Quote:

Originally Posted by icare
PHP Code:

Warning
Warningchdir(): No such file or directory (errno 2in /home/horny/public_html/vBSponsors/link.php on line 27

Warning
main(./global.php): failed to open streamNo such file or directory in /home/horny/public_html/vBSponsors/link.php on line 29

Fatal error
main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/horny/public_html/vBSponsors/link.php on line 29 

Please help I am getting this error.

I tried everything. My path in link.php is correct. I even tried changng the folder name from
Vb.sponsors to vbsponsers but didnt work

I also have this problem

bada_bing 05-17-2006 01:34 AM

Quote:

Originally Posted by designBox
No update anymore on this hack?
Any ETA for the new version?
I know i am such an unpatient :D

I would like to know also?

GrantHorizons 05-17-2006 02:17 PM

Hi,

Great hack, working well except for one glitch no one else seems to have, so I probably screwed up somewhere, but for the life of me can't figure it out.

When you click on the sponsors image, it goes to a redirect page, BUT the page says:

----------------------
Redirecting...

Can't find phrase ''

If your browser etc...
Proceed button
------------------------

and then redirects just fine.

err, what phrase? It works, but this looks bad!

any ideas?

Thanks, Grant

redspider 05-21-2006 09:58 PM

anyway to make this show to some user group only ?

thanks

designBox 06-03-2006 06:35 PM

Is this hack not anymore in development?
Would like to have an update on this :D

shoot1st 06-07-2006 03:43 PM

Installed, good one!!

SHalliday 06-12-2006 06:49 PM

Awesome Hack! Installed without a hitch. Thank you --> and clicks "Install"

bada_bing 06-12-2006 07:01 PM

Any updates on this hack?

blackdream1971 06-12-2006 08:26 PM

hey Deviation is this hack compatible with version 3.0.6?

thanx.

ka81 06-28-2006 10:47 AM

Hello!
Need help.
Problem is - that banner and "Sponsored by:" is still on the left side.

Maybe someone knows how to fix it?

this doesn't work - https://vborg.vbsupport.ru/showthrea...&postcount=131


Thanx anyway!

satfox360 07-02-2006 09:29 PM

Hello there,

Great work on this hack. So easy to up load this hack.

Question:
1. I would like to show the sponsered link on the subforum's linked page. Meaning when they click the main forum sub forum it goes to a sub forum page and there is no link there. How can I ad this link to the page that the sub forum is linked to?

2. When I have a image in the forum title the sponser will not show up there. That is fine for me as long as I can have the image show in the page it links to.

Thanks again for a great ad-on. and have a great day!


All times are GMT. The time now is 10:51 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.01522 seconds
  • Memory Usage 1,855KB
  • 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
  • (1)bbcode_php_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