vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Dynamic thread title (https://vborg.vbsupport.ru/showthread.php?t=65123)

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:

Code:

</tr>
<tr>
<td class="alt2" colspan="6" id=abstract$thread[threadid] style="DISPLAY: none"><span class="smallfont">$thread[preview]</span>
</td>
</tr>

with:
Code:

<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

Quote:

Originally Posted by alkahf
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:
Code:

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

Natch 05-19-2004 03:59 PM

Fixed! see above ...

alkahf 05-19-2004 04:38 PM

Quote:

Originally Posted by Natch
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

WOW!
update
Thank you for help.

Natch 05-19-2004 11:56 PM

Quote:

Originally Posted by alkahf
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

Quote:

Originally Posted by 350Chevy
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.


All times are GMT. The time now is 09:42 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.01203 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete