![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
How to show ads in first post at the end of message?
Hello,
I am trying to show ads in my first post at the end of the message just above the signature but It's not working . I am trying this : ![]() Code using :
No members have liked this post.
|
|
#2
|
||||
|
||||
|
are you trying to show in certain forums and to certain user-groups? or you want to show for all? members and guests?
EDIT: ahh, sorry, should have looked at your code closer... after messing around with this code, i found that this code works fine for me:
i added my code in postbit_legacy under: $template_hook[postbit_signature_start] $ad_location[ad_showthread_firstpost_sig] MY CODE I tested forum ID 9 and userinfo ID 6 and i could not see the add. So i guess, if you do not want to show the ads to user groups and in certain forums, place the IDs in where you do NOT want the show ads. P.S. If you dont want the ad Centered, remove the <center></center> tags. Let me know how you go mate. cheers. No members have liked this post.
Last edited by ShawneyJ : 22 Jul 2012 at 13:28. |
||||
|
#3
|
||||
|
||||
|
Originally Posted by jaycob
Thank you for the above code. I am going to try but one thing I would like to know. Should I have to add the code in both $template_hook[postbit_signature_start] $ad_location[ad_showthread_firstpost_sig] Or just edit Postbit legacy and add the code under $template_hook[postbit_signature_start] No members have liked this post.
|
||||
|
#4
|
||||
|
||||
|
once only...under $ad_location[ad_showthread_firstpost_sig]. if you do not have that then under $template_hook[postbit_signature_start].
Long as your code is directly above: <if condition="$post['signature']"> Postbit legacy Example: $template_hook[postbit_signature_start] $ad_location[ad_showthread_firstpost_sig] YOUR CODE <if condition="$post['signature']"> No members have liked this post.
|
|
#5
|
|||
|
|||
|
Hi
I tried in $ad_location[ad_showthread_firstpost_sig]. It didn't show . I also tried with $template_hook[postbit_signature_start] It either didn't showed. For some reason It's not appearing HERE is the code for postbit legacy that I am trying
No members have liked this post.
|
|
#6
|
||||
|
||||
|
mate pm me, i can take a look for you. maybe the style is different set up than default. not sure why you need this part: <if condition="$post['signature'] AND !in_array($thread['forumid'],array(13,14,15,))">.
No members have liked this post.
|
|
#7
|
|||
|
|||
|
Yes you are right, Style is different then default.
No members have liked this post.
|
|
#8
|
||||
|
||||
|
hi feel free to pm mate. if not, i would try changing
<if condition="$post['signature'] AND !in_array($thread['forumid'],array(13,14,15,))"> to this. <if condition="$post['signature']"> i'd still love to have a look, but thats up to you. cheers. p.s maybe post in your whole post bit or pm it. No members have liked this post.
Last edited by ShawneyJ : 23 Jul 2012 at 03:43. |
![]() |
«
Previous Thread
|
Next Thread
»
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Show ads for last post on page only when there are more than X replies | tpearl5 | vBulletin 4.x Template Modifications | 1 | 14 Jul 2012 23:46 |
| Show Google Adsense / Adbrite Ads After X charaters in First Post | Neutral Singh | vBulletin 3.8 Add-ons | 1 | 09 Jan 2011 04:22 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 10:09.





