![]() |
Quote:
|
hi. how do i see mine is posbit or legacy template?
thanks,:) |
legacy is where the user info is on the left of the post, in normal postbit the user info is on top of the post.
|
Quote:
|
hi starbug
here's is my site. Possible to guide me on how to go about changing the background color of the advert. Thanks |
The color code for the adsense Ads is in the Google Code itself:
Go to your Adsense Setup and create the Banner you want, there you'll find all the options for changing the colors. Replace the current code with the newly generated code and you are good to go. Ah, one more thing. You use a leaderbord Banner inside the Navigation, that is not a good choice. Put it below the navigation and inside the link unit like in my hack you seem to use. Much better results. To add a leaderboard banner below the navigation In the navbar Template search for: Code:
<!-- / PAGENAV POPUP --> Code:
<!-- 728x90 Leaderboard below navigation--> |
My question is probably a simple one; though I'm not really sure. I really think I'm just overlooking something, but can't find what it is I'm looking over.
I have tested this time and time again and can't get it to show how I want it. I want to do the after first post AND after the last post. I want it to show for everyone (members and guests alike). My problem is that I get it to show, but if I have a thread that only has one post showing on one page (let's say it has 31 posts in it, so on page 4 it only has one post) I get both boxes showing up when I only want it to show one. How could this condition be modified to where it will not show if there is only one post on the current page? I know it has if the thread only has one post, but what about one post on the current page? Code:
<if condition="THIS_SCRIPT == 'showthread' AND $post['islastshown'] and !$GLOBALS['vbulletin']->GPC['ajax'] AND $post[postcount]!=1"> |
You could add AND $post[postcount]!=31 at the end of the condition.
But this is not an elegant solution. I have no idea how to solve this issue because the page break depends on your settings. I think you should ask in the programmers forum here on vB.org, if someone knows a solution. |
thanks for the solution :D
but now i have another problem bec there's a space between the banner. Any idea on how to prevent the gap between the navbar and the advert? Thanks |
I would leave the break between the navbar and the banner, that is a much cleaner display.
However, if not, check in the navbar template above the search code, there must be a <br /> that you need to remove |
this works fine for 3.7.1 btw!
|
how do you get this to be set up for all guests and all members
https://vborg.vbsupport.ru/attachmen...9&d=1171197550 |
Change
Code:
<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID'] AND (!$show[member])"> Code:
<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID']"> |
good man, thanks
|
hey cool man
in bigger banner for guests can you tell me how can i fill the place on its right bcz what ever code i put next come in next line thanks |
use a table and put both codes each in a td ;)
|
Yeah it's great. I mean the code works... Hope he still does updates for the 3.8.0 although this version has adsense support itself.... didnt test it yet tho....
|
when i use:
Code:
<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID'] AND (!$show[member])" AND !in_array($forum[forumid], array(16,17,18,19)> Code:
The following error occurred when attempting to evaluate this template: |
Thanks ... Installed. But the Adsense is not showing for guests and members both any specific reason. I use Vbullitin integrated Adsense.
|
I am having trouble installing this mod. In my templates I cannot find
Code:
<if condition="$post['userid'] AND $show['member']"> |
All times are GMT. The time now is 01:34 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:
|