View Full Version : Dynamic thread title
alkahf
05-13-2004, 10:00 PM
Dynamic thread title - Version 1.0.1
This is small hack and very nice:).
You need to change 1 file and 1 template.
screenshot : Look attachment.
Demo : http://www.mobileforces.org/forums/forumdisplay.php?f=6
Best Regards:)
alkahf
Vivi Ornitier
05-14-2004, 10:22 PM
my threadbit is already changed, can u post the manual edits for that template?
arabs-eyes
05-14-2004, 11:18 PM
Thank You Vere Match
alkahf
05-14-2004, 11:39 PM
my threadbit is already changed, can u post the manual edits for that template?
Okay.
open template: Threadbit Templates >> threadbit.
1- Find:
<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]">
Replace with:
<td class="alt1Active" id="t$thread[threadid]">
2- Find :
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a>
Replace with:
<a class=SectionHeadlines onmouseover="this.className ='SectionHeadlinesGray';return setIntervalDelay($thread[threadid],1)" onmouseout="this.className='SectionHeadlines';return setIntervalDelay($thread[threadid],0)" href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><b>$thread[threadtitle]</b><else /><b>$thread[threadtitle]</b></if></a>
3- Search: </tr>
Replace with:
</tr>
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
Done!
Regards :)
alkahf
rookie7
05-15-2004, 05:48 AM
I don't understand what this hack is supposed to do.
MrNase
05-15-2004, 05:58 AM
I don't understand what this hack is supposed to do.
same for me. nice forums but i can only read the copyright ;)
alkahf
05-15-2004, 10:25 AM
I don't understand what this hack is supposed to do.
Well:)
When you put your mouse on the thread title then you'll view new table opened and showing first post there.
I like that is enough :).
Animation screenshot click here please: http://www.vbulletinclub.com/dynamic.gif
alkahf
gmarik
05-15-2004, 03:30 PM
This one is good.
Cap'n Steve
05-15-2004, 11:27 PM
Nice work.
r6xual
05-16-2004, 04:00 AM
Is there a way to disable the post display that already pops up so all you see is how the thread is supposed to be displayed from this script above??
LeeCHeSSS
05-16-2004, 08:45 AM
Easy, replace the alt/title tag with empty quotes (alt="" / title="")
alkahf
05-16-2004, 10:39 AM
Is there a way to disable the post display that already pops up so all you see is how the thread is supposed to be displayed from this script above??
Yes there is.
please notice: I edited post number 4:
https://vborg.vbsupport.ru/showthread.php?p=512512#post512512
Regards.
Notice: I think some one forgot to click install icon : https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=65123) ;)
r6xual
05-16-2004, 04:16 PM
Easy, replace the alt/title tag with empty quotes (alt="" / title="")
I am assuming that you do this in the threadbit template?? Thanks again
*installed*
r6xual
05-17-2004, 01:37 AM
Got it, thank alot!
Having problems but will run through all the steps again. Good hack
alkahf
05-17-2004, 01:21 PM
Hello pie
There are no problems to have only if your browser can't read the new modifications with file: vbulletin_global.js
Try to clean Temporary Internet Files.
Regards:)
Alkahf
yxboom
05-17-2004, 02:40 PM
hrm. I followed install 3 times and doesn't do anything.
yxboom
05-17-2004, 03:00 PM
hrm. I followed install 3 times and doesn't do anything.
Nevermind, apparently it only works in IE.
Kalakov
05-17-2004, 03:17 PM
nice hack
* Kalakov puts arabic on his to do list to learn :p
alkahf
05-17-2004, 03:28 PM
hrm. I followed install 3 times and doesn't do anything.
Yes yxboom I visited your forum, Hack working with IE but not working with Mozilla Yet.
May be next version.
Regards :)
alkahf
alkahf
05-19-2004, 12:58 AM
Hello
If you don't want Unregistered / Not Logged In viewing this preview, just do that:
Replace this:
</tr>
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
with:
<if condition="$show['member']">
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
</if>
Done!
Bin_Yousif
05-19-2004, 01:43 PM
thanx .... nice hack thanx Mr. alkahf
Natch
05-19-2004, 03:24 PM
Yes yxboom I visited your forum, Hack working with IE but not working with Mozilla Yet.
May be next version.
Regards :)
alkahf
This modification should make it work in both IE and Mozilla variants ...
Replace the showSummaryNewsSection() function with the following:
function showSummaryNewsSection(itemNo,on)
{
var itemObj;
var ourElement;
itemObj = "abstract" + itemNo;
ourElement = (document.all) ? document.all.item(itemObj) : document.getElementById(itemObj) ;
if(on)
{
ourElement.style.display = "";
/*if (intervalTime != 0)
window.clearInterval(intervalTime);*/
}
else
{
ourElement.style.display = "none";
if (intervalTime != 0)
window.clearInterval(intervalTime);
}
}
I hope that a) helps and b) works :D
EDIT: It works in Mozilla AND IE AND Opera now ... :D demo here (http://www.mobileforces.org/forums/forumdisplay.php?f=6)
Natch
05-19-2004, 03:59 PM
Fixed! see above ...
alkahf
05-19-2004, 04:38 PM
This modification should make it work in both IE and Mozilla variants ...
Replace the showSummaryNewsSection() function with the following:
I hope that a) helps and b) works :D
EDIT: It works in Mozilla AND IE AND Opera now ... :D demo here (http://www.mobileforces.org/forums/forumdisplay.php?f=6)
WOW!
update
Thank you for help.
Natch
05-19-2004, 11:56 PM
WOW!
update
Thank you for help.
Hehe - np :D
mwhoob
05-23-2004, 09:39 AM
good
350Chevy
05-24-2004, 08:40 PM
nice.. :) Anyway to get the drop down to drop faster though? It takes a few seconds..
350Chevy
05-24-2004, 08:46 PM
Also it adds a little space between the threads.. anyway of taking that space out? I liked it before when the threads were tight and close together.. *shrug*
alkahf
05-26-2004, 07:19 PM
Also it adds a little space between the threads.. anyway of taking that space out? I liked it before when the threads were tight and close together.. *shrug*
OKay :)
but not yet.
btappan
05-27-2004, 11:28 AM
Sorry i'm new, but i don't understand this step. do i just replace the </tr>at the top and bottom of the page with:
</tr>
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
cuz i tried that and it did not work. anyone care to enlighten me? thanks
3- Search: </tr>
Replace with:
</tr>
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
Done!
Regards :)
alkahf[/QUOTE]
alkahf
05-27-2004, 11:52 AM
Sorry i'm new, but i don't understand this step. do i just replace the </tr>at the top and bottom of the page with:
Well
Skip this step 3 and do that:
At the End of template insert this cod:
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
Regards
btappan
05-27-2004, 01:55 PM
thanks for the response but i still don't get any different effect when i use that. I' don't know if it is because i already modded my post bit or what?
ive tried clearing temporary internet files too, still no worky
alkahf
05-27-2004, 03:41 PM
thanks for the response but i still don't get any different effect when i use that. I' don't know if it is because i already modded my post bit or what?
ive tried clearing temporary internet files too, still no worky
There is no problem If you modded your postbit template.
I Think the problem only with your temporary internet .
So try ask your members or give us your forum link.
Regards
alkahf
alhedayh
06-16-2004, 09:22 PM
Thank You
search.php shows some errors ... Attachment
alkahf
06-20-2004, 12:52 PM
search.php shows some errors ... Attachment
Hello
Try this please:
<tr>
<td class="alt2" colspan="7" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
Regards :)
alkahf
Hello
Try this please:
<tr>
<td class="alt2" colspan="7" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>
Regards :)
alkahf
Well, that is not a very good solution.
colspan="7"
is the right setting for the search.php but not for forumdisplay.php :-/
Natch
06-20-2004, 11:34 PM
OK then do this instead ...<tr>
<td class="alt2" colspan="<if condition="$show['threadicons']"><if condition="$show['forumlink']">7<else />6</if><else />5</if>" id="abstract$thread[threadid]" style="display: none"><span class="smallfont">$thread[preview]</span></td>
</tr>
Taco John
07-17-2004, 09:22 PM
Also it adds a little space between the threads.. anyway of taking that space out? I liked it before when the threads were tight and close together.. *shrug*
Yes how do we get rid of this extra space between the threads now? It's distracting and looks chunky.
Is there a way to eliminate this extra space?
alkahf
07-17-2004, 09:42 PM
Yes how do we get rid of this extra space between the threads now? It's distracting and looks chunky.
Is there a way to eliminate this extra space?
Sorry, I do not fix it yet.
Taco John
07-17-2004, 09:54 PM
Looking forward to that fix... :)
Is there any reason why all threads are now bolded, rather than just new ones?
ambrosious
08-21-2004, 10:48 PM
Is there any reason why all threads are now bolded, rather than just new ones?
Me too? I would like the old style as well, helps me keep up with new posts.
ambrosious
08-24-2004, 10:00 PM
Me too? I would like the old style as well, helps me keep up with new posts.
Can anyone help with this?
Can anyone help with this?
It's not difficult to fix, just look for the <else /><b>$thread[threadtitle]</b> and remove the <b> and </b> parts.
I am just wondering what the reasoning behind disabling the ability to tell if a thread is new or not by its boldness is.
alkahf
09-05-2004, 04:47 AM
Yes how do we get rid of this extra space between the threads now? It's distracting and looks chunky.
Is there a way to eliminate this extra space?
Hello
Go to: Admin CP >> Style Manager >> Go >> Sizes and Dimensions
Find: Inner Border Width (pixels)
put: 0
Save change.
Done!
Demo: http://www.vbulletinclub.com/forumdisplay.php?f=7&styleid=58
Regards
alkahf
sweet hack,.. thanks - works in Opera!
Anyway to choose how many characters of each post gets previewed per mouseover.. say limit it to 200 characters?
:)
alkahf
09-09-2004, 08:17 PM
sweet hack,.. thanks - works in Opera!
Anyway to choose how many characters of each post gets previewed per mouseover.. say limit it to 200 characters?
:)
Hello.
Admin CP >> vBulletin Options >> (forumdisplay) >> Length of Thread Preview Text :
Then put your choose and save.
Regards.:)
alkahf
Ghanem
10-03-2004, 02:10 PM
Fix extra space
Quote:
Originally Posted by Taco John
Yes how do we get rid of this extra space between the threads now? It's distracting and looks chunky.
Is there a way to eliminate this extra space?
Hello
Go to: Admin CP >> Style Manager >> Go >> Sizes and Dimensions
Find: Inner Border Width (pixels)
put: 0
Save change.
Done!
First of all thx for the hack,
am sorry but the fix did not help me, it get red of the outer boarder too..
is there another fix cos the line between the threads looks ugly and I'd love to keep this hack..
Regards.
alkahf
10-28-2004, 05:32 PM
Hello
That is new small idea:)
Open template: showthread_similarthreadbit and Replace with:
<tr>
<td class="alt1" align="$stylevar[left]"><if condition="$simthread['issubscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="" title="$vbphrase[you_are_subscribed_to_this_thread]" /> </if><span class="smallfont"><a class=SectionHeadlines onmouseover="this.className ='SectionHeadlinesGray';return setIntervalDelay($simthread[threadid],1)" onmouseout="this.className='SectionHeadlines';return setIntervalDelay($simthread[threadid],0)" href="showthread.php?$session[sessionurl]t=$simthread[threadid]">$simthread[title]</a></span></td>
<td class="alt2" nowrap="nowrap"><span class="smallfont">$simthread[postusername]</span></td>
<td class="alt1" nowrap="nowrap"><span class="smallfont">$simthread[forumtitle]</span></td>
<td class="alt2" align="center"><span class="smallfont">$simthread[replycount]</span></td>
<td class="alt1" align="$stylevar[right]"><span class="smallfont">$simthread[lastreplydate] <span class="time">$simthread[lastreplytime]</span></span></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="tcat" colspan="5" id=abstract$simthread[threadid] style="DISPLAY: none"><span class="smallfont">$simthread[preview]</span>
</td>
</tr>
</if>
Regards :)
Ghanem
10-16-2005, 04:14 PM
Hi,
Any update for 3.5.0..
alkahf
10-16-2005, 05:47 PM
Hi
Yes It is ready.
I'll insert it very soon.
Regards
Ghanem
12-04-2005, 07:19 PM
Hi
Yes It is ready.
I'll insert it very soon.
Regardssorry..
reminder :o
ambrosious
07-22-2006, 12:35 AM
I would love to get this for 3.5.x too. This is one my members miss from the upgrade!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.