vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Feature Threads (https://vborg.vbsupport.ru/showthread.php?t=128644)

Malibu 11-17-2006 05:44 AM

awesome hack...thanks for this...works great.

Smoothie 11-23-2006 04:02 AM

Is anyone available to take over this mod and bring some new features onboard? It would be great to be able to show last post by, time, replies, views, etc.

MetalAges 11-23-2006 03:28 PM

This is a great idea. I was searching for a hack to show multiple announcements but this is even better. I for one would love to see the other features added (especially the adding to every page).

Smoothie 11-23-2006 04:13 PM

anyone else able to get this to work w 3.6.4? It does not work for me, nothing shows. All edits done, files uploaded and product imported.

Smoothie 11-23-2006 04:48 PM

nevermind, I'm a dummy, forgot to enable it. :P

Smoothie 11-23-2006 11:59 PM

There must be a way to show date posted of the featured threads. Can someone with a bit more knowledge in this area help?

xopek 11-26-2006 02:36 AM

I've installed the hack but all I'm getting on a main forum page is "No database selected".

I traced it back and that's a part of 'Feature' hack when tries to do

Code:

$merge=mysql_query($query);
I guess it's doesn't have a database selected at this point, huh? Weird but that's what says. Any suggestions?


On a separate note, I've slighly enhanced the integration on 'feature thread' item into the menu. I suggest changing the second step of template editing to:

Open Showthread Templates > SHOWTHREAD
Find:

Code:

        <tr>
                <td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
        </tr>

Add after:

Code:

        <if condition="$show['adminoptions']">
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="Feature thread" /> $feature_status <input type="hidden" value="$threadinfo[threadid]" name="tid"></td>
        </tr>
        </if>

This was it does not come up with empty line in the menu for users who don't have right to feature threads.

Denis

perfphysio 11-26-2006 06:47 AM

Quote:

Originally Posted by Smoothie (Post 1123729)
anyone else able to get this to work w 3.6.4? It does not work for me, nothing shows. All edits done, files uploaded and product imported.

Yeah it works for me fine in 3.6.4 but I installed it when I was on 3.6.3.

carphead 11-26-2006 08:29 AM

When I install this hack on our board as soon as I put the code into forumhome it stops the page from loading. If I disable it the forumhome loads fine. I've tried it on four different skins (including the VB Default) and it fails.

Any ideas? I really want to install it.

Thanks.

Smoothie 11-26-2006 01:15 PM

One of the draw backs to this is when you feature a thread and the limit for featured threads is already reached, you get no error page, it just says the thread is now featured, but it's not. It doesn't bumb off the oldest thread, it does not show an error, nothing.


All times are GMT. The time now is 01:18 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.01194 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)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