![]() |
Shawn
is not possible to make it to reconize the #post1234 instead of the p parameter? at the end is the same value! |
Nope, the hash portion of the URL isn't seen by the server/PHP.
|
thank you
|
Hi Shawn,
Is there a way to include a simple plugin code $second[$banners] inside your plugin I have this plugin which pulls random image banners and places them on "bottom of second" and "second from bottom" posts. My plugin uses the mt_rand function. Inside your plugin, I tried replacing $vbulletin->options[ 'dppa_insidepost_html' ] with my code $second[$banners], but nothing showed up.Is vBSEO a cause for this as well. Thank you. |
No, sorry... it's designed to output literally what you enter. It's HTML, not PHP code, so... you could of course make a random banner disable based on JavaScript you put into the ad HTML, but you would still need to write the JS code of course.
|
Is there a way to stop "Ad After Post" in private messages?
|
No... it's intentional. Although, I suppose you could add some logic to the plug-in that doesn't do it if THIS_SCRIPT == 'private'...
|
Is there a way to create a condition so it only shows a leaderboard if it's a guest (after the post) otherwise show a link unit (after the post).
This is how Digitalpoint does it... |
Yeah, just set the setting that controls which usergroups see it.
|
Quote:
|
I'm noticing this causing the iPhone optimized browser style supported by vBulletin to function incorrectly when viewing a thread.
Could you possibly look into this? It never finishes loading and only shows the ad from the first post... I'm guessing what happens is that the plugin screws up with the rendering so it only ends up rendering the ad instead of the whole thread. It needs to disable itself if vBulletin is rendering in mobile mode. Style & Language Settings > Default Style for Modern Mobile Browsers > "Mobile Style" Is there a way to add a condition in the plugin to see if this is turned on, and if it is, to disable the plugin functionality? *Ended up using the following code*: in the after hook Code:
if (STYLEID!=14){ ** edit fixed both of those things. Can you add a FAQ in this thread to help others with this potential issues? Thanks! |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=231525 |
Quote:
|
Quote:
|
Shawn
I noticed you mentioned this *should* work on VB3 as well as VB4..... Can I then assume I can add this product to my VB3 forum without problems? I would like to test this out before upgrading to VB4 next week as it could solve a problem I have with vBulletin removing a bunch of ad positions..... Cheers Bruce (racedirector on DP) |
Should work fine with vB3 too.
|
hello,
how to install this plugin for 2 plugin so, on my forum have 2 plugin with same product ? can you help me ? |
No idea what you are talking about, sorry...
|
Best mod ever. Really rocks. Thanks!
|
Why are the ads being shown in the center of large posts, shouldn't it be after the text?
|
Now I am using the vbulletin native "Thread 1st-post" ad position.
Do I have to disable it OR it can be used concurrently with this mod.? 2nd.Q. What possible ad format to be used efficiently via this mod ? 3rd.Q. Being the ads displayed in or after PM, Can this be against Google's Terms and Conditions? Thanks for you for sharing us your effort. |
I haven't tried using it with the default ad spots, but it should work fine. I don't see any reason it wouldn't.
You can use any ad format you want since it's just HTML based (or JavaScript). Not sure on Google's TOS, but I haven't heard of any issues with displaying ads on a page with a PM... global ads would display there too. |
Quote:
I mean adsense ad formats (Sizes) |
Digital Point, is there a way to set the ads to only display after the post text and not in a random location?
|
stator - it can be any size you want.
excessive34 - no, sorry... that's the whole point of the addon really, so disabling exactly what it's designed to do seems kind of a waste. :) |
Hello
how much do we have to pay that you make your mod working with vbseo? cheers, tom |
Quote:
|
I don't think there is a way to be honest since internally there's nothing that tells us what post is actually being viewed.
|
It worked fine for me on a vbseo'd forum..
What's the problem? |
It has to do with putting an ad in the post actually being viewed. With vBSEO, it doesn't know which post is being viewed, so it just falls back to adding it to the first post (not necessarily the one actually being viewed).
|
Quote:
|
Quote:
There you get an assoc. Array and one Field in it is called 'fragment'. This contains everything after the anchor # sign. --> http://www.php.net/manual/en/function.parse-url.php Or if this is not working, with some JS (AJAX)? I'm really willing to pay for your work. We need it urgently working with vbseo :D Cheers and thanks, tom |
parse_url() will parse the fragment out of the URL you pass to it, but the problem is we don't have the URL with the fragment to begin with. A web browser doesn't send anything after the hash to the web server, so the web server doesn't know what it is (or if the browser even has one in it's URL).
|
Quote:
If you click "new post" thus going to the last post of the thread, the ad is in that post (the one you're viewing) I've not done anything special other than follow the install instructions and it's working like advertised :p hmm.. at least it was working correctly :| |
Quote:
DP had sent me an "updated" version awhile ago to try with vBSEO, but unfortunately it still didn't work, even on a stock vB (with vBSEO installed of course). |
ya I was talking about GF, and it was working correctly when I first installed it :(
Maybe the last vb/vbseo update broke it, but it would show ads in post #118 if your browser was looking at that particular post. |
Quote:
|
Damn. I mean. It's such a perfect peace of Mod. But useless for all of us which are using vbseo :(
|
Quote:
how to disable it in 3 style? i tried if (STYLEID!=14,16) but not work |
hi shawn,
how can i disable this addon on the private forums and private messages? because adsense bot couldn't access this pages. |
All times are GMT. The time now is 01:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|