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)

sigepjedi 07-19-2007 12:48 PM

What needs to take place for the Usergroup: Unregistered / Not Logged In to see the ads, or any other group aside from admin for that matter?

Looking through the properties for the groups, I do not see anything specific for making ads viewable, nor in the ad settings.

Thanks in advance.

Amaresh 07-19-2007 05:07 PM

Hey
i am having a problem here.
In the fluid version of the theme, there is white space to the right side of the right column ad.
Here's a screenshot.

https://vborg.vbsupport.ru/

Please tell me what can be done about it.

dssart 07-19-2007 09:30 PM

Quote:

Originally Posted by RedTyger (Post 1294475)
If you look in the forumbit advertisement template, there's a colspan definition..

hmmm....here's my forumbit_advertisement:

Code:

<tr align="center">
        <td class="alt2">
                <img src="$stylevar[imgdir_statusicon]/forum_link.gif" border="0" alt="" />
        </td>
        <td class="alt1Active" align="$stylevar[left]">
                <div>
                        $forumbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
        <td class="alt1Active">
                -
        </td>
        <td class="alt2">
                -
        </td>
        <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1Active">
                        -
                </td>
        </if>
</tr>

Sorry, I did mean threadbit. Here is my threadbit_advertisement:

Code:

<tr align="center">
        <td class="alt1Active">
                <img src="$stylevar[imgdir_statusicon]/thread_moved.gif" border="0" alt="" />
        </td>
        <if condition="$show['threadicons']">
                <td class="alt2">
                        &nbsp;
                </td>
        </if>
        <td class="alt1Active" align="$stylevar[left]">
                <div>
                        $threadbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
        <td class="alt1Active">
                -
        </td>
        <td class="alt2">
                -
        </td>
        <if condition="$show['inlinemod']">
                <td class="alt1Active">
                        &nbsp;
                </td>
        </if>
</tr>

No COLSPAN. Can you please tell me where to insert it? Thank You

smith2007 07-20-2007 10:15 AM

Quote:

Originally Posted by dssart (Post 1293192)
Great add-on to VBulletin, but I'm unsure on what is permissible according to Google's TOS regarding ad placement on pages with no content. I have the header ad placement enabled, and the header ad shows up everywhere including the following:

User Control Panel
FAQ (header)
Members List
Calendar
New Posts
Advanced Search
Quick Links -> Today's Posts
Settings & Options -> Edit Signature
Settings & Options -> Edit Profile
Settings & Options -> Edit Options
Settings & Options -> Edit Avatar
Settings & Options -> Edit Profile Picture
Private Messages -> List Messages
Private Messages -> Send New Message
Private Messages -> Track Messages
Private Messages -> Edit Folders
Subscribed Threads -> List Subscriptions
Subscribed Threads -> Edit Folders
Moderation -> Deleted Threads
Moderation -> Deleted Posts
Moderation -> Moderated Threads
Moderation -> Moderated Posts
Miscellaneous -> Event Reminders
Miscellaneous -> Paid Subscriptions
Miscellaneous -> Buddy/Ignore Lists
Miscellaneous -> Attachments

I know in the vB Ad Management Global Settings there is a section "Do NOT display advertisements for scripts". Just for everyone to see without having to go find this and look for it:

"This allows you to exclude pages based on the type of content they are displaying. Enter the names of the scripts which you don't want to display advertisements, separated by your delimiter. (i.e. register#private#index)

Some advertiser's TOS requires you to exclude pages without content, such as registration pages. Ask in the vBulletin forums if you need help identifying the correct scriptnames, or you can find them yourself in the code files as described here."

My question is, what does everyone else disallow? Unless someone renames the scripts, shouldn't we all basically have the same scripts disallowed? Finally, can someone give me a list that I can copy and paste into this section of the script names that are known to be Google No-No's?

Thanks!


Hi - I have excatly the same question as dssart. It would be great to know what scripts to exclude.

