PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Suggestions

ReviewPost Suggestions Suggest ways to improve ReviewPost Pro.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 11th, 2012, 02:41 PM   #1 (permalink)
Senior Member
Verified Customer
 
Geiri's Avatar
 
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
Geiri is offline   Reply With Quote
Old August 11th, 2012, 04:50 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Good idea your referring to writing some banner ad manager program if I am following.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 11th, 2012, 08:52 PM   #3 (permalink)
Senior Member
Verified Customer
 
Geiri's Avatar
 
Join Date: Nov 2002
Location: Reykjavik, Iceland
Posts: 724
I guess ..

I can see this for all your products
__________________
Geiri
Geiri is offline   Reply With Quote
Old August 11th, 2012, 10:26 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
well at any rate a nice idea.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 19th, 2012, 07:21 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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?
carsafety is offline   Reply With Quote
Old August 23rd, 2012, 02:15 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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.
carsafety is offline   Reply With Quote
Old August 23rd, 2012, 04:53 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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!
carsafety is offline   Reply With Quote
Old August 23rd, 2012, 04:58 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Yeah the plugin system allows one to enter banners html or full featured php code into various places in the application.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 23rd, 2012, 06:12 PM   #12 (permalink)
Senior Member
Verified Customer
 
Geiri's Avatar
 
Join Date: Nov 2002
Location: Reykjavik, Iceland
Posts: 724
It would be nice to add plugin places in product description and User comments
__________________
Geiri
Geiri is offline   Reply With Quote
Old August 23rd, 2012, 06:31 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 14th, 2012, 09:28 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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.
carsafety is offline   Reply With Quote
Old 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!
carsafety is offline   Reply With Quote
Old December 11th, 2012, 08:26 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
There is actually a sample adsense plugin in the reviewpost plugins forum but a custom pal works
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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.
carsafety is offline   Reply With Quote
Old December 11th, 2012, 09:05 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
yeah plugins must be done right bad coding will cause errors.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Search Reviews" returns all products, not just reviews Zigw ReviewPost Bug Reports 17 December 27th, 2011 06:31 PM
Include a product name in the 'recent reviews' section on /reviews/index.php criscokid ReviewPost Suggestions 1 July 27th, 2007 11:41 PM
edit recent reviews and random reviews ski-whiz ReviewPost How do I...? 13 July 25th, 2007 01:47 PM
RP3.31 Unapproved reviews appearing in 'Recent Reviews' block on /index.php criscokid ReviewPost Bug Reports 2 August 13th, 2006 01:06 PM


All times are GMT -5. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0