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)
-   -   Complete Thread Description Hack 1.7 (https://vborg.vbsupport.ru/showthread.php?t=68263)

gwon 08-23-2004 10:51 AM

thanks for that :)

sblum 08-23-2004 05:51 PM

Any time, there's lots of weird unexpected things that can happen when adding a hack that effect other parts of the board without realizing it. This was one of them, especially because I don't use announcements very often :). If any other issues come up, please let me know and I'll try to correct them ASAP.

thangluoi 08-25-2004 11:16 AM

It works perfect when I open a new thread with a description, but when I edit a title and a description at a same time, it only works for the title, and the description still stay the same like when open the new thread.

lordofgun 08-25-2004 04:02 PM

Hi!

This works great! I just have one small problem. Any help would be MUCH appreciated. Am I doing something wrong?

When I click on the NEW THREADS link or do a search, I get the following on search.php:

lordofgun 08-25-2004 04:20 PM

Quote:

Originally Posted by lordofgun
Hi!

This works great! I just have one small problem. Any help would be MUCH appreciated. Am I doing something wrong?

When I click on the NEW THREADS link or do a search, I get the following on search.php:

I figured it out. Here's what I did:

in search_results template

Replace:

<tr>
<td class="thead" colspan="2">&nbsp;</td>
<td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
<td class="thead" width="25%">$vbphrase[forum]</td>
</tr>


With:

<tr>
<td class="thead" colspan="2">&nbsp;</td>
<td class="thead" width="75%">$vbphrase[thread]</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase[thread_starter]</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
<td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
<td class="thead" width="25%">$vbphrase[forum]</td>
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
</tr>

sblum 08-25-2004 06:40 PM

*sigh*, another bit of the instructions I did but forgot to add to the txt file. Adding it in. Thanks

lordofgun 08-26-2004 03:41 AM

Quote:

Originally Posted by sblum
*sigh*, another bit of the instructions I did but forgot to add to the txt file. Adding it in. Thanks

One other thing...

When a thread is "soft deleted," it leaves a big empty space under the LAST POST column on forumdisplay. Not a big deal since only admins will see it, but I thought I'd let you know..

sblum 08-26-2004 07:57 AM

Something I didn't consider because I very rarely delete threads.

in threadbit_deleted, find:

PHP Code:

             <if condition="$show['guestuser']">
                 
$thread[postusername]
             <else />
                 <
span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
             </if>
         </
div>
     </
td

and replace with:

PHP Code:

             <if condition="$thread['threaddesc']"><span class="smallfont">$thread[threaddesc]</span></if>
        </
div>
     </
td>
     <
td class="alt2">
              
              <if 
condition="$show['guestuser']">
                  
$thread[postusername]
              <else />
                  <
span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
              </if>
     </
td


sblum 09-12-2004 10:31 PM

Version 1.6.2 released.

sblum 09-20-2004 10:35 PM

Updates in 1.7 (sept. 20, '04):

All known issues fixed. If a post error message is encountered in making a new thread, the threaddesc will reappear in the form along with the title and the message.


All times are GMT. The time now is 07:37 AM.

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.01199 seconds
  • Memory Usage 1,753KB
  • 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_php_printable
  • (2)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