vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Mid Post AdsMid Post Advertisements (middle of the post) (https://vborg.vbsupport.ru/showthread.php?t=251787)

YankForum 10-06-2010 10:00 PM

Mid Post AdsMid Post Advertisements (middle of the post)
 
1 Attachment(s)
Hello
i decided to share this mod with everybody else , this is a paid hack , i received several PMs asking to share it with everybody else , so i did :D all credits goes to original author SecondV :)
[hr]1[/hr]What does this hack do ?

This mod simply lets you put your desired ads or any other codes just in the middle of first post , in each page of a thread .
you can see a live demo here

https://vborg.vbsupport.ru/external/2010/10/23.jpg

https://vborg.vbsupport.ru/external/2010/10/23.jpg
[hr]1[/hr]Known Issues :
  • [s]you shouldn't edit your first post , that causes real problems , and you lose all the contents of first post.[/s] (this is solved in version 1.1)
  • sometimes it's not exactly in the middle of posts , that's because in logic sometimes there is no real half point , while some posts have even number of lines and some posts have odd number of lines . but it tries to put it to the nearest location to the mid point! :)
[hr]1[/hr]Try not to mention following things :
if you think it's against google TOS then don't install it ;) but keep in mind you can also use it with other network ads , and keep in mind at no point google directly mentioned it's against their TOS to put adsense in between content , so do not insist :D
[hr]1[/hr]Installation :
Just Import the Prodcut and configure settings in admincp ( no template edits needed )
DONE :)
[hr]1[/hr]Updates
version 1.1 : first post editing bug FIXED
version 1.2 : option ADDED to hide copyright AND adsense input field integrated into mod's settings page
version 1.3 : option ADDED to limit ads to be visible to guests only as requested by jrwap
version 1.4 : The ads get applied to article comments as well on the CMS articles bug FIXED
version 1.5 : option ADDED to disable ads in certain forums ( as requested by wastemytime )
version 1.6 : unicode characters bug FIXED
version 1.7 : option for enabling ads in extra post ADDED
version 1.8 : changed the structure of while loop to maintain performance and speed
version 1.9 : first post image only (no text) bug FIXED
[hr]1[/hr]Enjoy and please please try not to forget to click as Installed if you liked it you can also Nominate it for MOTM , that's optional but clicking as installed is a must :)

YankForum 10-07-2010 02:38 PM

everybody here books 2nd post :D so do i :)

Kolbi 10-07-2010 03:05 PM

What CTR do you have with this hack?

YankForum 10-07-2010 03:13 PM

currently i have no visitors except spammers so it's better to try it all by urself , but i can assure you it's waaaaay better than other placements

Gnoll 10-07-2010 05:19 PM

Tagged :)

waiting fix for

Quote:

you shouldn't edit your first post , that causes real problems , and you lose all the contents of first post.
Cool work - Wishing luck to find solution :)

valdet 10-07-2010 06:00 PM

This is incredible.

Thank you very much for your share.

WriteToEnlight 10-07-2010 09:17 PM

Sounds like it could be useful, but if editing the first post messes it up then it makes me wonder what kinds of problems it brings about. Can someone give me some input on this?

LbR 10-07-2010 09:54 PM

I think its the perfect way to use Adsense

LbR 10-07-2010 09:56 PM

Quote:

Originally Posted by WriteToEnlight (Post 2107877)
Sounds like it could be useful, but if editing the first post messes it up then it makes me wonder what kinds of problems it brings about. Can someone give me some input on this?

Its in template nothing to do with editing

YankForum 10-08-2010 01:31 AM

Quote:

Originally Posted by Gnoll (Post 2107761)
Tagged :)

waiting fix for



Cool work - Wishing luck to find solution :)

it's already been fixed , download version 1.1
Quote:

Originally Posted by valdet (Post 2107779)
This is incredible.

Thank you very much for your share.

glad u liked it
Quote:

Originally Posted by WriteToEnlight (Post 2107877)
Sounds like it could be useful, but if editing the first post messes it up then it makes me wonder what kinds of problems it brings about. Can someone give me some input on this?

don't worry , the issue is been fixed :)

WriteToEnlight 10-08-2010 01:55 AM

Thanks :) and this doesn't violate google adsense' terms right?

YankForum 10-08-2010 02:30 AM

Quote:

Originally Posted by WriteToEnlight (Post 2107944)
Thanks :) and this doesn't violate google adsense' terms right?

ur welcome :)
plz read this :

Quote:

Try not to mention following things :
if you think it's against google TOS then don't install it but keep in mind you can also use it with other network ads , and keep in mind at no point google directly mentioned it's against their TOS to put adsense in between content , so do not insist
:)

webmastersitesi 10-08-2010 03:05 AM

I think different positin is always good especially in the middile of the content adsense CTR should rocks. I hope to test it soon.

valdet 10-08-2010 06:29 AM

Any chance you can also make this work for vB 3.x versions?

LbR 10-08-2010 09:03 AM

1 Attachment(s)
bad bad bad bad I am getting your forum links in my posts

Its conflicting with the Attachment code
Its conflicting with the buttons too check out the screenshot

YankForum 10-08-2010 10:11 AM

wait for the update , i'm putting the option to remove it

adom7 10-08-2010 11:06 AM

Nice one.
nominated

YankForum 10-08-2010 11:57 AM

Mod updated , no more template edits needed and also an option added to hide the footer copyright , although you are encouraged not to hide the authors copyright in order to support me!

YankForum 10-08-2010 12:07 PM

Quote:

Originally Posted by valdet (Post 2108006)
Any chance you can also make this work for vB 3.x versions?

i'm sorry valdet :( there is a small hope to have the VB3.x version at this stage , although i'll bee looking forward to have it compatible with VB3.x version in near feature mayB

YankForum 10-08-2010 12:10 PM

Quote:

Originally Posted by adom7 (Post 2108072)
Nice one.
nominated

Tnx https://vborg.vbsupport.ru/external/2011/02/1.gif
Quote:

Originally Posted by LbR (Post 2108047)
bad bad bad bad I am getting your forum links in my posts


Its conflicting with the Attachment code
Its conflicting with the buttons too check out the screenshot

try to see if this is working properly with the default style or not , this mayb is your template issue or 1 of your installed mods causing conflicts , although i added an option to hide the copyright , try installing version 1.2 and give me feedback again , Tnx :)

MOGmartin 10-08-2010 12:37 PM

installed, and thank you for sharing.

I recently moved my adsense to the above first post template area, having it within the first post will be interested as a CTR experiment.

jrwap 10-08-2010 03:24 PM

Great mod.... one quick question...

Can it be made to only show ads to unregistered/guests? I have eliminated all ads for members on my site.

Thanks,

-JRW

YankForum 10-08-2010 04:07 PM

Quote:

Originally Posted by jrwap (Post 2108144)
Great mod.... one quick question...

Can it be made to only show ads to unregistered/guests? I have eliminated all ads for members on my site.

Thanks,

-JRW

of course it's possible , i had lots of work today , hopefully i'll try to put some options to restrict ads to specific usergroups

Quote:

installed, and thank you for sharing.

I recently moved my adsense to the above first post template area, having it within the first post will be interested as a CTR experiment.
i'm glad to hear u liked it , hope it works best for u :)

NBL4277 10-08-2010 04:17 PM

Looks interesting. I'll give it a try!

YankForum 10-08-2010 04:58 PM

option added (limit ads to guests only) as requested by jrwap
---------
sorry to bother u guys with multiple updates , i'm just trying to make it perfect for u

jrwap 10-08-2010 07:11 PM

Quote:

Originally Posted by YankForum (Post 2108185)
option added (limit ads to guests only) as requested by jrwap
---------
sorry to bother u guys with multiple updates , i'm just trying to make it perfect for u

Wow, thanks... just installed it.

One little issue... I am getting the following error on some pages: Warning: preg_replace() [function.preg-replace]: Unknown modifier 'p' in [path]/includes/class_postbit.php(321) : eval()'d code on line 62

Example: http://www.club-tc.com/forums/member...log-1-a-4.html

It looks like the mod is having problems with a quote as the first part of the post.

Any ideas?

-JRW

YankForum 10-08-2010 07:31 PM

Quote:

Originally Posted by jrwap (Post 2108225)
Wow, thanks... just installed it.

