Forum Replies Created

Viewing 15 replies - 1 through 15 (of 125 total)
  • Forum: Plugins
    In reply to: photos page
    Thread Starter thaking

    (@thaking)

    shocked no one uses a photo album with WP…

    Forum: Plugins
    In reply to: photos page
    Thread Starter thaking

    (@thaking)

    bumpity…anyone use a photo album plugin that they’d like to suggest?

    Forum: Fixing WordPress
    In reply to: mod-rewrite error
    Thread Starter thaking

    (@thaking)

    no one knows anything about mod-rewrites?

    Forum: Fixing WordPress
    In reply to: mod-rewrite error
    Thread Starter thaking

    (@thaking)

    here’s my htaccess file:

    # BEGIN FGALLERY
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$   /wp-content/plugins/fgallery/fim_photos.php?$1=$2&$3=$4 [QSA,L]
    </IfModule>
    # END FGALLERY
    # BEGIN FGALLERY
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^photos/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$   /wp-content/plugins/fgallery/fim_photos.php?$1=$2&$3=$4 [QSA,L]
    </IfModule>
    # END FGALLERY
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Forum: Fixing WordPress
    In reply to: mod-rewrite error
    Thread Starter thaking

    (@thaking)

    ok, here’s what i’ve found in the code for the gallery….hopefully someone can help figure out what i need to do:

    function fim_rewrite_rule()
    {
        // Complete url
        $url = get_bloginfo('wpurl');
        $urlparts = parse_url($url);
    	$base = get_option('fim_baseurl');
    	$rewrite = "# BEGIN FGALLERY\n<IfModule mod_rewrite.c>\nRewriteEngine On\nRewriteRule ^$base/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$   $urlparts[path]/wp-content/plugins/fgallery/fim_photos.php?$1=$2&$3=$4 [QSA,L]\n</IfModule>\n# END FGALLERY\n";
    
    	return $rewrite;
    }
    if(isset($_POST['rewrite']))
    {
    	$url = $_POST['baseurl'];
    	$url = strtolower($url);
    	$url = str_replace(" ", "_", $url);
    	update_option('fim_baseurl', $url);
    	$file = "../.htaccess";
    
    	if(is_writable($file))
    	{
    		$content = file_get_contents ($file);
    		$content = preg_replace("/(# BEGIN FGALLERY)(\n+.*)*(# END FGALLERY)\n/", "", $content);
    
    		$content = fim_rewrite_rule().$content;
    		$f = fopen("../.htaccess", "w");
    		fwrite($f, $content);
    		fclose($f);
    		//echo "<pre>$content</pre>";
    		echo "<div class='updated fade' id='message'><p>".__('Mod ReWrite rules successfully updated', 'fgallery').".</p></div>";
    
    	}
    	else
    	{
    		?><div class="wrap">
    		<h2><?php _e("Add ReWrite rules", 'fgallery');?></h2>
    		<?php _e(".htaccess is not writable so you have to add add the following manually", 'fgallery');
    		echo "<p>".__('This should be at the TOP of your .htacces file before the WordPress rules', 'fgallery').".</p>";?>
    		<textarea cols="100" rows="5" wrap="off"><?php echo fim_rewrite_rule(); ?></textarea></div><?php
    	}
    
    }

    do i need to look at my htaccess file and correct something there?

    Forum: Fixing WordPress
    In reply to: mod-rewrite error
    Thread Starter thaking

    (@thaking)

    looking at the database, in the options table, there is an option for “page” and an option for “baseurl”…these specifically relate to fGallery…would one of those have affected it? i assumed since i can’t get to the site at all, that it wouldn’t have to do with the options of fGallery, but wordpress…

    Thread Starter thaking

    (@thaking)

    it’s fixed and i can’t tell you why…like i said, i was using the Default theme..so i selected classic and it updated the “Current Theme” info…and i looked in my list of available themes and there was my subtitle theme…i selected it and all is well…

    i have no idea why it was not showing up, or why it all of a sudden decided to show up…thanks for sticking with me and throwing out suggestions…much appreciated!

    Thread Starter thaking

    (@thaking)

    doesn’t appear to be cache…i use Firefox solely, so i tried going to IE and change it, and again the theme was not listed there either…

    Thread Starter thaking

    (@thaking)

    nope…directories were /themes/new_theme and /themes/subtitle

    i uploaded the files again thinking it may have been corrupted somehow…it is telling me i’m using the theme but i’m not, so something was screwed up…that’s the only reason i loaded the files again….

    Thread Starter thaking

    (@thaking)

    ok, i think the css wasn’t loaded properly…i’ve loaded the site again and it appears like it was supposed to…however, i’m still having issues with the theme not showing up…

    Thread Starter thaking

    (@thaking)

    nope, it was different…for testing this theme i called it new_theme and not subtitle…and the description was completely different…i can get the new_theme to show up, even now…i can add/remove it many times…but every time i try to load my old theme via ftp, the files go over and they are listed in the edit menu…but not in the selection menu….

    Thread Starter thaking

    (@thaking)

    i’ve repeated these steps (it completely changed my dashboard) and i am having issues with my theme now..it’s not listed in my themes list as an option to load…the files are there, i can select to edit them, but it’s not an option to load…i have to use the default theme…plus, even though i have the default loaded it is telling me that my current theme is the one that is missing…it says:
    Subtitle 1.0 by me
    subtitle theme
    All of this theme’s files are located in wp-content/themes/subtitle

    when i say my dashboard is different here’s what i have now (it doesn’t look as pretty)
    Dashboard
    Write Manage Design Comments Fgallery
    Settings
    Plugins
    Users

    it looks just like that…a bulleted Dashboard with an line of other links (Write, Manage, etc) with a bulleted list of Settings, Plugins, and Users right below it…

    suggestions?

    Thread Starter thaking

    (@thaking)

    this is not a new theme..this is an old theme i’ve used for a long time…tried changing themes and going back (in all of about 2 mins) and it is no longer listed….

    Thread Starter thaking

    (@thaking)

    no matter which theme i select it says i’m using the subtitle theme…but i’m not…i want to, but it’s not listed…

    Thread Starter thaking

    (@thaking)

    on the main theme page (Presentation>Theme) it says:
    subtitle 1.0 by me
    subtitle theme
    All of this theme’s files are located in wp-content/themes/subtitle.

    however, this is the theme i wanna use but it’s not available..i’m actually using the default theme and not the subtitle theme i used for the previous 2 years…

Viewing 15 replies - 1 through 15 (of 125 total)