vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add "Sponsored by" banners to your forum categories (https://vborg.vbsupport.ru/showthread.php?t=26818)

LuBi 09-04-2001 12:47 PM

What technique did they use on Sitepoint.com? I noticed they have some text, and an image over it. How can I achieve this setup?

Admin 09-04-2001 12:49 PM

The text is just part of the image there.

But anyway, you can change the sponsor template, and add anything you want there.

LuBi 09-04-2001 01:00 PM

I'm having trouble. http://forums.suprascene.com

I'd like to right align everything.

Admin 09-04-2001 02:40 PM

Use this as your template:
Code:

<tr id="cat">
        <td bgcolor="{categorybackcolor}" colspan="2"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
        <br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
        <td bgcolor="{categorybackcolor}" colspan="4" align="right"><a href="$forum[sponsorurl]" target="_blank"><img src="{imagesfolder}/$forum[sponsorimg]" border="0" alt="Proudly sponsored by $forum[sponsorname]"></a></td>
</tr>


LuBi 09-04-2001 02:45 PM

Thanks again!:D

amykhar 09-04-2001 04:21 PM

I also added a text field to the database that allows me to put a description or lead-in text next to the forum sponsor image.

I am still playing with the aesthetics, but you can see what I am doing here:

http://www.eaforums.com/forumdisplay.php?s=&forumid=38

Amy

DYer 09-05-2001 12:12 AM

I have test it . It looks like wounderful.

Just make it strong more ...

danielillo 09-05-2001 03:36 AM

I've been lookig for a hack like this since I saw SPF.
Thanks FireFly.

I just add some templates for it to show also the number of post in each category (needed if you want to set to 1 the depth of your forums and justify the prize you want they to pay to be anounced there).

I just test it on my test forum: http://www.dondepuedo.com/prueba/

As soon as I finish my exams I will put it on the main forums (www.dondepuedo.com/foro)


Thanks again.


PS: Please, excuse my English (I'm from Spain)

Admin 09-05-2001 09:57 AM

Thanks a lot for the kind words Danielillo. :)

[QUOTE]Originally posted by DYer
I have test it . It looks like wounderful.

Just make it strong more ...

BluSmurf 09-08-2001 06:06 PM

ahhhhhhhhh this is what I've been looking for :)
will let you know how it goes once I've installed it later


All times are GMT. The time now is 06:00 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.01463 seconds
  • Memory Usage 1,735KB
  • 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
  • (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