:)

Aden 07-20-2007 02:22 PM

Hey redtyger..
couldnt find the following in my style templates :(
Quote:

# Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
# Find &nbsp; in your header template and replace it with $header_advertisement.
# Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.
Your help would be greatly appreciated :)

Pocket Aces 07-21-2007 09:32 AM

Is it possible to have an alternate ad if the chosen ad is excluded on certain forum/s?
Like for example, an adsense is place on the header globally except for adult category/forum. So instead of displaying adsense on that adult category, an alternate ad will be displayed (could be bidvertiser, adultfriendfinder, etc.).

RedTyger 07-21-2007 08:36 PM

Quote:

Originally Posted by sigepjedi (Post 1295642)
What needs to take place for the Usergroup: Unregistered / Not Logged In to see the ads, or any other group aside from admin for that matter?

Looking through the properties for the groups, I do not see anything specific for making ads viewable, nor in the ad settings.

Thanks in advance.

Add usergroup 1 to the usergroup permissions in vB Ad Management General Settings.

Quote:

Originally Posted by Amaresh (Post 1295860)
Hey
i am having a problem here.
In the fluid version of the theme, there is white space to the right side of the right column ad.
Here's a screenshot.

http://img267.imageshack.us/img267/8...tledis7.th.jpg

Please tell me what can be done about it.

Really couldn't tell you for a custom theme I'm afraid, far too many changes to be able to pin it down to just one and it may take more than one change to fix it.

Quote:

Originally Posted by dssart (Post 1296062)
hmmm....here's my forumbit_advertisement:

Code:

<tr align="center">
        <td class="alt2">
                <img src="$stylevar[imgdir_statusicon]/forum_link.gif" border="0" alt="" />
        </td>
        <td class="alt1Active" align="$stylevar[left]">
                <div>
                        $forumbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
        <td class="alt1Active">
                -
        </td>
        <td class="alt2">
                -
        </td>
        <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1Active">
                        -
                </td>
        </if>
</tr>

Sorry, I did mean threadbit. Here is my threadbit_advertisement:

Code:

<tr align="center">
        <td class="alt1Active">
                <img src="$stylevar[imgdir_statusicon]/thread_moved.gif" border="0" alt="" />
        </td>
        <if condition="$show['threadicons']">
                <td class="alt2">
                        &nbsp;
                </td>
        </if>
        <td class="alt1Active" align="$stylevar[left]">
                <div>
                        $threadbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
        <td class="alt1Active">
                -
        </td>
        <td class="alt2">
                -
        </td>
        <if condition="$show['inlinemod']">
                <td class="alt1Active">
                        &nbsp;
                </td>
        </if>
</tr>

No COLSPAN. Can you please tell me where to insert it? Thank You

Oops, remembered wrongly. Try these, you might need to adjust the colspan numbers if I've guessed wrongly. The number should match the number of cells the ad spans.

Code:

<tr align="center">
        <td class="alt1Active" align="$stylevar[left]" <if condition="$vboptions['showmoderatorcolumn']">colspan="3"<else />colspan="4"</if>>
                <div>
                        $forumbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
</tr>

Code:

<tr align="center">
        <td class="alt1Active" align="$stylevar[left]" <if condition="$show['threadicons']">colspan="4"<else />colspan="3"</if>>
                <div>
                        $threadbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
</tr>

Quote:

Originally Posted by Aden (Post 1296627)
Hey redtyger..
couldnt find the following in my style templates :(

Code:

  # Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
# Find &nbsp; in your header template and replace it with $header_advertisement.
# Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.

Your help would be greatly appreciated :)

# Try putting it at the top.
# You can put it anywhere you like.
# Try putting it at the bottom.

Quote:

Originally Posted by Pocket Aces (Post 1297266)
Is it possible to have an alternate ad if the chosen ad is excluded on certain forum/s?
Like for example, an adsense is place on the header globally except for adult category/forum. So instead of displaying adsense on that adult category, an alternate ad will be displayed (could be bidvertiser, adultfriendfinder, etc.).

Conditionals, really isn't it. I just happened to come across a tutorial for integrating conditionals and if it's as easy as it seems then it'll definitely be in the next version which will allow for any kind of conditional about anything and allow more or less infinite flexibility.

dssart 07-23-2007 09:47 PM

O.K., this seems to work..I monkeyed around with it, tell me if you think it's O.K. as far as the structure of the code. I'm just hacking here and I'm no coder, so if it looks bizarre, it probably is:

Code:

<tr align="center">
        <td class="alt2">
                <img src="$stylevar[imgdir_statusicon]/forum_link.gif" border="0" alt="" />
        </td>
        <td class="alt1Active" align="$stylevar[center]" colspan="2">
                <div>
                        $forumbit_adcode
                </div>
        </td>
        <td class="alt1Active">
                $vboptions[adintegrate_adtitle]
        </td>
        <td class="alt2">
                -
        </td>
                </tr>


This formats the columns the way I want it, however it displays differently in Internet Explorer than it does in FireFox. In Firefox, it displays nice. The right margin fits within the browser screen. In IE, the right hand margin shoots off a few columns. Any ideas? I could post a few images if it will help.

RedTyger 07-24-2007 07:01 AM

Screenshots would help, yes. :)

dssart 07-24-2007 09:07 AM

Gotcha..both below images use the code I've attached above. The first image shows the code as displayed in Firefox. The forum table is centered neatly and nicely within the browser window. The right edge has the same number of pixels of space between the table and the edge of the browser window as the left edge. No horizontal scroll bar. The second shows the code displayed in Internet Explorer. Notice how the right edge of the table goes way off the browser screen, which in turn throws of the formatting of the entire forum table and results in the horizontal scroll bar at the bottom of the browser. Firefox rendition is the desirable formatting. IE is baaad.

RedTyger 07-24-2007 11:00 AM

Oh, now I recognise you. Hah. Ok, insert this following in front of your adsense adcode.
Code:

<img src="$vboptions[cleargifurl]" height="90" width="1" alt="" />

Replace forumbit_advertisement with this:
Code:

<tr align="center">
        <td class="alt2">
                <img src="$stylevar[imgdir_statusicon]/forum_link.gif" border="0" alt="" />
        </td>
        <td class="alt1Active" align="$stylevar[left]" colspan="2">
                <div<if condition="is_browser('ie') AND !is_browser('ie', '7')"> class="adsense"</if>>
                        $forumbit_adcode
                </div>
        </td>
        <td class="alt2">
                $vboptions[adintegrate_adtitle]
        </td>
        <td class="alt2">
                -
        </td>
        <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1Active">
                        -
                </td>
        </if>
</tr>


Add this to your style's Main CSS AdminCP > Styles & Templates > Style Manager > Your style's dropdown box > Textarea at the very bottom of the CSS page.:
Code:

.adsense iframe {
position:absolute;
left:85px;
}


You may need to adjust the left:85px; value to suit your style. I've tested it and it works fine on my forum. It lifts the adsense out of the page and places it back on top where it should go, the invisible image pads out the height of the row to match the space needed. If the browser window is less than 1024 px wide then the ad will cover everything to the right of it on that row, but that's probably an improvement on stretching the page which is what it would normally do anyway.

RedTyger 07-24-2007 04:42 PM

If everyone would cast their eyes to the very top of the first post of the thread, I'm now using vBulletin's Project Tools product to deal with bugs in the future and likewise am actively seeking feature and change suggestions for the next major version of vB Ad Management. If you feel the need to contribute to either of those, please feel free. I'm afraid you must register to be able to post for which I apologise, but it's one of those necessary evils.

So in the future it's bugs and feature requests there, everything else here. Ok? Good good.

dssart 07-24-2007 09:54 PM

Thanks! it works great...any chance of you working the same magic to the threadbit :)??

RedTyger 07-25-2007 07:22 AM

Same principle, use this as your threadbit_advertisement template.

Code:

<tr align="center">
        <td class="alt1Active">
                <img src="$stylevar[imgdir_statusicon]/thread_moved.gif" border="0" alt="" />
        </td>
        <td class="alt1Active" align="$stylevar[left]" colspan="<if condition="$show['threadicons']">3<else />2</if>">
                <div<if condition="is_browser('ie') AND !is_browser('ie', '7')"> class="adsense"</if>>
                        $threadbit_adcode
                </div>
        </td>
        <td class="alt2" colspan="<if condition="$show['inlinemod']">3<else />2</if>">
                $vboptions[adintegrate_adtitle]
        </td>
</tr>

1000+ installs, thanks everybody. :D

grahamsmythe 07-25-2007 08:51 PM

I have installed as per the instructions - uploaded the folder into the 'includes' folder, then changed all the templates etc, but when I go into my admincp - vBulletin Options - then go to the bottom, the control panel that I expected to see there isn't showing.

Have I forgotten to do something in order to activate it?

Any help would be most appreciated.

Graham

pbmansion 07-25-2007 11:55 PM

Is it possible to get rid of the branding at the bottom? If so can you pm me?

RedTyger 07-26-2007 06:59 AM

Quote:

Originally Posted by grahamsmythe (Post 1301602)
I have installed as per the instructions - uploaded the folder into the 'includes' folder, then changed all the templates etc, but when I go into my admincp - vBulletin Options - then go to the bottom, the control panel that I expected to see there isn't showing.

Have I forgotten to do something in order to activate it?

Any help would be most appreciated.

Graham

Sounds like you forgot to upload the .xml file. AdminCP > Plugins & Products > Product Manager.

Quote:

Originally Posted by pbmansion (Post 1301761)
Is it possible to get rid of the branding at the bottom? If so can you pm me?

Sorry, there is no brand-free option currently.

grahamsmythe 07-26-2007 02:37 PM

You're right - I hadn't installed the xml file - what an idiot!

On the installation instructions, it says to find &nbsp; in your header template and replace it with $header_advertisement

In my header template &nbsp; appears 3 times - so, is that right that I replace it three times?

Cheers

RedTyger 07-26-2007 02:39 PM

If you want it to appear 3 times, sure. It's just a guide for the default template, you can put it where you want.

grahamsmythe 07-26-2007 02:57 PM

Hi RedTyger

Thanks for the incredibly fast reply to my last post.

I'm not a tekkie wizard by any stretch of the imagination, but we've managed to get our forum up and running without too many problems. What we'd love to introduce now is some advertising - hence once I saw your modification I thought it would fit the bill exactly.

I've installed everything as per the instructions and we can see the options in the control panel, but that's where we're sort of stuck.

Have you got any real idiot-proof instructions on how to get any further? If you haven't got such a thing, if it's possible for you to help me, I could write you some in my 'idiot language' that you could post here, or e-mail when other 'idiots' get intouch with the same problem!

Regards

Graham

RedTyger 07-27-2007 10:26 AM

All the instructions are there I'm afraid, and I must admit they're rather weak. I am trying to make an effort for things to be clearer in the next version for that reason as well as the facts that the next version is more complicated in some ways. It's very user-friendly once you have a handle on how it works, but baffling when you don't.

If you need any general help, just post here.

Edit: Didn't notice you kind offer, I may ask for some feedback from everyone in that area at some point. For now, I'm making lots of changes so it's not really possible.

grahamsmythe 07-27-2007 12:11 PM

Quote:

Originally Posted by RedTyger (Post 1302960)
It's very user-friendly once you have a handle on how it works, but baffling when you don't.

If you need any general help, just post here.

Thanks for coming back to me RedTyger

Let's start with what we want to do - perhaps once I've got an idea of how to do that, the rest will fall into place.

I have a banner to size 234 x 60 that I'd love to put on the header of our forum. The file I have is a JPG. How do I insert that?

Graham

MomentumInc 07-27-2007 01:25 PM

I'm sorry if this has been asked before, but there are 90 pages to go through and I didn't find anything with a quick search.

Is there an easy way to use this plugin to put different ads on each forum (based on forum id)? Right now, we have this plugin installed on several sites, but still have to resort to putting a long list of conditionals in the templates in order to put specific ads on specific forums.

I know about the feature to only put ads on certain forums, but we need ads on every forum... just different code for each.

Thanks.

RedTyger 07-28-2007 07:59 AM

Quote:

Originally Posted by grahamsmythe (Post 1303010)
Thanks for coming back to me RedTyger

Let's start with what we want to do - perhaps once I've got an idea of how to do that, the rest will fall into place.

I have a banner to size 234 x 60 that I'd love to put on the header of our forum. The file I have is a JPG. How do I insert that?

Graham

Ah. That's really beyond the scope of a manual for this modification, that's general internetness.

Code:

<a href="LINK" /><img src="IMGLINK" alt="IMGDESCRIPTION" /></a>
LINK = Where you want to send people who click on the banner.
IMGLINK = Where the location of the image is.
IMGDESCRIPTION = A description of what the image is.

Put that in the header adcode section of the options, and ensure that it's enabled just above that. In general settings, the default is set to show advertisements to administrators only for testing (it says 6 in the usergroup settings, which is admin's usergroup id) so when you're ready you will have to adjust the numbers listed in that setting.


Quote:

Originally Posted by MomentumInc (Post 1303075)
I'm sorry if this has been asked before, but there are 90 pages to go through and I didn't find anything with a quick search.

Is there an easy way to use this plugin to put different ads on each forum (based on forum id)? Right now, we have this plugin installed on several sites, but still have to resort to putting a long list of conditionals in the templates in order to put specific ads on specific forums.

I know about the feature to only put ads on certain forums, but we need ads on every forum... just different code for each.

Thanks.

Currently, no. Next version, almost certainly. But it will still be a long list of conditionals, there's really no other way to do it.

grahamsmythe 07-28-2007 02:10 PM

Wow! I didn't in my wildest dreams ever think it would be that easy!

I thought I'd have to get into changing lots more code and other techincal stuff, but all it took was a bit of html - thanks for that, but I could have done that on my own if I'd have known it was so easy!

I've got my advertising up there now. As and when I get some takers - maximum of four I hope, I'll send you a donation for using the mod. It's fantastic

Regards

Graham

PS - Have a look at my site http://www.vincentownersclub.co.uk/

Any idea how I can get the banner to move up a bit, so that it's centered?

mightyb 07-28-2007 06:13 PM

Im a bit concerned about security issue. I want to allow my members to display their own adcode. How can i make sure they only use adsense, clicksor or any other trusted code rather than something malicious. Thanks a lot!

RedTyger 07-28-2007 06:38 PM

Quote:

Originally Posted by grahamsmythe (Post 1303884)
Wow! I didn't in my wildest dreams ever think it would be that easy!

I thought I'd have to get into changing lots more code and other techincal stuff, but all it took was a bit of html - thanks for that, but I could have done that on my own if I'd have known it was so easy!

I've got my advertising up there now. As and when I get some takers - maximum of four I hope, I'll send you a donation for using the mod. It's fantastic

Regards

Graham

PS - Have a look at my site http://www.vincentownersclub.co.uk/

Any idea how I can get the banner to move up a bit, so that it's centered?

No worries! Open your header template, find:

Code:

<td>
        &nbsp; (or it may be $header_advertisement now, I guess)
</td>

Replace with:
Code:

<td style="vertical-align:middle">
        &nbsp;
</td>

If you can't find the code you're supposed to find, you just have to add style="vertical-align:middle" to the <td> which holds the advertisement, whichever that may be.

Edit: And remove all those keywords from the bottom of your front page, Google will flay you alive for that! Sites have been banned for less.


Quote:

Originally Posted by mightyb (Post 1304078)
Im a bit concerned about security issue. I want to allow my members to display their own adcode. How can i make sure they only use adsense, clicksor or any other trusted code rather than something malicious. Thanks a lot!

When creating a custom field, vBulletin provides an option called RegEx which you can apply to that field. Regex is an extremely powerful and extremely complicated, alas, way of limiting what is added to that field. So powerful that you can specify what characters are allowed, how many, in what order...more or less anything to be as limiting as you like. The more specific you are, the more secure you will be and it goes without saying don't use the allow HTML option.

If you can post examples of what code you would like people to be able to post, when I get a minute I'll see if I can come up with a RegEx code for you. Adsense is comparatively easy, others might not be.

Tiberonmagnus 07-28-2007 06:48 PM

I hope someone can help me solve this issue. I'm getting

Code:

Warning: explode() [function.explode]: Empty delimiter. in /includes/vb_ad_management/postbit_display_start.php on line 72
Each time I try viewing a thread from the front page (using vbadvanced) and also while inside the forum. It appears to give me a warning message for each post. My site is at www.sitefaust.com. If someone can give me a hand that would be great. It's probably something really simple too, I'm just not seeing it.

:)

Edit: It appears to only do it when I enable "Display advertisement after first post on a page?". Hmmmm


Edit2: Ok, I fixed it.. I was just missing a "," lol :D

mightyb 07-28-2007 11:01 PM

Quote:

Originally Posted by RedTyger (Post 1304087)
When creating a custom field, vBulletin provides an option called RegEx which you can apply to that field. Regex is an extremely powerful and extremely complicated, alas, way of limiting what is added to that field. So powerful that you can specify what characters are allowed, how many, in what order...more or less anything to be as limiting as you like. The more specific you are, the more secure you will be and it goes without saying don't use the allow HTML option.

If you can post examples of what code you would like people to be able to post, when I get a minute I'll see if I can come up with a RegEx code for you. Adsense is comparatively easy, others might not be.

I just had a look at a few codes and they look quite complected. Partly because you can not determine what format these are in by looking at the code as it looks to be dynamic. I don't quite fancy my members using huge banners etc...

Can i just have it accept adsense and 368x60 banners with affiliate links and nothing else? Thanks a lot!


-edit-

I tried installing this and i get a blank code for #shared#. Everything seems to work fine but when put #shared# in my ad code all i get is: Forum sponsors:

The rest is blank :confused: I will give it another try tomorrow morning.

RedTyger 07-29-2007 08:17 AM

Quote:

Originally Posted by mightyb (Post 1304265)
I just had a look at a few codes and they look quite complected. Partly because you can not determine what format these are in by looking at the code as it looks to be dynamic. I don't quite fancy my members using huge banners etc...

Can i just have it accept adsense and 368x60 banners with affiliate links and nothing else? Thanks a lot!

You can never determine how big an image will be, but you can put height="368" width="60" in your image code to force anything they put to be that size. As I said, anything is possible but that would be a super-complicated regex if you wanted either/or and it's not something I have time to work out at the moment I'm afraid.

The Adsense alone regular expression is quite simple (based on my own adsense id, you may need to adjust it), use this:
^ca-pub-[0-9]{16}$

That says the custom field must be ca-pub- then sixteen numbers between 0 and 9. No more, no less. Change {16} to {15-17} to allow 15 to 17 numbers, and so on.

basketmen 07-30-2007 03:21 AM

i dont get the answer :

i use right column ads

but in ibproarcade pages there is no right column ads....




there is someone write this, but i still dont get it how to do that



Quote:



