User Support & Resources Account Problems | Questions | Suggestions

Attaching pics- problem?

Thread Tools
 
Search this Thread
 
Old 01-17-2012, 03:29 PM
  #1  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default Attaching pics- problem?

I have noticed two different posts in the classifieds today where attached pics are coming up as a bunch of characters and numbers.

LINKS:
https://ls1tech.com/forums/parts-cla...olt-7-5-a.html
https://ls1tech.com/forums/parts-cla...condition.html
https://ls1tech.com/forums/parts-cla...dle-cover.html

Thanks!
Old 01-17-2012, 06:05 PM
  #2  
 
JeremyT's Avatar
 
Join Date: Oct 2007
Posts: 173
Likes: 0
Received 18 Likes on 16 Posts
Default

I looked at each example and they look fine to me. What browser are you using and are you still having the issue? I would suspect a browser issue. You may try clearing your browser's cache and even restarting the computer if the issue persists and you've not done so.
Old 01-18-2012, 02:01 PM
  #3  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

It is no longer doing it.. Thanks
Old 01-18-2012, 07:08 PM
  #4  
TECH Junkie
iTrader: (21)
 
99FormulaM6's Avatar
 
Join Date: Aug 2004
Location: Virginia Beach, VA
Posts: 3,164
Likes: 0
Received 0 Likes on 0 Posts

Default

mine started doing it today
Old 01-18-2012, 10:43 PM
  #5  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

Mine also did it again... Not when I clicked on the image but when I right clicked and wanted to open in a new window, just a ton of jibber jabber. It also doesn't show the small attachment pic to show on when this happens.

Kind of a pain. I missed a part I probably would have bought because I couldn't see the pic. Not a huge deal just sucks.
Old 01-19-2012, 02:51 PM
  #6  
TECH Enthusiast
iTrader: (2)
 
GSus's Avatar
 
Join Date: Jan 2010
Location: South Central Texas Baby!
Posts: 513
Likes: 0
Received 0 Likes on 0 Posts
Default

This is Happening on my phone. I haven't tried it on the computer yet.
Pics that are hosted through another site are showing just fine. However, the ones that are just attatched, are only showing as a blue box with a question mark in it. Once I try to open in a new page, a bunch of characters are displayed and the page constantly tries to refresh itself. This has been happening since yesterday.
Old 01-19-2012, 04:22 PM
  #7  
12 Second Club
iTrader: (18)
 
z-maro's Avatar
 
Join Date: Jun 2011
Location: MN
Posts: 1,287
Received 22 Likes on 18 Posts

Default

Was happening for me yesterday and today. I restarted my computer and now they work FWIW...
Old 01-19-2012, 07:54 PM
  #8  
TECH Enthusiast
iTrader: (32)
 
gi8e7oi825's Avatar
 
Join Date: Aug 2005
Posts: 547
Likes: 0
Received 1 Like on 1 Post

Default

I'm still getting 35 pages of this stuff... <<save as>>


<?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', '&amp;', $uredir);
$uredir = str_replace('"', '&quot;', $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'])
{
vbseo_get_blogatt_info(array($_REQUEST['attachmentid']));
if($_batt = $vbseo_gcache['battach'][$_REQUEST['attachmentid']])
{
vbseo_get_user_info(array($_batt['userid']));
vbseo_get_blog_info(array($_batt['blogid']));
$vbse_rurl = vbseo_blog_url(VBSEO_URL_BLOG_ATT, $_GET);
$excpars = array('attachmentid', 'd', 'thumb', 'stc');
}
}
if($vbse_rurl)
vbseo_url_autoadjust($vbse_rurl, $excpars, false);
}else
if (VBSEO_REWRITE_BLOGS_TAGS_ENTRY && (VBSEO_BASEURL == 'blog_tag.' . VBSEO_VB_EXT))
{
if(count($_GET) == 0)
vbseo_safe_redirect(vbseo_blog_url(VBSEO_URL_BLOG_ TAGS_HOME, $_GET));
}else
if (VBSEO_REWRITE_BLOGS && (VBSEO_BASEURL == 'blog.' . VBSEO_VB_EXT
|| (VBSEO_BASEURL == 'entry.' . VBSEO_VB_EXT && $_GET['b'])
) )
{
if(isset($_GET['userid']))
$_GET['u'] = $_GET['userid'];
if ($_GET['u'])
vbseo_get_user_info(array($_GET['u']));
$red_url_ = '';
if(count($_GET) == 0)
{
$red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_HOME, $_GET);
}else
if ($_GET[VBSEO_BLOG_CATID_URI])
{
if(VBSEO_REWRITE_BLOGS_CAT)
{
vbseo_get_blog_cats($_GET[VBSEO_BLOG_CATID_URI]);
$red_url_ = vbseo_blog_url(
$_GET['u'] ? ($_GET['page'] ? VBSEO_URL_BLOG_CAT_PAGE : VBSEO_URL_BLOG_CAT)
: ($_GET['page'] ? VBSEO_URL_BLOG_GLOB_CAT_PAGE : VBSEO_URL_BLOG_GLOB_CAT),
$_GET);
}
}
else
if($_GET['tag'])
{
if(VBSEO_REWRITE_BLOGS_TAGS_ENTRY && !$_GET['u'])
$red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_TAGS_ENTRY_PAGE : VBSEO_URL_BLOG_TAGS_ENTRY, $_GET);
}
else
if($_GET['cp'])
{
if(VBSEO_REWRITE_BLOGS_CUSTOM)
{
$found_object_ids['blogcp_ids'] = $_GET['cp'];
vbseo_get_object_info('blogcp_ids');
vbseo_get_user_info($vbseo_gcache['blogcp_ids'][$_GET['cp']]['userid']);
$red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_CUSTOM, $_GET);
}
}else
if ($_GET['u'] && !$_GET['page'] && !$_GET['do'])
{
$red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_USER, $_GET);
}
else
if (($_GET['b']||$_GET['blogid']) && count($_GET) == 1)
{
if(VBSEO_REWRITE_BLOGS_ENT)
{
vbseo_get_blog_info(array($_GET['b']?$_GET['b']:$_GET['blogid']));
$red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_ENTRY, $_GET);
}
}
Old 01-20-2012, 02:51 AM
  #9  
 
