vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   viewpost.gif instead of being taken to the original quoted post (https://vborg.vbsupport.ru/showthread.php?t=219539)

Wonksta 07-26-2009 11:30 PM

viewpost.gif instead of being taken to the original quoted post
 
Hi Guys

Before I start this problem is happening across ALL themes including Default System (default vBulletin).

When a user quotes someone you get the usual Originally Posted By XXXX viewpost.gif.

Viewpost.gif is that little picture where you click and it takes you to that post. When a user clicks on that image it opens up a new tab and opens the image just if you where to go right click > view image and in the other tab it loads the original post.

Very strange here is what the code looks like:

PHP Code:

     <if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postidrel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]"/></a></if> 


Lynne 07-26-2009 11:43 PM

So if you click the little viewpost.gif, you are getting the gif opening instead of a post? Do you have a link to a page where this is happening?

Wonksta 07-27-2009 12:26 AM

Quote:

Originally Posted by Lynne (Post 1856190)
So if you click the little viewpost.gif, you are getting the gif opening instead of a post? Do you have a link to a page where this is happening?

Hi Lynne,

Yes well it opens up a new tab and opens the viewpost.gif while at the same time in the other tab it loads the actual post.

Check it out here as an example.

http://www.aussiestreetbikes.com/for...9392#post49392

Again - this occurs on vBulletin Styles even the unmodified default one. I have tried in two browsers , latest FF and IE8 with the same issue.

Lynne 07-27-2009 02:33 AM

This is the html for the clickable quote image, https://vborg.vbsupport.ru/external/2011/11/11.gif, in the post above:
HTML Code:

<img class="inlineimg" src="images/cstyle/blue/buttons/viewpost.gif" border="0" alt="View Post" />
This is the html for the image on your site:
HTML Code:

<img style="max-width: 550px; cursor: pointer;" onclick="window.open(this.src)"  class="inlineimg" src="images/redbar/buttons/viewpost.gif" border="0" alt="View Post"/>
You've got some strange javascript added to your image tag which is probably causing this problem. Since it isn't shown in your template code above, I am guessing you've got a modification adding stuff to your image tags.

Wonksta 07-27-2009 05:03 AM

Ahhh nicely said Lynne it turns out:

Quick Auto Image-Resize (Posts & Signature)

Mod was causing the problem. Looking for an alternative now.


All times are GMT. The time now is 09:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete