Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 09-08-2012, 04:20 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL, so this is a dead issue? Something I can't resolve I guess. Maybe someone else will know of a fix?
Reply With Quote
  #12  
Old 09-08-2012, 04:26 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try posting this question at vBulletin.com.

I suspect one of the JS files removes the title attribute and then vBulletin substitutes their own version of a tooltip box. That way they can preserve the line breaks and so forth. The event listener and the function that creates the vBulletin tooltip box could be in any of the JS files linked in the template. Only specualting here of course
Reply With Quote
  #13  
Old 09-08-2012, 04:33 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about search_threadbit? It's got two instances of title="{vb:raw thread.preview}"

Maybe I should try removing them as well as the first one we removed? What's your thought on that?
Reply With Quote
  #14  
Old 09-08-2012, 04:35 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What page are you having this problem on? I don't get a thread preview on forumdisplay, only on New Posts search page. (I'm using vb4.1.12)

--------------- Added [DATE]1347082602[/DATE] at [TIME]1347082602[/TIME] ---------------

Quote:
Originally Posted by Syxguns View Post
What about search_threadbit? It's got two instances of title="{vb:raw thread.preview}"

Maybe I should try removing them as well as the first one we removed? What's your thought on that?
Yes, try that.
Reply With Quote
  #15  
Old 09-08-2012, 04:46 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I'll make the changes and report back success or failure! Let's hope that it's success!!
Reply With Quote
  #16  
Old 09-08-2012, 04:51 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotta go but I subscribed to this thread
Reply With Quote
  #17  
Old 09-08-2012, 07:09 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No glory for the wicked!! LOL

Here is the post I created at vb.com https://www.vbulletin.com/forum/show...74#post2333874
Reply With Quote
  #18  
Old 09-08-2012, 01:29 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not the thread preview, that's the title for the link for the last poster. The link is created way down deep in the PHP,I would think, and modifying it would probably require a direct hack. So to get rid of it you'll have to use JavaScript. I used the onload event for the little go to last post button to strip the title from the last poster link.

Near the bottom of the threadbit template find the link with the button image and modify as follows:

Code:
			<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" 
onload="this.parentNode.parentNode.parentNode.getElementsByTagName('a')[0].removeAttribute('title');" /></a>
Reply With Quote
  #19  
Old 09-08-2012, 05:49 PM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nerbert,
I made the change and added the removeAttribute but it is still showing mouse over effect! Take a quick look at my code, it should match yours.

Edit: I removed cookies and history to double check and it still is showing that mouse over event.

Code:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" onload="this.parentNode.parentNode.parentNode.getElementsByTagName('a')[0].removeAttribute('title');" /></a>
--------------- Added [DATE]1347130780[/DATE] at [TIME]1347130780[/TIME] ---------------

This is the basic information that I'm given using Firebug:

Code:
<h4 class="lastpostlabel">Last Post:</h4>
<div>
<p class="lastposttitle">
<div class="lastpostby">
by
<div id="yui-gen34" class="popupmenu memberaction">
<a id="yui-gen36" class="username online popupctrl" bold;"="" font-weight:="" red;="" color:="" ms;="" sans="" comic="" 13px="" font:="" title="<span style=" href="member.php?u=1">
Syxguns is online now">
<strong>
</a>
<ul id="yui-gen35" class="popupbody memberaction_body">
</div>
</div>
I think that lastpostby is what is giving us the headache, but I could be wrong!
Reply With Quote
  #20  
Old 09-08-2012, 06:06 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like you did it right. Maybe they changed the HTML for vB4.2.0.

Could you post the bottom of the template starting with "<!-- lastpost -->"?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12027 seconds
  • Memory Usage 2,273KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete