vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Ain - Advanced Google AdSense (https://vborg.vbsupport.ru/showthread.php?t=205713)

al3bed 10-28-2009 01:10 AM

Quote:

Originally Posted by fredang85 (Post 1906004)
I won't give up on you! :D

I don't know why you still get errors even when you completely removed the product then installed it again (without any errors during the installation process)?! if you insist, try to modify plugin 'adsense [algdeer.net] options' you may find the missing bracket there. this is the only plugin used includes/adminfunctions_options.php file.

Quote:

Originally Posted by sjr4x4 (Post 1906386)
This a fantastic add on, and I've got it just how I want it for registered users, but no adsense units show for visitors?

Quote:

Looks like I've worked it out for myself
Quote:

Originally Posted by Animemike (Post 1906827)
"enable this option if you want to border your ads with css tables.
you can also choose this option from display options"

Just dont work for me i get no Boxes and i cant find the CSS you used :(

Quote:

Edit am a idiot lol all fixed

good luck all and you are welcome

fredang85 10-28-2009 10:27 AM

Quote:

Originally Posted by al3bed (Post 1907231)
I don't know why you still get errors even when you completely removed the product then installed it again (without any errors during the installation process)?! if you insist, try to modify plugin 'adsense [algdeer.net] options' you may find the missing bracket there. this is the only plugin used includes/adminfunctions_options.php file.

I scanned through for 10 mins, doesn't seem to have anything wrong with it..
This is inside:

if($vbulletin->options['ain_adsense_enable'] AND $vbulletin->options['ain_adsense_client'] == ''){
print_table_start();
print_table_header("Google Adsense",1);

echo "<tr><td class=\"alt1\">
publisherid is empty. <font color=\"red\"><strong>ads will not work until you update it.</strong></font> please visit <a href=\"options.php?do=options&amp;dogroup=ain_adse nse_ads\">ads setup options page</a> to update it
</td></tr>";

print_table_footer(1, '', '', 0);
}

On top of that, I don't think it has anything to do with why the things won't appear correctly in my ads manager right?

al3bed 10-31-2009 09:38 PM

not that plugin, I mean the plugin named by 'adsense [algdeer.net] options'

I still don't know why it's not working for you :) good luck

mcyates 11-01-2009 08:14 AM

How do i rotate ads? I've inserted the code and clicked on rotate ads "yes" but nothing happpens.

Tize. 11-01-2009 10:00 AM

Excellent Thanks man.
Installed!!!

mcyates 11-01-2009 11:02 AM

The ad rotation feature is not working. I have tried to of my ad networks and nothing comes up, it just keeps on showing the google ads. If I insert a link to an image like

Code:

http://www.myfootballforum.com/images/banner1.jpg
I added the link above to the image and it shows it like that. No image just the link to the image, I know I have to add the <img> tag but when I do nothing shows.

ALSO

This html code doesn't show anything:

Code:

<iframe allowtransparency="true" src="http://ads.betfair.com/ad.aspx?bid=2463&pid=13952" width="728" height="90" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
Is this a known problem?

al3bed 11-01-2009 01:44 PM

Quote:

Originally Posted by mcyates (Post 1908925)
How do i rotate ads? I've inserted the code and clicked on rotate ads "yes" but nothing happpens.

you can rotate ads by clicked yes then put any code html/javascript in 2 boxes (texarea) below that option .. the rotate options needed to be more customized I will work for this next week. the problem is that when you click yes randomly will change all ads by 33.3% my code it's look like:

PHP Code:

mt_srand((double)microtime() * 1234567);
    
$banner_picked mt_rand(13);}
else{
$banner_picked 1

seems too stupid for rotate things :) I'm working to enhance it

Quote:

Originally Posted by Tize. (Post 1908962)
Excellent Thanks man.
Installed!!!

welcome

Quote:

Originally Posted by mcyates (Post 1908974)
The ad rotation feature is not working. I have tried to of my ad networks and nothing comes up, it just keeps on showing the google ads. If I insert a link to an image like

Code:

http://www.myfootballforum.com/images/banner1.jpg
I added the link above to the image and it shows it like that. No image just the link to the image, I know I have to add the <img> tag but when I do nothing shows.

ALSO

This html code doesn't show anything:

Code:

<iframe allowtransparency="true" src="http://ads.betfair.com/ad.aspx?bid=2463&pid=13952" width="728" height="90" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
Is this a known problem?

yes, you need to skip each double quotation " by slash \ like this:
PHP Code:

<iframe allowtransparency=\"true\" src=\"http://ads.betfair.com/ad.aspx?bid=2463&pid=13952\" width=\"728\" height=\"90\" marginwidth=\"0\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe> 

or you can use single quote for the attributes e.g. 'true' rather than \"true\" if you are using xhtml 4.0 and same for the images

rgvtruck 11-04-2009 02:33 AM

1 Attachment(s)
al3bed how do i remove the gap of my sites signature? I turned ON the mod for having adsense in the first post but theres a gap between the sig picture. Here's a picture so you can get and idea of what im talking about it even does it when pictures are added to the post.

Pictures Attached

al3bed 11-04-2009 07:35 AM

there is a gap accully because the ad unit excute with message (post) in one variable. which I mean that (ad unit + post) is one block and sig data is another block. so if your post too short it's will shown like above.

you can solve this by using new version of this mod v7.0
add your ad units info then, in 'postbit' or/and 'postbit_lagecy' template
add where ever you want:
PHP Code:

<if condition="$post[postcount] == 1">$ain_adsense[xx]</if> 

xx you ad unit id

best luck

rgvtruck 11-04-2009 06:52 PM

Quote:

Originally Posted by al3bed (Post 1910097)
there is a gap accully because the ad unit excute with message (post) in one variable. which I mean that (ad unit + post) is one block and sig data is another block. so if your post too short it's will shown like above.

you can solve this by using new version of this mod v7.0
add your ad units info then, in 'postbit' or/and 'postbit_lagecy' template
add where ever you want:
PHP Code:

<if condition="$post[postcount] == 1">$ain_adsense[xx]</if> 

xx you ad unit id

best luck

Ived tried it and i still cant get it to work, now it floats on top of the post not on the side like i wanted to. Can you tell me which template to modify? What to replace?

al3bed 11-04-2009 08:17 PM

ok, try this:

open 'postbit_lagecy' template find:
HTML Code:

<!-- message -->
above it add:
HTML Code:

<if condition="$post[postcount] == 1"><div><div style="float:right; margin-left: 5px;">$ain_adsense[id]</div></if>
then find:
HTML Code:

$template_hook[postbit_signature_end]
above it add:
HTML Code:

<if condition="$post[postcount] == 1"></div></if>
this should work :)
you can customize your options there... for the float ,margin, ad unit id or postcount

good luck

elwachiman 11-04-2009 08:33 PM

Pronto Lo Instalo

rgvtruck 11-04-2009 08:45 PM

Quote:

Originally Posted by al3bed (Post 1910278)
ok, try this:

open 'postbit_lagecy' template find:
HTML Code:

<!-- message -->
above it add:
HTML Code:

<if condition="$post[postcount] == 1"><div><div style="float:right; margin-left: 5px;">$ain_adsense[id]</div></if>
then find:
HTML Code:

$template_hook[postbit_signature_end]
above it add:
HTML Code:

<if condition="$post[postcount] == 1"></div></if>
this should work :)
you can customize your options there... for the float ,margin, ad unit id or postcount

good luck

I still get a gap :D

alahmed 11-04-2009 11:03 PM

hello al3bed

Thank you so much for this fantastic product

i am using version 6 , and i want to ask if the issues i am going to talk about is still in version 7 or not


i have two questions i want to ask:

1- in Ain - Advanced Google Ad Sense - Main Options ===>> choose alignment for ads

you could control the direction of the ads , Right , left or middle

This options controls all ads whatever the size or the type is or the location

i want to be able to control each type separately, either to move them right or left or leave them in the middle , even you could say each location could be controled separatly.

http://img41.imageshack.us/img41/323...5761585157.jpg


2- The square ad inside the subject is not above the subject , in some case on the same line as the 1st line of the message

http://img41.imageshack.us/img41/820...6081575159.jpg

http://img41.imageshack.us/img41/784...5771575160.jpg

bada_bing 11-05-2009 02:05 AM

Quote:

Originally Posted by al3bed (Post 1903341)
I think it's possible to do it, a page controlled by showing a template for specific reason make sense sure.

Hey bud just wondering if you plan on adding these addons in a near new version?

al3bed 11-05-2009 08:00 AM

Quote:

Originally Posted by bada_bing (Post 1910386)
Hey bud just wondering if you plan on adding these addons in a near new version?

yes sure.. I like the idea ;)

Quote:

Originally Posted by rgvtruck (Post 1910293)
I still get a gap :D

gap between sig & post exist even if you don't use these stuff? or it's only there is a gap because the ad unit? :)

Quote:

Originally Posted by alahmed (Post 1910346)
hello al3bed

Thank you so much for this fantastic product

i am using version 6 , and i want to ask if the issues i am going to talk about is still in version 7 or not

i have two questions i want to ask:
1- in Ain - Advanced Google Ad Sense - Main Options ===>> choose alignment for ads
you could control the direction of the ads , Right , left or middle

This options controls all ads whatever the size or the type is or the location

i want to be able to control each type separately, either to move them right or left or leave them in the middle , even you could say each location could be controled separatly.

2- The square ad inside the subject is not above the subject , in some case on the same line as the 1st line of the message

hi, it's better to upgrade to v7.0 .. v6.0 somehow bugy

1. no, even with new version you need to setup each ad unit manually if you want to control each location separatly.

2. it's depend on your choice for adsense inside first post. check the display option for ads in first post and change it to 'below the title'. .. you can find arabic version of this hack in traidnt.net/vb

alahmed 11-05-2009 10:06 AM

Thank you ..

i did not find the Arabic version 7.0 in Traident.

1- if Google ads (links) on the same side as the thread titles it would perfect , So adding at least an option to control the links ads alone in showthread template is a good option as i think.

2- its already chosen " below the title" while i am have this little problem.
how to add at least one line between the square ad the beginning of the threads ( the message)

have a nice day

KURTZ 11-07-2009 10:14 AM

this is a SUPERB add-on, but i need to know if i can put my personal banners into the rotation or under/over the google ads ... it's possible? how?

TIA

Scalemotorcars 11-07-2009 12:01 PM

Im not sure if this is a bug or if its me.

First I reported that the links in the side column don't actually link to the options in the VB-options panel. Not a big deal I can always just go to the vb-options to edit.

This is the bug or problem I'm having.

With this hack enabled I cannot edit most of the standard VB features in the vb-options panel. Things like changing the human verification will not reset if I remove or add options.

If I disable and turn off the hack I can edit the options. Back on I cant edit options so its this modification in the admin cp that's causing it to hang and return a blank panel.

Not a white page but If I click save the frame forwards to a blank options panel with only the sidebar. I have to go back to the VB-Options tab to get the frame back.

Hope this is clear I really want to use the mod but If I have to disable it every time I edit VB-options its going to get old quick. :(

al3bed 11-07-2009 09:31 PM

Quote:

Originally Posted by alahmed (Post 1910509)
Thank you ..

i did not find the Arabic version 7.0 in Traident.

.... So adding at least an option to control the links ads alone in showthread template is a good option as i think.

there you go: http://www.traidnt.net/vb/showthread.php?t=1358616

sorry I can't add more options for displaying ads.

Quote:

Originally Posted by KURTZ (Post 1911275)
i need to know if i can put my personal banners into the rotation or under/over the google ads ... it's possible? how?

you can only if you put them there manually but without rotate .. rotate will be more effecitve with the next version of this mod :)

Quote:

Originally Posted by Scalemotorcars (Post 1911296)
Im not sure if this is a bug or if its me.

First I reported that the links in the side column don't actually link to the options in the VB-options panel. Not a big deal I can always just go to the vb-options to edit.

This is the bug or problem I'm having.

With this hack enabled I cannot edit most of the standard VB features in the vb-options panel. Things like changing the human verification will not reset if I remove or add options.

If I disable and turn off the hack I can edit the options. Back on I cant edit options so its this modification in the admin cp that's causing it to hang and return a blank panel.

Not a white page but If I click save the frame forwards to a blank options panel with only the sidebar. I have to go back to the VB-Options tab to get the frame back.

Hope this is clear I really want to use the mod but If I have to disable it every time I edit VB-options its going to get old quick. :(

I just checked that with 3.6.12 and .. no problems with other vb options


search for deleted products that still have xml files in includes/xml folder. if there any non defualt, please let me know so I can help you if it's a problem of compatibility otherwise all are running good :)

KURTZ 11-08-2009 08:07 PM

i tried to put them, but i can view the banner, your mod shows me only the banner's link ... :)

bada_bing 11-09-2009 12:02 PM

[QUOTE=al3bed;1910473]yes sure.. I like the idea ;)


Any idea when you might be releasing the next version? Love this mod

Scalemotorcars 11-09-2009 12:37 PM

Quote:

Originally Posted by al3bed (Post 1911428)
there you go: [url]
search for deleted products that still have xml files in includes/xml folder. if there any non defualt, please let me know so I can help you if it's a problem of compatibility otherwise all are running good :)

Thanks that seems to have fixed the issue with editing standard VB Options.

FYI and sorry its not more exact but the conflict was with one of these three hacks

Itrade

Cartplog

Woopra Analitics.


Now the navbit links still don't work. Any ideal?

MusixP 11-09-2009 08:22 PM

a german translation available?

oskqqqq 11-10-2009 06:29 PM

installed and hacked..

look at my site

Hacked by RAGE SCREAM iraqa@live.com

www.kankaforum.gen.tr

please help

kmohamed 11-10-2009 06:34 PM

i hope this mod is really working wow that's great

oskqqqq 11-10-2009 06:37 PM

Quote:

Originally Posted by oskqqqq (Post 1912492)
installed and hacked..

look at my site

Hacked by RAGE SCREAM iraqa@live.com

www.kankaforum.gen.tr

please help

anybody there

Viruseater 11-10-2009 09:33 PM

If I enable this add-on i get the following error

"This user has not registered and therefore does not have a profile to view." when viewing user profiles. if I disable it, it works fine.

I didn't see this in the thread, so if this has been covered I apologize.

Viruseater 11-10-2009 09:35 PM

and also, read the suggestions on rotating ads, they do not work

al3bed 11-11-2009 10:23 AM

Quote:

Originally Posted by MusixP (Post 1912134)
a german translation available?

sorry no it's not available, but you can translate it to your language easly.

Quote:

Originally Posted by oskqqqq (Post 1912492)
installed and hacked..

look at my site

Hacked by RAGE SCREAM iraqa@live.com

www.kankaforum.gen.tr

please help

are you trying to say that you are hacked because this product?
this mod tested for vb versions, securetiy, cusomization and ease of use
and pass in all of these. it's never will let any even admins to hack the site

Quote:

Originally Posted by kmohamed (Post 1912493)
i hope this mod is really working wow that's great

yes, you need to test it first ;)

Quote:

Originally Posted by Viruseater (Post 1912555)
If I enable this add-on i get the following error

"This user has not registered and therefore does not have a profile to view." when viewing user profiles. if I disable it, it works fine.

I didn't see this in the thread, so if this has been covered I apologize.

I just checked that and it's works fine. maybe you have problems with some files in includes/xml that related to another addons that you already delete them. the product itself can't do such errors.

Viruseater 11-11-2009 07:53 PM

That might be the case, but there are no xml files in my folders from any previously deleted files, and without question, enabling your product breaks the profiles, and calendar events. it makes it so you cannot edit any events. you get a 'link does not exist' error.

I don't have to remove or uninstall your hack, just disable it and it fixes the problems.

I'd much rather find the problem than use another product because I spent a lot of time configuring this to match and work with my forums. But these problems, along with the ads not rotating the way they are suppose to, i don't know if i've got much choice.

I've also disabled every single product in my forum except this, and it still does it,

I don't know what else in the world I could try

al3bed 11-12-2009 05:36 AM

ok sir Viruseater, could you please answer these questions may I can help:

1. are you tried to update counters? go to you admincp then Maintenance --> Update Counters --> Fix broken user profiles
2. what version of vb you are running?
3. what's your php and mysql versions?
4. list of mods/addons/products you are using? are you using vbseo?
5. when you download the product from vbulletin.org, what was the file size of product-ain_adsens.xml?
6. are you enabling javascript in your browser?
7. are you upgraded or installed v7.0? if you upgrade it, then from which verison? 5.2 or 6.0?
8. you find any problem with installing/upgrading the product for the first time?
9. is this problem shown in hole forums or just in some custom styles?

maybe I can't help you because I don't know what you are facing exactly, I'm trying to find the problem, but I don't know where is it? I test this mod in many many fourms with different versions, but there are no problem like what you have here. :)

good luck

Mattcch 11-12-2009 06:40 AM

Install ok on my forum
Thanks you very much.


@al3bed
I want to let the adsense ads , which will appear inside the latest or last post.
Any good ways to do it?

ChopSuey 11-12-2009 07:54 AM

Thanks, installed.

Mum 11-13-2009 05:01 AM

Just a question, i have this installed, and appears to be working, but i'm keen on the sharing bit. so got a couple of people to sign up for google adsense so that they could test it, and they are still waiting for an email to confirm it. They had to put in a web address they wanted to advertise on. So is this going to cause a problem with google and my site? are they not goign to be happy about that?

alahmed 11-13-2009 11:27 AM

my brother

please check

http://www.traidnt.net/vb/showpost.p...8&postcount=36

KURTZ 11-14-2009 09:12 AM

any fix for the rotating banners?

apnifry 11-17-2009 01:04 AM

any chance for getting it work for vb 4.0

isatice 11-17-2009 07:23 PM

it was the best hack if enabled to specify which adds to show on different language translated pages

ayman1204 11-20-2009 04:36 PM

thanks man


All times are GMT. The time now is 04:49 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.01902 seconds
  • Memory Usage 1,880KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_html_printable
  • (4)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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