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)

Cedric_FP 10-26-2006 03:44 AM

Nice mod. Perhaps another addition to contemplate would be to allow the use of categories within the featured thread box.

sportsoutlaw 10-26-2006 06:12 PM

Great modification. Another admin on one of my sites was asking about making a box to put important threads in so they didn't get lost and I remembered seeing this. Works Great!

Looking forward to being able to use it on forumdisplay and showthread.

dutchbb 11-03-2006 06:33 PM

hello Adrian

Can you reply to my question in PM about paying for customisations?

You have disabled PM so I can't reach you that way.

Thanks!

thenetbox 11-06-2006 10:54 AM

Hello :)

Do you know how I can add this to a VbAdvanced CMPS block? Thanks

criscokid 11-06-2006 01:16 PM

Trying to add this to my vB3.5 forum I get the following error message:

Database error in vBulletin 3.5.3:
Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Feature', 'forumhome_start', '$rows = $vbulletin->options[\'featurethreads_showx\'];\r\n$query=\"select * from \" . TABLE_PREFIX . \"thread WHERE `featured` = \'featured\' limit $rows \";\r\n $merge=mysql_query($query);\r\n echo mysql_error();\r\n\r\n while($row=mysql_fetch_array($merge)){\r\n\r\n$dis play .= \"\r\n\r\n<img src=\'images/statusicon/subforum_old.gif\' border=\'0\'> <a href=\'showthread.php?t=$row[threadid]\'>$row[title]</a> - <span class=\'smallfont\'>$row[ftdescription] - \r\nBy $row[postusername]</span><br />\";\r\n\r\n}\r\n\r\nif($vbulletin->options[\'featurethreads_enabled\'] == 1) {\r\n\r\n $feature_threads = \"\r\n\r\n<table class=\'tborder\' cellpadding=\'$stylevar[cellpadding]\' cellspacing=\'$stylevar[cellspacing]\' border=\'0\' width=\'100%\' \r\n\r\nalign=\'center\'>\r\n<tr>\r\n<td align=\'center\' class=\'tcat\'>Featured Threads</td>\r\n</tr>\r\n<tr>\r\n<td class=\'alt1\'>$display</td>\r\n</tr>\r\n</table>\r\n<br>\r\n\r\n\";\r\n\r\n}', 'featured');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054

criscokid 11-06-2006 05:56 PM

Quote:

Originally Posted by criscokid
MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054

Fixed this by adding the necessary column by hand.

thenetbox 11-06-2006 10:09 PM

It seems as if the mod creator doesn't have access to this thread because his VB license expired.

Has any one else gotten this to work with VBadvanced CMPS? Thanks

Smoothie 11-11-2006 12:35 AM

Work w/3.6.3?

perfphysio 11-11-2006 07:51 AM

Quote:

Originally Posted by Smoothie
Work w/3.6.3?

Yes this works fine in 3.6.3 :)

criscokid 11-11-2006 10:22 AM

Has anyone tried using this in a vbPortal block? I've tried but can't get it to work - see this thread.

I suggest that the developer of this mod take a look at that thread as it includes some information on suggested improvements to his code.

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.

leo1977 11-26-2006 07:58 PM

Great modification. Thanks

category 12-05-2006 03:12 AM

quesiton: what template i can make the border edits ?

SaN-DeeP 12-05-2006 03:54 AM

Feature Request: How about giving featured threads its own new page ?
Some functionality which shall auto-pull highest rated, replied, viewed threads from last week, month, 3 months, year, till day etc. ?

criscokid 12-05-2006 09:32 AM

Quote:

Originally Posted by SaN-DeeP (Post 1132196)
Some functionality which shall auto-pull highest rated, replied, viewed threads from last week, month, 3 months, year, till day etc. ?

A great idea!

heynurse 12-05-2006 04:19 PM

First of all, to the author great hack!

Quote:

Originally Posted by SaN-DeeP (Post 1132196)
Feature Request: How about giving featured threads its own new page ?
Some functionality which shall auto-pull highest rated, replied, viewed threads from last week, month, 3 months, year, till day etc. ?

Yes, I agree, great idea, I'd love to see something like this done. It would give a great indication as to what topics are truly "hot" at a quick glance, not just the threads that certain people want to feature. But I suppose this could be a totally separate hack :)

ccmoon 12-06-2006 12:24 AM

Great! installed.

nathanrich 12-17-2006 05:43 AM

I'm liking this mod. Only problem is it shows featured threads even if a user doesn't have permission to view the thread. Here's the query that selects the featured threads:

PHP Code:

$query="select * from " TABLE_PREFIX "thread WHERE `featured` = 'featured' limit $rows "

What would we need to change here to make it so it only selects threads the user has permission to view?

GrendelKhan{TSU 12-20-2006 04:28 PM

didn't find it in thread, but I'd love to see a vbadvanced featured thread module for this!! :D :)

any hopes on that? :)

dprundle 12-20-2006 04:41 PM

thx m8, will definately click install on this one.

Hornstar 12-21-2006 06:08 AM

I have a big request, that I really hope you may mind doing.

I would like to display the featured threads on a non vb page, but the non vb page is my homepage which has globals and all the rest on it so it is integrated with vbulletin a bit.

Basically im trying to make the homepage look more active, and this would be perfect.

Thanks.

farooqaaa 12-21-2006 10:30 AM

This is what i am looking for....

*UN-INSTALLING.......sorry..... INSTALLING :D

MMORPGHell 12-26-2006 09:41 PM

Where is FORUMHOME?

Edit: Sorry, I found it.

MMORPGHell 12-26-2006 09:53 PM

I keep getting "No input file specified" when I try to feature a thread.

Magz 01-02-2007 05:07 PM

I tried installing this a few days ago, couldnt get it to work. But, after uninstalling it, and re-adding it, its working like a charm. Just the thing i needed.

Thank you for releasing it.

Smoothie 01-02-2007 11:28 PM

Too bad the author has gone awol. This mod could use some fine tuning.

blogtorank 02-06-2007 05:54 PM

Great hack first off and installed!

Second, I would suggest an AJAX way of moving threads up and down in the order you would want them in... Doable?

Otherwise this is still an outstanding add to the forums!

perfphysio 02-06-2007 05:59 PM

I totally agree, being able to order them and also assign the smiley to each individually would be great :eek:

blogtorank 02-06-2007 06:41 PM

I'll PM the author for permission to have one of my guys edit the code per what I think would be good and share here once he gives me permission.

Smoothie 02-06-2007 06:42 PM

Quote:

Originally Posted by blogtorank (Post 1176220)
I'll PM the author for permission to have one of my guys edit the code per what I think would be good and share here once he gives me permission.

Good idea because yo-adrian hasn't posted in this thread in ages.

dutchbb 02-06-2007 10:56 PM

This what I suggest:

1. The featured threads ordered by date of first post (thread creation date). New threads on top.

2. When a maximum of 10 threads is set, new threads should be added to the top of the list, and older ones make place for them (so the oldest in the list is removed when a new thread is added).

3. The thread creation date added above every thread like this:
http://img168.imageshack.us/img168/1...ethreadbs5.gif

4. I want to display these 10 latest featured threads on the right side of my board (this is a separate custom template) , you can see what I mean on the right side of my board here just under the thumbnails: http://forum.dutchbodybuilding.com/ So a possibility to place the variable in that template.

5. The latest featured thread (only one) showed like this on forumhome:
http://img167.imageshack.us/img167/7...ndeweekge7.gif


All times are GMT. The time now is 01:05 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.01449 seconds
  • Memory Usage 1,820KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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