JeremyT's Avatar
 
Join Date: Oct 2007
Posts: 173
Likes: 0
Received 18 Likes on 16 Posts
Default

Thanks for the more detailed report. Can you tell us exactly where you're receiving that script? Exactly what you're doing that generates them? That is part of the vBSEO script that many vBulletin sites use, but determining where you're getting it and why is what we need to research.

To the others that reported this issue, is what gi8e7oi825 posted what you're also seeing?

Old 01-20-2012, 02:59 AM
  #10  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

Originally Posted by JeremyT
Thanks for the more detailed report. Can you tell us exactly where you're receiving that script? Exactly what you're doing that generates them? That is part of the vBSEO script that many vBulletin sites use, but determining where you're getting it and why is what we need to research.

To the others that reported this issue, is what gi8e7oi825 posted what you're also seeing?
From what I remember yes...

In the for sale threads (that I posted, they are no longer doing it for me I checked earlier) where it has the small pics you can click on to make them larger, there was no picture just words.. If you clicked on it, it wouldn't load it would just sit there with a small box.
If you right click/open new tab (like I always do) it loads all of that jibber.
Old 01-20-2012, 06:34 AM
  #11  
TECH Junkie
iTrader: (21)
 
99FormulaM6's Avatar
 
Join Date: Aug 2004
Location: Virginia Beach, VA
Posts: 3,164
Likes: 0
Received 0 Likes on 0 Posts

Default

It is fixed for me as well.
Old 01-20-2012, 07:37 AM
  #12  
TECH Enthusiast
iTrader: (32)
 
gi8e7oi825's Avatar
 
Join Date: Aug 2005
Posts: 547
Likes: 0
Received 1 Like on 1 Post

Default