One little issue... I am getting the following error on some pages: Warning: preg_replace() [function.preg-replace]: Unknown modifier 'p' in [path]/includes/class_postbit.php(321) : eval()'d code on line 62

Example: http://www.club-tc.com/forums/member...log-1-a-4.html

It looks like the mod is having problems with a quote as the first part of the post.

Any ideas?

-JRW

tnx for feedback , no , first post starting by quote won't cause any issue , i tried it , i don't know what's wrong with this mod in your boards but i'll be looking forward to find it out , also please click as installed if you installed it , tnx again :)

nukeleo 10-08-2010 07:52 PM

Code:

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'f' in [path]/includes/class_postbit.php(321) : eval()'d code on line 87
this message appeared top of the forum page

aseer_al7ob 10-08-2010 08:44 PM

Great work

But there is a problem I am encountering

When you activate the MOD works fine, but if any subject was the beginning of an image does not display content of the topic

I hope to solve this problem

Thank you

YankForum 10-09-2010 05:19 AM

Quote:

Originally Posted by aseer_al7ob (Post 2108253)
Great work

But there is a problem I am encountering

When you activate the MOD works fine, but if any subject was the beginning of an image does not display content of the topic

I hope to solve this problem

Thank you

i can't understand what exactly is the problem , can u provide me a link to what you say or explain a bit more ? mayb it's one of your mods conflicting with this one ?

Tryppnotic69 10-09-2010 05:37 AM

Works great. Any chance of having an option for the ad to also appear in a vBulletin blog? I have more readers in my blogs than in my forums.

aseer_al7ob 10-09-2010 09:07 AM

1 Attachment(s)
Quote:

Originally Posted by YankForum (Post 2108324)
i can't understand what exactly is the problem , can u provide me a link to what you say or explain a bit more ? mayb it's one of your mods conflicting with this one ?

See attachments

If in the beginning of the subject image and not text that can not be displayed all subject

YankForum 10-09-2010 09:32 AM

Quote:

Originally Posted by aseer_al7ob (Post 2108354)
See attachments

If in the beginning of the subject image and not text that can not be displayed all subject

tnx for feedback , but this is not how it works , it doesn't depend on the quality of content , it counts lines (br's) and divide the content in two parts , i tested by posting an image on top of the post and it did work great , this could have conflicting with the image resizer installed on your boards

demonfatal 10-09-2010 06:09 PM

Thanks for this usefull mod...
On your site I see the ads in the first and last post of each pages...
Can you share the way with us please?

bongmatinhoc 10-09-2010 07:20 PM

Thanks. very nice

Azonaco 10-09-2010 08:24 PM

Great mod but found a small problem. The ads get applied to article comments as well on the CMS articles.

YankForum 10-10-2010 04:00 AM

Quote:

Originally Posted by demonfatal (Post 2108489)
Thanks for this usefull mod...
On your site I see the ads in the first and last post of each pages...
Can you share the way with us please?

tnx for installig , the last post ads is a sepereate mod which can be found here and here

Quote:

Originally Posted by bongmatinhoc (Post 2108498)
Thanks. very nice

tnx urself , please click install if you install it :)
Quote:

Originally Posted by Azonaco (Post 2108509)
Great mod but found a small problem. The ads get applied to article comments as well on the CMS articles.

i never had article (comments) & CMS on my domain , can please provide me a link or more information , which parts are affected too ?

YankForum 10-10-2010 07:04 AM

Quote:

Originally Posted by Azonaco (Post 2108509)
Great mod but found a small problem. The ads get applied to article comments as well on the CMS articles.

again tnx for feedback , this been FIXED in version 1.4 (only viewable in showthread) , please check it

wastemytime 10-10-2010 08:55 AM

This is really great! The only thing i would need - and maybe others - is an option for Forum Permissions. I do not want it to show it in specific Forums in that way.

Would you consider to add the Option to exclude specific Forums?

andretan88888 10-10-2010 11:05 AM

mark as installed.
Do you accept custom request ?
Please send me private message if you accept it.thanks


All times are GMT. The time now is 03:55 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.02301 seconds
  • Memory Usage 1,836KB
  • 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
  • (21)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
  • (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