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)
-   -   Put Adsense Banners in Your Archive (https://vborg.vbsupport.ru/showthread.php?t=100299)

amykhar 02-23-2006 09:48 AM

Smiry, if you can't be bothered to read support threads before posting questions, please do not request support for my mods. If I can take the time to give you code, you can take the time to read the thread before you post.

I haven't upgraded to the new vbulletin yet. When I have time to do so, I will update any mods that need updating.

amykhar 02-23-2006 01:33 PM

updated.

hotrod1 02-23-2006 01:50 PM

I get this error when I try to edit the plugins to insert my own ads:

Parse error: syntax error, unexpected T_STRING in /archive/index.php(453) : eval()'d code on line 3

amykhar 02-23-2006 02:04 PM

That's because you have to escape the quotes now. It's a royal pain in the patoot.

Tefra 02-23-2006 02:09 PM

Quote:

Originally Posted by hotrod1
I get this error when I try to edit the plugins to insert my own ads:

Parse error: syntax error, unexpected T_STRING in /archive/index.php(453) : eval()'d code on line 3

open in notepad your archive header and footer code and just make a simple find and replace
Code:

"
to
Code:

\"
thanks for the update working great.

amykhar 02-23-2006 02:11 PM

One comment to Tefra's suggestion. You can't escape the first and last quotes that are wrapped around the banner code. ;)


Amy

Tefra 02-23-2006 02:12 PM

Quote:

Originally Posted by amykhar
One comment to Tefra's suggestion. You can't escape the first and last quotes that are wrapped around the banner code. ;)


Amy


oups i forgot to mention that

PHP Code:

$output.=" your code hear "


Code Monkey 02-23-2006 02:27 PM

Or use single quotes so php doesn't have to waste time parsing text. ;)

hotrod1 02-23-2006 03:03 PM

I tried doing what you said and it didn't work.

Monolith 02-23-2006 07:14 PM

Thanks for this, Amy. Very nice.

Is there an easy way to stick the middle ad skyscraper on the left side of the page instead of the right, though?


All times are GMT. The time now is 01:59 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.01261 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_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