![]() |
Length of Thread Preview vB 4.2 PL2
1 Attachment(s)
Okay first let me say that I've been searching for a while and coming up empty handed for vB 4.2 PL2.
Here: https://www.vbulletin.com/docs/html/...s_forumdisplay And I've read a couple of post about going to AdminCP >> Settings > Options > Forum Listings Display Options and finding "Length of thread preview" and set it to 0. However I do not have that option in vB 4.2. Using Firebug I've determined that the location of the thread preview is in forumlastpost td, but where from there can I make changes to not show the mouse over effect? I've attached a pic so you can see what I'm talking about. I wouldn't have a problem with it but it is showing the HTML code that I used for username markup. I want to disable that mouse over effect, I just need to know where to do it. Thanks for any help you can provide! If this option was removed from vB 4.2, then it needs to be replaced!:erm: |
Forum Display Options (forumdisplay) --> Length of thread preview text
|
Quote:
I didn't mention that the mod I'm using is Username HTML Markup 4.1 located here: https://vborg.vbsupport.ru/showthread.php?t=229146 In the XML file I could not find a mouse over event or preview event to make changes to, however, if I could add a condition to the XML to not allow mouse over on the hyperlink I could do that as well. Still looking, do you have any more suggestions?:confused: Edit: by the way if you would like to check it out with Firebug you can see it in action here: http://www.place4musicians.com You may also log in as Guest Guest1234 is a password. You have no permissions but can view the entire forum if you like. |
If you're trying to eliminate the mouseover tooltip with the preview in it you need to remove
title="{vb:raw thread.preview}" in the threadbit template. See http://www.w3schools.com/tags/att_standard_title.asp I'm still using vb4.1.12, I assume it's the same as in the version you're using. |
Quote:
Thanks nerbert |
It's not in a file, it's in the "threadbit" template in the Style Manager
|
Found it. After I removed it the mouse over image was still there.:(
|
Same here. I'm mystified.
|
That seemed like it should have worked! Can you think of another location to remove preview?
|
Perhaps the title attribute is there for people with JavaScript disabled and for those who have JS enabled it's in the JavaScript for that page "search_resultlist".
One look at any of those scripts will make your eyes bleed. |
:) LOL, so this is a dead issue? Something I can't resolve I guess. Maybe someone else will know of a fix?
|
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 |
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? |
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:
|
Okay, I'll make the changes and report back success or failure! Let's hope that it's success!! :)
|
Gotta go but I subscribed to this thread
|
No glory for the wicked!! LOL
Here is the post I created at vb.com https://www.vbulletin.com/forum/show...74#post2333874 |
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}" |
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> This is the basic information that I'm given using Firebug: Code:
<h4 class="lastpostlabel">Last Post:</h4> |
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 -->"? |
Here you go:
Code:
<!-- lastpost --> |
I went to your forum and there's no mouseover tooltip box. Did you reload the page from a link or just hit the refresh button?
|
Okay, I don't know if this will help or not, but according to Firebug we may be editing the wrong item. Notice the line in red is what is showing up on mouse over event.
Code:
[COLOR] Quote:
|
Just click on some other forum. Refreshing the page won't reload JavaScript
--------------- Added [DATE]1347133547[/DATE] at [TIME]1347133547[/TIME] --------------- You still have the same problem with the thread starter. Try this: Code:
onload="this.parentNode.parentNode.parentNode.getElementsByTagName('a')[0].removeAttribute('title'); |
Quote:
|
You must be on GENERAL FORUMS page. I'm on Introduce yourself!
There must be another bit of some kind you have to modify for the page you're on. I'll look |
Quote:
I'll be back shortly, let me know if you find anything. |
nerbert,
I found a [FIXED] version of the mod for 4.2 and it works worst than the original mod. I'm going to keep testing different ideas that I can come up with! Maybe I'll get lucky, but who knows. I might have to change the original code back and just remove the XML file and not have user name colors on the thread links like I wanted. If you happen to think of anything else let me know and I'll give it a shot! |
any news ??
|
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|