Well, when clicking on attachments directly (the link found toward the bottom of someone's post), I got nothing in Firefox (no refresh, no new window, etc)... as though the hypertext reference was simply #. So I'd right click and open it in a new tab or window which yielded a page that constantly refreshed with lots of similar code. Upon viewing the source of said page, I got something a little more organized (which is what I posted).
Old 01-20-2012, 07:42 AM
  #13  
TECH Enthusiast
iTrader: (32)
 
gi8e7oi825's Avatar
 
Join Date: Aug 2005
Posts: 547
Likes: 0
Received 1 Like on 1 Post

Default

but at this moment I'm not noticing any problems...
Old 01-20-2012, 04:27 PM
  #14  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

I am also using Firefox FWIW.
Old 01-20-2012, 05:01 PM
  #15  
TECH Junkie
iTrader: (21)
 
99FormulaM6's Avatar
 
Join Date: Aug 2004
Location: Virginia Beach, VA
Posts: 3,164
Likes: 0
Received 0 Likes on 0 Posts

Default

I also use Firefox 9.0.1 on Win 7. no problems anymore though.
Old 01-20-2012, 05:55 PM
  #16  
TECH Fanatic
iTrader: (9)
 
Guitar's Avatar
 
Join Date: May 2011
Location: NC
Posts: 1,930
Likes: 0
Received 3 Likes on 3 Posts

Default

This is happening to me in FireFox as well. They show up in IE as pics. Not sure what the problem is, cleared cookies and all.

Well, just tried IE for some and couldn't see them, so not sure what the problem is here...

Last edited by Guitar; 01-20-2012 at 10:45 PM.
Old 01-21-2012, 05:46 PM
  #17  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

]#', $uredir)) { echo ''; 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']) { vbseo_get_blogatt_info(array($_REQUEST['attachmentid'])); if($_batt = $vbseo_gcache['battach'][$_REQUEST['attachmentid']]) { vbseo_get_user_info(array($_batt['userid'])); vbseo_get_blog_info(array($_batt['blogid'])); $vbse_rurl = vbseo_blog_url(VBSEO_URL_BLOG_ATT, $_GET); $excpars = array('attachmentid', 'd', 'thumb', 'stc'); } } if($vbse_rurl) vbseo_url_autoadjust($vbse_rurl, $excpars, false); }else if (VBSEO_REWRITE_BLOGS_TAGS_ENTRY && (VBSEO_BASEURL == 'blog_tag.' . VBSEO_VB_EXT)) { if(count($_GET) == 0) vbseo_safe_redirect(vbseo_blog_url(VBSEO_URL_BLOG_ TAGS_HOME, $_GET)); }else if (VBSEO_REWRITE_BLOGS && (VBSEO_BASEURL == 'blog.' . VBSEO_VB_EXT || (VBSEO_BASEURL == 'entry.' . VBSEO_VB_EXT && $_GET['b']) ) ) { if(isset($_GET['userid'])) $_GET['u'] = $_GET['userid']; if ($_GET['u']) vbseo_get_user_info(array($_GET['u'])); $red_url_ = ''; if(count($_GET) == 0) { $red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_HOME, $_GET); }else if ($_GET[VBSEO_BLOG_CATID_URI]) { if(VBSEO_REWRITE_BLOGS_CAT) { vbseo_get_blog_cats($_GET[VBSEO_BLOG_CATID_URI]); $red_url_ = vbseo_blog_url( $_GET['u'] ? ($_GET['page'] ? VBSEO_URL_BLOG_CAT_PAGE : VBSEO_URL_BLOG_CAT) : ($_GET['page'] ? VBSEO_URL_BLOG_GLOB_CAT_PAGE : VBSEO_URL_BLOG_GLOB_CAT), $_GET); } } else if($_GET['tag']) { if(VBSEO_REWRITE_BLOGS_TAGS_ENTRY && !$_GET['u']) $red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_TAGS_ENTRY_PAGE : VBSEO_URL_BLOG_TAGS_ENTRY, $_GET); } else if($_GET['cp']) { if(VBSEO_REWRITE_BLOGS_CUSTOM) { $found_object_ids['blogcp_ids'] = $_GET['cp']; vbseo_get_object_info('blogcp_ids'); vbseo_get_user_info($vbseo_gcache['blogcp_ids'][$_GET['cp']]['userid']); $red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_CUSTOM, $_GET); } }else if ($_GET['u'] && !$_GET['page'] && !$_GET['do']) { $red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_USER, $_GET); } else if (($_GET['b']||$_GET['blogid']) && count($_GET) == 1) { if(VBSEO_REWRITE_BLOGS_ENT) { vbseo_get_blog_info(array($_GET['b']?$_GET['b']:$_GET['blogid'])); $red_url_ = vbseo_blog_url(VBSEO_URL_BLOG_ENTRY, $_GET); } } else if (VBSEO_REWRITE_BLOGS_LIST && $_GET['do'] == 'comments' && !$_GET['type'] && !$_GET['u']) $red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_CLIST_PAGE : VBSEO_URL_BLOG_CLIST, $_GET); else if (VBSEO_REWRITE_BLOGS_LIST && $_GET['do'] == 'list' && (!$_GET['blogtype'] || in_array($_GET['blogtype'], array('latest', 'recent')))) { if($_GET['span']=='24') $newurl = vbseo_blog_url( $_GET['page'] ? VBSEO_URL_BLOG_LAST_ENT_PAGE : VBSEO_URL_BLOG_LAST_ENT , $_GET); else if ($_GET['d']) $red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_DAY_PAGE : VBSEO_URL_BLOG_DAY, $_GET); else if ($_GET['m']) $red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_MONTH_PAGE : VBSEO_URL_BLOG_MONTH, $_GET); else $red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_LIST_PAGE : VBSEO_URL_BLOG_LIST, $_GET); } else if (VBSEO_REWRITE_BLOGS_LIST && $_GET['do'] == 'bloglist') $red_url_ = vbseo_blog_url($_GET['page'] ? VBSEO_URL_BLOG_BLIST_PAGE : VBSEO_URL_BLOG_BLIST, $_GET); if ($red_url_) vbseo_safe_redirect($red_url_, array(VBSEO_USERID_URI, 'userid', VBSEO_BLOG_CATID_URI, 'b', 'do', 'page', 'blogid', 'blogtype', 'd', 'm', 'y', 'tag', 'cp')); } else if (((VBSEO_REWRITE_THREADS && (VBSEO_BASEURL == 'showthread.' . VBSEO_VB_EXT)) || (VBSEO_REWRITE_PRINTTHREAD && ($print = 1) && (VBSEO_BASEURL == 'printthread.' . VBSEO_VB_EXT))) ) { $newurl = ''; if (isset($_GET['goto'])) { if ($_GET['goto'] == 'nextnewest') $vbseo_format = VBSEO_URL_THREAD_NEXT; elseif ($_GET['goto'] == 'nextoldest') $vbseo_format = VBSEO_URL_THREAD_PREV; if ($vbseo_format)
Old 01-21-2012, 05:46 PM
  #18  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

