vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Forum Keywords For AuctionAds (https://vborg.vbsupport.ru/showthread.php?t=150747)

-=Sniper=- 06-26-2007 09:00 PM

Forum Keywords For AuctionAds
 
1.1 - If you have 1.0 installed, uninstall it and install the new improved version.

You must have an AuctionAds account for this hack.

To lear more about AuctionAds and to sign up - Click Here

This hack allows you to choose different keywords for different forums, allowing you to display differen eBay ads on a forum by forum basis. SO, with this hack, every forum (and the threads in it) will display ads according to the keyword you set for that forum.


Installation:

Step 1 (Upload the Files):
  • Upload the AdminCp and Includes folders to your server.
Step 2(Upload the Product):
  • Go to your AdminCP.
  • Plugins & Products -> Manage Products -> Click [Add/Import Product] -> Select the file 'product-auctionads.xml'.
  • Click 'Import'.
Step 3(Adjust Settings):
  • Go to your AdminCP.
  • Scroll down the list until you see the 'Forum Keywords for AuctionAds' options. Click that and then click 'Keyword Options'
  • Click Yes to activate the system
  • Set a default keyword
  • Choose a keyword(s) for each forum you chose and click the enable button for that forum. (if you dont choose a keyword, the default keyword you set earlier will be used)
Step 4(Add AuctionAds Code to Templates):
  • Get your AuctionAds code for the ad size you choose.
  • At the begining of that code add this line:
Quote:

<if condition="$vbulletin->options['auctionads_onoff']">
  • And at the end of the code add this:
Quote:

</if>
  • Find the line in the code: auctionads_ad_kw = "";
  • Replace that line with: auctionads_ad_kw = "$auctionads_keywords";
  • Now open your forumsidplay and showthread templates and insert the amended AuctionAds code wherever you want the ads to display. (one common placement is immediately after $navbar in the template code.
Your auctionAds code should look similar to this when you place it in your templates.

Quote:

<if condition="$vbulletin->options['auctionads_onoff']">
<script type="text/javascript"><!--
auctionads_ad_client = "YOUR AUCTIONADS PUBLISHER ID";
auctionads_ad_campaign = "YOUR AUCTIONADS CAMPAIGN NUMBER";
auctionads_ad_width = "728";
auctionads_ad_height = "90";
auctionads_ad_kw = "$auctionads_keywords";
auctionads_color_border = "CFF8A3";
auctionads_color_bg = "FFFFFF";
auctionads_color_heading = "00A0E2";
auctionads_color_text = "000000";
auctionads_color_link = "008000";
--></script>
<script type="text/javascript" src="http://ads.auctionads.com/pagead/show_ads.js">
</script>
</if>

This hack was created by vBulletinExpert.com for vBulletin-FAQ.com. Visit the vBulletin FAQ support forum for AuctionAds.

CMGU 06-26-2007 09:47 PM

thanks very interesting
Install - firts

projectego 06-27-2007 11:10 AM

Sounds interesting... I haven't had chance to play with AuctionAds yet, but I'll definitely install this for now. :)

-=Sniper=- 06-27-2007 11:30 AM

thanks, will post a update later today giving more control, so please wait till then before installing.

joeychgo 06-27-2007 02:52 PM

Quote:

Originally Posted by projectego (Post 1277640)
Sounds interesting... I haven't had chance to play with AuctionAds yet, but I'll definitely install this for now. :)


Take a look: AuctionAds


We have an AuctionAds Forum as well ---






:)

-=Sniper=- 06-29-2007 07:56 PM

New improved version released, check screenshot :)

joeychgo 07-03-2007 03:28 PM

I just finished an article partly about how to use this hack effectively --

AuctionAds Tips by Joeychgo



:)

tokenyank 07-03-2007 11:10 PM

couple things....

First of all, I've noticed that AuctionAds website goes down quiet regularly. How does this effect the autolinking/adverts pulling for this hack?

And secondly, the autoparsing of ebay links hack for auctionads does not work if you are using SEO rewrites... Is this mod affected by rewrite?

joeychgo 07-03-2007 11:33 PM

This shouldnt be affected by mod_rewrite... Nor should the site going down affect this hack. The effect would be the same. Usually just a blank ad or a non targetted ad.

AuctionAds does go down from time to time, but its because they are trying to improve it on the fly. They didnt expect the response they've had so far.

AzzidReign 07-06-2007 04:09 PM

I get an error:
User Error: No Keywords

I'm not stupid, I've done exactly as the instructions have stated as well as tried many other things. I just manually put the keywords in the code and it works fine.

This is what my code looked like before I put the keywords in myself:
Code:

<if condition="$vbulletin->options['auctionads_onoff']">
<script type="text/javascript"><!--
auctionads_ad_client = "REMOVED";
auctionads_ad_campaign = "REMOVED";
auctionads_ad_width = "300";
auctionads_ad_height = "250";
auctionads_ad_kw =  "$vbauctionad_keywords";
auctionads_color_border =  "2E3234";
auctionads_color_bg =  "2E3234";
auctionads_color_heading =  "0ABF13";
auctionads_color_text =  "A7B6BE";
auctionads_color_link =  "A7B6BE";
--></script>
<script type="text/javascript" src="http://ads.auctionads.com/pagead/show_ads.js">
</script>
</if>

I have the mod set to YES and I've had many different default keywords in there to see if that was the problem...my latest keyword was just xbox, others were xbox, xbox accessories, xbox games and xbox;accessories, all of which have given me the same error.

Has anyone else ran into this problem or know of a solution?

BTW, I have the ads being showing in the postbit under <!-- / message -->.


All times are GMT. The time now is 11:26 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.02061 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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