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)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

ghiboz 03-02-2007 07:01 AM

Quote:

Originally Posted by RedTyger (Post 1193481)
Do the template edits as in the instructions, if all you want is an ad between posts you only need to do the postbit edit.

Paste the advertisement code into the postbit section of the vB Ad Management settings. Alter any settings necessary in Global Settings.

That's it...

thanks, works:up:

Fredrik_Arvid 03-02-2007 08:50 AM

Hello,

I would liko to have 3 banners in the right column and every time the user refresh his browser the banners should change position. Is it possible with this mod? Please see attached image for better understanding. (I´m not so good in english)

Regards,
Fredrik Arvidsson

RedTyger 03-02-2007 11:19 AM

I suppose it might be possible with some javascript, but I don't really know. If it is, you can use javascript in the code.

Fredrik_Arvid 03-02-2007 11:28 AM

OK, thanks!

Gsmdenis 03-02-2007 01:06 PM

very nice for this ! will be check it!

BR.,

Denis

Nikke 03-02-2007 03:45 PM

Great product! Thank you!

One problem though. I would want to add a box above the left column advertising space. Where should I put the table, and how should the code look like? I have tried a hundred times with different solutions, but I haven't got it right yet.

I would be the happiest man alive if you'd help me out here!

RedTyger 03-02-2007 03:55 PM

Immediately above where you pasted $leftcolumn_advertisement I would imagine. Something like

Code:

<table class="tborder" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="alt1">
Blah blah blah.
</td>
</tr>
</table>

Couldn't say exactly.

Edit: You have a really really nice forum by the way.

chkdgate 03-02-2007 05:27 PM

Has anyone tried it with 3.6.5 yet?

Nikke 03-02-2007 07:41 PM

Quote:

Originally Posted by RedTyger (Post 1194191)
Immediately above where you pasted $leftcolumn_advertisement I would imagine. Something like

Code:

<table class="tborder" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="alt1">
Blah blah blah.
</td>
</tr>
</table>

Couldn't say exactly.

Edit: You have a really really nice forum by the way.

Doesn't do it :( That makes a table above the whole navbar :(

Thanks, are you talking about pokerimestari.com? :)

raiderlax 03-02-2007 08:56 PM

Will this work with VBSEO?

RedTyger 03-02-2007 08:59 PM

Quote:

Originally Posted by raiderlax (Post 1194410)
Will this work with VBSEO?

Yes, it will.

raiderlax 03-02-2007 09:06 PM

Sweet thats great news!

triphp 03-03-2007 01:53 AM

I can't really get it work with the Ad Sharing on POSTBIT. NOTE: This will work on HEADER
Here's what I did:
1. Install V2.1 hack.
2. Make template edit on POSTBIT template.
3. Put my ad code on the VP Options.
4. Tested and it works - NO PROBLEM at all.

Now, when I try Ad Sharing, problems start to show.
These are my steps.
1. Uplaod the V3.1 XML file, thus overwriting the V2.1
2. Make Profile field, named field6.
3. Go to Ad Sharing Option, enter field6 on the Field ID, put my default ad code and enter 90% (really with % sign) for the thread starter.
4. Go to Post, PM and Announcement Option and replace the Static code with #shared#.
Example:
Before (V2.1): <a href="http://mydomain.com">Click This Test Link</a>
With Ad Sharing (Change): <a href="#shared#">Click This Test Link</a>
5. Testing by refreshing the POST, PROBLEMS HERE........... After first post, it only displays the "Sponsred Links" and no ad shown.

ANy suggestions?

d e s p e r a t e n o w.........

RedTyger 03-03-2007 08:15 AM

Now that's how you report a bug!

Thanks, I'll look into that.

farooqaaa 03-04-2007 03:21 PM

Easily... Mod of this month (march) :D..

installed...............

thanks tyger!

projectego 03-04-2007 03:43 PM

Thanks for the update, RedTyger! :)

Pottsy 03-04-2007 03:48 PM

