vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to add a php script to a Vbulletin? (https://vborg.vbsupport.ru/showthread.php?t=93821)

mizt 08-07-2005 10:08 PM

How to add a php script to a Vbulletin?
 
Ok guys, I'm pretty decent with html but when it comes to php I get lost. I just broke down and bought a license so you will see me here alot. I want to add this script
PHP Code:

<?php
$rssense_client 
"pub-MjVAc2XXXXXXXXXXXXXX2UuY29t";
$rssense_source "pub-ZGIucHXXXXXXXXXXXXW5zZS5jb20=";
$rssense_type "text";
$rssense_width 728;
$rssense_height 90;
$rssense_format "leaderboard";
$rssense_color_border "ffffff";
$rssense_color_bg "ffffff";
$rssense_color_link "0000ff";
$rssense_color_url "008000";
$rssense_color_text "000000";
$rssense_color_title "e0efea";
$rssense_color_title_bg "336699";
$rssense_links "Y";

$rssense_keywords "";
$rssense_content "";

include ( 
dirname(__FILE__) . "/rssense_client.php" );
?>


In a spot like I would an adsense banner, such as below the navbar. Yet when I insert that php code like I would an adsense banner it doesn't work. Nothing appears. I remember with my old cms I had to do like a php include type thing. Maybe I have to do one here? Any help is appericated.

By the way has anyone used this new rss service (rssense)? Seems pretty sweet.


All times are GMT. The time now is 03:48 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.01720 seconds
  • Memory Usage 1,712KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete