dynamodan / wordpressigniter Goto Github PK
View Code? Open in Web Editor NEWA WordPress plugin that integrates CodeIgniter
License: GNU General Public License v2.0
A WordPress plugin that integrates CodeIgniter
License: GNU General Public License v2.0
On our WordPressIgniter site, we are having trouble sharing codeigniter generated pages on Facebook. The image, description, title, and url don't work. We have set the open graph tags, but because those pages throw a 404 error, facebook will not scrape them. We have these settings checked:
Trigger with [wordpressigniter] shortcode in posts, too.
Divert 404s to WordPressIgniter
CodeIgniter grabs all SEO urls (use with caution!!)
Use CodeIgniter's native index.php to generate constants (i.e. APPPATH, BASEPATH)
Without any of them, our codeigniter integration does not work. Our development site is password protected, but if you would like to start an email conversation, I could send you that information.
I am having trouble accessing the session variable I set in WordPress in Codeigniter. I am creating this functionality in my own plugin. Here is the code i am using:
function get_property_filters($atts) { global $wp_session; foreach ($atts as $key => $value) { if ($key == 'prop_type') { $wp_session['property_type'] = $value; } else { $wp_session['property_type'] = 'land'; } } return '<pre>'.print_r($wp_session).'</pre>'; } add_shortcode('property_filters', 'get_property_filters');
Does your plugin properly register the shortcode - add_shortcode()? I need the shortcode option to show up in a drop down in the editor. I already have a drop down displaying available shortcodes to insert into the page, but [wordpressigniter] does not show up.
Can you provide an example of how to set "$route['404_override']" so that WordPress pages will display when "CodeIgniter grabs all SEO urls" is checked in the plugin settings? Also, an example of the controller used in "$route['404_override']"?
Hi there,
is there any reason for WordpressIgniter preventing WP from sending an email after lost password form is sent?
It this sounds weird but if wpIgniter is active and the "lost password" form is sent with a registered user wrote in the field, the response is a blank page.... if wpIgniter is deactivated, the response is ok and the email is sent... if a not registered user ask for a lost password the response ia an alert... So,the issue seems to be related to sending the email.
apreciate any help
thanks
Hi there:
I have a project that has several forms and not all of them are shown to all the users, so I need to know if the user is logged-in and the kind of user so that a piece of code block is conditionally executed but I can't get anything from a lot of Wordpress vars and functions.
I have read all both open and closed issues and learned a lot but my experience is the same, as long as I keep working with CI stuff only no problems arises, then its time for me to use some of the most essential features of wordpress as user related functions and data structures and I can't get something decent from them, any suggestion?
The $CI_USER example is pretty good but if would work, it is not working for me, it always returns NULL and is_admin() always false and a lot of valuable functions I need CI says they're undefined, but, I have read here the possible cause related with the Wordpress load process and I understand that... Any idea or technique that could let me pick up some valuable info? not much that I need, only user-related info is mandatory for me now, it would be of great help.
Best regards and hoping you are having a nice day,
Sparker
Hi Dan,
I am getting this error when trying to view a test page that has the [wordpressigniter] shortcode
Warning: include(VIEWPATHerrors/html/error_php.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/wp-igniter/codeigniter/system/core/Exceptions.php on line 269
Warning: include(): Failed opening 'VIEWPATHerrors/html/error_php.php' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/wp-igniter/codeigniter/system/core/Exceptions.php on line 269
Warning: include(VIEWPATHerrors/html/error_php.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/wp-igniter/codeigniter/system/core/Exceptions.php on line 269
Warning: include(): Failed opening 'VIEWPATHerrors/html/error_php.php' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/wp-igniter/codeigniter/system/core/Exceptions.php on line 269
My App folder is wp-igniter
codeigniter folder is called codeigniter
path : wp-igniter/codeigniter
Any help on this is highly appreciated
thx
Hakim
Hi there, have done all the steps and now whats next?
I mean, how can I use best features from CI in WP , and vice-versa ?
For instance, how can I check in CI if a user is logged in WP?
sorry , if I'm making a stupid question...
thanks
Hi Dan
Is there a way to use wp functions inside inside CI Controller or CI View.
Thx
Hakim
De you have some more information regarding step 3 "Install this plugin to your WordPress instance on your web site, and activate it."?
I worked with CodeIgniter a few times before but i have no idea where to put the content from the wp-igniter folder
thanks in advance
Hi there
whats the trick to remove "WordPressIgnition!" title in the page known as Page Override ?
thanks
Hi Dan,
how to navigate through the pages of a CI system?
I mean, how to control if its a WP URL or a CI URL?
thanks again
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.