View Full Version : Plugins are not showing
March 16th, 2013, 04:26 PM
I am trying to insert some google adsense codes in a couple different places, using the plugin feature. I have tried a couple of different plugin locations, I am not able to see them. Any thoughts?
March 16th, 2013, 04:56 PM
well it all depends what your doing. I really could not say without knowing what your doing.
Have you turned on the plugin system?
March 16th, 2013, 05:16 PM
I think I have, where do you turn the plugin system on at?
March 16th, 2013, 05:18 PM
I found where you turn it on at, and it was turned on. I adding a new plugin, in the show_cat under image location. In the code, I am pasting my adsense code, but nothing shows up.
March 16th, 2013, 06:06 PM
showcat under image there is no such location.
That could be your issue if your not doing plugins with correct locations.
March 16th, 2013, 06:21 PM
Sorry it was showproduct_below_image
March 16th, 2013, 06:38 PM
Well I tested it works.
You can see in showproduct.php is this
($hook = get_hook('showproduct_below_image')) ? eval($hook) : false;
That grabs the hooks on the individual areas.
Then in the template is this which prints the hook
what is the plugin code your using?
March 17th, 2013, 08:07 PM
I am trying to use the following pluging locationg showproduct_details_top. This is the code I am using. $pphook['showproduct_details_top'] .= "<div class='photoinfo' style='align:center; width:100%;'>
<table class='tableborders' border='0' cellpadding='1' cellspacing='1' width='100%' align='center'>
<td width='100%' align='center'>
<div style='font-size:10pt; text-align:left;'>Google Ads</div>
google_ad_client = "ca-pub-************";
/* Semo1 */
google_ad_slot = "5630884116";
google_ad_width = 468;
google_ad_height = 60;
Is this right? If so for whatever reason it is not showing up.
March 17th, 2013, 08:31 PM
I can tell you ads may take up to a day to display from google.
test 2 - Omegatron.net Classifieds (http://omegatron.net/classifieds/for-sale/p34-test-2.html)
The plugin system works check your page source you will see your source code there I would assume
Also your missing a < in front of script in your code so your code is invalid just a thought also. since you are not showing me your page I am just guessing
The issue is definately with whatever your doing not the program as my example shows.
March 17th, 2013, 08:55 PM
Here is a page it should be showing up on and I do not see it in the sorce code.
March 17th, 2013, 09:40 PM
You will have to send more info than that as I showed it does work.
Your template has the hook location
Your issue is your showproduct file or the code your using both of which would require admin login and ftp info to look at the file.
I already pointed out the script code you linked was wrong.
March 17th, 2013, 09:53 PM
I corrected the script code by adding the <
What should I be looking for in the showproduct template?
March 17th, 2013, 10:00 PM
Look at post 7 ;)
March 17th, 2013, 10:00 PM
do a test block on the location see if it displays. can you get any plugins to show?
March 17th, 2013, 10:07 PM
Will check it out now.
March 17th, 2013, 10:12 PM
I can get recent posts sidebar_top to show. It is a mod you made to show recent forum posts
March 17th, 2013, 10:32 PM
yeah I can only assume it has something to do with what your doing. I have shown you a plugin on showproduct_details_top try some other plugin on showproduct_details_top and check your showproduct.php file.
March 17th, 2013, 10:45 PM
Ok, I was able to get the plugins to work. I just cant get adsense to show up. Ill keep messing with it.
March 17th, 2013, 11:02 PM
I can only assume it has something to do with adsense.
March 18th, 2013, 08:50 AM
yeah the plugin system should work as my test shows. Like I did say google ads and stuff I know takes a little while to display but as long as you do the plugin right the code your using should show up in your page source.
Like I said I could not comment without seeing what your doing.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.