Translate
Sub Menu
Links Menu
Online Users

In total there are 141 users online :: 1 registered, 0 hidden and 140 guests

Most users ever online was 561 on Fri Mar 20, 2020 1:13 am

Registered users: Bing [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

EPN bbcode?

Any topics related to phpBB (non-IntegraMOD related)

Moderator: Integra Moderator

EPN bbcode?

PostAuthor: Blue-Blood » Thu Sep 02, 2010 9:31 pm

EPN = eBay Partner Network

I would like to make a EPN bbcode, the problem is you can't add php in the HTML replacement.

I have found this very simple EPN php script
http://www.thewebsiteprofessionals.com/twp-auctions/

Maybe it can be hard coded in bbcode.php.....
I don't really know php all that well.
I have read the learn php in 21 days...lol... didn't really help much!!
This is a little too complex for me...

If someone could take a look please.
if its difficult don't worry about it, but if its an easy edit please please help thanks....

BBCode usage
Code: Select all
[ebay]{INTTEXT}[/ebay]


HTML replacement
Code: Select all
<php>


The script instructions.
Code: Select all
 ##################################################TWP Auctions 3.0 [url=RC2http]RC2http://www.thewebsiteprofessionals.c ... onals.com#[/url]#################################################  Requires PHP5 and CURL.  If you're going to use the optional settings, be careful what you search for - you can easily end up with no results.Don't search for things like "pink shoes" from "ebay_car_seller" in the "books" category.    ##################################################INSTRUCTIONS##################################################  For Wordpress users, you will need to use the Exec-PHP plugin available from:http://www.bluesome.net/post/2005/08/18/50/  STEP 1.Upload twpauctions.php to the root directory of your website or Wordpress blog.  STEP 2.Copy and paste this into your php page or WordPress post.  <php>  You may need to alter the location of twpauctions.php in the last line if you're calling the script from another directory.e.g include "../../twpauctions.php";  ##################################################OPTIONAL SETTINGS##################################################  CUSTOM ID - $customidIf you don't know/care about EPN custom IDs, you can leave this blank.    DISPLAY - $displaySets the number of auction items to be displayed.    NEW WINDOW - $newwindowOpen the eBay links in a new window - use "1" to enable, otherwise leave blank.    CATEGORY - $categoryLimits the search to a specific category. If you leave the $category variable blank, it will search all categories.To get a specific category number, go to listings.ebay.com, tick the "Show category numbers" option, then click the Show button.    SELLER - $sellerLimits the search to a specific eBay seller.    COUNTRY - $countryLimits the search to a specific country.If you leave the $country variable blank, it will default to eBay US.  Australia : auAustria : atBelgium (Dutch) : benlBelgium (French) : befrCanada : caCanada (French) : cafrChina : cnFrance : frGermany : deHong Kong : hkIndia : inIreland : ieItaly : itMalaysia : myNetherlands : nlPhilippines: phPoland : plSingapore : sgSpain : esSweden : seSwitzerland : chTaiwan : twUK : ukUS : us

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Joined: Tue Jul 04, 2006 9:46 pm
Location: Louisville KY

Re: EPN bbcode?

PostAuthor: Helter » Thu Sep 02, 2010 10:18 pm

go to acp/General - Security Settings. Set "Allow php in templates:" to yes. Now you should be able to add the bbcode. be aware that allowing php in templates can be a security risk
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4126
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: EPN bbcode?

PostAuthor: Blue-Blood » Thu Sep 02, 2010 10:28 pm

Thanks for the suggestion, but it didn't work..

tried in advertisement mod and didn't work also.

any other ideals?

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Joined: Tue Jul 04, 2006 9:46 pm
Location: Louisville KY


Return to phpBB Related Topics

Who is online

Registered users: Bing [Bot]

cron