Giter Site home page Giter Site logo

wordpressigniter's People

Contributors

dynamodan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wordpressigniter's Issues

Facebook Share Issue

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.

Access WP session variable in CI

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');

Register Shortcode

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.

Provide an example of routes file

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']"?

is possibel wpigniter preventing wp to send a lost password message?

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

$CI_USER always returns NULL and is_admin() function always returns false :(

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

Does this Plugin work with CI version 3.0

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

management session

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

Question about the installation.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.