Just updated, and my header and footer ads have vanished on all but the main forum index.

Will I do any harm in reverting to 2.1?

Pottsy 03-04-2007 04:03 PM

The problem is this:

In: vb Ad management Global settings:


Display advertisements in ForumIDs:
Enter the IDs of the forums in which you want to display the advertisements, separated by your delimiter. (i.e. 1|2|3)

If you only want to exclude forums instead of including them, leave this blank to display the advertisement in every forum except those listed below, if any.

This setting does not apply to the header or footer or side columns.


I have this set to one forum number, since all I do is have in line post ads in one forum (forum 9). It looks like this setting is being applied to the header and footer, since the header and footer ads are on for forum 9, the index, and all "other" pages (like calendar and search and so on) but are disabled on all other forum indexes and thread view pages.

jluerken 03-04-2007 04:14 PM

Hi,

I am using custom leftcolumn code for my board.
How can I add $leftcolumn_advertisement to left_column (my left column template) instead of the header template?

Kind regards
jluerken

RedTyger 03-04-2007 06:13 PM

Quote:

Originally Posted by Pottsy (Post 1195557)
The problem is this:

In: vb Ad management Global settings:


Display advertisements in ForumIDs:
Enter the IDs of the forums in which you want to display the advertisements, separated by your delimiter. (i.e. 1|2|3)

If you only want to exclude forums instead of including them, leave this blank to display the advertisement in every forum except those listed below, if any.

This setting does not apply to the header or footer or side columns.


I have this set to one forum number, since all I do is have in line post ads in one forum (forum 9). It looks like this setting is being applied to the header and footer, since the header and footer ads are on for forum 9, the index, and all "other" pages (like calendar and search and so on) but are disabled on all other forum indexes and thread view pages.

It sounds like I forgot to update the phrase, it didn't seem consistent to not have control over all the advertisements in the same way, so header and footer now use the same rules as all the other ads.

If you want the header & footer to display everywhere but other ads to only apply to one forum, set all ads to display in every forum then alter the template of the ad you only want to apply to forum 9 and surround the entire template with:

Code:

<if condition="$foruminfo[forumid] == 9">
CONTENTS OF TEMPLATE
</if>


Quote:

Originally Posted by jluerken (Post 1195566)
Hi,

I am using custom leftcolumn code for my board.
How can I add $leftcolumn_advertisement to left_column (my left column template) instead of the header template?

Kind regards
jluerken

I would suggest that if you're not using either the header or footer ads, you paste $header/footer_advertisement into your custom left column template, since both header and footer ads will work anywhere on a page.

Alternatively if this modification fulfils your needs you could simply remove the left column plugin you have now and use this one instead.

Pottsy 03-04-2007 09:11 PM

Redtyger, thanks for that - but...

I use your software to post an ad and the end of a thread, the one where it looks like it's from a user. So I have enabled ads everywhere and now my headers and footers work. I enable the post at the bottom ad, and they appear everywhere. I put the conditional around the $postbit_advertisment and they all disappear. It's as if it doesn't know which forum the thread is in.

I really liked the way it worked in 2.1 - can I revert without horrible errors?

RedTyger 03-04-2007 09:14 PM

Ah, for a postbit conditional it would be different, $thread[forumid] or something perhaps, I can't remember.

You can use any version you want without issue.

Mecho 03-04-2007 09:44 PM

Thanks for update ..

problem is :
after upgrade when i active " threadbit " i got Blank page in forums !

any idea ?

alternity 03-05-2007 01:40 AM

Is it possible to make it so there is an option that members can choose in their profile or somewhere so that they can choose if the ads will display or not, independent of their usergroup?

rnmcd 03-05-2007 03:13 AM

Quote:

Originally Posted by RedTyger (Post 1191099)
If you use the Ad-Sharing version it's essentially impossible.

Is the NON Ad-sharing version still available?

Pottsy 03-05-2007 06:30 AM

Quote:

Originally Posted by RedTyger (Post 1195747)
You can use any version you want without issue.

Thanks - did this and there were no problems, and now I can restrict adverts to one or two forums and keep the header/footer everywhere.

Roby75 03-05-2007 07:26 AM

i've an error with nable threadbit advertisements? ON:


Warning: in_array() [function.in-array]: Wrong datatype for second argument in /forumdisplay.php(905) : eval()'d code on line 119

Attachment 61430


What can i do?

RedTyger 03-05-2007 08:08 AM

Quote:

Originally Posted by Mecho (Post 1195765)
Thanks for update ..

problem is :
after upgrade when i active " threadbit " i got Blank page in forums !

any idea ?

You'll have to be more specific than that...

Quote:

Originally Posted by alternity (Post 1195891)
Is it possible to make it so there is an option that members can choose in their profile or somewhere so that they can choose if the ads will display or not, independent of their usergroup?

You could do it yourself with a custom field and a template edit, but there's no way for me to add it to the modification without significantly lowering performance (one extra query per page load).

RedTyger 03-05-2007 09:38 AM

Quote:

Originally Posted by rnmcd (Post 1195936)
Is the NON Ad-sharing version still available?

Not officially, though there's nothing to stop you using it. There's no particular reason to do so though, since the Ad-sharing version performs slightly better than the 2.1 version whether you're using the Ad-sharing feature or not. You can just turn it off.

sensimilla 03-05-2007 09:50 AM

Quote:

Originally Posted by Roby75 (Post 1196038)
i've an error with nable threadbit advertisements? ON:


Warning: in_array() [function.in-array]: Wrong datatype for second argument in /forumdisplay.php(905) : eval()'d code on line 119

Attachment 61430


What can i do?

same errors here.. so its a bug.

RedTyger 03-05-2007 09:51 AM

Didn't you get the update email? I've just fixed it, redownload the zip.

Roby75 03-05-2007 09:55 AM

TNX!

it's all ok!

Pottsy 03-05-2007 10:07 AM

Can we have an option to have headers and footers everywhere, but control all the remaining ads using the global settings? Just like in 2.1...? Please!

RedTyger 03-05-2007 10:09 AM

Sorry, that will not happen. It makes much more sense this way and it's easy to use template conditionals to limit any ads manually.

triphp 03-05-2007 10:26 AM

RedTyger, is there an update regarding the problem of Ad-Sahring on Postbit (no ads shown)?

Thanks, great hack :)

RedTyger 03-05-2007 10:28 AM

Quote:

Originally Posted by triphp (Post 1196109)
RedTyger, is there an update regarding the problem of Ad-Sahring on Postbit (no ads shown)?

Thanks, great hack :)

There is a changelog at the bottom of the first post, that bug was fixed in v3.02. Are my updates not sending or something. :confused:

triphp 03-05-2007 10:36 AM

Oops sorry but I got no updates.

Rated Excellent
Marked Installed
Nominated MOTM
Donate - Later ;)

Thanks again.

projectego 03-05-2007 10:41 AM

Thanks for this latest update, RedTyger! vB Ad Management for hack of the year! ;)

Pottsy 03-05-2007 11:56 AM

Quote:

Originally Posted by RedTyger (Post 1196096)
Sorry, that will not happen. It makes much more sense this way and it's easy to use template conditionals to limit any ads manually.


Ok, np. While I know how to use conditionals on banners, did you work out the conditional for the "poster in thread view" like we discussed before? Maybe putting this conditional in the readme would be cool too - I'm sure there are others who would like to control which forums ads appear in but would like headers and footers everywhere.

RedTyger 03-05-2007 12:31 PM

According to this post (http://www.vbulletin.com/forum/showp...45&postcount=3) I guessed right, it is $thread[forumid]. It's not really possible to list conditionals properly, as there's essentially an unlimited number of potential conditions. Anything in the format of if this equals that will work.


All times are GMT. The time now is 02:29 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.04203 seconds
  • Memory Usage 1,835KB
  • 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
  • (3)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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