The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Nexia's Forum Categories Seperator Details »» | |||||||||||||||||||||||||
Seperate Main forums (categories) with style. Replace the default vB to fit a better width.
You can see the result on this site, on the forumhome page, and in each categories where you see sub-forums. First, it seperate the categories on home page. Second, it replace the DEFAULT thead of the forumbit listing on FORUMHOME and FORUMDISPLAY templates so you can choose the width of the "lastpostby" block. This is one of the most requested feature for the admins who use the default vBulletin templates for forum listing. in AdminCP >> vBulletin Options >> Forum Listings Display Options, you now have this part: no template or file edit, as usual... Original Source: http://vbenhancer.com/free-visual-el...eperator/3232/ Show Your Support
|
Comments |
#12
|
|||
|
|||
Hi nexialys
Sorry for seeming like such a noob on this one but I am stuggling to get this to work! I either get it to work on all styles or none at all. below is the code I have in each of the plugins. Am I dong something stupid here? I thought i was slowly getting my head round php coding but I may have to rethink that! forumhome_complete Code:
$arrayofstyles = array(1, 2, 3, 4); if(in_array($stylevar['styleid'], $arrayofstyles)) { $needle[] = addslashes('<td class="thead"> </td>'); $needle[] = addslashes('<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>'); $needle[] = addslashes('<td class="thead">$vbphrase[last_post]</td>'); $needle[] = addslashes('<td class="thead">$vbphrase[threads]</td>'); $needle[] = addslashes('<td class="thead">$vbphrase[posts]</td>'); $heystack[] = ''; $heystack[] = addslashes('<td class="thead" colspan="2" align="$stylevar[left]">$vbphrase[forum]</td>'); $heystack[] = addslashes('<td class="thead" width="' . $vbulletin->options['nex_seperate_forumbits_lastpostby'] . '">$vbphrase[last_post]</td>'); $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[threads]</td>'); $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[posts]</td>'); $vbulletin->templatecache['FORUMHOME'] = str_replace($needle, $heystack, $vbulletin->templatecache['FORUMHOME']); } Code:
$arrayofstyles = array(1, 2, 3, 4); if(in_array($stylevar['styleid'], $arrayofstyles)) { $needle[] = addslashes('<td class="thead"> </td>'); $needle[] = addslashes('<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>'); $needle[] = addslashes('<td class="thead">$vbphrase[last_post]</td>'); $needle[] = addslashes('<td class="thead">$vbphrase[threads]</td>'); $needle[] = addslashes('<td class="thead">$vbphrase[posts]</td>'); $heystack[] = ''; $heystack[] = addslashes('<td class="thead" colspan="2" align="$stylevar[left]">$vbphrase[forum]</td>'); $heystack[] = addslashes('<td class="thead" width="' . $vbulletin->options['nex_seperate_forumbits_lastpostby'] . '">$vbphrase[last_post]</td>'); $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[threads]</td>'); $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[posts]</td>'); $vbulletin->templatecache['FORUMDISPLAY'] = str_replace($needle, $heystack, $vbulletin->templatecache['FORUMDISPLAY']); } Code:
$arrayofstyles = array(1, 2, 3, 4); if(in_array($stylevar['styleid'], $arrayofstyles)) { if (!isset($sepcounter)) $sepcounter = 0; if (($tempext == '_nopost') AND ($sepcounter >= 1)) { eval('$forumbits .= "' . fetch_template("forumhome_forumbit_seperate") . '";'); } $sepcounter++; } Regards Mark |
#13
|
|||
|
|||
looks good to me, if you want the hack to work in style #1, #2, #3 and #4...
|
#14
|
|||
|
|||
Quote:
Cheers for the help |
#15
|
|||
|
|||
Great mod, thanks. But have had to uninstall as I was finding depending on which browser was in use, the width applied would display differently for each separated forum! IE6/7, Safari (mac/win), Chrome, Firefox...
Will keep an eye on it, should it be more cross-browser friendly in the future. Thanks. |
#16
|
|||
|
|||
WTF
Pile of great mods and developer nexialys suspended ??? Bullshit if you ask me !!! Is there any thread why people got suspended and what suspension means, will he be able to support his hacks/mods !? http://vbenhancer.com/admins-den/oh-my-oh-my/4848/ |
#17
|
||||
|
||||
I just hope the issue with Nexialys was sorted out soon. I've been testing this mod for awhile and it was the only categories separator that works great on my board without messing up with some parts.
But I'll need some help with it. I have many sub forums, I mean like a 4th degree sub forum. I would like to know if is there a way to select of disable a few forums to not be affected by this mod, I mean without separation ? Thanks PS: Despite of tons of mods been published on 11th this month, your case is the exception of the expression "Quantity doesn't mean quality". Great and useful selection of mods you have and thank you for sharing with us. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|