{ define('THIS_SCRIPT', 'showthread'); vbseo_get_options(); vbseo_prepare_seo_replace(); vbseo_get_forum_info(); $threadid = $_GET[VBSEO_THREADID_URI]; vbseo_get_thread_info($threadid); $newurl = vbseo_thread_url($threadid, '', $vbseo_format); } } else if (!isset($_REQUEST['do'])) { define('THIS_SCRIPT', 'showthread'); $threadid = $_GET[VBSEO_THREADID_URI] ? $_GET[VBSEO_THREADID_URI] : $_GET['threadid']; $r_post_id = $_GET[VBSEO_POSTID_URI] ? $_GET[VBSEO_POSTID_URI] : ($_GET['postid'] ? $_GET['postid'] : $_GET['post']); $r_post_id = preg_replace('|#.*$|', '', $r_post_id); $newurl = ''; if ($r_post_id) { define('VBSEO_PRIVATE_REDIRECT_POSTID', $r_post_id); } else if ($threadid) { vbseo_get_options(); vbseo_prepare_seo_replace(); vbseo_get_forum_info(); vbseo_get_thread_info($threadid); $newurl = vbseo_thread_url($threadid, (VBSEO_ENABLE_GARS && $_GET[VBSEO_PAGENUM_URI_GARS]) ? $_GET[VBSEO_PAGENUM_URI_GARS] : $_GET['page'], (VBSEO_ENABLE_GARS && $_GET[VBSEO_PAGENUM_URI_GARS]) ? VBSEO_URL_THREAD_GARS_PAGENUM : ($print ? (($_GET['page'] + 0 > 1) ? VBSEO_URL_THREAD_PRINT_PAGENUM : VBSEO_URL_THREAD_PRINT) : '') ); } } if ($newurl) { $tinfo = $vbseo_gcache['thread'][$threadid]; $is_public = vbseo_forum_is_public($vbseo_gcache['forum'][$tinfo['forumid']]); if ($is_public) vbseo_safe_redirect($newurl, array(VBSEO_ENABLE_GARS?VBSEO_PAGENUM_URI_GARS:'', VBSEO_THREADID_URI, 'threadid', 'postid', 'page', 'viewfull', ($_GET['pp'] == $vboptions['maxposts'])?'pp':'' )); else { define('VBSEO_PRIVATE_REDIRECT_URL', $newurl); define('VBSEO_PRIVATE_REDIRECT_THREAD', $threadid); } } } else if (VBSEO_REWRITE_SHOWPOST && (VBSEO_BASEURL == 'showpost.' . VBSEO_VB_EXT) && !$_POST) { define('THIS_SCRIPT', 'showpost'); vbseo_get_options(); vbseo_prepare_seo_replace(); $r_post_id = $_GET[VBSEO_POSTID_URI]; vbseo_get_forum_info(); if (VBSEO_POSTBIT_PINGBACK == 2) $found_object_ids['prepostthread_ids'] = array($r_post_id); vbseo_get_post_thread_info($r_post_id, true); vbseo_get_thread_info($found_object_ids['postthreads']); if (VBSEO_POSTBIT_PINGBACK == 2) $vbseo_url_ = vbseo_thread_url_postid($r_post_id); else $vbseo_url_ = vbseo_post_url($r_post_id, $_GET['postcount']); if($vbseo_url_) vbseo_safe_redirect($vbseo_url_, array(VBSEO_POSTID_URI, 'postcount')); else { $vbseo_found_fn = 'showpost.' . VBSEO_VB_EXT; $vbseo_found = true; } } else if (VBSEO_REWRITE_ATTACHMENTS && (VBSEO_BASEURL == 'attachment.' . VBSEO_VB_EXT)) { if ($attid = $_REQUEST['attachmentid']) { vbseo_get_forum_info(); vbseo_get_attachments_info($attid); $ainfo = $vbseo_gcache['attach'][$attid]; if(vbseo_content_type($ainfo) == 'forum') { $found_object_ids['prepostthread_ids'] = array($ainfo['contentid']); vbseo_get_post_thread_info($ainfo['contentid'], true); vbseo_get_thread_info($found_object_ids['postthreads']); } $newurl = vbseo_attachment_url($attid, '', $_REQUEST['d'], $_REQUEST['thumb']); $strip_params = array('attachmentid', 'd', 'thumb'); if($newurl) vbseo_safe_redirect($newurl, $strip_params); else { $vbseo_found_fn = 'attachment.' . VBSEO_VB_EXT; $vbseo_found = true; } } } else if (VBSEO_REWRITE_MEMBER_LIST && (VBSEO_BASEURL == 'memberlist.' . VBSEO_VB_EXT)) { if (!in_array($_REQUEST['do'], array('search', 'process'))) { $vbseo_url_ = vbseo_memberlist_url($_GET['ltr'], $_GET[VBSEO_PAGENUM_URI]); $strip_params = array('ltr', 'do', VBSEO_PAGENUM_URI); if ($_GET['sort'] == VBSEO_DEFAULT_MEMBERLIST_SORT) $strip_params[] = 'sort'; if ($_GET['order'] == VBSEO_DEFAULT_MEMBERLIST_ORDER) $strip_params[] = 'order'; vbseo_safe_redirect($vbseo_url_, $strip_params); } } else if (VBSEO_REWRITE_MEMBERS && (VBSEO_BASEURL == 'member.' . VBSEO_VB_EXT)) { $newurl = ''; if (!$_GET['find']) { $userid = $_GET[VBSEO_USERID_URI] ? $_GET[VBSEO_USERID_URI] : $_GET['userid']; if(!$userid && $_GET['username']) { $userid = vbseo_reverse_username($_GET['username']); } if ($userid) { vbseo_get_user_info(array($userid)); $uunset = array(); if($_GET['vmid']) { vbseo_get_options(); $_GET['page'] = vbseo_vmsg_pagenum($userid, $_GET['vmid']); $_GET['tab'] = 'visitor_messaging'; } if($_GET['tab'] == 'visitor_messaging' && $_GET['page']>1) { $newurl = vbseo_member_url($_GET['u'], '', 'VBSEO_URL_MEMBER_MSGPAGE', array('%page%'=>$_GET['page'])); }else if($_GET['tab'] == 'friends' && $_GET['page']>1) { $newurl = vbseo_member_url($_GET['u'], '', 'VBSEO_URL_MEMBER_FRIENDSPAGE', array('%page%'=>$_GET['page'])); }else if(!$_GET['action'] || ($_GET['action']=='getinfo')) { $newurl = vbseo_member_url($userid); if($_GET['tab']) { $uunset[] = 'tab'; $uunset[] = 'page'; } } if($newurl) { if($_GET['tab'] && $_GET['tab'] != 'visitor_messaging') $newurl .= '#'.$_GET['tab']; vbseo_safe_redirect($newurl, array_diff( array(VBSEO_USERID_URI, 'action', 'userid', 'username', 'tab', 'page', 'pp', 'vmid'), $uunset)); } } } else if ($_GET['find'] == 'lastposter') { $found_object_ids['forum_last'] = array($_GET[VBSEO_FORUMID_URI]); vbseo_get_options(); vbseo_get_forum_info(); if ($_GET[VBSEO_FORUMID_URI]) { $userid = $vbseo_gcache['forum'][$_GET[VBSEO_FORUMID_URI]]['lastposter']; } else { vbseo_get_thread_info($_GET[VBSEO_THREADID_URI]); $userid = $vbseo_gcache['thread'][$_GET[VBSEO_THREADID_URI]]['lastposter']; } vbseo_get_user_info(array($userid)); $vbseo_url_ = vbseo_member_url(0, $userid); vbseo_safe_redirect($vbseo_url_, array(VBSEO_FORUMID_URI, 'find', VBSEO_THREADID_URI)); } } else if(VBSEO_REWRITE_MEMBERS && (VBSEO_BASEURL == 'converse.' . VBSEO_VB_EXT) ) { vbseo_get_user_info(array($_GET['u'],$_GET['u2'])); $newurl = vbseo_member_url($_GET['u'], '', $_GET['page']?'VBSEO_URL_MEMBER_CONVPAGE':'VBSEO_URL_MEMBER_CON V', array(), $_GET ); if($newurl) vbseo_safe_redirect($newurl, array('u', 'u2', 'page', 'vmid')); } else if(VBSEO_REWRITE_MALBUMS && (VBSEO_BASEURL == 'album.' . VBSEO_VB_EXT) ) { if(($_GET['do'] == 'latest') && $_GET['page']) { $newurl = vbseo_generic_url(VBSEO_URL_MEMBER_ALBUM_HOME_PAGE , $_GET); }else if(!isset($_GET['do'])) { if(isset($_GET['commentid'])) { vbseo_get_options(); $_GET['page'] = vbseo_pic_pagenum($_GET[VBSEO_PICID_URI], $_GET['commentid']); } if(isset($_GET[VBSEO_PICID_URI]) && ($_vpid=$_GET[VBSEO_PICID_URI])) { $found_object_ids[VBSEO_PIC_STORAGE][] = $_vpid; vbseo_get_object_info(VBSEO_PIC_STORAGE); $_vaid = $_GET['albumid'] ? $_GET['albumid'] : $vbseo_gcache[VBSEO_PIC_STORAGE][$_vpid]['albumid']; $found_object_ids['album'][] = $_vaid; vbseo_get_object_info('album'); vbseo_get_user_info(array($vbseo_gcache['album'][$_vaid]['userid'])); $newurl = vbseo_album_url( $_GET['page']>1?'VBSEO_URL_MEMBER_PICTURE_PAGE':'VBSEO_URL_MEMB ER_PICTURE', $_GET); }else if(isset($_GET['albumid']) && (count($_GET)==1 || $_GET['page'])) { $found_object_ids['album'][] = $_GET['albumid']; vbseo_get_object_info('album');
Old 01-21-2012, 05:47 PM
  #19  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

$vbseo_found = true; } else if (VBSEO_REWRITE_THREADS && ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_NEWPOST', $vbseo_url_)) || ($vbseo_arr2 = $vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_LASTPOST', $vbseo_url_)) ) { define('THIS_SCRIPT', 'showthread'); vbseo_set_self($q = 'showthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $vbseo_arr['thread_id'] . '&goto=' . (isset($vbseo_arr2) ? 'lastpost' : 'newpost')); define('VBSEO_GT_POST', $q); if (1 || defined('VBSEO_NEW_LAST_POST_COOKIE') && VBSEO_NEW_LAST_POST_COOKIE) { $postid = 0; } else { vbseo_vars_push('vbseo_arr','vbseo_arr2'); $globaltemplates = $phrasegroups = $specialtemplates = array(); include 'global.' . VBSEO_VB_EXT; vbseo_vars_pop(); vbseo_get_options(); vbseo_prepare_seo_replace(); vbseo_get_forum_info(); $postid = $vbseo_arr2 ? vbseo_get_last_post($vbseo_arr['thread_id']) : vbseo_get_new_post($vbseo_arr['thread_id']); } if ($postid) { $tmode = $_COOKIE[vbseo_vb_cprefix() . "threadedmode"]; if ($tmode == 'threaded' || $tmode == 'hybrid') { $vbseo_found_fn='showthread.'.VBSEO_VB_EXT; $vbseo_found = true; } else { $found_object_ids['prepostthread_ids'] = array($postid); vbseo_get_post_thread_info($postid, true); vbseo_get_thread_info($found_object_ids['postthreads']); $vbseo_url_ = vbseo_thread_url_postid($postid); $ti = $vbseo_gcache['thread'][$vbseo_arr['thread_id']]; if ($GAS_settings && preg_match('#\b' . $ti['forumid'] . '\b#', $GAS_settings['forums']) ) { $_SERVER['QUERY_STRING'] = 'conly=1'; } vbseo_safe_redirect($vbseo_url_, array(VBSEO_THREADID_URI, 'goto')); } } else { $vbseo_found_fn = 'showthread.' . VBSEO_VB_EXT; $vbseo_found = true; } } else if (VBSEO_REWRITE_THREADS && ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_GOTOPOST_PAGENUM ', $vbseo_url_)) || ($vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_GOTOPOST', $vbseo_url_)) ) { vbseo_set_self('showthread.' . VBSEO_VB_EXT . '?' . VBSEO_POSTID_URI . '=' . $vbseo_arr['post_id'] . ($vbseo_arr['thread_page'] > 1? '&' . VBSEO_PAGENUM_URI . '=' . $vbseo_arr['thread_page'] :'')); $vbseo_found_fn = 'showthread.' . VBSEO_VB_EXT; $vbseo_found = true; define('VBSEO_PRIVATE_REDIRECT_POSTID', $vbseo_arr['post_id']); } else if (VBSEO_REWRITE_THREADS && ($vbseo_arr2 = $vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_NEXT', $vbseo_url_)) || ($vbseo_arr3 = $vbseo_arr = vbseo_check_url('VBSEO_URL_THREAD_PREV', $vbseo_url_)) ) { vbseo_get_forum_info(); vbseo_prepare_seo_replace(); vbseo_get_thread_info($vbseo_arr['thread_id']); $nthread = vbseo_get_next_thread($vbseo_arr['thread_id'], $vbseo_arr3?true:false); if ($nthread['threadid']) { vbseo_get_thread_info($nthread['threadid']); $vbseo_url_ = vbseo_thread_url($nthread['threadid']); vbseo_safe_redirect($vbseo_url_); } else { vbseo_set_self('showthread.' . VBSEO_VB_EXT . '?' . VBSEO_THREADID_URI . '=' . $vbseo_arr['thread_id'] . '&goto=' . ($vbseo_arr3?'nextoldest':'nextnewest')); $vbseo_found_fn = 'showthread.' . VBSEO_VB_EXT; $vbseo_found = true; } } else if (VBSEO_REWRITE_MEMBER_LIST && $vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBERLIST_PAGENUM', $vbseo_url_)) { vbseo_set_self('memberlist.' . VBSEO_VB_EXT . '?' . ($vbseo_arr['page'] > 1?VBSEO_PAGENUM_URI . '=' . $vbseo_arr['page']:'')); $vbseo_found_fn = 'memberlist.' . VBSEO_VB_EXT; $vbseo_found = true; } else if (VBSEO_REWRITE_MEMBER_LIST && $vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBERLIST', $vbseo_url_)) { vbseo_set_self('memberlist.' . VBSEO_VB_EXT); $vbseo_found_fn = 'memberlist.' . VBSEO_VB_EXT; $vbseo_found = true; } else if (VBSEO_REWRITE_MEMBER_LIST && $vbseo_arr = vbseo_check_url('VBSEO_URL_MEMBERLIST_LETTER', $vbseo_url_)) { if ($vbseo_arr['letter'] == '0') $vbseo_arr['letter'] = '%23'; vbseo_set_self('memberlist.' . VBSEO_VB_EXT . '?ltr=' . strtoupper($vbseo_arr['letter']) . ($vbseo_arr['page'] > 1 ? '&' . VBSEO_PAGENUM_URI . '=' . $vbseo_arr['page']:'')); $vbseo_found_fn = 'memberlist.' . VBSEO_VB_EXT; $vbseo_found = true; } else if (VBSEO_REWRITE_GROUPS && vbseo_check_multi_urls( array( 'VBSEO_URL_GROUPS_ALL', 'VBSEO_URL_GROUPS_ALL_PAGE', 'VBSEO_URL_GROUPS_CATEGORY_LIST_PAGE', 'VBSEO_URL_GROUPS_CATEGORY_LIST', 'VBSEO_URL_GROUPS_DISCUSSION_PAGE', 'VBSEO_URL_GROUPS_DISCUSSION', 'VBSEO_URL_GROUPS_MEMBERS_PAGE', 'VBSEO_URL_GROUPS_MEMBERS', 'VBSEO_URL_GROUPS_PIC_PAGE', 'VBSEO_URL_GROUPS_PIC', 'VBSEO_URL_GROUPS_PICTURE_PAGE', 'VBSEO_URL_GROUPS_PICTURE', 'VBSEO_URL_GROUPS_PICTURE_IMG', 'VBSEO_URL_GROUPS_CATEGORY_PAGE', 'VBSEO_URL_GROUPS_CATEGORY', 'VBSEO_URL_GROUPS_PAGE', 'VBSEO_URL_GROUPS', 'VBSEO_URL_GROUPS_HOME', ), $vbseo_url_) ) { } else if (VBSEO_REWRITE_TAGS && vbseo_check_multi_urls( array( 'VBSEO_URL_TAGS_ENTRYPAGE', 'VBSEO_URL_TAGS_ENTRY', 'VBSEO_URL_TAGS_HOME', ), $vbseo_url_) ) { } else if (vbseo_checkurl_cms($vbseo_url_, 2)) { } else if (VBSEO_REWRITE_FORUM_FEED && vbseo_check_multi_urls( array( 'VBSEO_URL_FORUM_GENERAL_FEED', 'VBSEO_URL_FORUM_TITLE_FEED', ), $vbseo_url_) ) { } else if (vbseo_checkurl_blog($vbseo_url_, 2)) { } else if ((VBSEO_REWRITE_MALBUMS && ( ($vbseo_arr9 = vbseo_check_url_strict('VBSEO_URL_MEMBER_PICTURE_P AGE', $vbseo_url_)) || ($vbseo_arr7 = vbseo_check_url_strict('VBSEO_URL_MEMBER_PICTURE', $vbseo_url_)) || ($vbseo_arr8 = vbseo_check_url_strict('VBSEO_URL_MEMBER_PICTURE_I MG', $vbseo_url_)) || ($vbseo_arr15 = vbseo_check_url_strict('VBSEO_URL_MEMBER_ALBUM_HOM E_PAGE', $vbseo_url_)) || ($vbseo_arr14 = vbseo_check_url_strict('VBSEO_URL_MEMBER_ALBUM_HOM E', $vbseo_url_)) || ($vbseo_arr5 = vbseo_check_url_strict('VBSEO_URL_MEMBER_ALBUMS', $vbseo_url_)) || ($vbseo_arr13 = vbseo_check_url_strict('VBSEO_URL_MEMBER_ALBUMS_PA GE', $vbseo_url_)) || ($vbseo_arr12 = vbseo_check_url_strict('VBSEO_URL_MEMBER_ALBUM_PAG E', $vbseo_url_)) || ($vbseo_arr6 = vbseo_check_url_strict('VBSEO_URL_MEMBER_ALBUM',
Old 01-21-2012, 05:47 PM
  #20  
TECH Senior Member
Thread Starter
iTrader: (71)
 
lemons12's Avatar
 
Join Date: Jul 2007
Location: Winchester, TN
Posts: 11,088
Likes: 0
Received 2 Likes on 2 Posts

Default

$vbseo_url_)) )) || (VBSEO_REWRITE_MEMBERS && ( ($vbseo_arr4 = vbseo_check_url_strict('VBSEO_URL_MEMBER_FRIENDSPA GE', $vbseo_url_)) || ($vbseo_arr10 = vbseo_check_url_strict('VBSEO_URL_MEMBER_CONVPAGE' , $vbseo_url_)) || ($vbseo_arr11 = vbseo_check_url_strict('VBSEO_URL_MEMBER_CONV', $vbseo_url_)) || ($vbseo_arr2 = vbseo_check_url_strict('VBSEO_URL_MEMBER_MSGPAGE', $vbseo_url_)) || ($vbseo_arr = vbseo_check_url_strict('VBSEO_URL_MEMBER', $vbseo_url_)) ) ) || (VBSEO_REWRITE_AVATAR && (substr($vbseo_url_, 0, strlen(VBSEO_AVATAR_PREFIX)) == VBSEO_AVATAR_PREFIX) && ($vbseo_arr3 = vbseo_check_url('VBSEO_URL_AVATAR', substr($vbseo_url_, strlen(VBSEO_AVATAR_PREFIX)))) ) ) { if($vbseo_arr2)$vbseo_arr=$vbseo_arr2; if($vbseo_arr3)$vbseo_arr=$vbseo_arr3; if($vbseo_arr4)$vbseo_arr=$vbseo_arr4; if($vbseo_arr5)$vbseo_arr=$vbseo_arr5; if($vbseo_arr6)$vbseo_arr=$vbseo_arr6; if($vbseo_arr7)$vbseo_arr=$vbseo_arr7; if($vbseo_arr8)$vbseo_arr=$vbseo_arr8; if($vbseo_arr9)$vbseo_arr=$vbseo_arr9; if($vbseo_arr10)$vbseo_arr=$vbseo_arr10; if($vbseo_arr11)$vbseo_arr=$vbseo_arr11; if($vbseo_arr12)$vbseo_arr=$vbseo_arr12; if($vbseo_arr13)$vbseo_arr=$vbseo_arr13; if($vbseo_arr15)$vbseo_arr=$vbseo_arr15; 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['visitor_id']) && isset($vbseo_arr['visitor_name'])) $vbseo_arr['visitor_id'] = vbseo_reverse_username($vbseo_arr['visitor_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']); if ($vbseo_arr14) { vbseo_set_self('album.' . VBSEO_VB_EXT ); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr15) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?do=latest&page='.$vbseo_arr['page']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr13) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id'] . '&page='.$vbseo_arr['page']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr5) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr11) { vbseo_set_self('converse.' . VBSEO_VB_EXT . '?' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id'] . '&u2='.$vbseo_arr['visitor_id']); $vbseo_found_fn = 'converse.' . VBSEO_VB_EXT; } else if ($vbseo_arr10) { vbseo_set_self('converse.' . VBSEO_VB_EXT . '?' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id'] . '&u2='.$vbseo_arr['visitor_id'].'&page='.$vbseo_arr['page']); $vbseo_found_fn = 'converse.' . VBSEO_VB_EXT; } else if ($vbseo_arr6) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?albumid=' . $vbseo_arr['album_id']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr12) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?albumid=' . $vbseo_arr['album_id'].'&page='.$vbseo_arr['page']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr8) { preg_match('#^(\d+)(d\d+)?(t)?#', $vbseo_arr['picture_id'], $atm); vbseo_set_self(VBSEO_PIC_SCRIPT . '.' . VBSEO_VB_EXT . '?albumid=' . $vbseo_arr['album_id'].'&'.VBSEO_PICID_URI.'='.$vbseo_arr['picture_id'].(isset($atm[3])?'&thumb=1&dl='.$atm[2]:'')); $vbseo_found_fn = VBSEO_PIC_SCRIPT . '.' . VBSEO_VB_EXT; } else if ($vbseo_arr7) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?albumid=' . $vbseo_arr['album_id'].'&'.VBSEO_PICID_URI.'='.$vbseo_arr['picture_id']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr9) { vbseo_set_self('album.' . VBSEO_VB_EXT . '?albumid=' . $vbseo_arr['album_id'].'&'.VBSEO_PICID_URI.'='.$vbseo_arr['picture_id'].'&page='.$vbseo_arr['page']); $vbseo_found_fn = 'album.' . VBSEO_VB_EXT; } else if ($vbseo_arr4) { vbseo_set_self('member.' . VBSEO_VB_EXT . '?tab=friends&page='.$vbseo_arr['page'].'&' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id']); $vbseo_found_fn = 'member.' . VBSEO_VB_EXT; } else if ($vbseo_arr2) { vbseo_set_self('member.' . VBSEO_VB_EXT . '?tab=visitor_messaging&page='.$vbseo_arr['page'].'&' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id']); $vbseo_found_fn = 'member.' . VBSEO_VB_EXT; } else if($vbseo_arr3) { vbseo_set_self('image.' . VBSEO_VB_EXT . '?' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id'] . '&dateline=' . time()); $vbseo_found_fn = 'image.' . VBSEO_VB_EXT; } else if ($vbseo_arr) { vbseo_set_self('member.' . VBSEO_VB_EXT . '?action=getinfo&' . VBSEO_USERID_URI . '=' . $vbseo_arr['user_id']); $vbseo_found_fn = 'member.' . VBSEO_VB_EXT; } $vbseo_found = true; } else if (VBSEO_REWRITE_PRINTTHREAD && ($vbseo_arr =


Quick Reply: Attaching pics- problem?



All times are GMT -5. The time now is 01:16 AM.