Fix Empty delimiter All in One SEO Pack Feature Requests Forum

The support forums have a new home! Please visit All in One SEO Pack's new residence at Semper Plugins to purchase a support plan.

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Fix Empty delimiter
October 9, 2009
9:52 am
bryanruiz0
New Member
Forum Posts: 1
Member Since:
October 9, 2009
Offline

If you could fix this in the next release, i wont have to keep updating your code every time you release!  I have fixed it for you, you just need to iupdate aioseop.class.php with this function.

Warning: stristr() [function.stristr]: Empty delimiter in H:\Documents and Settings\Bryan\My Documents\workspace\exploremark\www\blog\wp-content\plugins\all-in-one-seo-pack\aioseop.class.php on line 122

Warning: stristr() [function.stristr]: Empty delimiter in H:\Documents and Settings\Bryan\My Documents\workspace\exploremark\www\blog\wp-content\plugins\all-in-one-seo-pack\aioseop.class.php on line 122

Below is the fixed version of this function:

function aioseop_mrt_exclude_this_page(){
            global $aioseop_options;
            $currenturl = trim($_SERVER['REQUEST_URI'],'/');
    /*        echo "<br /><br />";
            echo $aioseop_options['aiosp_ex_pages'];
            echo "<br /><br />";
*/
        
            $excludedstuff = explode(',',$aioseop_options['aiosp_ex_pages']);
            foreach($excludedstuff as $exedd){
                //echo $exedd;
            $exedd = trim($exedd);
            if($exedd){
                if(stristr($currenturl, $exedd)){
                    return true;
                }
            }
        }
        return false;
    }

November 10, 2009
2:49 pm
hallsofmontezuma
Admin
Forum Posts: 202
Member Since:
June 8, 2009
Offline

You must be a subscriber to view administrator posts. Click here to purchase a support subscription.

For what shall it profit a man, if he shall gain the whole world, and lose his own soul?
Forum Timezone: America/New_York

Most Users Ever Online: 205

Currently Online:
57 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

romiojuliat: 102

yaoming987: 50

jintuy: 50

miki1986: 33

newshow: 28

karen1234: 27

Member Stats:

Guest Posters: 0

Members: 6356

Moderators: 3

Admins: 4

Forum Stats:

Groups: 5

Forums: 23

Topics: 1546

Posts: 3450

Newest Members: carofern@cisco.com, pronto, jessie, pbaylies, ninaeast, freda

Moderators: davecashmore (2), aaron (5), tempadmin (0)

Administrators: WordPress Professional (442), hallsofmontezuma (202), onefinejay (10), stevemortiboy (4)