 | |  | | | ReviewPost Suggestions Suggest ways to improve ReviewPost Pro. |
August 11th, 2012, 02:41 PM
|
#1 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
| Ads in reviews
Option to place ads in reviews Description
Allow to choose if ad is placed in one review, category or all categories
Allow ads to be placed in reviews/comments
Allow ads to be placed in ReviewPost index
__________________
Geiri
|
| |
August 11th, 2012, 04:50 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Good idea your referring to writing some banner ad manager program if I am following.
|
| |
August 11th, 2012, 08:52 PM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
I guess ..
I can see this for all your products
__________________
Geiri
|
| |
August 11th, 2012, 10:26 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
well at any rate a nice idea.
|
| |
August 19th, 2012, 07:21 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
I would suggest you upgrade to ReviewPost 6.0 I added in a new plugin manager where you can include your own blocks of code html or banner ads throughout various places in the application much like the vbulletin plugin manager. Should make upgrades very painless in the future since you do not need to edit our templates anymore to add non standard things.
|
| |
August 23rd, 2012, 01:55 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Oct 2011
Posts: 169
|
Can you explain how exactly this works, please?
For example, I have an Amazon vertical banner in my left sidebar in my vBulletin CMS widget. I copied and pasted it right from the Amazon page into the ad manager in vbulletin and it appears as expected.
I pasted the exact same code into the reviewpost plugin manager and selected a location (sidebar_middle) and it does not appear. Instead, I see the following error: Parse error: syntax error, unexpected '<' in /home/carmoms/public_html/reviewpost/index.php(330) : eval()'d code on line 1
Can only certain types of code go there or do I need to add code around the amazon code?
The odd thing is that this is the code I pasted into the plugin manager, exactly as it appears at the Amazon widget creator: Code: Content visible to verified customers only.
After I paste it and save it, if I go back to edit it, this is what appears: Code: Content visible to verified customers only.
Perhaps the script function is not permitted in the plugin or something?
|
| |
August 23rd, 2012, 02:15 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
We do not particularly allow script tags in our code as a security thing. Now we actually have a function called convert_html which does not strip bad tags. I made a change in adm-misc.php so it can use that instead of un_htmlspecialchars so you can redownload the build.
Anyway your talking about apples to oranges. Your talking the vb banner ad manager not plugin manager.
Our plugin manager allows you to create plugins html banner ads in the format we noted.
Here is a tutorial on exactly how to create a plugin. New Plugin System FAQ!!!
Based on the tutorial adding for example a banner ad in the header bottom you would do something like this Code: Content visible to verified customers only.
I offer no support on plugins as we only support our code this is the very reason I posted such a long tutorial
If you read the tutorial you should be able to make all the plugins you want. |
| |
August 23rd, 2012, 04:30 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Oct 2011
Posts: 169
|
Thanks for the link- I did a search and this thread turned up and somehow missed the FAQ. Are you saying that the new build might allow the script to work?
If not, I'll leave it as a feature request then. Both Amazon and Google Adsense use script in their banners. These are probably the two most popular ad networks and I'm sure others use script also. Some of the Amazon widgets use iframe and I could try those instead.
I really have no ability to create plugins, but it would be very nice to stick ad network banners and widgets in the reviews section.
|
| |
August 23rd, 2012, 04:53 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Look at your site lol the block works fine.
Yeah our update announcement has a link to the FAQ
Your thing works fine if done right. The plugin manager is php code in vb and same as ours.
You where talking about the banner manager in vb and trying to do things that way.
|
| |
August 23rd, 2012, 04:56 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Oct 2011
Posts: 169
|
Ah thank you for fixing it. Right, I was looking for the purpose being asked in this thread regarding advertising code, rather than the intended purpose of the plugin system. Still good to see that a simple change allows it to work for both, though. Thanks again!
|
| |
August 23rd, 2012, 04:58 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Yeah the plugin system allows one to enter banners html or full featured php code into various places in the application.
|
| |
August 23rd, 2012, 06:12 PM
|
#12 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
It would be nice to add plugin places in product description and User comments
__________________
Geiri
|
| |
August 23rd, 2012, 06:31 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Yep I will compile lists of additional places users want and when I have the next go around I will add more hook places but on average you can do this easily as noted in the plugin faq thread.
When creating a plugin choose the plugin location thats going to run on the script you want for instance any of the showproduct location fields.
When you do your plugin choose a look location and when formatting your html to print out just use say the format as an example.
$pphook['showphoto_below_desc'] .= "SOME HTML";
You then of course would need to edit your showproduct template and below the $desc variable add
$pphook[showproduct_below_desc]
it works the same way as vb does really. Users have been creating new hook locations a company does not support and define them that way.
As far as supported hook locations like I said I will look at the suggestions forum for hook suggestions when its that time to look at things again.
|
| |
October 14th, 2012, 09:28 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
There should be example ad example in the plugins forums.
Likewise there are threads here where I have asked for plugin ideas as well as possible new hook locations so any comments are appreciated.
|
| |
December 11th, 2012, 08:10 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Oct 2011
Posts: 169
|
I was trying to add a new plugin to my reviewpost section sidebar to add an Adsense banner. It didn't work, no big deal, I probably messed up something. The odd thing is that it also seems to have ruined the existing plugin that you helped create. I now get this error:
Parse error: syntax error, unexpected T_STRING in /home/carmoms/public_html/reviewpost/index.php(335) : eval()'d code on line 1
I removed the new plugin and the error persisted in the plugin that had been working.
I tried replacing the Amazon script with an Amazon iframe but that didn't help, either. Even if I substitute text for the script, it still results in the error now. Code: Content visible to verified customers only.
I did go through the FAQ and put in your test plugin html and that seems to work with text, but as soon as I add the Amazon script, Amazon iframe or adsense script, it results in the same error.
I don't think I changed the syntax anywhere. Is there some other setting that might have been affected by adding a new plugin?
Sorry to be a PITA today, just now finding time to try and finish up my website and get it rolling after a year lol.
|
| |
December 11th, 2012, 08:16 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Oct 2011
Posts: 169
|
Nevermind! I just happened upon a way to do this using the Custom PAL options! Works great!
|
| |
December 11th, 2012, 08:26 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
There is actually a sample adsense plugin in the reviewpost plugins forum but a custom pal works
|
| |
December 11th, 2012, 08:43 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Oct 2011
Posts: 169
|
I broke something- even that plugin vB4 version gives the same error. No worries though as the custom pal is working fine.
|
| |
December 11th, 2012, 09:05 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
yeah plugins must be done right bad coding will cause errors.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:53 AM. | |