Attaching pics- problem?
#21
vbseo_check_url('VBSEO_URL_THREAD_PRINT_PAGENUM', $vbseo_url_)) || ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_PRINT', $vbseo_url_))) { vbseo_set_self('printthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $vbseo_arr['thread_id'] . (isset($vbseo_arr['thread_page'])?'&' . VBSEO_PAGENUM_URI . '=' . $vbseo_arr['thread_page']:'')); $vbseo_found_fn = 'printthread.' . VBSEO_VB_EXT; $vbseo_found = true; } else if (VBSEO_REWRITE_THREADS && !VBSEO_VB4 && VBSEO_ENABLE_GARS && ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_GARS_PAGENUM', $vbseo_url_)) ) { vbseo_set_self('showthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $vbseo_arr['thread_id'] . (isset($vbseo_arr['thread_page'])?'&' . VBSEO_PAGENUM_URI_GARS . '=' . $vbseo_arr['thread_page']:'')); $vbseo_found_fn = 'showthread.' . VBSEO_VB_EXT; $vbseo_found = true; } else if (VBSEO_REWRITE_THREADS && (($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_PAGENUM', $vbseo_url_)) || ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD', $vbseo_url_)) )) { if($hlpar = vbseo_check_highlight(1)) { vbseo_safe_redirect($vbseo_url_, array($hlpar)); } vbseo_check_highlight(2); if(!$vbseo_arr['thread_id']) { if(!$vbseo_arr['forum_id']) $vbseo_arr['forum_id'] = vbseo_reverse_forumtitle($vbseo_arr); $vbseo_arr['thread_id'] = vbseo_reverse_object('thread', $vbseo_arr['thread_title'], $vbseo_arr['forum_id']); } vbseo_set_self('showthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $vbseo_arr['thread_id'] . (isset($vbseo_arr['thread_page'])?'&' . VBSEO_PAGENUM_URI . '=' . $vbseo_arr['thread_page']:'')); $vbseo_found_fn = 'showthread.' . VBSEO_VB_EXT; $vbseo_found = true; } if (!$vbseo_found && !$vbseo_url_suggest) { if ((VBSEO_REWRITE_FORUM || VBSEO_REWRITE_ANNOUNCEMENT) && ( ($vbseo_arr = $vbseo_arra = vbseo_check_url('VBSEO_URL_FORUM_ANNOUNCEMENT', $vbseo_url_)) || ($vbseo_arr = $vbseo_arra2 = vbseo_check_url('VBSEO_URL_FORUM_ANNOUNCEMENT_ALL' , $vbseo_url_)) || ($vbseo_arr = vbseo_check_url('VBSEO_URL_FORUM_PAGENUM', $vbseo_url_)) || ($vbseo_arr = vbseo_check_url('VBSEO_URL_FORUM', $vbseo_url_)) ) ) { if (!isset($vbseo_arr['forum_page'])) $vbseo_arr['forum_page'] = 1; if (!isset($vbseo_arr['forum_id']) && ( isset($vbseo_arr['forum_path']) || isset($vbseo_arr['forum_title']) ) ) { $vbseo_arr['forum_id'] = vbseo_reverse_forumtitle($vbseo_arr); } if ($vbseo_url_suggest) { if (!$vbseo_arr['forum_id']) $vbseo_url_suggest = ''; } else if (isset($vbseo_arr['forum_id'])) { vbseo_set_self('forumdisplay.' . VBSEO_VB_EXT . '?' . VBSEO_FORUMID_URI . '=' . $vbseo_arr['forum_id'] . ($vbseo_arr['forum_page'] > 1 ? '&' . VBSEO_PAGENUM_URI . '=' . $vbseo_arr['forum_page'] : '')); $vbseo_found_fn = 'forumdisplay.' . VBSEO_VB_EXT; $vbseo_found = true; if (($vbseo_arra || $vbseo_arra2)) { if ($vbseo_arra) { vbseo_prepare_seo_replace(); vbseo_get_forum_info(); $fa_ann = vbseo_get_forum_announcement($vbseo_arr['forum_id']); $a_ann = $fa_ann['announcement']; if (!$vbseo_arr['announcement_id'] && $a_ann) while (list($aid, $announce) = each($a_ann)) { if (preg_replace(array_keys($seo_replace_inurls), $seo_replace_inurls, vbseo_filter_text($announce) ) == $vbseo_arr['announcement_title']) { $vbseo_arr['announcement_id'] = $aid; break; } } } $vbseo_url_ = 'announcement.' . VBSEO_VB_EXT . '?' . VBSEO_FORUMID_URI . '=' . $vbseo_arr['forum_id'] . '&announcementid=' . $vbseo_arr['announcement_id']; vbseo_set_self($vbseo_url_); $vbseo_found_fn = 'announcement.' . VBSEO_VB_EXT; $vbseo_found = true; } } } } } } if ((isset($_POST[($vbseo_postpar = 'mergethreadurl')]) && $murl_dyn = $_POST[$vbseo_postpar]) || (isset($_POST[($vbseo_postpar = 'dealurl')]) && $murl_dyn = $_POST[$vbseo_postpar]) ) { $murl = $murl_dyn; vbseo_get_options(); $purl = @parse_url($murl); $murl = urldecode(substr($purl['path'], strlen(VBSEO_TOPREL))); if ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_GOTOPOST', $murl)) { $murl_dyn = 'showthread.' . VBSEO_VB_EXT . '?p=' . $vbseo_arr['post_id']; } else if (($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_PAGENUM', $murl)) || ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD', $murl))) { $murl_dyn = 'showthread.' . VBSEO_VB_EXT . '?t=' . $vbseo_arr['thread_id']; } if (!strstr($murl_dyn, ':')) $murl_dyn = $vboptions['bburl2'] . '/' . $murl_dyn; $_POST[$vbseo_postpar] = $_REQUEST[$vbseo_postpar] = $murl_dyn; } if (isset($_POST['usercss'])) { vbseo_get_options(); foreach($_POST['usercss'] as $cssind=>$csspart) foreach($csspart as $name=>$imgurl) if(strstr($name,'_image')) { $purl = @parse_url($imgurl); $murl = urldecode(substr($purl['path'], strlen(VBSEO_TOPREL))); $_am2 = ''; if ($murl && $vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBER_PICTURE_IMG', $murl) ) { if (empty($vbseo_arr['user_id']) && isset($vbseo_arr['user_name'])) $vbseo_arr['user_id'] = vbseo_reverse_username($vbseo_arr['user_name']); if (empty($vbseo_arr['album_id']) && isset($vbseo_arr['album_title'])) $vbseo_arr['album_id'] = vbseo_reverse_object('album', $vbseo_arr['album_title'], $vbseo_arr['user_id']); $_POST['usercss'][$cssind][$name] = $vboptions['bburl2'] . '/' . VBSEO_PIC_SCRIPT . '.' . VBSEO_VB_EXT . '?albumid='.$vbseo_arr['album_id'].'&'.VBSEO_PICID_URI.'=' . $vbseo_arr['picture_id']; } } } if (isset($_POST[($vbseo_postpar = 'pictureurls')]) && $murl_dyn = $_POST[$vbseo_postpar]) { $amurl = preg_split('#[\r\n]+#',$murl_dyn); vbseo_get_options(); $_ischg = false; $amurl2 = array(); foreach($amurl as $_am) { $purl = @parse_url($_am); $murl = urldecode(substr($purl['path'], strlen(VBSEO_TOPREL))); $_am2 = ''; if ($vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBER_PICTURE', $murl)) { $_am2 = 'album.' . VBSEO_VB_EXT . '?'.VBSEO_PICID_URI.'=' . $vbseo_arr['picture_id']; } else if ($vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBER_PICTURE_PAGE', $murl)) { $_am2 = 'album.' . VBSEO_VB_EXT . '?'.VBSEO_PICID_URI.'=' . $vbseo_arr['picture_id']; } else if ($vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBER_PICTURE_IMG', $murl)) { $_am2 = 'album.' . VBSEO_VB_EXT . '?'.VBSEO_PICID_URI.'=' . $vbseo_arr['picture_id']; } if ($_am2) { $_am = $vboptions['bburl2'] . '/' . $_am2; $_ischg = true; } $amurl2[] = $_am; } if($_ischg) $_POST[$vbseo_postpar] = $_REQUEST[$vbseo_postpar] = implode("\n", $amurl2); } } $vbseo_found_1 = $vbseo_found; if (!$vbseo_found && !$vbseo_file_exists && VBSEO_REDIRURL) { list($vbseo_url_, $vbseo_url_par) = explode('?', VBSEO_REDIRURL); $vbseo_url_ = urldecode($vbseo_url_); if(vbseo_security_check($vbseo_url_)) vbseo_404(); $vbseo_file_exists = file_exists($vbseo_url_) && ($vbseo_url_[strlen($vbseo_url_)-1] != '/'); if($vbseo_file_exists) { $vbseo_found_fn = $vbseo_url_; $vbseo_found = true; } } if (!$vbseo_found) { $vbseo_found_fn = VBSEO_BASEURL; if (@is_dir($vbseo_url_) || !$vbseo_url_) { $vbseo_url_ .= 'index.' . VBSEO_VB_EXT; $vbseo_found_fn = 'index.' . VBSEO_VB_EXT; } $vbseo_root = dirname($vbseo_url_); $vbseo_file = $vbseo_found_fn; if ($vbseo_file == '') $vbseo_file = 'index.' . VBSEO_VB_EXT; if (@is_file($vbseo_url_) && (!$vbseo_root || ($vbseo_root == '.') || @is_dir($vbseo_root) || @is_dir($vbseo_root2))) { if ($vbseo_root && @is_dir($vbseo_root)) @vbseo_chdir($vbseo_root); vbseo_set_self($_SERVER['REQUEST_URI']); $vbseo_found = true; } else { $vbseo_root = dirname($vbseo_url_); $vbseo_root2 = basename($vbseo_root); if
#22
(file_exists($vbseo_found_fn) || file_exists($vbseo_root2 . '/' . $vbseo_found_fn)) { if (!file_exists($vbseo_found_fn)) { @vbseo_chdir($vbseo_root2); $vbseo_found_fn = $vbseo_root2 . '/' . $vbseo_found_fn; } $vbseo_purl = @parse_url($_SERVER['REQUEST_URI']); if ($_POST) { $vbseo_found = true; } else { vbseo_safe_redirect($vbseo_found_fn . ($vbseo_purl['query'] ? '?' . $vbseo_purl['query'] : ''), array(), true); } } } } if ($vbseo_found_1 && !$vbseo_relpath) define('VBSEO_PREPROCESSED', 1); if ($vbseo_found_fn == 'external.' . VBSEO_VB_EXT || $vbseo_found_fn == 'blog_external.' . VBSEO_VB_EXT || ($vbseo_found_fn == 'ajax.' . VBSEO_VB_EXT && ($_REQUEST['do'] == 'rss')) ) { $GLOBALS['VBSEO_REWRITE_TEXTURLS'] = 1; define('VBSEO_REWRITE_EXTERNAL', 1); ob_start("vbseo_output_handler"); define('VBSEO_AJAX', 1); require ($vbseo_found_fn); if (!defined('VBSEO_PROCESS')) { $output = ob_get_contents(); ob_clean(); $output = make_crawlable($output); echo $output; } exit(); } if ($_GET['vbseoembedd'] && $vbseo_found_fn && preg_match('#\.php$#', $vbseo_found_fn)) { ob_start("vbseo_output_handler"); require ($vbseo_found_fn); ob_flush(); if (!defined('VBSEO_PROCESS')) { $output = ob_get_contents(); ob_clean(); $output = make_crawlable($output); echo $output; } exit(); } if(!defined('VBSEO_PROCESS')) if (($vbseo_found_fn == 'ajax.' . VBSEO_VB_EXT) || (isset($_POST) && (isset($_POST['ajax']) || ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest')) && preg_match('#(newreply|profile|editpost|showpost|b log_post|blog_ajax|blog_tag|threadtag|group|attach ment|visitormessage|picturecomment)\.php$#', $vbseo_found_fn)) ) { define('VBSEO_AJAX', 1); if(vbseo_vbversion() < '3.8') ob_start("vbseo_output_handler"); require ($vbseo_found_fn); if (!defined('VBSEO_OUTHANDLER')) { $output = ob_get_contents(); ob_clean(); vbseo_get_options(); $output = vbseo_output_handler($output, false); echo $output; } exit(); } if (!$vbseo_found) { if ($vbseo_url_suggest) { vbseo_safe_redirect($vbseo_relpath . $vbseo_url_suggest); } if (VBSEO_404_HANDLE == 2) { $vbseo_incf = VBSEO_404_CUSTOM; if ($vbseo_incf[0] != '/') $vbseo_incf = dirname(__FILE__) . '/' . $vbseo_incf; include($vbseo_incf); exit; } else vbseo_404_routine($vbseo_url_); } else { if (preg_match('#\.(css|php\d?/?|p?html?|txt)$#', $vbseo_found_fn, $typematch) && !strstr($vbseo_found_fn, '://')) { if ($typematch[1] == 'css') header ('Content-type: text/css'); if (preg_match('#^(.+)/([^/]+)$#', $vbseo_found_fn, $vbseo_m)) { @vbseo_chdir($vbseo_m[1]); $vbseo_found_fn = $vbseo_m[2]; } if (($vbseo_found_fn == 'showthread.' . VBSEO_VB_EXT) && isset($_POST) && isset($_POST['excerpt']) && VBSEO_IN_TRACKBACK) { @define('THIS_SCRIPT', 'showthread'); include dirname(__FILE__) . '/global.' . VBSEO_VB_EXT; vbseo_extra_inc('linkback'); vbseo_trackback_proc(); } $_vfname = getcwd() . '/' . $vbseo_found_fn; if(substr($typematch[1],0,2) == 'ph') { require($_vfname); }else { echo file_get_contents($_vfname); } exit(); } else { vbseo_404(); } } vbseo_close_db(); exit(); ?>
#24
PAGE SOURCE::::::::::
<?php
/************************************************** **********************************
* vBSEO 3.5.2 for vBulletin v3.x & v4.x by Crawlability, Inc. *
* *
* Copyright � 2010, Crawlability, Inc. All rights reserved. *
* You may not redistribute this file or its derivatives without written permission. *
* *
* Sales Email: sales@crawlability.com *
* *
*----------------------------vBSEO IS NOT FREE SOFTWARE-----------------------------*
* http://www.crawlability.com/vbseo/license/ *
************************************************** **********************************/
if(substr($_SERVER['HTTP_HOST'],0,2) == "m.") {
define("VBSEO_ENABLED",0);
}
if(strpos($_SERVER['SCRIPT_NAME'], 'dealer_listings.php') !== false ) {
define("VBSEO_ENABLED",0);
}
error_reporting(0);
include_once(dirname(__FILE__).'/vbseo/includes/functions_vbseo.php');
include_once(vBSEO_Storage::path('vbinc') . '/' . VBSEO_VB_CONFIG);
vbseo_requested_url();
$vbseo_fullurl = VBSEO_TOPREL . $vbseo_url_;
$vbseo_url_suggest = '';
switch ($vbseo_url_)
{
case 'vbseo.php':
exit;
break;
case 'vbseo_sitemap.php':
case 'vbseocp.php':
case 'cron.php':
case 'cron.html':
include $vbseo_url_;
exit;
break;
}
if (VBSEO_IN_PINGBACK && ($vbseo_url_ == 'vbseo-xmlrpc/'))
{
if (!defined('THIS_SCRIPT'))
@define('THIS_SCRIPT', 'newreply');
include dirname(__FILE__) . '/global.' . VBSEO_VB_EXT;
vbseo_extra_inc('linkback');
vbseo_xmlrpc_proc();
exit;
}
if (VBSEO_REDIRECT_PRIV_EXTERNAL && ($vbseo_url_ == VBSEO_REDIRECT_URI))
{
$uredir = $_GET['redirect'];
$uredir = preg_replace('#&(?![a-z0-9\#]+#si', '&', $uredir);
$uredir = str_replace('"', '"', $uredir);
if (preg_match('#^https?:\/\/#', $uredir) && !preg_match('#["<>]#', $uredir))
{
echo '<html><head><meta http-equiv="refresh" content="0;url=' . $uredir . '"></head><body></body></html>';
exit;
}
}
global $vbseo_gcache, $found_object_ids;
if (VBSEO_RELPATH)
vbseo_chdir($vbseo_relpath);
if (vbseo_security_check($vbseo_url_))
vbseo_404();
$vbseo_file_exists = (file_exists($vbseo_url_)
|| (file_exists(basename($vbseo_url_)) && strstr($vbseo_url_, '.' . VBSEO_VB_EXT)))
&& ($vbseo_url_[strlen($vbseo_url_)-1] != '/');
$vbseo_file_exists_deep = file_exists($vbseo_url_) && strstr($vbseo_url_, '/');
$vbseo_found = false;
define('VBSEO_PREPROC', 1);
$vbseo_proc = VBSEO_ENABLED && !defined('VBSEO_UNREG_EXPIRED');
if ($vbseo_proc)
{
preg_match('#^(.+?)(_(?:ltr|rtl)?)(\.gif)$#', $vbseo_url_, $ticom);
$vbseo_url_i = $ticom[1] . $ticom[3];
if (!$vbseo_url_i) $vbseo_url_i = $vbseo_url_;
if (VBSEO_REWRITE_TREE_ICON &&
($gifpos = strpos($vbseo_url_, '.gif')) &&
(substr($vbseo_url_, 0, strlen(VBSEO_ICON_PREFIX)) == VBSEO_ICON_PREFIX) &&
((vbseo_check_url('VBSEO_URL_THREAD_TREE_ICON', substr($vbseo_url_i, strlen(VBSEO_ICON_PREFIX), $gifpos + 4), true)) ||
(vbseo_check_url('VBSEO_URL_FORUM_TREE_ICON', substr($vbseo_url_i, strlen(VBSEO_ICON_PREFIX), $gifpos + 4), true))
)
)
{
if ($vbseo_file_exists)
$vbseo_f = $vbseo_url_;
else
$vbseo_f = str_replace('.gif', $ticom[2] . '.gif', VBSEO_TREE_ICON);
$ifile = @fopen($vbseo_f, 'r');
$image_content = @fread($ifile, filesize($vbseo_f));
@fclose($ifile);
header ('Content-type: image/gif');
header ('Content-Length: ' . strlen($image_content));
echo $image_content;
exit();
}
else
if (VBSEO_CHECK_WWWDOMAIN && !strstr($_SERVER['HTTP_HOST'], 'www.') && !strstr($_SERVER['HTTP_HOST'], 'localhost'))
{
vbseo_get_options();
if (strstr($vboptions['bburl'], 'www.'))
{
vbseo_safe_redirect($vboptions['bburl'] . '/' . $vbseo_requrl);
}
}
$vbseo_is_arc = (
preg_match('#^(' . preg_quote(VBSEO_ARCHIVE_ROOT, '#') . '(?:index\.' . VBSEO_VB_EXT . '[/\?]?)?)((\w+\.'.VBSEO_VB_EXT.'.)?[^/]*)/?$#', '/' . $vbseo_requrl . '/', $arcm) ||
preg_match('#^(/archive/(?:index\.' . VBSEO_VB_EXT . '[/\?]?)?)(.*)#', '/' . $vbseo_requrl, $arcm));
$vbseo_move_tohp = ($hp_list = VBSEO_HOMEPAGE_ALIASES) &&
preg_match('#^(' . str_replace('\|', '|', preg_quote($hp_list, '#')) . ')$#', $vbseo_requrl);
if ($vbseo_move_tohp)
{
vbseo_get_options();
if (VBSEO_HOMEPAGE != $vbseo_requrl)
vbseo_safe_redirect(VBSEO_HOMEPAGE);
}
else
if ($vbseo_is_arc)
{
preg_match('#t-(\d+)(?:-p-(\d+))?#', $arcm[2], $tidm);
$thread_id = $tidm[1];
$page = $tidm[2] ? $tidm[2] : 1;
if ($thread_id && VBSEO_REDIRECT_ARCHIVE)
vbseo_get_options();
global $bbuserinfo;
if ($thread_id && VBSEO_REDIRECT_ARCHIVE && !$_COOKIE[vbseo_vb_cprefix() . 'pda'])
{
vbseo_prepare_seo_replace();
vbseo_get_forum_info();
$threadids = array($thread_id);
vbseo_get_thread_info($threadids);
$vbseo_url_ = (VBSEO_REWRITE_THREADS ? vbseo_thread_url($thread_id, $page) : 'showthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $thread_id);
vbseo_safe_redirect($vbseo_url_);
}
else
if (preg_match('#\.css$#', $vbseo_requrl))
{
$vbseo_url_ = $vbseo_found_fn = 'archive/' . $arcm[2];
$vbseo_found = $vbseo_file_exists = true;
}
else
if ($arcm[1] != VBSEO_ARCHIVE_ROOT || !strstr('/' . $vbseo_requrl, $arcm[1]))
{
vbseo_safe_redirect(VBSEO_ARCHIVE_ROOT . $arcm[2], array(), true);
}
else
{
$_fixp = function_exists('ini_get') ? @ini_get('cgi.fix_pathinfo') : @get_cfg_var('cgi.fix_pathinfo');
$sm = (
(substr(PHP_OS, 0, 3) == 'WIN' AND stristr($_SERVER['SERVER_SOFTWARE'], 'apache') === false) OR (strpos(@php_sapi_name(), 'cgi') !== false AND !$_fixp))
? '?' : '/';
$arcscript = preg_match('#(\w+)\.'.VBSEO_VB_EXT.'#', $arcm[2], $asm) ? $asm[1] : 'index';
if(!file_exists('archive/'.$arcscript.'.'.VBSEO_VB_EXT)) $arcscript = 'index';
vbseo_chdir('archive/');
$vbseo_stop = VBSEO_TOPREL . 'archive'.($asm?'':'/'.$arcscript.'.' . VBSEO_VB_EXT ). $sm . $arcm[2];
vbseo_set_self($vbseo_stop);
if ($sm == '?')
$_SERVER['QUERY_STRING'] = $arcm[2];
define('VBSEO_BASE_URL', substr(VBSEO_ARCHIVE_ROOT, 0, strlen(VBSEO_ARCHIVE_ROOT)-1));
preg_match('#f-(\d+)#', $arcm[2], $tidm);
if ($tidm[1])
{
vbseo_get_options();
vbseo_get_forum_info();
if (isset($vbseo_gcache['forum']) && $vbseo_gcache['forum'] && !isset($vbseo_gcache['forum'][$tidm[1]]))
{
if (VBSEO_404_HANDLE == 2)
{
$vbseo_incf = VBSEO_404_CUSTOM;
if ($vbseo_incf[0] != '/')
$vbseo_incf = dirname(__FILE__) . '/' . $vbseo_incf;
include($vbseo_incf);
exit;
}
else
vbseo_404_routine($vbseo_url_);
}
}
ob_start();
include (VBSEO_ROOT . "/.." . '/archive/'.$arcscript.'.' . VBSEO_VB_EXT);
//include (dirname(__FILE__) . '/archive/'.$arcscript.'.' . VBSEO_VB_EXT);
$output = ob_get_contents();
ob_clean();
$GLOBALS['vbseo_notop_url'] = true;
$output = make_crawlable($output);
echo $output;
exit();
}
}
if (VBSEO_IS_ROBOT)
{
$vbseo_non_clean = array('pp', 'highlight', 'order', 'sort', 'daysprune', 'referrerid');
foreach($vbseo_non_clean as $vbseo_nn)
if (isset($_GET[$vbseo_nn]))
vbseo_safe_redirect($vbseo_url_, $vbseo_non_clean);
}
if (VBSEO_THREAD_301_REDIRECT && !$_POST && $vbseo_file_exists)
{
if(VBSEO_SITEMAP_MOD && VBSEO_IS_ROBOT)
{
vbseo_hit_log(VBSEO_BASEURL);
}
$vbseo_noproc = true;
if (!VBSEO_RELPATH && !$vbseo_file_exists_deep)
{
$vbseo_noproc = false;
if (VBSEO_REWRITE_BLOGS_ATT && (VBSEO_BASEURL == 'blog_attachment.' . VBSEO_VB_EXT))
{
if ($_REQUEST['attachmentid'])
<?php
/************************************************** **********************************
* vBSEO 3.5.2 for vBulletin v3.x & v4.x by Crawlability, Inc. *
* *
* Copyright � 2010, Crawlability, Inc. All rights reserved. *
* You may not redistribute this file or its derivatives without written permission. *
* *
* Sales Email: sales@crawlability.com *
* *
*----------------------------vBSEO IS NOT FREE SOFTWARE-----------------------------*
* http://www.crawlability.com/vbseo/license/ *
************************************************** **********************************/
if(substr($_SERVER['HTTP_HOST'],0,2) == "m.") {
define("VBSEO_ENABLED",0);
}
if(strpos($_SERVER['SCRIPT_NAME'], 'dealer_listings.php') !== false ) {
define("VBSEO_ENABLED",0);
}
error_reporting(0);
include_once(dirname(__FILE__).'/vbseo/includes/functions_vbseo.php');
include_once(vBSEO_Storage::path('vbinc') . '/' . VBSEO_VB_CONFIG);
vbseo_requested_url();
$vbseo_fullurl = VBSEO_TOPREL . $vbseo_url_;
$vbseo_url_suggest = '';
switch ($vbseo_url_)
{
case 'vbseo.php':
exit;
break;
case 'vbseo_sitemap.php':
case 'vbseocp.php':
case 'cron.php':
case 'cron.html':
include $vbseo_url_;
exit;
break;
}
if (VBSEO_IN_PINGBACK && ($vbseo_url_ == 'vbseo-xmlrpc/'))
{
if (!defined('THIS_SCRIPT'))
@define('THIS_SCRIPT', 'newreply');
include dirname(__FILE__) . '/global.' . VBSEO_VB_EXT;
vbseo_extra_inc('linkback');
vbseo_xmlrpc_proc();
exit;
}
if (VBSEO_REDIRECT_PRIV_EXTERNAL && ($vbseo_url_ == VBSEO_REDIRECT_URI))
{
$uredir = $_GET['redirect'];
$uredir = preg_replace('#&(?![a-z0-9\#]+#si', '&', $uredir);
$uredir = str_replace('"', '"', $uredir);
if (preg_match('#^https?:\/\/#', $uredir) && !preg_match('#["<>]#', $uredir))
{
echo '<html><head><meta http-equiv="refresh" content="0;url=' . $uredir . '"></head><body></body></html>';
exit;
}
}
global $vbseo_gcache, $found_object_ids;
if (VBSEO_RELPATH)
vbseo_chdir($vbseo_relpath);
if (vbseo_security_check($vbseo_url_))
vbseo_404();
$vbseo_file_exists = (file_exists($vbseo_url_)
|| (file_exists(basename($vbseo_url_)) && strstr($vbseo_url_, '.' . VBSEO_VB_EXT)))
&& ($vbseo_url_[strlen($vbseo_url_)-1] != '/');
$vbseo_file_exists_deep = file_exists($vbseo_url_) && strstr($vbseo_url_, '/');
$vbseo_found = false;
define('VBSEO_PREPROC', 1);
$vbseo_proc = VBSEO_ENABLED && !defined('VBSEO_UNREG_EXPIRED');
if ($vbseo_proc)
{
preg_match('#^(.+?)(_(?:ltr|rtl)?)(\.gif)$#', $vbseo_url_, $ticom);
$vbseo_url_i = $ticom[1] . $ticom[3];
if (!$vbseo_url_i) $vbseo_url_i = $vbseo_url_;
if (VBSEO_REWRITE_TREE_ICON &&
($gifpos = strpos($vbseo_url_, '.gif')) &&
(substr($vbseo_url_, 0, strlen(VBSEO_ICON_PREFIX)) == VBSEO_ICON_PREFIX) &&
((vbseo_check_url('VBSEO_URL_THREAD_TREE_ICON', substr($vbseo_url_i, strlen(VBSEO_ICON_PREFIX), $gifpos + 4), true)) ||
(vbseo_check_url('VBSEO_URL_FORUM_TREE_ICON', substr($vbseo_url_i, strlen(VBSEO_ICON_PREFIX), $gifpos + 4), true))
)
)
{
if ($vbseo_file_exists)
$vbseo_f = $vbseo_url_;
else
$vbseo_f = str_replace('.gif', $ticom[2] . '.gif', VBSEO_TREE_ICON);
$ifile = @fopen($vbseo_f, 'r');
$image_content = @fread($ifile, filesize($vbseo_f));
@fclose($ifile);
header ('Content-type: image/gif');
header ('Content-Length: ' . strlen($image_content));
echo $image_content;
exit();
}
else
if (VBSEO_CHECK_WWWDOMAIN && !strstr($_SERVER['HTTP_HOST'], 'www.') && !strstr($_SERVER['HTTP_HOST'], 'localhost'))
{
vbseo_get_options();
if (strstr($vboptions['bburl'], 'www.'))
{
vbseo_safe_redirect($vboptions['bburl'] . '/' . $vbseo_requrl);
}
}
$vbseo_is_arc = (
preg_match('#^(' . preg_quote(VBSEO_ARCHIVE_ROOT, '#') . '(?:index\.' . VBSEO_VB_EXT . '[/\?]?)?)((\w+\.'.VBSEO_VB_EXT.'.)?[^/]*)/?$#', '/' . $vbseo_requrl . '/', $arcm) ||
preg_match('#^(/archive/(?:index\.' . VBSEO_VB_EXT . '[/\?]?)?)(.*)#', '/' . $vbseo_requrl, $arcm));
$vbseo_move_tohp = ($hp_list = VBSEO_HOMEPAGE_ALIASES) &&
preg_match('#^(' . str_replace('\|', '|', preg_quote($hp_list, '#')) . ')$#', $vbseo_requrl);
if ($vbseo_move_tohp)
{
vbseo_get_options();
if (VBSEO_HOMEPAGE != $vbseo_requrl)
vbseo_safe_redirect(VBSEO_HOMEPAGE);
}
else
if ($vbseo_is_arc)
{
preg_match('#t-(\d+)(?:-p-(\d+))?#', $arcm[2], $tidm);
$thread_id = $tidm[1];
$page = $tidm[2] ? $tidm[2] : 1;
if ($thread_id && VBSEO_REDIRECT_ARCHIVE)
vbseo_get_options();
global $bbuserinfo;
if ($thread_id && VBSEO_REDIRECT_ARCHIVE && !$_COOKIE[vbseo_vb_cprefix() . 'pda'])
{
vbseo_prepare_seo_replace();
vbseo_get_forum_info();
$threadids = array($thread_id);
vbseo_get_thread_info($threadids);
$vbseo_url_ = (VBSEO_REWRITE_THREADS ? vbseo_thread_url($thread_id, $page) : 'showthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $thread_id);
vbseo_safe_redirect($vbseo_url_);
}
else
if (preg_match('#\.css$#', $vbseo_requrl))
{
$vbseo_url_ = $vbseo_found_fn = 'archive/' . $arcm[2];
$vbseo_found = $vbseo_file_exists = true;
}
else
if ($arcm[1] != VBSEO_ARCHIVE_ROOT || !strstr('/' . $vbseo_requrl, $arcm[1]))
{
vbseo_safe_redirect(VBSEO_ARCHIVE_ROOT . $arcm[2], array(), true);
}
else
{
$_fixp = function_exists('ini_get') ? @ini_get('cgi.fix_pathinfo') : @get_cfg_var('cgi.fix_pathinfo');
$sm = (
(substr(PHP_OS, 0, 3) == 'WIN' AND stristr($_SERVER['SERVER_SOFTWARE'], 'apache') === false) OR (strpos(@php_sapi_name(), 'cgi') !== false AND !$_fixp))
? '?' : '/';
$arcscript = preg_match('#(\w+)\.'.VBSEO_VB_EXT.'#', $arcm[2], $asm) ? $asm[1] : 'index';
if(!file_exists('archive/'.$arcscript.'.'.VBSEO_VB_EXT)) $arcscript = 'index';
vbseo_chdir('archive/');
$vbseo_stop = VBSEO_TOPREL . 'archive'.($asm?'':'/'.$arcscript.'.' . VBSEO_VB_EXT ). $sm . $arcm[2];
vbseo_set_self($vbseo_stop);
if ($sm == '?')
$_SERVER['QUERY_STRING'] = $arcm[2];
define('VBSEO_BASE_URL', substr(VBSEO_ARCHIVE_ROOT, 0, strlen(VBSEO_ARCHIVE_ROOT)-1));
preg_match('#f-(\d+)#', $arcm[2], $tidm);
if ($tidm[1])
{
vbseo_get_options();
vbseo_get_forum_info();
if (isset($vbseo_gcache['forum']) && $vbseo_gcache['forum'] && !isset($vbseo_gcache['forum'][$tidm[1]]))
{
if (VBSEO_404_HANDLE == 2)
{
$vbseo_incf = VBSEO_404_CUSTOM;
if ($vbseo_incf[0] != '/')
$vbseo_incf = dirname(__FILE__) . '/' . $vbseo_incf;
include($vbseo_incf);
exit;
}
else
vbseo_404_routine($vbseo_url_);
}
}
ob_start();
include (VBSEO_ROOT . "/.." . '/archive/'.$arcscript.'.' . VBSEO_VB_EXT);
//include (dirname(__FILE__) . '/archive/'.$arcscript.'.' . VBSEO_VB_EXT);
$output = ob_get_contents();
ob_clean();
$GLOBALS['vbseo_notop_url'] = true;
$output = make_crawlable($output);
echo $output;
exit();
}
}
if (VBSEO_IS_ROBOT)
{
$vbseo_non_clean = array('pp', 'highlight', 'order', 'sort', 'daysprune', 'referrerid');
foreach($vbseo_non_clean as $vbseo_nn)
if (isset($_GET[$vbseo_nn]))
vbseo_safe_redirect($vbseo_url_, $vbseo_non_clean);
}
if (VBSEO_THREAD_301_REDIRECT && !$_POST && $vbseo_file_exists)
{
if(VBSEO_SITEMAP_MOD && VBSEO_IS_ROBOT)
{
vbseo_hit_log(VBSEO_BASEURL);
}
$vbseo_noproc = true;
if (!VBSEO_RELPATH && !$vbseo_file_exists_deep)
{
$vbseo_noproc = false;
if (VBSEO_REWRITE_BLOGS_ATT && (VBSEO_BASEURL == 'blog_attachment.' . VBSEO_VB_EXT))
{
if ($_REQUEST['attachmentid'])
#25
Firefox... Right click, open in new tab... Didn't show the pic in the attachment box just text.. Wouldn't load when I left clicked on it..
Thread I viewed..
https://ls1tech.com/forums/parts-cla...t-92-92-a.html
Here is another thread with a member not being able to purchase a part because he can't see pics.
https://ls1tech.com/forums/parts-cla...body-sale.html
Thread I viewed..
https://ls1tech.com/forums/parts-cla...t-92-92-a.html
Here is another thread with a member not being able to purchase a part because he can't see pics.
https://ls1tech.com/forums/parts-cla...body-sale.html
#28
12 Second Club
iTrader: (8)
Join Date: Jun 2007
Location: st. louis mo
Posts: 120
Likes: 0
Received 0 Likes
on
0 Posts
i agree it is happen to all threads thats why i thought it was just my computer but i tried it on my wifes and same thing. Im either getting the red x or the same format as put above by lemons
#29
#34
TECH Fanatic
iTrader: (9)
That's not a virus. All computer language is jargon to the average user. Open a file meant to be opened somewhere else in notepad for instance. All you'll see is a combination of characters and possibly some readable words here and there. It's how the computer processes stuff. It's not a virus.
#35
lol! Yup. That's it. I'm getting it on my home PC as well...
I tried in this thread: https://ls1tech.com/forums/appearanc...-dress-up.html
Firefox 8.0.1 and Internet Explorer 7.0.5730.13 ... at work I have FF 9 and IE 8
Right ... it's more like the server-side interpreter isn't interpreting the code before sending the results over the interweb. Encryption doesn't even look close to that lol. PHP is still technically human-readable.
I tried in this thread: https://ls1tech.com/forums/appearanc...-dress-up.html
Firefox 8.0.1 and Internet Explorer 7.0.5730.13 ... at work I have FF 9 and IE 8
That's not a virus. All computer language is jargon to the average user. Open a file meant to be opened somewhere else in notepad for instance. All you'll see is a combination of characters and possibly some readable words here and there. It's how the computer processes stuff. It's not a virus.
#39
TECH Junkie
iTrader: (21)
Join Date: Aug 2004
Location: Virginia Beach, VA
Posts: 3,164
Likes: 0
Received 0 Likes
on
0 Posts
Started again for me. I took screen shots this time.
When you click on the link where the pic should be, it won't load into the floating window, or open into a new tab. If I right click on it, and force it to open into a new tab, it loads the jibberish. The tab will continue to load, stop, and reload over and over again.
Pics:
When you click on the link where the pic should be, it won't load into the floating window, or open into a new tab. If I right click on it, and force it to open into a new tab, it loads the jibberish. The tab will continue to load, stop, and reload over and over again.
Pics: