TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-05-2009, 06:52 PM   #1 (permalink)
The Contributor
 
Join Date: Feb 2007
Posts: 64
Thanks: 9
Killswitch is on a distinguished road
Default Can anyone help with this plugin system?

Hi guys, I am working on something and wanted to try and borrow code where I could. This project is just a personal use type thing, didn't wanna spend ages on it, so I figured that was a good route to take ;)

Anyways, I decided to borrow the plugin system from Joomla 1.0. I have it working with my own custom code, halfway. I have two plugins that just replace tags, and they do that fine... however... it prints the content twice.

The first printing of content will say replace google ads, like the first plugin should do. Then the next plugin prints the content replacing a simple {url} tag like it should do.

I am trying to get it to only print the conten item once and pass the results between plugins before I finally print the results, but not working correctly. I will attach the plugin class I am using and modified to work for my CMS.

I'm not looking for a solution, just a point in the right direction, or maybe if something doesn't quite look right.
Attached Files
File Type: php plugins.php (3.8 KB, 111 views)
Killswitch is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pagelite Pagination System ioan1k Show Off 3 01-29-2013 12:40 PM
Interactive plugin system Jonnee Advanced PHP Programming 3 02-22-2009 05:26 PM
Freelance Suite: Client & Project Management Software CLCook Show Off 2 09-14-2008 10:50 AM
PHP Remote Plugins System Clooth Advanced PHP Programming 1 04-24-2008 08:37 PM
Plugin System freenity Advanced PHP Programming 12 04-01-2008 08:15 PM


All times are GMT. The time now is 03:37 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design