The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Feature Threads Details »» | |||||||||||||||||||||||||
Feature Threads
By Adrian at Dreamit.co.uk Tested on 3.6.1. Note: This modification is v0.10, It seems to be working fine. To see why it's not V1, scroll down to the Q&A. About: Feature Threads allows you to "Feature a thread", and that thread will then appear on the forumhome. It's a very useful mod' to get those important, special threads noticed. Installation: Download Feature_threads.zip.
Template Edits: Open Forumhome Templates > FORUMHOME Find: HTML Code:
<!-- main -->
HTML Code:
$feature_threads Open Showthread Templates > SHOWTHREAD Find: HTML Code:
<tr> <td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td> </tr> HTML Code:
<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> Done. Easy to install. Q&A 1. Why is it V0.10? Well, when i started this mod', i had some good ideas with it, and i started to loose intrest after a while. I got the "base" made, so i thought, "why not release it?" So, i have. If i get enough installs, or a positive response to the mod', i will glady spend more time, adding the features i wanted. 2. Oooh...What new features? Not too many features...things such as... Featured Thread ordering
The ability to show the featured threads on the forumhome, or on everypage. Ability to show what information is displayed in the features thread box. Yeh, these are pritty easy to do, i just don't have the dedication i need to make them, like i said, if i get a good response, expect to see them soon. 3. How many usergroups...? The option, that allows you to choose certain usergroups to access this mod', is limited to 12 different usergroups. Not because i'm being mean, i just did the usergroup permission, in my code useing explode and arrays. Don't ask why, i just did. : / That will be improved when/if V1 is released. Changelog 0.10 - Release. 0.11 - Set default value on "Show x" option to 4, to stop confusion with mysql_errors 0.12 - Edited Enable/Disable option from Radio buttons, to a simple Yes / No boolean to avoid errors. --- If you installed this modification, please click install. Thanks. Adrian Show Your Support
|
Comments |
#42
|
|||
|
|||
Nice mod. Perhaps another addition to contemplate would be to allow the use of categories within the featured thread box.
|
#43
|
|||
|
|||
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. |
#44
|
|||
|
|||
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! |
#45
|
|||
|
|||
Hello
Do you know how I can add this to a VbAdvanced CMPS block? Thanks |
#46
|
|||
|
|||
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 |
#47
|
|||
|
|||
Quote:
|
#48
|
|||
|
|||
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 |
#49
|
|||
|
|||
Work w/3.6.3?
|
#50
|
||||
|
||||
Quote:
|
#51
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|