Just a heads up to people who want their ads to work with other products like IBProArcade and such to use $GLOBALS[] in their style templates like


$GLOBALS[footer_advertisement]


from https://vborg.vbsupport.ru/showpost....&postcount=336





raagaswaram 07-30-2007 11:42 PM

admanagement mod does not work for me

RedTyger 08-01-2007 07:45 AM

Quote:

Originally Posted by raagaswaram (Post 1305793)
admanagement mod does not work for me

Bummer.

If you don't tell me what's wrong, I can't tell you what to do. ;) And please click install if you're using the modification.

Quote:

Originally Posted by basketmen (Post 1305033)
there is someone write this, but i still dont get it how to do that

Wherever the instructions tell you to put something in the template, if you want it to work outside vBulletin you must use the GLOBALS version but I still can't guarantee it will work.

i.e. $header_advertisement becomes $GLOBALS['header_advertisement']
i.e. $postbit_advertisement becomes $GLOBALS['postbit_advertisement']

etc.


Quote:

Originally Posted by MARKETPROFITS (Post 1306813)
Okay, I've added a custom code, but I have no idea how to implement it or where to get the ads for it..........

Is there something I'm misisng...

Ok, this is what calls the advertisement "$postbit1_adcode"

and I must place this code whereever I want my custom code to appear, correct?


I need to add a random custom advert to the postbit, how can I go about doing this?

thanks in advance.


Custom advertisements in postbit would be more tricky...unless you want ads to appear it two separate locations within one post it should not be necessary to have a custom postbit adcode section. What exactly do you want to do?

bowdeni 08-01-2007 03:20 PM

Simple question: Can I configure the product so it displays adverts to guests only? If not, can anyone recommend me an alternative mod? Thanks in advance, Ian

RedTyger 08-01-2007 03:24 PM

Yep. Enter 1 in the Usergroups box under General Settings.

RvG2 08-01-2007 05:04 PM

RedTyger: can this protect my google adsense on invalid clicks. Should someone wants to down my adsense, can it able to hide the adsense and show another type of ads? Then, it can ban the user if the user is registered and hide the ads if the user is a guest.

RedTyger 08-01-2007 05:10 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1307282)
<snip!>

If you are putting the $post[field17] code in the admincp it will not work, as variables will not be parsed into their values outside the postbit template. If that's your entire code then there's no reason why you shouldn't just do it as a template edit.

Code:

<if condition="$post[field17] != '' AND $post[userid] == $thread[postuserid]">

<a href="http://$post[field17].imarichkid.hop.clickbank.net/" target="_blank" rel="nofollow"><img src="images/misc/uwp.gif" border="0" alt="$1000.00 A Day!"></a>

</if>


RedTyger 08-01-2007 05:14 PM

Quote:

Originally Posted by RvG2 (Post 1307286)
RedTyger: can this protect my google adsense on invalid clicks. Should someone wants to down my adsense, can it able to hide the adsense and show another type of ads? Then, it can ban the user if the user is registered and hide the ads if the user is a guest.

No click-tracking is included, as long as Google Analytics is free I don't see much point. You can change anyone you don't want to see advertisements to a usergroup which can't see advertisements, but you can't ban individual advertisements from being displayed. This should be possible in the next version.

Quote:

Originally Posted by MARKETPROFITS (Post 1307290)
This product does hide your Google Adsense Publisher Id.

Don't think it does...short of javascript encryption I don't see how it's possible and even then it's probably breakable.

RedTyger 08-01-2007 05:48 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1307315)
Doesn't it hide it from the view source when someone right clicks on a page?

No, there's no way of doing that.

RedTyger 08-01-2007 06:19 PM

Ah. You mean more than one link inside that conditional? The $post field will not be recognised outside the postbit template. This is really beyond what the modification can do.


All times are GMT. The time now is 06:46 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.04634 seconds
  • Memory Usage 1,938KB
  • 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
  • (17)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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