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)

CupraSi 02-15-2006 04:45 PM

I would love to do this as I need it on my site as I have companies asking about these types of banners

Would anyone be able to help me add this please?

Cheers

Deviation 02-15-2006 04:47 PM

Quote:

Originally Posted by CupraSi
I would love to do this as I need it on my site as I have companies asking about these types of banners

Would anyone be able to help me add this please?

Cheers

It's a fairly simple install. Download the zip and take a look at the readme. If you get hung up somewhere, feel free to ask here.

CupraSi 02-15-2006 04:48 PM

I had a look mate I am not a webmaster, I have managed to do my first plugins today and change some code but thats it :(

designBox 02-16-2006 06:04 PM

Thank you very much for this useful hack.
I was just looking for something like this.

Anyway, i still have 2 comments:
1)- I am getting an "Unknown Location /vB.Sponsors/link.php?f=4" into the WOL interface.
2)- Will it be possible to integrate into the user control panel the stats of its link when the sponsor is registered member ?

I am aslo impatiently waiting the ability to have the sponsor link at the top of each sponsored thread.

Thanks again for this awesome contribution.
INSTALL Clicked.

Deviation 02-16-2006 07:50 PM

Quote:

Originally Posted by designBox
Thank you very much for this useful hack.
I was just looking for something like this.

Thanks. Glad you like it. :)
Quote:

Anyway, i still have 2 comments:
1)- I am getting an "Unknown Location /vB.Sponsors/link.php?f=4" into the WOL interface.
WOL interface? Can you post a screenshot?
Quote:

2)- Will it be possible to integrate into the user control panel the stats of its link when the sponsor is registered member ?
That's a good idea. There was a suggestion to have the sponsors able to view their own stats. Adding to the User CP is a great idea. (adding to the list)
Quote:

I am aslo impatiently waiting the ability to have the sponsor link at the top of each sponsored thread.

Thanks again for this awesome contribution.
INSTALL Clicked.
Patience grasshopper. ;) I've slowed down the development on this as I have to tend to some other things in life. I'll be resuming soon enough though.:D

Mu5icMan 02-17-2006 10:13 AM

When adding a banner to a category the banner and wording is justified to the left and looks out of place. If you change the justification to centre or right the category name moves aswel. How can i put the sponser banner in it's own table?

Deviation 02-17-2006 10:26 AM

Quote:

Originally Posted by Mu5icMan
When adding a banner to a category the banner and wording is justified to the left and looks out of place. If you change the justification to centre or right the category name moves aswel. How can i put the sponser banner in it's own table?

You would just need to play with the templates. Check out djmini's site a couple posts up. You can really add the banners anywhere you like. Just be sure to use the <if> conditions within your html code. I'd suggest making a copy of your style and playing with that.

designBox 02-17-2006 07:55 PM

Quote:

Originally Posted by Deviation
Thanks. Glad you like it. :)

WOL interface? Can you post a screenshot?

That's a good idea. There was a suggestion to have the sponsors able to view their own stats. Adding to the User CP is a great idea. (adding to the list)

Patience grasshopper. ;) I've slowed down the development on this as I have to tend to some other things in life. I'll be resuming soon enough though.:D

I attached a screenshot here.

i also tried to insert in ma FORUMDISPLAY Template the following code but it seems that your variables are not global as nothing appears.

I know you also have a real life and of course i respect this (we have all one ;) ) but i tried my luck without chance to get a bit advanced on your future release.... :ninja:

designBox 02-18-2006 08:41 AM

Sorry for the double post but this is concerning another error.
It came to my attention that if the forum name had a ' in its name then vbSponsor is generating an error when clicking to the sponsor's link.

I pasted here this error:
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:
INSERT INTO `vBSponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', 'Your link here', '97', 'Programmer's Alley', '1140258987');

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Alley', '1140258987')' at line 1
Error Number : 1064
Date                : Saturday, February 18th 2006 @ 11:36:27 AM
Script          : http://www.hostnode.com/vB.Sponsors/link.php?f=97
Referrer        : http://www.hostnode.com/forum.php
IP Address  : XXXXXXXXXXXXX
Username        : XXXXXXXXXXXXX
Classname        : vb_database

I changed the name of the forum, but i reported this error at it may help some others.

Deviation 02-18-2006 11:32 AM

Quote:

Originally Posted by designBox
Sorry for the double post but this is concerning another error.
It came to my attention that if the forum name had a ' in its name then vbSponsor is generating an error when clicking to the sponsor's link.

I changed the name of the forum, but i reported this error at it may help some others.

Good catch! I'll get that fixed up in the next release. Thanks.


All times are GMT. The time now is 06:56 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.01453 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
  • (1)bbcode_code_printable
  • (8)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